|
@@ -134,6 +134,18 @@
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="1.5">
|
|
<el-col :span="1.5">
|
|
<el-button
|
|
<el-button
|
|
|
|
+ type="danger"
|
|
|
|
+ plain
|
|
|
|
+ icon="el-icon-delete"
|
|
|
|
+ size="mini"
|
|
|
|
+ :disabled="multiple"
|
|
|
|
+ @click="chushiBatch"
|
|
|
|
+ v-if="['deputyDirector','director','admin'].includes(this.$store.state.user.postName)"
|
|
|
|
+ >一键审核通过
|
|
|
|
+ </el-button>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="1.5">
|
|
|
|
+ <el-button
|
|
type="warning"
|
|
type="warning"
|
|
plain
|
|
plain
|
|
icon="el-icon-download"
|
|
icon="el-icon-download"
|
|
@@ -547,6 +559,22 @@ export default {
|
|
}
|
|
}
|
|
|
|
|
|
},
|
|
},
|
|
|
|
+ chushiBatch(){
|
|
|
|
+ if (this.ids.length > 0) {
|
|
|
|
+ let chushiForm = {uids:[],processStatus:null,processComments:null,postNameArias:null}
|
|
|
|
+ chushiForm.processStatus = '0';
|
|
|
|
+ chushiForm.processComments = '一键审核通过';
|
|
|
|
+ chushiForm.uids = this.ids;
|
|
|
|
+ chushiForm.postNameArias = this.$store.state.user.postName;
|
|
|
|
+ console.log(chushiForm)
|
|
|
|
+ batchReview(chushiForm).then(response => {
|
|
|
|
+ if (response.code===200) {
|
|
|
|
+ this.$modal.msgSuccess("审核成功");
|
|
|
|
+ }
|
|
|
|
+ this.getList();
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ },
|
|
process(data, isBatch) {
|
|
process(data, isBatch) {
|
|
this.shFrom.id = undefined
|
|
this.shFrom.id = undefined
|
|
this.shFrom.uids = []
|
|
this.shFrom.uids = []
|