|
@@ -877,6 +877,13 @@ app.controller('incidentListCtrl', ["$scope", "$http", "i18nService", "$rootScop
|
877
|
877
|
engineer: 1,
|
878
|
878
|
}
|
879
|
879
|
}
|
|
880
|
+ if($rootScope.user.duty){
|
|
881
|
+ delete filuser.user.branchId
|
|
882
|
+ filuser.user.dutyId = $rootScope.user.duty.id;
|
|
883
|
+ }else if($rootScope.user.branch){
|
|
884
|
+ delete filuser.user.dutyId
|
|
885
|
+ filuser.user.branchId = $rootScope.user.branch.id;
|
|
886
|
+ }
|
880
|
887
|
getUser(filuser, 1);
|
881
|
888
|
}
|
882
|
889
|
//处理人过滤
|
|
@@ -890,6 +897,13 @@ app.controller('incidentListCtrl', ["$scope", "$http", "i18nService", "$rootScop
|
890
|
897
|
engineer: 1,
|
891
|
898
|
}
|
892
|
899
|
}
|
|
900
|
+ if($rootScope.user.duty){
|
|
901
|
+ delete filuser.user.branchId
|
|
902
|
+ filuser.user.dutyId = $rootScope.user.duty.id;
|
|
903
|
+ }else if($rootScope.user.branch){
|
|
904
|
+ delete filuser.user.dutyId
|
|
905
|
+ filuser.user.branchId = $rootScope.user.branch.id;
|
|
906
|
+ }
|
893
|
907
|
getUser(filuser, 2);
|
894
|
908
|
}
|
895
|
909
|
|
|
@@ -1429,7 +1443,6 @@ app.controller('incidentListCtrl', ["$scope", "$http", "i18nService", "$rootScop
|
1429
|
1443
|
};
|
1430
|
1444
|
//回访
|
1431
|
1445
|
$scope.visit = function (model) {
|
1432
|
|
- console.log(model)
|
1433
|
1446
|
var modalInstance = $modal.open({
|
1434
|
1447
|
backdrop: false,
|
1435
|
1448
|
templateUrl: 'assets/views/incident/tpl/callback.tpl.html',
|