Browse Source

事件列表BUG

seimin 3 years ago
parent
commit
90ae1ea3c7
1 changed files with 5 additions and 0 deletions
  1. 5 0
      assets/js/controllers/incident/incidentCtrl.js

+ 5 - 0
assets/js/controllers/incident/incidentCtrl.js

@@ -2801,6 +2801,11 @@ app.controller('incidentListCtrl', ["$scope", "$http", "i18nService", "$rootScop
2801
     if(window.sessionStorage.getItem('isGoyuqi') === 'yes'){
2801
     if(window.sessionStorage.getItem('isGoyuqi') === 'yes'){
2802
         $scope.selectTypeChange();
2802
         $scope.selectTypeChange();
2803
     }else{
2803
     }else{
2804
+        if(sessionStorage.getItem("searchincident")){
2805
+            var ss = JSON.parse(sessionStorage.getItem("searchincident"));
2806
+            delete ss.incident;
2807
+            sessionStorage.setItem("searchincident",JSON.stringify(ss));
2808
+        }
2804
         $scope.refreshData('expand-right');
2809
         $scope.refreshData('expand-right');
2805
     }
2810
     }
2806
     
2811