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 () {
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('请选择考评组!')