|
@@ -44,7 +44,7 @@ export class BindExtensionNumberComponent implements OnInit {
|
44
|
44
|
scopeTabs:any[] = [];
|
45
|
45
|
activeScopeTab:any;
|
46
|
46
|
menuList:any;
|
47
|
|
-
|
|
47
|
+
|
48
|
48
|
ngOnInit() {
|
49
|
49
|
// console.log('itsmData', this.itsmData);
|
50
|
50
|
// console.log('hsmsData', this.hsmsData);
|
|
@@ -56,7 +56,7 @@ export class BindExtensionNumberComponent implements OnInit {
|
56
|
56
|
this.getHjzxCornetList();
|
57
|
57
|
this.getCallCenterConfig();
|
58
|
58
|
}
|
59
|
|
-
|
|
59
|
+
|
60
|
60
|
init(){
|
61
|
61
|
if(this.menuList && this.menuList.childrens){
|
62
|
62
|
for(let i of this.menuList.childrens){
|
|
@@ -75,7 +75,7 @@ export class BindExtensionNumberComponent implements OnInit {
|
75
|
75
|
this.scopeTabs[0].checked = true
|
76
|
76
|
}
|
77
|
77
|
}
|
78
|
|
-
|
|
78
|
+
|
79
|
79
|
// 获取院区列表
|
80
|
80
|
getHospitalList() {
|
81
|
81
|
// 工单范围
|
|
@@ -85,9 +85,10 @@ export class BindExtensionNumberComponent implements OnInit {
|
85
|
85
|
// 开通运维
|
86
|
86
|
if(this.itsmData.allDuty === 1){
|
87
|
87
|
// 不限制部门
|
88
|
|
- let hospitals = this.user.infoPermission.hospitals || [];
|
89
|
|
- let dutyList = this.user.infoPermission.dutyList || [];
|
90
|
|
- this.hospitalList = hospitals.concat(dutyList);
|
|
88
|
+ this.hospitalList = this.user.infoPermission.hospitals || [];
|
|
89
|
+ // let hospitals = this.user.infoPermission.hospitals || [];
|
|
90
|
+ // let dutyList = this.user.infoPermission.dutyList || [];
|
|
91
|
+ // this.hospitalList = hospitals.concat(dutyList);
|
91
|
92
|
}else{
|
92
|
93
|
// 限制部门
|
93
|
94
|
if(this.hsmsData.hsmsSwitch){
|