|
@@ -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);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|