gaohaiyong 9 місяців тому
батько
коміт
fd7a415468
1 змінених файлів з 5 додано та 18 видалено
  1. 5 18
      src/views/recordsRoom/qc/caseViews.vue

+ 5 - 18
src/views/recordsRoom/qc/caseViews.vue

@@ -171,7 +171,7 @@ import OutHospitalRecord from './components/OutHospitalRecord.vue'
 import CaseQualityBox from './components/CaseQualityBox2.vue'
 import DeathText from './components/DeathText.vue'
 import CreateControlResultDialogVue from './components/CreateControlResultDialog.vue'
-import { getBlMenuList, getCaseQuality, getCasePlatform, getAllCase, getLong, getTemporary, getPacsData, getBcData, getHomeData, getSurgeryData, getBlInfo } from '@/api/qc'
+import { getCaseQuality, getCasePlatform, getAllCase, getLong, getTemporary, getPacsData, getBcData, getHomeData, getSurgeryData, getBlInfo } from '@/api/qc'
 import { getCaseExamineAppeal } from '@/api/admin'
 import { getToken, removeToken } from '@/utils/auth'
 
@@ -247,9 +247,7 @@ export default {
         cyyz: {}
       },
       dataObj: [],
-      results: {
-        data: {}
-      },
+      results: null,
       dialogData: {
         bSwitch: false,
         text: '',
@@ -323,7 +321,6 @@ export default {
       this.funQuery()
       this.getCaseQualityResults()
     }
-    this.getTree()
   },
 
   methods: {
@@ -393,10 +390,13 @@ export default {
         id: Number(that.valData)
       }
       getCaseQuality(params).then(res => {
+        console.log(res)
         that.results = null;
         that.$nextTick(() =>{
           that.results = res.data;
         })
+      }).catch(e =>{
+        console.log(e)
       })
       // that.axios({
       //   url:'http://10.10.11.65:8081/bazb/get_case_quality_v2',
@@ -443,19 +443,6 @@ export default {
         this.is_active_blbh = this.mainHomeData.MED_REC_ID
       })
     },
-
-    getTree() {
-      const that = this
-      const pramse = {
-        id: this.valData
-      }
-      getBlMenuList(pramse).then(res => {
-        const { p } = res
-        that.treeList = p
-        // 初始化blbh
-        that.is_active_blbh = p[0].blbh
-      })
-    },
     clickTree(b, n, item) {
       if (item) {
         if (item.blbh) {