seimin 4 周之前
父节点
当前提交
c9d9c04c1c
共有 1 个文件被更改,包括 4 次插入4 次删除
  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
     orderScopeRadio: undefined,
22
     orderScopeRadio: undefined,
23
   }
23
   }
24
 	@Input() coopBtns:any;
24
 	@Input() coopBtns:any;
25
-	
25
+
26
   @Output() confirmModal = new EventEmitter();
26
   @Output() confirmModal = new EventEmitter();
27
   @Output() cancelModal = new EventEmitter();
27
   @Output() cancelModal = new EventEmitter();
28
   constructor(
28
   constructor(
@@ -47,7 +47,7 @@ export class OrderScopeComponent implements OnInit {
47
 	allDuty:number = 1;
47
 	allDuty:number = 1;
48
 	showReassign:number = 0;
48
 	showReassign:number = 0;
49
 	menuList:any;
49
 	menuList:any;
50
-	
50
+
51
   ngOnInit() {
51
   ngOnInit() {
52
 		let menuItem = JSON.parse(localStorage.getItem("menuItem"))
52
 		let menuItem = JSON.parse(localStorage.getItem("menuItem"))
53
 		this.menuList = menuItem.find(i=>i.link=='gongdanfanwei')
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
 		if(this.scopeTabs.length>0){
81
 		if(this.scopeTabs.length>0){
82
 			this.activeScopeTab = this.scopeTabs[0]
82
 			this.activeScopeTab = this.scopeTabs[0]
83
 		}
83
 		}
@@ -100,7 +100,7 @@ export class OrderScopeComponent implements OnInit {
100
     itsmGetOrderScope() {
100
     itsmGetOrderScope() {
101
       // 是否不限制部门
101
       // 是否不限制部门
102
       this.allDuty = this.itsmData.allDuty === undefined ? 1 : this.itsmData.allDuty;
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
       let hosList = this.user.infoPermission.dutyList || [];
105
       let hosList = this.user.infoPermission.dutyList || [];
106
       let groups = this.user.infoPermission.dutyGroupList || [];
106
       let groups = this.user.infoPermission.dutyGroupList || [];