seimin 1 місяць тому
батько
коміт
5b3c6645f8

+ 6 - 6
src/app/views/task-type-management/task-type-management.component.html

@@ -195,21 +195,21 @@
195
         </div>
195
         </div>
196
         <div class="mb8 w100">
196
         <div class="mb8 w100">
197
           <nz-form-label class="label" nzRequired>是否特殊情况关闭</nz-form-label>
197
           <nz-form-label class="label" nzRequired>是否特殊情况关闭</nz-form-label>
198
-          <nz-radio-group class="handlerType" [(ngModel)]="specialCloseButton">
198
+          <nz-radio-group class="handlerType" [(ngModel)]="specialCloseButton" (ngModelChange)="changeSpecialCloseButton()">
199
             <label nz-radio nzValue='1'>是</label>
199
             <label nz-radio nzValue='1'>是</label>
200
             <label nz-radio nzValue='0'>否</label>
200
             <label nz-radio nzValue='0'>否</label>
201
           </nz-radio-group>
201
           </nz-radio-group>
202
         </div>
202
         </div>
203
-        <div class="mb8 w100">
204
-          <nz-form-label class="label" nzRequired>是否允许提前执行</nz-form-label>
205
-          <nz-radio-group class="handlerType" [(ngModel)]="executeSwitch">
203
+        <div class="mb8 w100" *ngIf="specialCloseButton == 1">
204
+          <nz-form-label class="label" nzRequired>是否需要验证科室码</nz-form-label>
205
+          <nz-radio-group class="handlerType" [(ngModel)]="closeOrderCheckDept">
206
             <label nz-radio [nzValue]='1'>是</label>
206
             <label nz-radio [nzValue]='1'>是</label>
207
             <label nz-radio [nzValue]='0'>否</label>
207
             <label nz-radio [nzValue]='0'>否</label>
208
           </nz-radio-group>
208
           </nz-radio-group>
209
         </div>
209
         </div>
210
         <div class="mb8 w100">
210
         <div class="mb8 w100">
211
-          <nz-form-label class="label" nzRequired>是否需要验证科室码</nz-form-label>
212
-          <nz-radio-group class="handlerType" [(ngModel)]="closeOrderCheckDept">
211
+          <nz-form-label class="label" nzRequired>是否允许提前执行</nz-form-label>
212
+          <nz-radio-group class="handlerType" [(ngModel)]="executeSwitch">
213
             <label nz-radio [nzValue]='1'>是</label>
213
             <label nz-radio [nzValue]='1'>是</label>
214
             <label nz-radio [nzValue]='0'>否</label>
214
             <label nz-radio [nzValue]='0'>否</label>
215
           </nz-radio-group>
215
           </nz-radio-group>

+ 9 - 4
src/app/views/task-type-management/task-type-management.component.ts

@@ -1464,13 +1464,13 @@ export class TaskTypeManagementComponent implements OnInit {
1464
 		}else{
1464
 		}else{
1465
 			newData.taskType.carryingCourses[1].multipleHospital = 0
1465
 			newData.taskType.carryingCourses[1].multipleHospital = 0
1466
 		}
1466
 		}
1467
-		
1467
+
1468
 		if(newData.taskType.carryingCourses[0].digitalHandover){
1468
 		if(newData.taskType.carryingCourses[0].digitalHandover){
1469
 			newData.taskType.carryingCourses[0].digitalHandover = 1
1469
 			newData.taskType.carryingCourses[0].digitalHandover = 1
1470
 		}else{
1470
 		}else{
1471
 			newData.taskType.carryingCourses[0].digitalHandover = 0
1471
 			newData.taskType.carryingCourses[0].digitalHandover = 0
1472
 		}
1472
 		}
1473
-		
1473
+
1474
     console.log(newData.taskType.carryingCourses[this.indexs]);
1474
     console.log(newData.taskType.carryingCourses[this.indexs]);
1475
     this.loading5 = true;
1475
     this.loading5 = true;
1476
     that.mainService
1476
     that.mainService
@@ -2789,13 +2789,18 @@ export class TaskTypeManagementComponent implements OnInit {
2789
     }, 100);
2789
     }, 100);
2790
   }
2790
   }
2791
 
2791
 
2792
-   //修改是否需要填写工号
2793
-   isReserveUserSwitchChange(){
2792
+  //修改是否需要填写工号
2793
+  isReserveUserSwitchChange(){
2794
     if(this.reserveUserSwitch == '1'){
2794
     if(this.reserveUserSwitch == '1'){
2795
       this.isRemarks = '1';
2795
       this.isRemarks = '1';
2796
     }
2796
     }
2797
   }
2797
   }
2798
 
2798
 
2799
+  //修改是否特殊情况关闭
2800
+  changeSpecialCloseButton(){
2801
+    this.closeOrderCheckDept = 0;
2802
+  }
2803
+
2799
   // 修改是否支持多院区签到
2804
   // 修改是否支持多院区签到
2800
   changeActionsSwitch(e){
2805
   changeActionsSwitch(e){
2801
     if(!e){
2806
     if(!e){