优化
This commit is contained in:
parent
5603741d15
commit
812f4cc511
@ -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('请选择考评组!')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user