|
@@ -145,6 +145,13 @@ app.controller('chartCtrl', ["$scope", "i18nService", "$rootScope", "$state", "$
|
145
|
145
|
cellTemplate: '<div>' +
|
146
|
146
|
'<div class="ui-grid-cell-contents" style="cursor:pointer;text-align:center" >{{row.entity.contacts}}</div>' +
|
147
|
147
|
'</div>'
|
|
148
|
+ },{
|
|
149
|
+ name: 'requester.account',
|
|
150
|
+ displayName: '学号',
|
|
151
|
+ width:150,
|
|
152
|
+ cellTemplate: '<div>' +
|
|
153
|
+ '<div class="ui-grid-cell-contents" style="cursor:pointer;text-align:center" >{{row.entity.requester.account}}</div>' +
|
|
154
|
+ '</div>'
|
148
|
155
|
}, {
|
149
|
156
|
name: 'contactsInformation',
|
150
|
157
|
displayName: '联系电话',
|
|
@@ -152,6 +159,13 @@ app.controller('chartCtrl', ["$scope", "i18nService", "$rootScope", "$state", "$
|
152
|
159
|
cellTemplate: '<div>' +
|
153
|
160
|
'<div class="ui-grid-cell-contents" style="cursor:pointer;text-align:center" >{{row.entity.contactsInformation}}</div>' +
|
154
|
161
|
'</div>'
|
|
162
|
+ },{
|
|
163
|
+ name: 'incident.acceptUser.name',
|
|
164
|
+ displayName: '受理人',
|
|
165
|
+ width:150,
|
|
166
|
+ cellTemplate: '<div>' +
|
|
167
|
+ '<div class="ui-grid-cell-contents" style="cursor:pointer;text-align:center" >{{(row.entity.incident&&row.entity.incident.acceptUser)?row.entity.incident.acceptUser.name:""}}</div>' +
|
|
168
|
+ '</div>'
|
155
|
169
|
},
|
156
|
170
|
// {
|
157
|
171
|
// name: 'requester.name',
|
|
@@ -185,7 +199,7 @@ app.controller('chartCtrl', ["$scope", "i18nService", "$rootScope", "$state", "$
|
185
|
199
|
},
|
186
|
200
|
{
|
187
|
201
|
name: '操作',
|
188
|
|
- width:150,
|
|
202
|
+ width:200,
|
189
|
203
|
cellTemplate: '<wechatoperator item="row.entity" colobject="col">',
|
190
|
204
|
enableFiltering: false
|
191
|
205
|
}
|
|
@@ -282,7 +296,7 @@ app.controller('chartCtrl', ["$scope", "i18nService", "$rootScope", "$state", "$
|
282
|
296
|
},
|
283
|
297
|
{
|
284
|
298
|
name: '操作',
|
285
|
|
- width:150,
|
|
299
|
+ width:200,
|
286
|
300
|
cellTemplate: '<wechatoperator item="row.entity" colobject="col">',
|
287
|
301
|
enableFiltering: false
|
288
|
302
|
}
|
|
@@ -760,17 +774,17 @@ app.controller('Wechatoperator', ['$rootScope', '$http', '$scope', '$modal', fun
|
760
|
774
|
}
|
761
|
775
|
$scope.edit = function () {
|
762
|
776
|
$scope.colobject.grid.appScope.selectRowFunction($scope.item);
|
763
|
|
- $scope.doEdit($scope.item.id);
|
|
777
|
+ // $scope.doEdit($scope.item.id);
|
764
|
778
|
}
|
765
|
779
|
//查看,查看详情
|
766
|
780
|
$scope.look = function () {
|
767
|
781
|
$scope.colobject.grid.appScope.lookFunction($scope.item);
|
768
|
|
- $scope.doEdit($scope.item.id);
|
|
782
|
+ // $scope.doEdit($scope.item.id);
|
769
|
783
|
}
|
770
|
784
|
//处理
|
771
|
785
|
$scope.handleFn = function () {
|
772
|
786
|
$scope.colobject.grid.appScope.toHandleFunction($scope.item);
|
773
|
|
- $scope.doEdit($scope.item.id);
|
|
787
|
+ // $scope.doEdit($scope.item.id);
|
774
|
788
|
}
|
775
|
789
|
//查看事件
|
776
|
790
|
$scope.seeIncident = function () {
|