普测计划

This commit is contained in:
2024-06-03 19:29:07 +08:00
parent 4322a76f25
commit 0e61d6a6db
5 changed files with 69 additions and 75 deletions

View File

@@ -85,8 +85,7 @@ const tableStore = new TableStore({
icon: 'el-icon-EditPen',
render: 'basicButton',
click: row => {
// planAddRef.value.open('查看计划', row)
handleAudit(row.processInstanceId)
handleAudit(row.processInstanceId,row.historyInstanceId)
}
},
{
@@ -178,17 +177,19 @@ const handleClose = () => {
}
/** 处理审批按钮 */
const handleAudit = (instanceId: any) => {
const handleAudit = (instanceId: string,historyInstanceId:string) => {
push({
name: 'BpmProcessInstanceDetail',
query: {
id: instanceId
state: {
id: instanceId,
historyInstanceId
}
})
}
// 取消
onMounted(() => {
TableHeaderRef.value.setInterval(1)
tableStore.index()
getUserByRoleType(3).then(res => {
auditList.value = res.data