This commit is contained in:
xiongchengqiang 2020-12-03 18:03:42 +08:00
parent a88d4660bc
commit 941e570b51

View File

@ -306,14 +306,12 @@ export default {
}, },
// //
handleCuiban () { handleCuiban () {
if (!this.info) return
this.$confirm('确认对该节点处理人进行催办?', '提示', { this.$confirm('确认对该节点处理人进行催办?', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(async () => { }).then(async () => {
const obj = { status: 3, menuName: '催办了' } const obj = { status: 3, menuName: '催办了' }
if (this.info) obj.flowRecordId = this.info.flowRecordId
const params = Object.assign({}, this.form, { resultRecordId: this.resultRecordId || '' }, obj) const params = Object.assign({}, this.form, { resultRecordId: this.resultRecordId || '' }, obj)
this.$loadingStart() this.$loadingStart()
let res = await apiSaveapproval(params) let res = await apiSaveapproval(params)