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
Commit
a190a0b4
authored
Feb 12, 2025
by
Lesan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 办理人节点高亮处理
parent
4ea25f3d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
src/views/bpm/processInstance/detail/ProcessInstanceSimpleViewer.vue
+2
-1
src/views/bpm/processInstance/detail/ProcessInstanceTimeline.vue
+3
-0
No files found.
src/views/bpm/processInstance/detail/ProcessInstanceSimpleViewer.vue
View file @
a190a0b4
...
...
@@ -84,7 +84,8 @@ const setSimpleModelNodeTaskStatus = (
// 审批节点
if
(
simpleModel
.
type
===
NodeType
.
START_USER_NODE
||
simpleModel
.
type
===
NodeType
.
USER_TASK_NODE
simpleModel
.
type
===
NodeType
.
USER_TASK_NODE
||
simpleModel
.
type
===
NodeType
.
TRANSACTOR_NODE
)
{
simpleModel
.
activityStatus
=
TaskStatusEnum
.
NOT_START
if
(
rejectedTaskActivityIds
.
includes
(
simpleModel
.
id
))
{
...
...
src/views/bpm/processInstance/detail/ProcessInstanceTimeline.vue
View file @
a190a0b4
...
...
@@ -240,6 +240,8 @@ const nodeTypeSvgMap = {
[
NodeType
.
START_USER_NODE
]:
{
color
:
'#909398'
,
svg
:
starterSvg
},
// 审批人节点
[
NodeType
.
USER_TASK_NODE
]:
{
color
:
'#ff943e'
,
svg
:
auditorSvg
},
// 办理人节点
[
NodeType
.
TRANSACTOR_NODE
]:
{
color
:
'#ff943e'
,
svg
:
auditorSvg
},
// 抄送人节点
[
NodeType
.
COPY_TASK_NODE
]:
{
color
:
'#3296fb'
,
svg
:
copySvg
},
// 条件分支节点
...
...
@@ -264,6 +266,7 @@ const getApprovalNodeIcon = (taskStatus: number, nodeType: NodeType) => {
if
(
nodeType
===
NodeType
.
START_USER_NODE
||
nodeType
===
NodeType
.
USER_TASK_NODE
||
nodeType
===
NodeType
.
TRANSACTOR_NODE
||
nodeType
===
NodeType
.
END_EVENT_NODE
)
{
return
statusIconMap
[
taskStatus
]?.
icon
...
...
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