ndbs 1 year ago
parent
commit
62f857710d
2 changed files with 2 additions and 14 deletions
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/FundsApply/Form.js
  2. +1
    -13
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/FundsApply/FormView.js

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/FundsApply/Form.js View File

@@ -141,7 +141,7 @@ var bootstrap = function ($, learun) {
mainId: 'Id',
reloadSelected: false,
});
$('#Informant').lrDataSourceSelect({ allowSearch: true, code: 'teacheruserdata', value: 'f_encode', text: 'f_realname' });
$('#Informant').lrDataSourceSelect({ allowSearch: true, code: 'teacheruserdata', value: 'f_userid', text: 'f_realname' });
$('#DeclarationDept').lrselect({
type: 'tree',
allowSearch: true,


+ 1
- 13
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/FundsApply/FormView.js View File

@@ -141,24 +141,12 @@ var bootstrap = function ($, learun) {
mainId: 'Id',
reloadSelected: false,
});
$('#Informant').lrselect({ allowSearch: true, text: 'F_RealName', value: 'F_UserId' });

$('#Informant').lrDataSourceSelect({ allowSearch: true, code: 'teacheruserdata', value: 'f_userid', text: 'f_realname' });
$('#DeclarationDept').lrselect({
type: 'tree',
allowSearch: true,
url: top.$.rootUrl + '/LR_OrganizationModule/Department/GetTreeNoCheck',
param: {},
select: function (val) {
var departmentId = "";
if (val) {
departmentId = val.value;
}
$('#Informant').lrselectRefresh({
url: top.$.rootUrl + '/LR_OrganizationModule/User/GetListByDepartmentId?departmentId=' + departmentId,
text: "F_RealName",
value: "F_UserId"
})
}
});
$('#DeclarationType').lrDataItemSelect({ code: 'DeclarationType' });
},


Loading…
Cancel
Save