seimin 3 weeks ago
parent
commit
6ad98ce531

+ 4 - 4
src/app/components/configurationCenter/configuration-specimen/configuration-specimen.component.ts

@@ -19,7 +19,7 @@ export class ConfigurationSpecimenComponent implements OnInit {
19 19
 	// tab类型
20 20
 	dictionaryKeyList:any[] = [
21 21
 		{
22
-			name:'检标本',key:'examine'
22
+			name:'检标本',key:'examine'
23 23
 		},
24 24
 		{
25 25
 			name:'病理标本',key:'pathology'
@@ -362,7 +362,7 @@ export class ConfigurationSpecimenComponent implements OnInit {
362 362
 		  });
363 363
 	}
364 364
 
365
-  // 检标本保存
365
+  // 检标本保存
366 366
   submitForm() {
367 367
     if(!this.tasktype.id){
368 368
       this.msg.create("warning", "请先配置患者陪检任务类型!");
@@ -598,7 +598,7 @@ export class ConfigurationSpecimenComponent implements OnInit {
598 598
         if (result.status == 200) {
599 599
           this.configs = result.list[0] || {};
600 600
 					if(this.activeDictionaryKey=='examine'){
601
-						// 检标本
601
+						// 检标本
602 602
 						this.deptNotAlert[0].checked = this.configs.deptNotAlert == 1;
603 603
 						this.arriveScanCode[0].checked = this.configs.arriveScanCode == 1;
604 604
 						this.arriveScanDynamicCode[0].checked = this.configs.arriveScanDynamicCode == 1;
@@ -645,7 +645,7 @@ export class ConfigurationSpecimenComponent implements OnInit {
645 645
             this.drugsEndCheckScanIds = this.drugsEndCheckScanIds.map(v => ({...v, checked: (this.configs.drugsEndCheckScanIds || '').split(',').includes(v.value.toString())}));
646 646
             this.drugsEndManual = this.configs.drugsEndManual ? this.configs.drugsEndManual.id : undefined;
647 647
 
648
-            this.spePackageAutoPack[0].checked = true;
648
+            this.spePackageAutoPack[0].checked = this.configs.spePackageAutoPack == 1;
649 649
             this.spePackageUrgents = this.spePackageUrgents.map(v => ({...v, checked: (this.configs.spePackageUrgents || '').split(',').includes(v.value.toString())}));
650 650
             this.spePackageDeptIds = this.configs.spePackageDeptIds ? this.configs.spePackageDeptIds.split(',').map(v => +v) : [];
651 651
             this.deptList = this.configs.spePackageDeptList || [];