소스 검색

工单范围

seimin 7 달 전
부모
커밋
20f10fa8e7

+ 28 - 15
src/app/components/order-scope/order-scope.component.html

@@ -6,28 +6,40 @@
6 6
     </div>
7 7
     <div class="content">
8 8
       <div class="scopeTab">
9
-        <div class="scopeTabItem" [ngClass]="{ active: item.value == activeScopeTabValue }" *ngFor="let item of scopeTabs" (click)="activeScopeTabValue = item.value">{{item.name}}</div>
9
+        <div class="scopeTabItem" [ngClass]="{ active: item.value == activeScopeTab.value }" *ngFor="let item of scopeTabs" (click)="activeScopeTab = item">
10
+          <label nz-checkbox [(ngModel)]="item.checked">{{item.name}}</label>
11
+        </div>
10 12
       </div>
11
-      <div class="conditions" *ngIf="activeScopeTabValue == 1">
13
+      <!-- 运维 -->
14
+      <div class="conditions" *ngIf="activeScopeTab.value == 1">
12 15
         <div nz-row>
13
-          <div nz-col nzSpan="3">院区:</div>
16
+          <div nz-col nzSpan="4">是否不限制部门:</div>
17
+          <div nz-col nzSpan="20">
18
+            <nz-radio-group class="w100" [(ngModel)]="allDuty" [nzDisabled]="!activeScopeTab.checked">
19
+              <label nz-radio [nzValue]="1">是</label>
20
+              <label nz-radio [nzValue]="0">否</label>
21
+            </nz-radio-group>
22
+          </div>
23
+        </div>
24
+        <div nz-row>
25
+          <div nz-col nzSpan="3">运维部门:</div>
14 26
           <div nz-col nzSpan="21">
15
-            <nz-checkbox-group class="w100" style="display: flex; flex-wrap: wrap; gap:8px;" [(ngModel)]="itsmCheckedHos" (ngModelChange)="changeItsmHospital($event)"></nz-checkbox-group>
27
+            <nz-checkbox-group *ngIf="allDuty === 0" class="w100" style="display: flex; flex-wrap: wrap; gap:8px;" [nzDisabled]="!activeScopeTab.checked" [(ngModel)]="itsmCheckedHos" (ngModelChange)="changeItsmHospital($event)"></nz-checkbox-group>
16 28
           </div>
17 29
         </div>
18 30
         <div nz-row>
19
-          <div nz-col nzSpan="3">人员分组:</div>
31
+          <div nz-col nzSpan="3">运维分组:</div>
20 32
           <div nz-col nzSpan="21">
21
-            <label class="checkAll mb8" nz-checkbox *ngIf="itsmCheckedGroup.length" [(ngModel)]="isAllItsmGroupChecked" (ngModelChange)="updateAllItsmGroupChecked()">
33
+            <label class="checkAll mb8" nz-checkbox *ngIf="itsmCheckedGroup.length" [nzDisabled]="!activeScopeTab.checked" [(ngModel)]="isAllItsmGroupChecked" (ngModelChange)="updateAllItsmGroupChecked()">
22 34
               全选
23 35
             </label>
24
-            <nz-checkbox-group class="w100" style="display: flex; flex-wrap: wrap; gap:8px;" [(ngModel)]="itsmCheckedGroup" (ngModelChange)="changeItsmGroup($event)"></nz-checkbox-group>
36
+            <nz-checkbox-group class="w100" style="display: flex; flex-wrap: wrap; gap:8px;" [nzDisabled]="!activeScopeTab.checked" [(ngModel)]="itsmCheckedGroup" (ngModelChange)="changeItsmGroup($event)"></nz-checkbox-group>
25 37
           </div>
26 38
         </div>
27 39
         <div nz-row>
28 40
           <div nz-col nzSpan="3">工单范围:</div>
29 41
           <div nz-col nzSpan="21">
30
-            <nz-radio-group class="w100" [(ngModel)]="itsmOrderScopeRadio">
42
+            <nz-radio-group class="w100" [(ngModel)]="itsmOrderScopeRadio" [nzDisabled]="!activeScopeTab.checked">
31 43
               <label nz-radio nzValue="0">全工单</label>
32 44
               <label nz-radio nzValue="1">急单</label>
33 45
               <label nz-radio nzValue="2">急单以及超时工单</label>
@@ -35,11 +47,12 @@
35 47
           </div>
