Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
17415a53
authored
Mar 25, 2025
by
芋道源码
Committed by
Gitee
Mar 25, 2025
Browse files
Options
Browse Files
Download
Plain Diff
!752 子流程优化
Merge pull request !752 from Lesan/feature/bpm-子流程
parents
286628d1
cf122fa3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
src/views/bpm/processInstance/detail/ProcessInstanceTimeline.vue
+14
-0
No files found.
src/views/bpm/processInstance/detail/ProcessInstanceTimeline.vue
View file @
17415a53
...
...
@@ -37,6 +37,9 @@
{{ getApprovalNodeTime(activity) }}
</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
class=
"flex flex-wrap gap2 items-center"
...
...
@@ -194,6 +197,7 @@ withDefaults(
showStatusIcon
:
true
// 默认值为 true
}
)
const
{
push
}
=
useRouter
()
// 路由
// 审批节点
const
statusIconMap2
=
{
...
...
@@ -310,4 +314,14 @@ const handleUserSelectConfirm = (activityId: string, userList: any[]) => {
customApproveUsers
.
value
[
activityId
]
=
userList
||
[]
emit
(
'selectUserConfirm'
,
activityId
,
userList
)
}
/** 跳转子流程 */
const
handleChildProcess
=
(
activity
:
any
)
=>
{
push
({
name
:
'BpmProcessInstanceDetail'
,
query
:
{
id
:
activity
.
processInstanceId
}
})
}
</
script
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment