Commit e97b1672 by Jianli Ou

完善业务审核

parent 62bda097
......@@ -48,7 +48,7 @@
</div>
</div>
</div>
<div class="operation-btns">
<div v-if="detailInfo.logoutFlag !== 1" class="operation-btns">
<el-button @click="auditEvent(1)" type="primary">审核通过</el-button>
<el-button @click="auditEvent(2)" class="plain-with-border">审核不通过</el-button>
<el-button class="plain-with-border" v-if="reset">重置</el-button>
......@@ -70,7 +70,10 @@ export default {
title: String,
subCenter: Boolean,
reset: Boolean,
detailInfo: Object
detailInfo: {
type: Object,
default: () => {return {logoutFlag: 0}}
}
},
data() {
return {
......
......@@ -178,7 +178,7 @@ export default {
this.handleCheck(row)
}}
>
审核
{this.handleCheckLabel(row)}
</el-button>
),
},
......@@ -187,6 +187,9 @@ export default {
}
},
methods: {
handleCheckLabel(row) {
return row.logoutFlag === 0 ? '审核' : row.logoutFlag === 1 ? '查看' : '复审'
},
handleCheck(row) {
console.log(row)
this.checkDetail = row
......
......@@ -139,7 +139,6 @@ export default {
},
handleBack() {
this.checkDetail = null
this.editDetail = row
},
handleEntNameCheck(row) {
console.log(row)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment