未验证 提交 d0d481d1 编写于 作者: A Amy0104 提交者: GitHub

[Fix][UI] Add the task name entry when the workflow instance detail page goes...

[Fix][UI] Add the task name entry when the workflow instance detail page goes to the task instance page. (#11761)
上级 f8d46a26
......@@ -140,7 +140,10 @@ const NodeDetailModal = defineComponent({
action: () => {
router.push({
name: 'task-instance',
params: { processInstanceId: processInstance.id }
params: {
processInstanceId: processInstance.id,
taskName: props.data.name
}
})
},
icon: renderIcon(HistoryOutlined)
......
......@@ -46,6 +46,7 @@ export function useTable() {
const router: Router = useRouter()
const projectCode = Number(route.params.projectCode)
const processInstanceId = Number(route.params.processInstanceId)
const taskName = route.params.taskName
const variables = reactive({
columns: [],
......@@ -53,7 +54,7 @@ export function useTable() {
tableData: [] as IRecord[],
page: ref(1),
pageSize: ref(10),
searchVal: ref(null),
searchVal: ref(taskName || null),
processInstanceId: ref(processInstanceId ? processInstanceId : null),
host: ref(null),
stateType: ref(null),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册