|
|
@@ -72,7 +72,7 @@ import {
|
|
|
approveTaskWithVariablesAPI, updateAccountReceiptAPI,
|
|
|
updateAccountStatementAPI, updateReceiveAndPayInfoAPI, accountStatementProcessCancel
|
|
|
} from '@/api/bpm/components/saleManage/saleorder';
|
|
|
-import {approveTaskWithVariables,rejectTask} from '@/api/bpm/task';
|
|
|
+import {approveTaskWithVariables,rejectTask,cancelTask} from '@/api/bpm/task';
|
|
|
|
|
|
// 流程实例的详情页,可用于审批
|
|
|
export default {
|
|
|
@@ -183,8 +183,9 @@ export default {
|
|
|
cancelButtonText: '取消',
|
|
|
confirmButtonText: '确定'
|
|
|
}).then(() => {
|
|
|
- accountStatementProcessCancel({
|
|
|
- id: this.taskId,
|
|
|
+ cancelTask({
|
|
|
+ id: this.id,
|
|
|
+ taskId: this.taskId,
|
|
|
reason: this.form.reason,
|
|
|
businessId: this.businessId,
|
|
|
}).then(() => {
|