|
@@ -321,25 +321,28 @@ export class ConfigurationSpecimenComponent implements OnInit {
|
321
|
321
|
this.loading = false;
|
322
|
322
|
if (result.status == 200) {
|
323
|
323
|
this.configs = result.list[0] || {};
|
324
|
|
- // 病理标本
|
325
|
|
- this.autoCreate[0].checked = this.configs.autoCreate == 1;
|
326
|
|
- this.outpatientCreatePathologyForm[0].checked = this.configs.outpatientCreatePathologyForm == 1;
|
327
|
|
- this.outpatientInVitroFixation[0].checked = this.configs.outpatientInVitroFixation == 1;
|
328
|
|
- this.pathologyBarCode = this.configs.pathologyBarCode;
|
329
|
|
- this.outpatientPathologyLabelSize = this.configs.outpatientPathologyLabelSize.id; //门诊病理标签样式
|
330
|
|
- this.surgeryPathologyLabelSize = this.configs.surgeryPathologyLabelSize.id //手术病理标签样式
|
331
|
|
- // 检查标本
|
332
|
|
- this.deptNotAlert[0].checked = this.configs.deptNotAlert == 1;
|
333
|
|
- this.arriveScanCode[0].checked = this.configs.arriveScanCode == 1;
|
334
|
|
- this.arriveScanDynamicCode[0].checked = this.configs.arriveScanDynamicCode == 1;
|
335
|
|
- this.enterDynamicDigitalKey[0].checked = this.configs.enterDynamicDigitalKey == 1;
|
336
|
|
- this.returnSpecimenWhetherHandover[0].checked = this.configs.returnSpecimenWhetherHandover == 1;
|
337
|
|
- this.bigScanShowSignBtn[0].checked = this.configs.bigScanShowSignBtn == 1;
|
338
|
|
- this.bigScanArriveNotOwner[0].checked = this.configs.bigScanArriveNotOwner == 1;
|
339
|
|
- this.bigScanShowCreateBtn[0].checked = this.configs.bigScanShowCreateBtn == 1;
|
340
|
|
- this.defaultScanSpe[0].checked = this.configs.defaultScanSpe == 1;
|
341
|
|
- this.deptNotAlertIds = this.configs.deptNotAlertIds ? this.configs.deptNotAlertIds.split(',').map(v => +v) : [];
|
342
|
|
- this.deptList = this.configs.deptNotAlertList || [];
|
|
324
|
+ if(this.activeDictionaryKey=='examine'){
|
|
325
|
+ // 检查标本
|
|
326
|
+ this.deptNotAlert[0].checked = this.configs.deptNotAlert == 1;
|
|
327
|
+ this.arriveScanCode[0].checked = this.configs.arriveScanCode == 1;
|
|
328
|
+ this.arriveScanDynamicCode[0].checked = this.configs.arriveScanDynamicCode == 1;
|
|
329
|
+ this.enterDynamicDigitalKey[0].checked = this.configs.enterDynamicDigitalKey == 1;
|
|
330
|
+ this.returnSpecimenWhetherHandover[0].checked = this.configs.returnSpecimenWhetherHandover == 1;
|
|
331
|
+ this.bigScanShowSignBtn[0].checked = this.configs.bigScanShowSignBtn == 1;
|
|
332
|
+ this.bigScanArriveNotOwner[0].checked = this.configs.bigScanArriveNotOwner == 1;
|
|
333
|
+ this.bigScanShowCreateBtn[0].checked = this.configs.bigScanShowCreateBtn == 1;
|
|
334
|
+ this.defaultScanSpe[0].checked = this.configs.defaultScanSpe == 1;
|
|
335
|
+ this.deptNotAlertIds = this.configs.deptNotAlertIds ? this.configs.deptNotAlertIds.split(',').map(v => +v) : [];
|
|
336
|
+ this.deptList = this.configs.deptNotAlertList || [];
|
|
337
|
+ }else{
|
|
338
|
+ // 病理标本
|
|
339
|
+ this.autoCreate[0].checked = this.configs.autoCreate == 1;
|
|
340
|
+ this.outpatientCreatePathologyForm[0].checked = this.configs.outpatientCreatePathologyForm == 1;
|
|
341
|
+ this.outpatientInVitroFixation[0].checked = this.configs.outpatientInVitroFixation == 1;
|
|
342
|
+ this.pathologyBarCode = this.configs.pathologyBarCode;
|
|
343
|
+ this.outpatientPathologyLabelSize = this.configs.outpatientPathologyLabelSize.id; //门诊病理标签样式
|
|
344
|
+ this.surgeryPathologyLabelSize = this.configs.surgeryPathologyLabelSize.id //手术病理标签样式
|
|
345
|
+ }
|
343
|
346
|
}
|
344
|
347
|
});
|
345
|
348
|
}
|