seimin 5 月之前
父节点
当前提交
48c23f3546

+ 10 - 9
src/app/components/configurationCenter/configuration-category/configuration-category.component.ts

@@ -78,6 +78,7 @@ export class ConfigurationCategoryComponent implements OnInit {
78
     }
78
     }
79
     this.getCategoryList(1);
79
     this.getCategoryList(1);
80
     this.getHospitals(1);
80
     this.getHospitals(1);
81
+    this.getHospitals(2);
81
     this.getPrioritys();
82
     this.getPrioritys();
82
     this.getScores();
83
     this.getScores();
83
   }
84
   }
@@ -293,10 +294,10 @@ export class ConfigurationCategoryComponent implements OnInit {
293
     this.validateConfigForm.controls.userId.setValue(null);
294
     this.validateConfigForm.controls.userId.setValue(null);
294
     this.validateConfigForm.controls.groupId.setValue(null);
295
     this.validateConfigForm.controls.groupId.setValue(null);
295
 
296
 
296
-    this.dutyList = [];
297
+    // this.dutyList = [];
297
     this.userList = [];
298
     this.userList = [];
298
     this.groupList = [];
299
     this.groupList = [];
299
-    this.getHospitals(2, id);
300
+    // this.getHospitals(2, id);
300
   }
301
   }
301
 
302
 
302
   // 获取院区
303
   // 获取院区
@@ -308,14 +309,14 @@ export class ConfigurationCategoryComponent implements OnInit {
308
       this.hospitalList = this.tool.getHospitalList().filter(v => !v.parent);
309
       this.hospitalList = this.tool.getHospitalList().filter(v => !v.parent);
309
       return;
310
       return;
310
     }
311
     }
311
-    if(type === 2 && !parentId){
312
-      this.isLoading = false;
313
-      this.dutyList = [];
314
-      return;
315
-    }
312
+    // if(type === 2 && !parentId){
313
+    //   this.isLoading = false;
314
+    //   this.dutyList = [];
315
+    //   return;
316
+    // }
316
     let postData = {
317
     let postData = {
317
       hospital: {
318
       hospital: {
318
-        parent: { id: parentId },
319
+        // parent: { id: parentId },
319
         type: { key: 'hospital_type', value: '6' },
320
         type: { key: 'hospital_type', value: '6' },
320
       },
321
       },
321
       idx: 0,
322
       idx: 0,
@@ -616,7 +617,7 @@ export class ConfigurationCategoryComponent implements OnInit {
616
     }else if(data.userGroup === 2){
617
     }else if(data.userGroup === 2){
617
       this.requiredConfigChange('userId', false);
618
       this.requiredConfigChange('userId', false);
618
     }
619
     }
619
-    data.hosId && this.getHospitals(2, data.hosId);
620
+    // data.hosId && this.getHospitals(2, data.hosId);
620
     data.dutyId && this.getUsers('', true);
621
     data.dutyId && this.getUsers('', true);
621
     data.dutyId && this.getGroups('', true);
622
     data.dutyId && this.getGroups('', true);
622
   }
623
   }

+ 1 - 1
src/app/components/incidentManagement/incident-detail/incident-detail.component.html

@@ -21,7 +21,7 @@
21
               <div class="col">故障描述:{{incidentData.description}}</div>
21
               <div class="col">故障描述:{{incidentData.description}}</div>
22
             </div>
22
             </div>
23
             <div class="row">
23
             <div class="row">
24
-              <div class="col">详细地址:{{ incidentData.place?.building?.buildingName }}{{ incidentData.place?.floorName }}{{ incidentData.houseNumber }}</div>
24
+              <div class="col">详细地址:{{ incidentData.place?.building?.buildingName }}{{ incidentData.place ? incidentData.place.floorName + '层' : '' }}{{ incidentData.houseNumber }}</div>
25
             </div>
25
             </div>
26
             <div class="row">
26
             <div class="row">
27
               <div class="col thumbs">
27
               <div class="col thumbs">

+ 1 - 0
src/app/views/clinical-users-management/clinical-users-management.component.ts

@@ -335,6 +335,7 @@ export class ClinicalUsersManagementComponent implements OnInit {
335
         phone: that.validateForm.value.deptPhone,
335
         phone: that.validateForm.value.deptPhone,
336
         hospital: { id: that.add ? that.tool.getCurrentHospital().id : that.hosId },
336
         hospital: { id: that.add ? that.tool.getCurrentHospital().id : that.hosId },
337
         weixin: that.validateForm.value.weixin,
337
         weixin: that.validateForm.value.weixin,
338
+        engineer: this.userTypes.find(v => v.id == that.validateForm.value.usertype).value == 4 ? 1 : 0,
338
       },
339
       },
339
     };
340
     };
