seimin 4 veckor sedan
förälder
incheckning
6ad98ce531

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

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