Kaynağa Gözat

[病案质控-caseviews]

yuwandanmian 2 yıl önce
ebeveyn
işleme
ba690c9564

+ 5 - 6
src/views/allcase/caseViews.vue

@@ -103,9 +103,9 @@
       <!-- status 不存在 意味着不脱敏、医院自助查询 -->
       <!-- status 不存在 意味着不脱敏、医院自助查询 -->
       <template v-if="!$route.query.status">
       <template v-if="!$route.query.status">
         <!-- 住院病案质控 -->
         <!-- 住院病案质控 -->
-        <ErrorMsg v-if="is_active == 0" class="cont-reight" :titleName="titleName" :errorList="errorList" :score="score" @ss="getBlankIndexss"></ErrorMsg>
-        <ErrorMsg2 v-if="is_active == 292" class="cont-reight" :titleName="titleName" :errorList="errorList" :score="score"></ErrorMsg2>
-        <!-- <CaseQualityBox :list="results" /> -->
+        <!-- <ErrorMsg v-if="is_active == 0" class="cont-reight" :titleName="titleName" :errorList="errorList" :score="score" @ss="getBlankIndexss"></ErrorMsg>
+        <ErrorMsg2 v-if="is_active == 292" class="cont-reight" :titleName="titleName" :errorList="errorList" :score="score"></ErrorMsg2> -->
+        <CaseQualityBox :list="results" />
       </template>
       </template>
     </div>
     </div>
   </div>
   </div>
@@ -252,17 +252,16 @@ export default {
     this.valData = this.storageGet('getData');
     this.valData = this.storageGet('getData');
     if (this.valData) {
     if (this.valData) {
       this.funQuery();
       this.funQuery();
+      this.getCaseQualityResults()
     }
     }
     this.getTree();
     this.getTree();
-    // this.getCaseQualityResults()
   },
   },
 
 
   methods: {
   methods: {
     // 获取新病案指控结果
     // 获取新病案指控结果
     getCaseQualityResults() {
     getCaseQualityResults() {
       const params = {
       const params = {
-        // id: this.valData,
-        id: 723264
+        id: Number(this.valData),
       };
       };
       this.$axios.post('/get_case_quality', params).then(res => {
       this.$axios.post('/get_case_quality', params).then(res => {
         this.results = res.data
         this.results = res.data

+ 8 - 1
src/views/allcase/components/CaseQualityBox.vue

@@ -8,8 +8,9 @@
             <el-tag type="danger" size="small">{{ item.error_field }}</el-tag>
             <el-tag type="danger" size="small">{{ item.error_field }}</el-tag>
           </el-descriptions-item>
           </el-descriptions-item>
           <el-descriptions-item label="描述">{{ item.notice }}</el-descriptions-item>
           <el-descriptions-item label="描述">{{ item.notice }}</el-descriptions-item>
-      </el-descriptions>
+        </el-descriptions>
       </el-card>
       </el-card>
+      <div class="nodata">暂无数据</div>
     </div>
     </div>
   </div>
   </div>
 </template>
 </template>
@@ -48,5 +49,11 @@
   .box-card {
   .box-card {
     margin-bottom: 16px;
     margin-bottom: 16px;
   }
   }
+  .nodata {
+    font-size: 16px;
+    color: #C0C4CC;
+    margin-top: 150px;
+    text-align: center;
+  }
 }
 }
 </style>
 </style>