gaohaiyong 4 tháng trước cách đây
mục cha
commit
9a397587f0
1 tập tin đã thay đổi với 30 bổ sung34 xóa
  1. 30 34
      src/views/allcase/caseViews.vue

+ 30 - 34
src/views/allcase/caseViews.vue

@@ -489,40 +489,7 @@ export default {
         // this.is_active_blbh = this.mainHomeData.MED_REC_ID
         if(this.valData != 'sl_001'){
           this.funQuery();
-          // 病程记录
-          if (item.bllb === 294) {
-            if (that.is_active) {
-              // 请求前先重置之前的数据
-              that.caseRecodeInfo = {};
-              let parm = { blbh: that.is_active };
-              if (this.is_tm_path.includes(this.$route.path)) {
-                parm.is_tm = 1;
-              }
-              that.$axios.post('/get_bc_data', parm).then(res => {
-                that.caseRecodeInfo = res.data[0].bc_data;
-                that.caseRecodeInfo.is_format = res.data[0].is_format;
-              });
-            }
-          }
-          // 手术记录
-          if (item.bllb === 303) {
-            if (that.is_active) {
-              // 请求前先重置之前的数据
-              that.surgeryData = {};
-              let parm = { blbh: that.is_active };
-              if (this.is_tm_path.includes(this.$route.path)) {
-                parm.is_tm = 1;
-              }
-              that.$axios.post('/get_surgery_data', parm).then(res => {
-                that.surgeryData = res.data[0].surgery_data;
-                that.surgeryData.is_format = res.data[0].is_format;
-              });
-            }
-          }
-        }else{
-          
         }
-        
       }
       this.titleName = n;
       this.parentType = b;
@@ -623,7 +590,36 @@ export default {
           this.pacsDetail = res.data;
         });
       }
-      
+      // 病程记录
+      if (item.bllb === 294) {
+        if (that.is_active) {
+          // 请求前先重置之前的数据
+          that.caseRecodeInfo = {};
+          let parm = { blbh: that.is_active };
+          if (this.is_tm_path.includes(this.$route.path)) {
+            parm.is_tm = 1;
+          }
+          that.$axios.post('/get_bc_data', parm).then(res => {
+            that.caseRecodeInfo = res.data[0].bc_data;
+            that.caseRecodeInfo.is_format = res.data[0].is_format;
+          });
+        }
+      }
+      // 手术记录
+      if (item.bllb === 303) {
+        if (that.is_active) {
+          // 请求前先重置之前的数据
+          that.surgeryData = {};
+          let parm = { blbh: that.is_active };
+          if (this.is_tm_path.includes(this.$route.path)) {
+            parm.is_tm = 1;
+          }
+          that.$axios.post('/get_surgery_data', parm).then(res => {
+            that.surgeryData = res.data[0].surgery_data;
+            that.surgeryData.is_format = res.data[0].is_format;
+          });
+        }
+      }
     },
     //质控依据高亮方法
     hightRight(hightKeyWord, bllb, zyh) {