|
|
@@ -147,7 +147,16 @@ var bootstrap = function ($, learun) { |
|
|
|
label: "部门", name: "MPDepartment", width: 250, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.httpAsyncGet(top.$.rootUrl + '/LR_OrganizationModule/Department/GetDepartmentList?listId=' + value, function (res) { |
|
|
|
console.log(res); |
|
|
|
if (res.code == learun.httpCode.success) { |
|
|
|
callback(res.data); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "接收人", name: "MPReceiveUser", width: 250, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.httpAsyncGet(top.$.rootUrl + '/LR_OrganizationModule/User/GetListByUserIds?keyValue=' + value, function (res) { |
|
|
|
if (res.code == learun.httpCode.success) { |
|
|
|
callback(res.data); |
|
|
|
} |
|
|
@@ -169,7 +178,6 @@ var bootstrap = function ($, learun) { |
|
|
|
async: false, |
|
|
|
cache: false, |
|
|
|
success: function (res) { |
|
|
|
console.log(res); |
|
|
|
var bb = ''; |
|
|
|
$.each(res.data, function (i, item) { |
|
|
|
|
|
|
|