diff --git a/src/views/pqs/supervise/testRun/index.vue b/src/views/pqs/supervise/testRun/index.vue index cd556620..2b6aaef8 100644 --- a/src/views/pqs/supervise/testRun/index.vue +++ b/src/views/pqs/supervise/testRun/index.vue @@ -116,7 +116,7 @@ const tableStore = new TableStore({ icon: 'el-icon-EditPen', render: 'basicButton', click: row => { - handleAudit(row.processInstanceId) + handleAudit(row.processInstanceId,row.historyInstanceId) }, disabled: row => { return row.testRunState != 2 @@ -161,11 +161,12 @@ onMounted(() => { /** 处理审批按钮 */ -const handleAudit = (instanceId: any) => { +const handleAudit = (instanceId: any,historyInstanceId:any) => { push({ name: 'BpmProcessInstanceDetail', - query: { - id: instanceId + state: { + id: instanceId, + historyInstanceId } }) }