|
|
@@ -102,10 +102,12 @@ var bootstrap = function ($, learun) { |
|
|
|
{ |
|
|
|
label: "创建用户", name: "CreateUser", width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('user', { |
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BaseUser', |
|
|
|
key: value, |
|
|
|
keyId: 'f_userid', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data.name); |
|
|
|
callback(_data['f_realname']); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
@@ -117,7 +119,7 @@ var bootstrap = function ($, learun) { |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "附件", name: "Path", width: 100, align: "left", formatter: function (cellvalue) { |
|
|
|
label: "档案", name: "Path", width: 100, align: "left", formatter: function (cellvalue) { |
|
|
|
return !!cellvalue ? "已上传" : "未上传"; |
|
|
|
} |
|
|
|
}, |
|
|
@@ -132,6 +134,7 @@ var bootstrap = function ($, learun) { |
|
|
|
}, |
|
|
|
search: function (param) { |
|
|
|
param = param || {}; |
|
|
|
param.CreateUser = learun.clientdata.get(['userinfo']).userId; |
|
|
|
$('#gridtable').jfGridSet('reload',{ queryJson: JSON.stringify(param) }); |
|
|
|
} |
|
|
|
}; |
|
|
|