ソースを参照

部门添加分数

怀来职教中心中职
ndbs 1年前
コミット
b8bf8b8c22
4個のファイルの変更10行の追加12行の削除
  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 ファイルの表示

@@ -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 ファイルの表示

@@ -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 ファイルの表示

@@ -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 ファイルの表示

@@ -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();


読み込み中…
キャンセル
保存