From a99b9b3da6871842f7ac9318c1d5525de37bbc6b Mon Sep 17 00:00:00 2001 From: liangkun Date: Thu, 1 Jul 2021 09:48:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=83=A8=E9=97=A8=E4=B8=8B?= =?UTF-8?q?=E6=8B=89=E6=A0=91=E5=A4=9A=E9=80=89=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/LR_Content/script/lr-form.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-form.js index 7cfffdd8b..992c57d25 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-form.js @@ -548,7 +548,8 @@ // 是否允许搜索 allowSearch: true, // 访问数据接口地址 - url: top.$.rootUrl + '/LR_OrganizationModule/Department/GetTree', + //url: top.$.rootUrl + '/LR_OrganizationModule/Department/GetTree', + url: top.$.rootUrl + '/LR_OrganizationModule/Department/GetTreeNoCheck', // 访问数据接口参数 param: { companyId: '', parentId: '0' }, } @@ -561,7 +562,9 @@ } if (typeof (op.select) == 'function') dfop.select = op.select; - + if (dfop.type == "treemultiple") { + dfop.url = top.$.rootUrl + '/LR_OrganizationModule/Department/GetTree'; + } return $(this).lrselect(dfop);; }; @@ -696,7 +699,7 @@ $this.attr('type', 'lr-' + dfop.type); var thisId = $this.attr('id'); - if (op.data!=null) { + if (op.data != null) { $.each(op.data, function (id, item) { var $point = $(''); $this.append($point);