Skip to content

Commit 099b81c

Browse files
committed
feat: 路由分支流程图展示高亮
1 parent e5f6020 commit 099b81c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/SimpleProcessDesignerV2/src/NodeHandler.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@ const addNode = (type: number) => {
242242
emits('update:childNode', data)
243243
}
244244
if (type === NodeType.ROUTE_BRANCH_NODE) {
245-
// TODO @lesan:高亮那边,需要考虑下。
246245
const data: SimpleFlowNode = {
247246
id: 'GateWay_' + generateUUID(),
248247
name: NODE_DEFAULT_NAME.get(NodeType.ROUTE_BRANCH_NODE) as string,

src/views/bpm/processInstance/detail/ProcessInstanceSimpleViewer.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ const setSimpleModelNodeTaskStatus = (
128128
if (
129129
simpleModel.type === NodeType.CONDITION_BRANCH_NODE ||
130130
simpleModel.type === NodeType.PARALLEL_BRANCH_NODE ||
131-
simpleModel.type === NodeType.INCLUSIVE_BRANCH_NODE
131+
simpleModel.type === NodeType.INCLUSIVE_BRANCH_NODE ||
132+
simpleModel.type === NodeType.ROUTE_BRANCH_NODE
132133
) {
133134
// 网关节点。只有通过和未执行状态
134135
if (finishedActivityIds.includes(simpleModel.id)) {
@@ -163,7 +164,7 @@ const setSimpleModelNodeTaskStatus = (
163164
.process-viewer-container {
164165
width: 100%;
165166
height: 100%;
166-
167+
167168
:deep(.process-viewer) {
168169
width: 100%;
169170
height: 100% !important;

0 commit comments

Comments
 (0)