Explorar el Código

部门添加分数

怀来职教中心中职
ndbs hace 1 año
padre
commit
b8bf8b8c22
Se han modificado 4 ficheros con 10 adiciones y 12 borrados
  1. +5
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/CdDept/Form.cshtml
  2. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/CdDept/Index.js
  3. +3
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/CdDept/CdDeptEntity.cs
  4. +1
    -10
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/CdDept/CdDeptService.cs

+ 5
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/CdDept/Form.cshtml Ver fichero

@@ -27,7 +27,11 @@
<div class="lr-form-item-title">排序号<font face="宋体">*</font></div>
<input id="DeptSort" type="text" class="form-control" isvalid="yes" checkexpession="Num" />
</div>
<div class="col-xs-12 lr-form-item" data-table="CdDept">
<div class="col-xs-6 lr-form-item" data-table="CdDept">
<div class="lr-form-item-title">分数</div>
<input id="Score" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="CdDept">
<div class="lr-form-item-title">系部负责人</div>
<input id="DeptDirector" type="text" class="form-control" />
</div>


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/CdDept/Index.js Ver fichero

@@ -90,6 +90,7 @@ var bootstrap = function ($, learun) {
{ label: "名称缩写", name: "DeptShortName", width: 100, align: "left" },
{ label: "英文名称", name: "DeptEnBrief", width: 100, align: "left" },
{ label: "排序号", name: "DeptSort", width: 100, align: "left" },
{ label: "分数", name: "Score", width: 100, align: "left" },
{ label: "系部负责人", name: "DeptDirector", width: 100, align: "left" },
],
mainId: 'DeptId',


+ 3
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/CdDept/CdDeptEntity.cs Ver fichero

@@ -11,7 +11,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
/// 日 期:2019-01-22 10:53
/// 描 述:系部信息管理
/// </summary>
public class CdDeptEntity
public class CdDeptEntity
{
#region 实体成员
/// <summary>
@@ -72,6 +72,8 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
/// </summary>
[Column("SYNCFLAG")]
public bool? SyncFlag { get; set; }
[Column("SCORE")]
public decimal? Score { get; set; }
#endregion

#region 扩展操作


+ 1
- 10
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/CdDept/CdDeptService.cs Ver fichero

@@ -57,16 +57,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
{
var strSql = new StringBuilder();
strSql.Append("SELECT ");
strSql.Append(@"
t.DeptId,
t.DeptName,
t.DeptNo,
t.DeptShortName,
t.DeptEnBrief,
t.DeptSort,
t.DeptDirector,
t.F_SchoolId
");
strSql.Append(@"t.* ");
strSql.Append(" FROM CdDept t ");
strSql.Append(" WHERE 1=1 ");
var queryParam = queryJson.ToJObject();


Cargando…
Cancelar
Guardar