diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Ask/Views/Notice_Train_Sum/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Ask/Views/Notice_Train_Sum/Index.js index f37a99e06..fbc78aad4 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Ask/Views/Notice_Train_Sum/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Ask/Views/Notice_Train_Sum/Index.js @@ -249,6 +249,38 @@ var bootstrap = function ($, learun) { // } //}, { label: '类型', name: 'Typename', width: 150, align: 'left' }, + { + label: '队伍', name: 'Teamid', width: 200, align: 'left', + formatterAsync: function (callback, value, row, op, $cell) { + + if (value.indexOf(',') != -1) { + var content = ''; + var timearr = value.split(','); + for (var i = 0; i < timearr.length; i++) { + learun.clientdata.getAsync('custmerData', + { + url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Trainteam', + key: timearr[i], + keyId: 'name', + callback: function (_data) { + content += _data['name'] + ","; + } + }); + } + content = content.substring(0, content.length - 1); + callback(content); + } else { + learun.clientdata.getAsync('custmerData', { + url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Trainteam', + key: value, + keyId: 'name', + callback: function (_data) { + callback(_data['name']); + } + }); + } + } + }, { label: '教练员', name: 'Coachs', width: 200, align: 'left', formatterAsync: function (callback, value, row, op, $cell) {