340
     if (!that.validateForm.value.userGroup) {
341
     if (!that.validateForm.value.userGroup) {

+ 3 - 3
src/app/views/fuwutai/fuwutai.component.html

@@ -220,7 +220,7 @@
220
 
220
 
221
                   <div class="didian">
221
                   <div class="didian">
222
                     <span class="left">
222
                     <span class="left">
223
-                      <span nz-tooltip [nzTooltipTitle]="(data.data.place ? data.data.place.building.buildingName : '') + (data.data.place ? data.data.place.floorName : '') + data.data.houseNumber">{{ data.data.place ? data.data.place.building.buildingName : '' }}{{ data.data.place ? data.data.place.floorName : '' }}{{ data.data.houseNumber }}</span>
223
+                      <span nz-tooltip [nzTooltipTitle]="(data.data.place ? data.data.place.building.buildingName : '') + (data.data.place ? data.data.place.floorName + '层' : '') + data.data.houseNumber">{{ data.data.place ? data.data.place.building.buildingName : '' }}{{ data.data.place ? data.data.place.floorName + '层' : '' }}{{ data.data.houseNumber }}</span>
224
                       <i class="icon_transport transport-a-11111 ml8" *ngIf="data.data.reqAttachment"></i>
224
                       <i class="icon_transport transport-a-11111 ml8" *ngIf="data.data.reqAttachment"></i>
225
                     </span>
225
                     </span>
226
                   </div>
226
                   </div>
@@ -431,7 +431,7 @@
431
 
431
 
432
                   <div class="didian">
432
                   <div class="didian">
433
                     <span class="left">
433
                     <span class="left">
434
-                      <span nz-tooltip [nzTooltipTitle]="(data.data.place ? data.data.place.building.buildingName : '') + (data.data.place ? data.data.place.floorName : '') + data.data.houseNumber">{{ data.data.place ? data.data.place.building.buildingName : '' }}{{ data.data.place ? data.data.place.floorName : '' }}{{ data.data.houseNumber }}</span>
434
+                      <span nz-tooltip [nzTooltipTitle]="(data.data.place ? data.data.place.building.buildingName : '') + (data.data.place ? data.data.place.floorName + '层' : '') + data.data.houseNumber">{{ data.data.place ? data.data.place.building.buildingName : '' }}{{ data.data.place ? data.data.place.floorName + '层' : '' }}{{ data.data.houseNumber }}</span>
435
                       <i class="icon_transport transport-a-11111 ml8" *ngIf="data.data.reqAttachment"></i>
435
                       <i class="icon_transport transport-a-11111 ml8" *ngIf="data.data.reqAttachment"></i>
436
                     </span>
436
                     </span>
437
                   </div>
437
                   </div>
@@ -635,7 +635,7 @@
635
 
635
 
636
                   <div class="didian">
636
                   <div class="didian">
637
                     <span class="left">
637
                     <span class="left">
638
-                      <span nz-tooltip [nzTooltipTitle]="(data.data.place ? data.data.place.building.buildingName : '') + (data.data.place ? data.data.place.floorName : '') + data.data.houseNumber">{{ data.data.place ? data.data.place.building.buildingName : '' }}{{ data.data.place ? data.data.place.floorName : '' }}{{ data.data.houseNumber }}</span>
638
+                      <span nz-tooltip [nzTooltipTitle]="(data.data.place ? data.data.place.building.buildingName : '') + (data.data.place ? data.data.place.floorName + '层' : '') + data.data.houseNumber">{{ data.data.place ? data.data.place.building.buildingName : '' }}{{ data.data.place ? data.data.place.floorName + '层' : '' }}{{ data.data.houseNumber }}</span>
639
                       <i class="icon_transport transport-a-11111 ml8" *ngIf="data.data.reqAttachment"></i>
639
                       <i class="icon_transport transport-a-11111 ml8" *ngIf="data.data.reqAttachment"></i>
640
                     </span>
640
                     </span>
641
                   </div>
641
                   </div>

+ 1 - 1
src/app/views/incident-management/incident-management.component.html

@@ -79,7 +79,7 @@
79
             <td class="text_align_left">
79
             <td class="text_align_left">
80
               {{ data.hosName || '无' }}<br>
80
               {{ data.hosName || '无' }}<br>
81
               {{ data.department?.dept || '无' }}<br>
81
               {{ data.department?.dept || '无' }}<br>
82
-              {{ data.place ? data.place.building.buildingName : '' }}{{ data.place ? data.place.floorName : '' }}{{ data.houseNumber }}
82
+              {{ data.place ? data.place.building.buildingName : '' }}{{ data.place ? data.place.floorName + '层' : '' }}{{ data.houseNumber }}
83
             </td>
83
             </td>
84
             <td class="text_align_left">
84
             <td class="text_align_left">
85
               {{ data.requester?.name || '无' }}<br>
85
               {{ data.requester?.name || '无' }}<br>

+ 1 - 0
src/app/views/users-management/users-management.component.ts

@@ -418,6 +418,7 @@ export class UsersManagementComponent implements OnInit {
418
         hospital: { id: that.hosId },
418
         hospital: { id: that.hosId },
419
         weixin: that.validateForm.value.weixin,
419
         weixin: that.validateForm.value.weixin,
420
         companyId: that.validateForm.value.companyId || undefined,
420
         companyId: that.validateForm.value.companyId || undefined,
421
+        engineer: that.validateForm.value.usertype == 4 ? 1 : 0,
421
       },
422
       },
422
     };
423
     };
423
     if (!that.validateForm.value.userGroup) {
424
     if (!that.validateForm.value.userGroup) {