Просмотр исходного кода

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

seimin 1 год назад
Родитель
Сommit
ecd260ed15

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

@@ -139,7 +139,7 @@
139 139
         </div> -->
140 140
         <div class="mb8 w100" *ngIf="association['id'] == 255 || association['id'] == 260 || association['id'] == 256 || association['id'] == 259">
141 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 143
             <label nz-radio nzValue='1'>是</label>
144 144
             <label nz-radio nzValue='0'>否</label>
145 145
           </nz-radio-group>
@@ -242,7 +242,7 @@
242 242
         </div>
243 243
         <div nz-row *ngIf='association.id == 260 || association.id == 255'>
244 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 246
         </div>
247 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 2421
       this.promptModalShow = true;
2422 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
 }