36 48
         </div>
37 49
       </div>
38
-      <div class="conditions" *ngIf="activeScopeTabValue == 2">
50
+      <!-- 配送 -->
51
+      <div class="conditions" *ngIf="activeScopeTab.value == 2">
39 52
         <div nz-row>
40 53
           <div nz-col nzSpan="3">院区:</div>
41 54
           <div nz-col nzSpan="21">
42
-            <nz-radio-group class="w100" style="display: flex; flex-wrap: wrap; gap:8px;" [(ngModel)]="checkedHos">
55
+            <nz-radio-group class="w100" style="display: flex; flex-wrap: wrap; gap:8px;" [(ngModel)]="checkedHos" [nzDisabled]="!activeScopeTab.checked">
43 56
               <label *ngFor="let data of hosList" nz-radio [nzValue]="data.id">{{ data.hosName }}</label>
44 57
             </nz-radio-group>
45 58
           </div>
@@ -47,29 +60,29 @@
47 60
         <div nz-row>
48 61
           <div nz-col nzSpan="3">工单类型:</div>
49 62
           <div nz-col nzSpan="21" *ngIf="hosTaskTypes && checkedHos && hosTaskTypes['hos' + checkedHos]">
50
-            <label class="checkAll mb8" nz-checkbox *ngIf="hosTaskTypes['hos' + checkedHos].length" [(ngModel)]="allTypeChecked" (ngModelChange)="updateAllTypeChecked()">
63
+            <label class="checkAll mb8" nz-checkbox *ngIf="hosTaskTypes['hos' + checkedHos].length" [nzDisabled]="!activeScopeTab.checked" [(ngModel)]="allTypeChecked" (ngModelChange)="updateAllTypeChecked()">
51 64
               全选
52 65
             </label>
53 66
             <nz-checkbox-wrapper class="w100" style="display: flex; flex-wrap: wrap; gap:8px;" (nzOnChange)="changeTaskTypes($event)">
54
-              <label nz-checkbox [nzValue]="data.id" [ngModel]="initTypes[data.id]" *ngFor="let data of hosTaskTypes['hos' + checkedHos]">{{ data.taskName }}</label>
67
+              <label nz-checkbox [nzDisabled]="!activeScopeTab.checked" [nzValue]="data.id" [ngModel]="initTypes[data.id]" *ngFor="let data of hosTaskTypes['hos' + checkedHos]">{{ data.taskName }}</label>
55 68
             </nz-checkbox-wrapper>
56 69
           </div>
57 70
         </div>
58 71
         <div nz-row>
59 72
           <div nz-col nzSpan="3">人员分组:</div>
60 73
           <div nz-col nzSpan="21" *ngIf="hosGroups && checkedHos && hosGroups['hos' + checkedHos]">
61
-            <label class="checkAll mb8" nz-checkbox *ngIf="hosGroups['hos' + checkedHos].length" [(ngModel)]="allGroupChecked" (ngModelChange)="updateAllGroupChecked()">
74
+            <label class="checkAll mb8" [nzDisabled]="!activeScopeTab.checked" nz-checkbox *ngIf="hosGroups['hos' + checkedHos].length" [(ngModel)]="allGroupChecked" (ngModelChange)="updateAllGroupChecked()">
62 75
               全选
63 76
             </label>
64 77
             <nz-checkbox-wrapper class="w100" style="display: flex; flex-wrap: wrap; gap:8px;" (nzOnChange)="changeGroups($event)">
65
-              <label nz-checkbox [nzValue]="data.id" [ngModel]="initGroups[data.id]" *ngFor="let data of hosGroups['hos' + checkedHos]">{{ data.groupName }}</label>
78
+              <label nz-checkbox [nzDisabled]="!activeScopeTab.checked" [nzValue]="data.id" [ngModel]="initGroups[data.id]" *ngFor="let data of hosGroups['hos' + checkedHos]">{{ data.groupName }}</label>
66 79
             </nz-checkbox-wrapper>
67 80
           </div>
68 81
         </div>
69 82
         <div nz-row>
70 83
           <div nz-col nzSpan="3">工单范围:</div>
71 84
           <div nz-col nzSpan="21">
72
-            <nz-radio-group class="w100" [(ngModel)]="orderScopeRadio">
85
+            <nz-radio-group class="w100" [nzDisabled]="!activeScopeTab.checked" [(ngModel)]="orderScopeRadio">
73 86
               <label nz-radio nzValue="0">全工单</label>
