Commit 099b81cb by Lesan

feat: 路由分支流程图展示高亮

parent e5f60205
...@@ -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,
......
...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment