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
099b81cb
authored
Jan 08, 2025
by
Lesan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 路由分支流程图展示高亮
parent
e5f60205
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/components/SimpleProcessDesignerV2/src/NodeHandler.vue
+0
-1
src/views/bpm/processInstance/detail/ProcessInstanceSimpleViewer.vue
+3
-2
No files found.
src/components/SimpleProcessDesignerV2/src/NodeHandler.vue
View file @
099b81cb
...
@@ -242,7 +242,6 @@ const addNode = (type: number) => {
...
@@ -242,7 +242,6 @@ const addNode = (type: number) => {
emits
(
'update:childNode'
,
data
)
emits
(
'update:childNode'
,
data
)
}
}
if
(
type
===
NodeType
.
ROUTE_BRANCH_NODE
)
{
if
(
type
===
NodeType
.
ROUTE_BRANCH_NODE
)
{
// TODO @lesan:高亮那边,需要考虑下。
const
data
:
SimpleFlowNode
=
{
const
data
:
SimpleFlowNode
=
{
id
:
'GateWay_'
+
generateUUID
(),
id
:
'GateWay_'
+
generateUUID
(),
name
:
NODE_DEFAULT_NAME
.
get
(
NodeType
.
ROUTE_BRANCH_NODE
)
as
string
,
name
:
NODE_DEFAULT_NAME
.
get
(
NodeType
.
ROUTE_BRANCH_NODE
)
as
string
,
...
...
src/views/bpm/processInstance/detail/ProcessInstanceSimpleViewer.vue
View file @
099b81cb
...
@@ -128,7 +128,8 @@ const setSimpleModelNodeTaskStatus = (
...
@@ -128,7 +128,8 @@ const setSimpleModelNodeTaskStatus = (
if
(
if
(
simpleModel
.
type
===
NodeType
.
CONDITION_BRANCH_NODE
||
simpleModel
.
type
===
NodeType
.
CONDITION_BRANCH_NODE
||
simpleModel
.
type
===
NodeType
.
PARALLEL_BRANCH_NODE
||
simpleModel
.
type
===
NodeType
.
PARALLEL_BRANCH_NODE
||
simpleModel
.
type
===
NodeType
.
INCLUSIVE_BRANCH_NODE
simpleModel
.
type
===
NodeType
.
INCLUSIVE_BRANCH_NODE
||
simpleModel
.
type
===
NodeType
.
ROUTE_BRANCH_NODE
)
{
)
{
// 网关节点。只有通过和未执行状态
// 网关节点。只有通过和未执行状态
if
(
finishedActivityIds
.
includes
(
simpleModel
.
id
))
{
if
(
finishedActivityIds
.
includes
(
simpleModel
.
id
))
{
...
@@ -163,7 +164,7 @@ const setSimpleModelNodeTaskStatus = (
...
@@ -163,7 +164,7 @@ const setSimpleModelNodeTaskStatus = (
.process-viewer-container
{
.process-viewer-container
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
:deep(.process-viewer)
{
:deep(.process-viewer)
{
width
:
100%
;
width
:
100%
;
height
:
100%
!important
;
height
:
100%
!important
;
...
...
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