74 87
               <label nz-radio nzValue="1">急单</label>
75 88
               <label nz-radio nzValue="2">急单以及超时工单</label>

+ 88 - 37
src/app/components/order-scope/order-scope.component.ts

@@ -32,7 +32,7 @@ export class OrderScopeComponent implements OnInit {
32 32
 
33 33
   itsmCheckedHos:any[] = [];//运维-院区
34 34
   itsmCheckedGroup:any[] = [];//运维-分组
35
-  itsmOrderScopeRadio = '0';//运维-工单范围
35
+  itsmOrderScopeRadio:any = '0';//运维-工单范围
36 36
   isAllItsmGroupChecked:boolean = false;//运维-是否全选分组
37 37
 
38 38
   ngOnInit() {
@@ -41,6 +41,8 @@ export class OrderScopeComponent implements OnInit {
41 41
   }
42 42
 
43 43
   initHsms(){
44
+    console.log('hsmsData:', this.hsmsData);
45
+    this.scopeTabs[0].checked = this.hsmsData.hsmsSwitch;
44 46
     this.checkedHos = this.hsmsData.checkedHos;
45 47
     this.orderScopeRadio = this.hsmsData.orderScopeRadio;
46 48
     this.initOrderScope();
@@ -48,23 +50,31 @@ export class OrderScopeComponent implements OnInit {
48 50
   }
49 51
 
50 52
   initItsm(){
53
+    console.log('itsmData', this.itsmData);
54
+    this.scopeTabs[1].checked = this.itsmData.mdv2Switch;
51 55
     this.itsmOrderScopeRadio = this.itsmData.orderScopeRadio;
56
+    this.itsmInitOrderScope();
52 57
     this.itsmGetOrderScope();
53 58
   }
54 59
 
55 60
     // 工单范选项卡
56
-    activeScopeTabValue = 1;
57 61
     scopeTabs:any[] = [
58
-      { name: '运维', value: 1 },
59
-      { name: '配送', value: 2 },
62
+      { name: '运维', value: 1, checked: false },
63
+      { name: '配送', value: 2, checked: false },
60 64
     ];
65
+    activeScopeTab = this.scopeTabs[0];
66
+    //#region 工单范围-运维start
67
+    allDuty:number = 1;
68
+    itsmInitOrderScope(){
61 69
 
62
-    // =============================工单范围-运维start========================================
70
+    }
63 71
     // 工单范围数据
64 72
     itsmGetOrderScope() {
73
+      // 是否不限制部门
74
+      this.allDuty = this.itsmData.allDuty === undefined ? 1 : this.itsmData.allDuty;
65 75
       // 权限内的院区和组
66
-      let hosList = this.user.infoPermission.hospitals || [];
67
-      let groups = this.user.infoPermission.groups || [];
76
+      let hosList = this.user.infoPermission.dutyList || [];
77
+      let groups = this.user.infoPermission.dutyGroupList || [];
68 78
 
69 79
       // 选中的院区和组
70 80
       let itsmCheckedHos = this.itsmData.checkedHos || [];
@@ -80,9 +90,7 @@ export class OrderScopeComponent implements OnInit {
80 90
 
81 91
     // 全选、全不选分组
82 92
     updateAllItsmGroupChecked(){
83
-      this.isAllItsmGroupChecked = !this.isAllItsmGroupChecked;
84
-      let flag = this.itsmCheckedGroup.length ? this.itsmCheckedGroup.every(v => v.checked) : false;
85
-      this.itsmCheckedGroup.forEach(v => v.checked = !flag);
93
+      this.itsmCheckedGroup.forEach(v => v.checked = this.isAllItsmGroupChecked);
86 94
     }
87 95
     // 选择分组
88 96
     changeItsmGroup(e){
@@ -90,8 +98,9 @@ export class OrderScopeComponent implements OnInit {
90 98
     }
91 99
     // 选择院区
92 100
     changeItsmHospital(hospitalList){
101
+      console.log('hospitalList:', hospitalList)
93 102
       // 权限内的院区和组
94
-      let groups = this.user.infoPermission.groups || [];
103
+      let groups = this.user.infoPermission.dutyGroupList || [];
95 104
 
96 105
       // 选中的院区和组
97 106
       let itsmCheckedHos = this.itsmCheckedHos || [];
@@ -101,12 +110,12 @@ export class OrderScopeComponent implements OnInit {
101 110
       let groupIds = itsmCheckedGroup.filter(v => v.checked).map(v => v.value);
102 111
 
103 112
       this.itsmCheckedGroup = groups.filter(v => hosIds.includes(v.hospital.id)).map(v => ({ label: v.hospital.hosName + '-' + v.groupName, value: v.id, checked: groupIds.includes(v.id) }));
113
+      console.log('this.itsmCheckedGroup:', this.itsmCheckedGroup)
104 114
       this.isAllItsmGroupChecked = this.itsmCheckedGroup.length ? this.itsmCheckedGroup.every(v => v.checked) : false;
105 115
     }
106
-    // =============================工单范围-运维end========================================
107
-
108
-    // =============================工单范围-配送start========================================
116
+    //#endregion 工单范围-运维end
109 117
 
118
+    //#region 工单范围-配送start
110 119
     // 工单范围数据
111 120
     hosList = []; //院区
112 121
     taskTypes = []; //当前权限下所有工单类型
@@ -114,9 +123,9 @@ export class OrderScopeComponent implements OnInit {
114 123
     hosTaskTypes = {}; //当前权限下所有院区对应的任务类型
115 124
     hosGroups = {}; //当前权限下所有院区对应的人员分组
116 125
     getOrderScope() {
117
-      this.hosList = this.user.infoPermission.hospitals;
126
+      this.hosList = this.user.infoPermission.hospitals.filter(v => !this.tool.isDuty(v));
118 127
       this.taskTypes = this.user.infoPermission.taskTypes;
119
-      this.userGroups = this.user.infoPermission.groups;
128
+      this.userGroups = this.user.infoPermission.groups.filter(v => v.type !== 3);
120 129
       this.hosList.forEach((e) => {
121 130
         let arrT = [],
122 131
           arrG = [];
@@ -164,19 +173,15 @@ export class OrderScopeComponent implements OnInit {
164 173
       this.hosTaskTypes["hos" + this.checkedHos].forEach((e) => {
165 174
         arr.push(e.id);
166 175
       });
167
-      this.changeTaskTypes(this.allTypeChecked ? arr : []);
168
-      let obj = {};
169
-      arr.forEach((e) => {
170
-        obj[e] = this.allTypeChecked;
171
-      });
172
-      this.initTypes = obj;
176
+      this.changeTaskTypes(this.allTypeChecked ? arr : [], false);
177
+
173 178
     }
174 179
 
175 180
     // 工单类型
176 181
     checkedTypes = []; //已选中taskTypes的ID数组
177 182
     changeType: boolean = false; //是否改变工单类型
178 183
     hosTypesChecked = {}; //当前权限下所有院区下选中的工单类型
179
-    changeTaskTypes(val) {
184
+    changeTaskTypes(val, isOwn = true) {
180 185
       this.checkedTypes = val;
181 186
       this.changeType = true;
182 187
       this.hosTypesChecked["hos" + this.checkedHos] = val;
@@ -186,6 +191,24 @@ export class OrderScopeComponent implements OnInit {
186 191
       } else {
187 192
         this.allTypeChecked = false;
188 193
       }
194
+
195
+      if(isOwn){
196
+        let obj = {};
197
+        console.log('arr:', val)
198
+        console.log('hosTaskTypes:', this.hosTaskTypes)
199
+        val.forEach((e) => {
200
+          obj[e] = true;
201
+        });
202
+        this.initTypes = obj;
203
+      }else{
204
+        let obj = {};
205
+        console.log('arr:', val)
206
+        console.log('hosTaskTypes:', this.hosTaskTypes)
207
+        val.forEach((e) => {
208
+          obj[e] = this.allTypeChecked;
209
+        });
210
+        this.initTypes = obj;
211
+      }
189 212
     }
190 213
 
191 214
     // 人员分组全选
@@ -195,18 +218,14 @@ export class OrderScopeComponent implements OnInit {
195 218
       this.hosGroups["hos" + this.checkedHos].forEach((e) => {
196 219
         arr.push(e.id);
197 220
       });
198
-      this.changeGroups(this.allGroupChecked ? arr : []);
199
-      let obj = {};
200
-      arr.forEach((e) => {
201
-        obj[e] = this.allGroupChecked;
202
-      });
203
-      this.initGroups = obj;
221
+      this.changeGroups(this.allGroupChecked ? arr : [], false);
222
+
204 223
     }
205 224
     // 人员分组
206 225
     checkedGroups = [];
207 226
     changeGroup: boolean = false; //是否改变分组
208 227
     hosGroupsChecked = {}; //当前权限下所有院区下选中的人员分组
209
-    changeGroups(val) {
228
+    changeGroups(val, isOwn = true) {
210 229
       this.checkedGroups = val;
211 230
       this.changeGroup = true;
212 231
       this.hosGroupsChecked["hos" + this.checkedHos] = val;
@@ -216,6 +235,20 @@ export class OrderScopeComponent implements OnInit {
216 235
       } else {
217 236
         this.allGroupChecked = false;
218 237
       }
238
+
239
+      if(isOwn){
240
+        let obj = {};
241
+        val.forEach((e) => {
242
+          obj[e] = true;
243
+        });
244
+        this.initGroups = obj;
245
+      }else{
246
+        let obj = {};
247
+        val.forEach((e) => {
248
+          obj[e] = this.allGroupChecked;
249
+        });
250
+        this.initGroups = obj;
251
+      }
219 252
     }
220 253
 
221 254
     // 工单范围院区切换
@@ -276,20 +309,38 @@ export class OrderScopeComponent implements OnInit {
276 309
         typesId.push({ id: e });
277 310
       });
278 311
 
279
-      let postData = {
312
+      let itsm = this.scopeTabs.find(v => v.value == 1);
313
+      let hsms = this.scopeTabs.find(v => v.value == 2);
314
+
315
+      let postData:any = {
280 316
         workerOrderScope: {
281
-          hospitalId: { id: this.checkedHos - 0 },
282
-          typeIds: typesId,
283
-          groupIds: groupsId,
284
-          range: this.orderScopeRadio - 0,
285 317
           userId: this.user.user.id,
318
+          mdv2Switch: Number(itsm.checked),
319
+          hsmsSwitch: Number(hsms.checked),
286 320
         },
287 321
       };
322
+
323
+      if(itsm.checked){
324
+        postData.workerOrderScope.allDuty = this.allDuty;
325
+        postData.workerOrderScope.dutyIds = this.itsmCheckedHos.filter(v => v.checked).map(v => v.value).toString();
326
+        postData.workerOrderScope.dutyGroupIds = this.itsmCheckedGroup.filter(v => v.checked).map(v => v.value).toString();
327
+        postData.workerOrderScope.dutyRange = this.itsmOrderScopeRadio - 0;
328
+      }
329
+      if(hsms.checked){
330
+        postData.workerOrderScope.hospitalId = { id: this.checkedHos - 0 };
331
+        postData.workerOrderScope.typeIds = typesId;
332
+        postData.workerOrderScope.groupIds = groupsId;
333
+        postData.workerOrderScope.range = this.orderScopeRadio - 0;
334
+      }
288 335
       if (this.user.user.scope && this.user.user.scope.id) {
289 336
         postData.workerOrderScope["id"] = this.user.user.scope.id;
290 337
       }
338
+      console.log('allDuty', this.allDuty)
339
+      console.log('itsmCheckedHos', this.itsmCheckedHos)
340
+      console.log('itsmCheckedGroup', this.itsmCheckedGroup)
341
+      console.log('itsmOrderScopeRadio', this.itsmOrderScopeRadio)
291 342
       console.log(postData);
292
-      return;
343
+      // return;
293 344
       this.mainService
294 345
         .coopTypeConfig("addData", "workerOrderScope", postData)
295 346
         .subscribe((data) => {
@@ -344,5 +395,5 @@ export class OrderScopeComponent implements OnInit {
344 395
       console.log(this.initGroups);
345 396
       console.log(this.initTypes);
346 397
     }
347
-    // =============================工单范围-配送end========================================
398
+    //#endregion 工单范围-配送end
348 399
 }

+ 6 - 1
src/app/services/tool.service.ts

@@ -63,7 +63,7 @@ export class ToolService {
63 63
   getCurrentUserId() {
64 64
     return JSON.parse(localStorage.getItem("user")).user.id;
65 65
   }
66
-  //返回院区或责任部门
66
+  //返回当前人的院区是院区或责任部门
67 67
   getHospitalOrDuty() {
68 68
     let hospital = this.getCurrentHospital();
69 69
     let type = 'hospital';//默认是院区
@@ -83,6 +83,11 @@ export class ToolService {
83 83
     }
84 84
   }
85 85
 
86
+  //判断是否是责任部门
87
+  isDuty(hospital) {
88
+    return hospital.type && hospital.type.value == 6;
89
+  }
90
+
86 91
   // 返回当前用户的组
87 92
   getCurrentGroupList(){
88 93
     return JSON.parse(localStorage.getItem("user")).user.group || [];

+ 16 - 10
src/app/views/fuwutai/fuwutai.component.ts

@@ -749,9 +749,13 @@ export class FuwutaiComponent implements OnInit {
749 749
   }
750 750
 
751 751
   // 工单范围设置回显
752
-  checkedHos;// 院区选择
753
-  scopeGroups = []; //当前所属人员分组
754
-  orderScopeRadio;// 工单范围
752
+  checkedHos;// 配送-院区选择
753
+  scopeGroups = []; //配送-当前所属人员分组
754
+  orderScopeRadio;// 配送-工单范围
755
+
756
+  itsmCheckedHos;// 运维-院区选择
757
+  itsmScopeGroups = []; //运维-当前所属人员分组
758
+  itsmOrderScopeRadio;// 运维-工单范围
755 759
 
756 760
   hsmsData: any = {
757 761
     checkedHos: undefined,
@@ -777,11 +781,17 @@ export class FuwutaiComponent implements OnInit {
777 781
       checkedHos: this.checkedHos,
778 782
       scopeGroups: this.scopeGroups,
779 783
       orderScopeRadio: this.orderScopeRadio || '0',
784
+      hsmsSwitch: scopeInfo.hsmsSwitch === 1,
780 785
     }
786
+    this.itsmCheckedHos = scopeInfo.dutyList || [];
787
+    this.itsmOrderScopeRadio = scopeInfo.dutyRange + "";
788
+    this.itsmScopeGroups = scopeInfo.dutyGroupList || [];
781 789
     this.itsmData = {
782
-      checkedHos: scopeInfo.hospitalId ? [scopeInfo.hospitalId] : [],
783
-      scopeGroups: this.scopeGroups,
784
-      orderScopeRadio: this.orderScopeRadio || '0',
790
+      checkedHos: this.itsmCheckedHos,
791
+      scopeGroups: this.itsmScopeGroups,
792
+      orderScopeRadio: this.itsmOrderScopeRadio || '0',
793
+      mdv2Switch: scopeInfo.mdv2Switch === 1,
794
+      allDuty: scopeInfo.allDuty === undefined ? 1 : scopeInfo.allDuty,
785 795
     }
786 796
     this.getHospitalConfigList('allowNucleicAcidPrinting');
787 797
   }
@@ -810,10 +820,6 @@ export class FuwutaiComponent implements OnInit {
810 820
   }
811 821
 
812 822
   showOrderScope() {
813
-    if (!this.user || !this.user.user || !this.user.user.scope){
814
-      this.cancelOrderScope();
815
-      return;
816
-    }
817 823
     this.showInitModal = true;
818 824
   }
819 825
 

+ 4 - 3
src/app/views/group-management/group-management.component.html

@@ -160,12 +160,13 @@
160 160
                 [nzDropdownMatchSelectWidth]="false"
161 161
                 formControlName="groupType"
162 162
                 nzShowSearch
163
-                nzAllowClear 
163
+                nzAllowClear
164 164
                 [nzDisabled]="isDisabledGroupType"
165 165
                 nzPlaceHolder="请选择分组类型"
166 166
               >
167
-                <nz-option nzLabel="统计分组" nzValue="1"></nz-option>
167
+                <nz-option nzLabel="配送分组" nzValue="1"></nz-option>
168 168
                 <nz-option nzLabel="派单分组" nzValue="2"></nz-option>
169
+                <nz-option nzLabel="运维分组" nzValue="3"></nz-option>
169 170
               </nz-select>
170 171
             </nz-form-control>
171 172
           </nz-form-item>
@@ -179,7 +180,7 @@
179 180
                 class="formItem"
180 181
                 nzServerSearch
181 182
                 nzShowSearch
182
-                [nzLoading]="editLoading" 
183
+                [nzLoading]="editLoading"
183 184
                 nzPlaceHolder="请选择分组组长"
184 185
                 formControlName="groupLeader"
185 186
                 (nzOnSearch)="changeInp($event)"