mirror of
https://gitee.com/myxzgzs/boyue-ui-admin-vue3
synced 2025-08-08 16:32:43 +08:00
commit
17415a5368
@ -37,6 +37,9 @@
|
|||||||
{{ getApprovalNodeTime(activity) }}
|
{{ getApprovalNodeTime(activity) }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-if="activity.nodeType === NodeType.CHILD_PROCESS_NODE">
|
||||||
|
<el-button type="primary" plain size="small" @click="handleChildProcess(activity)">点击跳转子流程</el-button>
|
||||||
|
</div>
|
||||||
<!-- 需要自定义选择审批人 -->
|
<!-- 需要自定义选择审批人 -->
|
||||||
<div
|
<div
|
||||||
class="flex flex-wrap gap2 items-center"
|
class="flex flex-wrap gap2 items-center"
|
||||||
@ -194,6 +197,7 @@ withDefaults(
|
|||||||
showStatusIcon: true // 默认值为 true
|
showStatusIcon: true // 默认值为 true
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
const { push } = useRouter() // 路由
|
||||||
|
|
||||||
// 审批节点
|
// 审批节点
|
||||||
const statusIconMap2 = {
|
const statusIconMap2 = {
|
||||||
@ -310,4 +314,14 @@ const handleUserSelectConfirm = (activityId: string, userList: any[]) => {
|
|||||||
customApproveUsers.value[activityId] = userList || []
|
customApproveUsers.value[activityId] = userList || []
|
||||||
emit('selectUserConfirm', activityId, userList)
|
emit('selectUserConfirm', activityId, userList)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** 跳转子流程 */
|
||||||
|
const handleChildProcess = (activity: any) => {
|
||||||
|
push({
|
||||||
|
name: 'BpmProcessInstanceDetail',
|
||||||
|
query: {
|
||||||
|
id: activity.processInstanceId
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user