|
|
@@ -245,8 +245,10 @@ export default { |
|
|
|
if (success) { |
|
|
|
this.EMIT('task-list-change') |
|
|
|
this.TOAST(`成功提交${actionText}`, 'success') |
|
|
|
if (taskType === 'revoke') { |
|
|
|
this.NAV_BACK() |
|
|
|
if (taskType === 'revoke' || taskType === 'refer') { |
|
|
|
setTimeout(()=>{ |
|
|
|
this.NAV_BACK() |
|
|
|
},500) |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
@@ -304,6 +306,11 @@ export default { |
|
|
|
|
|
|
|
// 点击审批相关按钮 |
|
|
|
async audit(action) { |
|
|
|
const verifyResult = this.$refs.form.verifyValue() |
|
|
|
if (verifyResult.length > 0) { |
|
|
|
this.CONFIRM('表单验证失败', verifyResult.join('\n')) |
|
|
|
return |
|
|
|
} |
|
|
|
this.LOADING('加载中…') |
|
|
|
const currentTask = this.processInfo.task.find(t => t.F_NodeId === this.currentNode.id) |
|
|
|
const postData = await this.getPostData(this.formValue, this.scheme) |
|
|
|