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);