|
|
@@ -296,18 +296,18 @@ var bootstrap = function ($, learun) { |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
{ label: "管理部门", name: "AdministrativeDepartment", width: 100, align: "left" }, |
|
|
|
//{ |
|
|
|
// label: "管理部门", name: "AIDepartment", width: 100, align: "left", |
|
|
|
// formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
// learun.clientdata.getAsync('department', { |
|
|
|
// key: value, |
|
|
|
// callback: function (_data) { |
|
|
|
// callback(_data.name); |
|
|
|
// } |
|
|
|
// }); |
|
|
|
// } |
|
|
|
//}, |
|
|
|
//{ label: "管理部门", name: "AdministrativeDepartment", width: 100, align: "left" }, |
|
|
|
{ |
|
|
|
label: "管理部门", name: "AIDepartment", width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('department', { |
|
|
|
key: value, |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data.name); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "使用人", name: "AIUsePeople", width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|