gaohaiyong 1 год назад
Родитель
Сommit
e30c6ceb54

+ 9 - 5
src/views/data/medicalRecords/defectList.vue

@@ -87,6 +87,7 @@ export default {
       },
       error_rule: '',
       hospital_name: '',
+      hospitalName: '',
       error_type: '',
       coder_name: '',
       department_name: '',
@@ -107,6 +108,7 @@ export default {
     this.formData.startTime = this.storageGet('startTime');
     this.error_rule = this.$route.query.error_rule;
     this.hospital_name = this.$route.query.hospital_name;
+    this.hospitalName = this.$route.query.hospitalName;
     this.error_type = this.$route.query.error_type;
     this.coder_name = this.$route.query.coder_name;
     this.department_name = this.$route.query.department_name;
@@ -187,12 +189,11 @@ export default {
         pramse.error_rule = this.error_rule;
       }
       if (this.hospital_name) {
-
         pramse.hospital_name = this.hospital_name;
-        pramse.hospitalName = this.hospital_name;
-        
       }
-      
+      if (this.hospitalName) {
+        pramse.hospitalName = this.hospitalName;
+      }
       if (this.error_type) {
         pramse.error_type = this.error_type;
       }
@@ -222,10 +223,13 @@ export default {
         start_time:this.formData.startTime,
         end_time:this.formData.endTime,
         level: this.formData.level,
-        AAC11C: this.formData.Department,
+        AAC11C: this.formData.AAC11C,
         is_export: 1,
         AAA28: ''
       };
+      if(this.hospitalName){
+        pramse.hospitalName = this.hospitalName;
+      }
       if (this.error_rule) {
         pramse.error_rule = this.error_rule;
       }

+ 2 - 2
src/views/dataImport/dataAnalysis/index.vue

@@ -439,7 +439,7 @@ export default {
       this.$router.push({ 
         path: '/defectList',
         query: { 
-          hospital_name: this.hospital_name,
+          hospitalName: this.hospital_name,
           error_rule:error.error_rule 
         }}
       );
@@ -448,7 +448,7 @@ export default {
     funGototo(){
       this.storageSet('endTime', this.formData.endTime || '');
       this.storageSet('startTime', this.formData.startTime || '');
-      this.goto(`/defectList?hospital_name=${this.hospital_name}`)
+      this.goto(`/defectList?hospitalName=${this.hospital_name}`)
     },
  
   },