Browse Source

患者陪检业务和患者其他服务增加备注

seimin 1 year ago
parent
commit
ecd260ed15

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

@@ -139,7 +139,7 @@
139
         </div> -->
139
         </div> -->
140
         <div class="mb8 w100" *ngIf="association['id'] == 255 || association['id'] == 260 || association['id'] == 256 || association['id'] == 259">
140
         <div class="mb8 w100" *ngIf="association['id'] == 255 || association['id'] == 260 || association['id'] == 256 || association['id'] == 259">
141
           <nz-form-label class="label" nzRequired>是否需要备注信息</nz-form-label>
141
           <nz-form-label class="label" nzRequired>是否需要备注信息</nz-form-label>
142
-          <nz-radio-group class="handlerType" [(ngModel)]="isRemarks">
142
+          <nz-radio-group class="handlerType" [(ngModel)]="isRemarks" (ngModelChange)="isRemarksChange()">
143
             <label nz-radio nzValue='1'>是</label>
143
             <label nz-radio nzValue='1'>是</label>
144
             <label nz-radio nzValue='0'>否</label>
144
             <label nz-radio nzValue='0'>否</label>
145
           </nz-radio-group>
145
           </nz-radio-group>
@@ -242,7 +242,7 @@
242
         </div>
242
         </div>
243
         <div nz-row *ngIf='association.id == 260 || association.id == 255'>
243
         <div nz-row *ngIf='association.id == 260 || association.id == 255'>
244
           <nz-form-label class="label">携带设备</nz-form-label>
244
           <nz-form-label class="label">携带设备</nz-form-label>
245
-          <nz-checkbox-group class="handlerType" [(ngModel)]="carryEquipmentIds"></nz-checkbox-group>
245
+          <nz-checkbox-group class="handlerType" [nzDisabled]="isRemarks == 1" [(ngModel)]="carryEquipmentIds"></nz-checkbox-group>
246
         </div>
246
         </div>
247
       </div>
247
       </div>
248
       <!-- 规则信息 -->
248
       <!-- 规则信息 -->

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

@@ -2421,4 +2421,13 @@ export class TaskTypeManagementComponent implements OnInit {
2421
       this.promptModalShow = true;
2421
       this.promptModalShow = true;
2422
     }, 100);
2422
     }, 100);
2423
   }
2423
   }
2424
+
2425
+  //修改是否填写备注
2426
+  isRemarksChange(){
2427
+    if(this.isRemarks == 1){
2428
+      this.carryEquipmentIds.forEach(v => {
2429
+        v.checked = false;
2430
+      });
2431
+    }
2432
+  }
2424
 }
2433
 }