浏览代码

病历详情

yuwandanmian 1 年之前
父节点
当前提交
0ed4965da1
共有 2 个文件被更改,包括 13 次插入11 次删除
  1. 1 1
      src/views/recordsRoom/qc/caseViews.vue
  2. 12 10
      src/views/recordsRoom/qc/contFile/admissionRecord.vue

+ 1 - 1
src/views/recordsRoom/qc/caseViews.vue

@@ -329,7 +329,7 @@ export default {
       } else if (b == 294) {
         that.is_active = event.target.id
       } else if (b == 303) {
-        that.is_active = b
+        that.is_active = event.target.id
       } else {
         that.is_active = b
       }

+ 12 - 10
src/views/recordsRoom/qc/contFile/admissionRecord.vue

@@ -152,16 +152,18 @@ export default {
   computed: {
     fuzhujianchaData() {
       const arr = []
-      const length = this.data.fzjc.value.length
-      this.data.fzjc.value.slice(1, length).map(item => {
-        const obj = {
-          time: item[0],
-          project: item[1],
-          result: item[2],
-          org: item[3]
-        }
-        arr.push(obj)
-      })
+      if (this.data.fzjc && this.data.fzjc.value.length) {
+        const length = this.data.fzjc.value.length
+        this.data.fzjc.value.slice(1, length).map(item => {
+          const obj = {
+            time: item[0],
+            project: item[1],
+            result: item[2],
+            org: item[3]
+          }
+          arr.push(obj)
+        })
+      }
       return arr
     }
   },