seimin 1 ay önce
ebeveyn
işleme
5b3c6645f8

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

@@ -195,21 +195,21 @@
195 195
         </div>
196 196
         <div class="mb8 w100">
197 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 199
             <label nz-radio nzValue='1'>是</label>
200 200
             <label nz-radio nzValue='0'>否</label>
201 201
           </nz-radio-group>
202 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 206
             <label nz-radio [nzValue]='1'>是</label>
207 207
             <label nz-radio [nzValue]='0'>否</label>
208 208
           </nz-radio-group>
209 209
         </div>
210 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 213
             <label nz-radio [nzValue]='1'>是</label>
214 214
             <label nz-radio [nzValue]='0'>否</label>
215 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 1464
 		}else{
1465 1465
 			newData.taskType.carryingCourses[1].multipleHospital = 0
1466 1466
 		}
1467
-		
1467
+
1468 1468
 		if(newData.taskType.carryingCourses[0].digitalHandover){
1469 1469
 			newData.taskType.carryingCourses[0].digitalHandover = 1
1470 1470
 		}else{
1471 1471
 			newData.taskType.carryingCourses[0].digitalHandover = 0
1472 1472
 		}
1473
-		
1473
+
1474 1474
     console.log(newData.taskType.carryingCourses[this.indexs]);
1475 1475
     this.loading5 = true;
1476 1476
     that.mainService
@@ -2789,13 +2789,18 @@ export class TaskTypeManagementComponent implements OnInit {
2789 2789
     }, 100);
2790 2790
   }
2791 2791
 
2792
-   //修改是否需要填写工号
2793
-   isReserveUserSwitchChange(){
2792
+  //修改是否需要填写工号
2793
+  isReserveUserSwitchChange(){
2794 2794
     if(this.reserveUserSwitch == '1'){
2795 2795
       this.isRemarks = '1';
2796 2796
     }
2797 2797
   }
2798 2798
 
2799
+  //修改是否特殊情况关闭
2800
+  changeSpecialCloseButton(){
2801
+    this.closeOrderCheckDept = 0;
2802
+  }
2803
+
2799 2804
   // 修改是否支持多院区签到
2800 2805
   changeActionsSwitch(e){
2801 2806
     if(!e){