|
@@ -722,14 +722,17 @@ app.controller('incidentListCtrl', ["$scope", "$http", "i18nService", "$rootScop
|
722
|
722
|
angular.extend(fildata.incident, transitiondata)
|
723
|
723
|
$scope.memoryfilterData = fildata;
|
724
|
724
|
console.log(fildata,78777);
|
725
|
|
- if($scope.searchstate === 'all'){
|
726
|
|
- if(fildata.incident&&fildata.incident.selectType){
|
727
|
|
- fildata.incident.selectType = fildata.incident.selectType.id;
|
728
|
|
- }
|
729
|
|
- }else{
|
730
|
|
- if(fildata.incident&&fildata.incident.selectType){
|
731
|
|
- delete fildata.incident.selectType;
|
732
|
|
- }
|
|
725
|
+ // if($scope.searchstate === 'all'){
|
|
726
|
+ // if(fildata.incident&&fildata.incident.selectType){
|
|
727
|
+ // fildata.incident.selectType = fildata.incident.selectType.id;
|
|
728
|
+ // }
|
|
729
|
+ // }else{
|
|
730
|
+ // if(fildata.incident&&fildata.incident.selectType){
|
|
731
|
+ // delete fildata.incident.selectType;
|
|
732
|
+ // }
|
|
733
|
+ // }
|
|
734
|
+ if(fildata.incident&&fildata.incident.selectType){
|
|
735
|
+ fildata.incident.selectType = fildata.incident.selectType.id;
|
733
|
736
|
}
|
734
|
737
|
// /seimin
|
735
|
738
|
$scope.refreshData('expand-right', fildata, isInit);
|