|
@@ -54,7 +54,6 @@
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button v-if="scope.row.status == 0" size="mini" type="text" icon="el-icon-check" @click="handleUpdate(scope.row)">审核</el-button>
|
|
|
- <el-button v-if="scope.row.status == 0" size="mini" type="text" icon="el-icon-close" @click="handleUpdate(scope.row)">驳回</el-button>
|
|
|
<el-button v-if="scope.row.status !== 0" size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" v-hasPermi="['community:dangyuan:edit']">详情</el-button>
|
|
|
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" v-hasPermi="['community:dangyuan:remove']">删除</el-button>
|
|
|
</template>
|
|
@@ -96,7 +95,7 @@
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer" v-if="dialogType !== 'textarea'">
|
|
|
- <el-button v-if="form.status == 0" type="success" @click="review">审 核</el-button>
|
|
|
+ <el-button v-if="form.status == 0" type="success" @click="review">通 过</el-button>
|
|
|
<el-button v-if="form.status == 0" type="danger" @click="reject">驳 回</el-button>
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
|
</div>
|
|
@@ -181,7 +180,6 @@ export default {
|
|
|
this.dialogType = 'textarea';
|
|
|
this.title = '请输入驳回原因';
|
|
|
this.open = true;
|
|
|
-
|
|
|
},
|
|
|
// 确认驳回
|
|
|
async rejectok() {
|
|
@@ -217,6 +215,7 @@ export default {
|
|
|
cancel() {
|
|
|
this.open = false;
|
|
|
this.reset();
|
|
|
+ this.dialogType = 'form';
|
|
|
},
|
|
|
// 表单重置
|
|
|
reset() {
|
|
@@ -255,6 +254,7 @@ export default {
|
|
|
this.form = response.data;
|
|
|
this.open = true;
|
|
|
this.title = "下沉干部详情";
|
|
|
+ this.dialogType = 'form';
|
|
|
});
|
|
|
},
|
|
|
/** 删除按钮操作 */
|