zdl 1 year ago
parent
commit
8220720fdc
1 changed files with 9 additions and 9 deletions
  1. 9 9
      src/views/allcase/caseViews.vue

+ 9 - 9
src/views/allcase/caseViews.vue

@@ -104,7 +104,7 @@
           <DeathText :dataObjArr="dataObj"></DeathText>
         </div>
         <div v-else>
-          <newContFile :text="text" :name="name_title" v-if="update"></newContFile>
+          <newContFile v-for="(item, index) of text" :key="index" :text="item.HJNR" :name="name_title"></newContFile>
         </div>
       </div>
       <!-- status 不存在 意味着不脱敏、医院自助查询 -->
@@ -177,7 +177,7 @@ export default {
       is_active: 0,
       parentType: 0,
       name_title: '',
-      text: '',
+      text: [],
       update: true,
       titleName: '住院病案',
       pacsDetail: {},
@@ -257,12 +257,12 @@ export default {
   },
   watch: {},
   mounted() {
-    this.valData = this.storageGet('getData');
-    if (this.valData) {
-      this.funQuery();
-      this.getCaseQualityResults();
-    }
-    this.getTree();
+    // this.valData = this.storageGet('getData');
+    // if (this.valData) {
+    //   this.funQuery();
+    //   this.getCaseQualityResults();
+    // }
+    // this.getTree();
   },
 
   methods: {
@@ -344,7 +344,7 @@ export default {
           params.is_tm = 1;
         }
         that.$axios.post('/getAllCase', params).then(res => {
-          that.text = res.data[0].HJNR;
+          that.text = res.data;
           that.dataObj = res.data;
           that.reload();
         });