|
@@ -22,9 +22,19 @@ app.controller('incidentListCtrl', ["$scope", "$http", "i18nService", "$rootScop
|
22
|
22
|
// -----------------分割线 end----------------
|
23
|
23
|
// 是否逾期seimin
|
24
|
24
|
$scope.selectType = [
|
25
|
|
- { id: '2', name: '是' },
|
26
|
|
- { id: '0', name: '否' }
|
|
25
|
+ // { id: '2', name: '是' },
|
|
26
|
+ // { id: '0', name: '否' }
|
27
|
27
|
];
|
|
28
|
+ $scope.getOverdueState = function () {
|
|
29
|
+ var data = {
|
|
30
|
+ key: "overdue_state",
|
|
31
|
+ type: "list",
|
|
32
|
+ };
|
|
33
|
+ api_wechatfile.getDictionary(data).then(function (res) {
|
|
34
|
+ $scope.selectType = res;
|
|
35
|
+ });
|
|
36
|
+ };
|
|
37
|
+ $scope.getOverdueState();
|
28
|
38
|
$scope.tabs = [
|
29
|
39
|
// {key: 'all', value: '全部事件', num: ''},
|
30
|
40
|
{key: 'todo', value: '待我接单', num: ''},
|
|
@@ -2136,7 +2146,7 @@ app.controller('incidentListCtrl', ["$scope", "$http", "i18nService", "$rootScop
|
2136
|
2146
|
$scope.selectTypeChange = function(isInit){
|
2137
|
2147
|
console.log($scope.searchkeys.selectType,66666);
|
2138
|
2148
|
if(window.sessionStorage.getItem('isGoyuqi') == 'yes'){
|
2139
|
|
- $scope.searchkeys.selectType = {id:'2',name:'是'};
|
|
2149
|
+ $scope.searchkeys.selectType = $scope.selectType.find(v => v.value == 'unresolved');
|
2140
|
2150
|
}
|
2141
|
2151
|
var ids = $scope.searchkeys.selectType.id
|
2142
|
2152
|
if(defaultFilterData.incident){
|