浏览代码

人工质控后端调整

gyf 2 月之前
父节点
当前提交
c06902828f
共有 2 个文件被更改,包括 42 次插入1 次删除
  1. 11 0
      src/views/recordsRoom/qc/caseAppeal.vue
  2. 31 1
      src/views/recordsRoom/qc/components/TableBox.vue

+ 11 - 0
src/views/recordsRoom/qc/caseAppeal.vue

@@ -19,6 +19,17 @@
             <span v-if="scope.row.status == 2">不通过</span>
             <span v-if="scope.row.status == 2">不通过</span>
           </template>
           </template>
         </el-table-column>
         </el-table-column>
+        <el-table-column
+          prop=""
+          label="质控类型"
+          width="80"
+          show-overflow-tooltip>
+          <template slot-scope="scope">
+            <span v-if="scope.row.quality_type == 1">住院病历</span>
+            <span v-if="scope.row.quality_type == 2">病案首页</span>
+            <span v-if="scope.row.quality_type == 3">编码员</span>
+          </template>
+        </el-table-column>
         <el-table-column
         <el-table-column
           prop="defect_content"
           prop="defect_content"
           label="缺槬陷问题描述"
           label="缺槬陷问题描述"

+ 31 - 1
src/views/recordsRoom/qc/components/TableBox.vue

@@ -1,10 +1,17 @@
 <template>
 <template>
   <div class="app-container">
   <div class="app-container">
+    <el-button type="primary" @click="toExamine">批量审核</el-button>
+    <el-button @click="onRevoke">撤销审核</el-button>
     <el-table
     <el-table
       v-loading="loading"
       v-loading="loading"
       :data="data"
       :data="data"
       style="width: 100%"
       style="width: 100%"
+      @selection-change="handleSelectionChange"
     >
     >
+      <el-table-column
+          type="selection"
+          width="55">
+      </el-table-column>
       <el-table-column type="index" label="序号" width="80" />
       <el-table-column type="index" label="序号" width="80" />
       <el-table-column
       <el-table-column
         prop="sum_minus_points"
         prop="sum_minus_points"
@@ -106,7 +113,8 @@ export default {
       type: Array,
       type: Array,
       default() {
       default() {
         return []
         return []
-      }
+      },
+      multipleSelection: []
     },
     },
     loading: {
     loading: {
       type: Boolean,
       type: Boolean,
@@ -120,6 +128,28 @@ export default {
       const { ZYH } = row
       const { ZYH } = row
       localStorage.setItem('getData', ZYH)
       localStorage.setItem('getData', ZYH)
       this.$router.push({ path: '/recordsRoom/qc/caseViews' })
       this.$router.push({ path: '/recordsRoom/qc/caseViews' })
+    },
+
+    /**
+     * 选中
+     * @param val
+     */
+    handleSelectionChange(val) {
+      this.multipleSelection = val;
+    },
+
+    /**
+     * 批量审核
+     */
+    toExamine() {
+      console.log(this.multipleSelection);
+    },
+
+    /**
+     * 撤销审核
+     */
+    onRevoke() {
+      console.log(this.multipleSelection);
     }
     }
   }
   }
 }
 }