@@ -35,5 +35,9 @@ | |||||
<div class="lr-form-item-title">心理负责人</div> | <div class="lr-form-item-title">心理负责人</div> | ||||
<div id="DeptpSychology"></div> | <div id="DeptpSychology"></div> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item" data-table="CdDept"> | |||||
<div class="lr-form-item-title">资助审核人</div> | |||||
<div id="DeptSubsidizer"></div> | |||||
</div> | |||||
</div> | </div> | ||||
@Html.AppendJsFile("/Areas/EducationalAdministration/Views/CdDept/Form.js") | @Html.AppendJsFile("/Areas/EducationalAdministration/Views/CdDept/Form.js") |
@@ -18,6 +18,7 @@ var bootstrap = function ($, learun) { | |||||
$('#F_SchoolId').lrDataSourceSelect({ code: 'company', value: 'f_companyid', text: 'f_fullname' }); | $('#F_SchoolId').lrDataSourceSelect({ code: 'company', value: 'f_companyid', text: 'f_fullname' }); | ||||
$('#DeptDirector').lrDataSourceSelect({ code: 'teacheruserdata', value: 'f_encode', text: 'f_realname' }); | $('#DeptDirector').lrDataSourceSelect({ code: 'teacheruserdata', value: 'f_encode', text: 'f_realname' }); | ||||
$('#DeptpSychology').lrDataSourceSelect({ code: 'teacheruserdata', value: 'f_encode', text: 'f_realname' }); | $('#DeptpSychology').lrDataSourceSelect({ code: 'teacheruserdata', value: 'f_encode', text: 'f_realname' }); | ||||
$('#DeptSubsidizer').lrDataSourceSelect({ code: 'teacheruserdata', value: 'f_encode', text: 'f_realname' }); | |||||
}, | }, | ||||
initData: function () { | initData: function () { | ||||
if (!!keyValue) { | if (!!keyValue) { | ||||
@@ -114,6 +114,18 @@ var bootstrap = function ($, learun) { | |||||
}); | }); | ||||
} | } | ||||
}, | }, | ||||
{ | |||||
label: "资助审核人", name: "DeptSubsidizer", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | |||||
learun.clientdata.getAsync('custmerData', { | |||||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'teacheruserdata', | |||||
key: value, | |||||
keyId: 'f_encode', | |||||
callback: function (_data) { | |||||
callback(_data['f_realname']); | |||||
} | |||||
}); | |||||
} | |||||
}, | |||||
], | ], | ||||
mainId: 'DeptId', | mainId: 'DeptId', | ||||
isMultiselect: true, | isMultiselect: true, | ||||
@@ -77,6 +77,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
/// </summary> | /// </summary> | ||||
[Column("SYNCFLAG")] | [Column("SYNCFLAG")] | ||||
public bool? SyncFlag { get; set; } | public bool? SyncFlag { get; set; } | ||||
/// <summary> | |||||
/// 资助审核人 | |||||
/// </summary> | |||||
[Column("DEPTSUBSIDIZER")] | |||||
public string DeptSubsidizer { get; set; } | |||||
#endregion | #endregion | ||||
#region 扩展操作 | #region 扩展操作 | ||||