From 0b578887c46d8fb2de20b84f80839490490eec98 Mon Sep 17 00:00:00 2001 From: zhichao lei <442149704@qq.com> Date: Thu, 12 Nov 2020 11:10:38 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E9=97=A8=E7=AE=A1=E7=90=86=20?= =?UTF-8?q?=E5=88=86=E7=AE=A1=E6=A0=A1=E9=95=BFid=20=E7=BB=91=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LR_OrganizationModule/Views/Department/Index.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OrganizationModule/Views/Department/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OrganizationModule/Views/Department/Index.js index 115eacd1a..2b8dff79c 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OrganizationModule/Views/Department/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OrganizationModule/Views/Department/Index.js @@ -97,7 +97,15 @@ var bootstrap = function ($, learun) { { label: "部门简称", name: "F_ShortName", width: 100, align: "left" }, { label: "部门性质", name: "F_Nature", width: 100, align: "left" }, { label: "负责人", name: "F_Manager", width: 100, align: "left" }, - { label: "分管校长", name: "F_SchoolMaster", width: 100, align: "left" }, + { + label: "分管校长", name: "F_SchoolMasterId", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { + learun.clientdata.getAsync('user', { + key: value, + callback: function (_data) { + callback(_data.name); + } + }); + }}, { label: "公告类别", name: "NoticeCategory", width: 200, align: "left" , formatterAsync: function (callback, value, row, op, $cell) {