From 62f857710d9e27af55667584dd71c3fc1b9d52a7 Mon Sep 17 00:00:00 2001 From: ndbs Date: Mon, 21 Aug 2023 14:59:02 +0800 Subject: [PATCH] --- .../AssetManagementSystem/Views/FundsApply/Form.js | 2 +- .../Views/FundsApply/FormView.js | 14 +------------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/FundsApply/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/FundsApply/Form.js index 04c55bd82..5f55b7026 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/FundsApply/Form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/FundsApply/Form.js @@ -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, diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/FundsApply/FormView.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/FundsApply/FormView.js index 468613cb0..903ae9aa4 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/FundsApply/FormView.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/FundsApply/FormView.js @@ -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' }); },