|
@@ -71,7 +71,7 @@
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
import { UpdateInformation, cancel } from '@/api/bpm/components/purchasingManage/inquiryManage';
|
|
import { UpdateInformation, cancel } from '@/api/bpm/components/purchasingManage/inquiryManage';
|
|
|
- import {approveTaskWithVariables, rejectTask} from '@/api/bpm/task';
|
|
|
|
|
|
|
+ import {approveTaskWithVariables, rejectTask,cancelTask} from '@/api/bpm/task';
|
|
|
import { listAllUserBind } from '@/api/system/organization';
|
|
import { listAllUserBind } from '@/api/system/organization';
|
|
|
|
|
|
|
|
// 流程实例的详情页,可用于审批
|
|
// 流程实例的详情页,可用于审批
|
|
@@ -180,8 +180,9 @@
|
|
|
cancelButtonText: '取消',
|
|
cancelButtonText: '取消',
|
|
|
confirmButtonText: '确定'
|
|
confirmButtonText: '确定'
|
|
|
}).then(() => {
|
|
}).then(() => {
|
|
|
- cancel({
|
|
|
|
|
- id: this.taskId,
|
|
|
|
|
|
|
+ cancelTask({
|
|
|
|
|
+ taskId: this.taskId,
|
|
|
|
|
+ id: this.id,
|
|
|
reason: this.form.reason,
|
|
reason: this.form.reason,
|
|
|
businessId: this.businessId,
|
|
businessId: this.businessId,
|
|
|
}).then(() => {
|
|
}).then(() => {
|