seimin hace 2 semanas
padre
commit
c9d9c04c1c
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4 4
      src/app/components/order-scope/order-scope.component.ts

+ 4 - 4
src/app/components/order-scope/order-scope.component.ts

@@ -22,7 +22,7 @@ export class OrderScopeComponent implements OnInit {
22 22
     orderScopeRadio: undefined,
23 23
   }
24 24
 	@Input() coopBtns:any;
25
-	
25
+
26 26
   @Output() confirmModal = new EventEmitter();
27 27
   @Output() cancelModal = new EventEmitter();
28 28
   constructor(
@@ -47,7 +47,7 @@ export class OrderScopeComponent implements OnInit {
47 47
 	allDuty:number = 1;
48 48
 	showReassign:number = 0;
49 49
 	menuList:any;
50
-	
50
+
51 51
   ngOnInit() {
52 52
 		let menuItem = JSON.parse(localStorage.getItem("menuItem"))
53 53
 		this.menuList = menuItem.find(i=>i.link=='gongdanfanwei')
@@ -77,7 +77,7 @@ export class OrderScopeComponent implements OnInit {
77 77
 				}
78 78
 			}
79 79
 		}
80
-		
80
+
81 81
 		if(this.scopeTabs.length>0){
82 82
 			this.activeScopeTab = this.scopeTabs[0]
83 83
 		}
@@ -100,7 +100,7 @@ export class OrderScopeComponent implements OnInit {
100 100
     itsmGetOrderScope() {
101 101
       // 是否不限制部门
102 102
       this.allDuty = this.itsmData.allDuty === undefined ? 1 : this.itsmData.allDuty;
103
-      this.showReassign = this.itsmData.showReassign;
103
+      this.showReassign = this.itsmData.showReassign || 0;
104 104
 			// 权限内的院区和组
105 105
       let hosList = this.user.infoPermission.dutyList || [];
106 106
       let groups = this.user.infoPermission.dutyGroupList || [];