|
|
@@ -312,7 +312,7 @@ var bootstrap = function ($, learun) { |
|
|
|
|
|
|
|
$('#department_select').lrselectRefresh({ |
|
|
|
// 访问数据接口地址 |
|
|
|
url: top.$.rootUrl + '/LR_OrganizationModule/Department/GetTree', |
|
|
|
url: top.$.rootUrl + '/LR_OrganizationModule/Department/GetTreeNoCheck', |
|
|
|
// 访问数据接口参数 |
|
|
|
param: { companyId: companyId, parentId: '0' }, |
|
|
|
}); |
|
|
@@ -329,10 +329,12 @@ var bootstrap = function ($, learun) { |
|
|
|
{ |
|
|
|
label: '部门', name: 'F_DepartmentId', width: 100, align: 'left', |
|
|
|
formatterAsync: function (callback, value, row) { |
|
|
|
learun.clientdata.getAsync('department', { |
|
|
|
learun.clientdata.getAsync('custmerData',{ |
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'classdata', |
|
|
|
key: value, |
|
|
|
callback: function (item) { |
|
|
|
callback(item.name); |
|
|
|
keyId: 'f_departmentid', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data['f_fullname']); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|