|
|
@@ -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 = $('<label><input name="' + thisId + '" value="' + item.value + '"' + ' type="' + dfop.type + '">' + item.text + '</label>'); |
|
|
|
$this.append($point); |
|
|
|