|
|
@ -287,18 +287,22 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
handleRevoke(row) { |
|
|
|
this.$confirm('是否确定撤回该业务', '提示', { |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
revokeProcess({ taskId: row.taskId, businessSid: row.sid, instanceId: row.procInstId, userSid: window.sessionStorage.getItem('userSid') }).then((response) => { |
|
|
|
if (response.success) { |
|
|
|
this.$message({ showClose: true,type: 'success', message: response.msg }) |
|
|
|
this.getList() |
|
|
|
} |
|
|
|
if (row.allowModify) { |
|
|
|
this.$confirm('是否确定撤回该业务', '提示', { |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
revokeProcess({ taskId: row.taskId, businessSid: row.sid, instanceId: row.procInstId, userSid: window.sessionStorage.getItem('userSid') }).then((response) => { |
|
|
|
if (response.success) { |
|
|
|
this.$message({ showClose: true,type: 'success', message: response.msg }) |
|
|
|
this.getList() |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
}) |
|
|
|
} else { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '非本人发起的申请,无权限操作' }) |
|
|
|
} |
|
|
|
}, |
|
|
|
// 信息条数 获取点击时当前的sid |
|
|
|
handleSelectionChange(row) { |
|
|
|