|
|
@@ -39,6 +39,24 @@ var bootstrap = function ($, learun) { |
|
|
|
url: top.$.rootUrl + '/EducationalAdministration/LoginUserBind/GetPageList', |
|
|
|
headData: [ |
|
|
|
{ label: "绑定账号", name: "BindUserAccount", width: 150, align: "left" }, |
|
|
|
{ label: "名称", name: "F_RealName", width: 150, align: "left" }, |
|
|
|
{ |
|
|
|
label: '角色', name: 'F_UserId', width: 250, align: 'left', |
|
|
|
formatterAsync: function (callback, value, row) { |
|
|
|
learun.httpAsyncGet(top.$.rootUrl + '/LR_OrganizationModule/User/GetRoleList?objectId=' + value, function (res) { |
|
|
|
if (res.code == learun.httpCode.success) { |
|
|
|
var str = ""; |
|
|
|
for (var i = 0; i < res.data.roleInfoList.length; i++) { |
|
|
|
str += res.data.roleInfoList[i].F_FullName; |
|
|
|
if (i != res.data.roleInfoList.length - 1) { |
|
|
|
str += ','; |
|
|
|
} |
|
|
|
} |
|
|
|
callback(str); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
], |
|
|
|
mainId: 'Id', |
|
|
|
isPage: true, |
|
|
|