diff --git a/src/views/kpi/assessment/stepList/index.vue b/src/views/kpi/assessment/stepList/index.vue index 560d805..c6a02b6 100644 --- a/src/views/kpi/assessment/stepList/index.vue +++ b/src/views/kpi/assessment/stepList/index.vue @@ -303,19 +303,30 @@ export default { async handleAddCuiBan () { const obj = this.titleList.find(i => i.active) if (obj.num === 0) return this.$message.info('暂无可催办人员!') - const params = { - startId: this.startId[1], - flowProcess: obj.flowProcess - } - const res = await apiManagerUrging(params) - if (res.code !== 200) { - this.$message.error(res.msg) - } - this.$message({ - message: res.msg, - type: 'success' + this.$confirm('将给当前节点处理人发送催办消息通知,确认进行催办?', '催办确认', { + confirmButtonText: '确定', + cancelButtonText: '取消', + type: 'warning' + }).then(async () => { + const params = { + startId: this.startId[1], + flowProcess: obj.flowProcess + } + const res = await apiManagerUrging(params) + if (res.code !== 200) { + this.$message.error(res.msg) + } + this.$message({ + message: res.msg, + type: 'success' + }) + console.log('params: ', params) + }).catch(() => { + this.$message({ + type: 'info', + message: '已取消' + }) }) - console.log('params: ', params) }, async handleCallBackChoose (item) { if (!item.value) return this.$message.info('请选择考评组!')