工艺管理测试问题修改

dev-scheduling
zhangdi 2 months ago
parent adb6939ed1
commit 329613a39a
  1. 21
      src/views/processManagement/bathRefine/bathRefineTask.vue

@ -17,8 +17,9 @@
@on-load="onLoad"
>
<template #menu-left>
<el-button type="primary" @click="handleAudit">批量审核</el-button>
<el-button type="primary" @click="handleMaintain">批量维护</el-button>
<el-button type="primary" @click="handleAudit">批量审核</el-button>
</template>
<template #menu="scope">
@ -458,15 +459,15 @@ export default {
},
//
handleAudit() {
// if (this.selectionList.length == 0) {
// this.$message.error('');
// return;
// }
// let tmp = this.selectionList.find(item => item.auditStatus != 0);
// if (tmp) {
// this.$message.error('');
// return;
// }
if (this.selectionList.length == 0) {
this.$message.error('请先选择数据');
return;
}
let tmp = this.selectionList.find(item => item.auditStatus != 0);
if (tmp) {
this.$message.error('请选择状态为待审核的数据');
return;
}
this.auditData = this.selectionList;
this.showAudit = true;
},

Loading…
Cancel
Save