diff --git a/src/views/material/repair/scrapManage/component/addToolsApply.vue b/src/views/material/repair/scrapManage/component/addToolsApply.vue index 2e89018c..8de82cbe 100644 --- a/src/views/material/repair/scrapManage/component/addToolsApply.vue +++ b/src/views/material/repair/scrapManage/component/addToolsApply.vue @@ -135,6 +135,16 @@ prop="scrapReason" :show-overflow-tooltip="true" /> + + + { - if (response.code == 200) { - this.$modal.msgSuccess("通过成功"); - } - this.getTaskInfo(); - }); + // 二次确认 + this.$modal.confirm("是否确认通过所选择的数据项?").then(() => { + batchPassApi({'scrapApplyDetailsList':this.passTemp}).then((response) => { + if (response.code == 200) { + this.$modal.msgSuccess("通过成功"); + } + this.getTaskInfo(); + }) + }) } }, //多个驳回 @@ -374,12 +387,14 @@ export default { }); return; } else { - batchRejectApi({'scrapApplyDetailsList':this.failTemp}).then((response) => { - if (response.code == 200) { - this.$modal.msgSuccess("驳回成功"); - } - this.getTaskInfo(); - }); + this.$modal.confirm("是否确认驳回所选择的数据项?").then(() => { + batchRejectApi({'scrapApplyDetailsList':this.failTemp}).then((response) => { + if (response.code == 200) { + this.$modal.msgSuccess("驳回成功"); + } + this.getTaskInfo(); + }) + }) } }, },