This commit is contained in:
xiongchengqiang 2020-12-17 14:11:54 +08:00
parent 5603741d15
commit 812f4cc511

View File

@ -303,19 +303,30 @@ export default {
async handleAddCuiBan () { async handleAddCuiBan () {
const obj = this.titleList.find(i => i.active) const obj = this.titleList.find(i => i.active)
if (obj.num === 0) return this.$message.info('暂无可催办人员!') if (obj.num === 0) return this.$message.info('暂无可催办人员!')
const params = { this.$confirm('将给当前节点处理人发送催办消息通知,确认进行催办?', '催办确认', {
startId: this.startId[1], confirmButtonText: '确定',
flowProcess: obj.flowProcess cancelButtonText: '取消',
} type: 'warning'
const res = await apiManagerUrging(params) }).then(async () => {
if (res.code !== 200) { const params = {
this.$message.error(res.msg) startId: this.startId[1],
} flowProcess: obj.flowProcess
this.$message({ }
message: res.msg, const res = await apiManagerUrging(params)
type: 'success' 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) { async handleCallBackChoose (item) {
if (!item.value) return this.$message.info('请选择考评组!') if (!item.value) return this.$message.info('请选择考评组!')