fix:流程预览网关边界显示问题、流程设计页面子流程边界显示问题

This commit is contained in:
2024-06-21 13:22:26 +08:00
parent 981a50b056
commit 4e9b789877
4 changed files with 4 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
<template> <template>
<div> <div>
<el-form label-width="80px" :rules="rules" ref="formRef" :model="formData"> <el-form label-width="100px" :rules="rules" ref="formRef" :model="formData">
<el-form-item label="id" prop="id"> <el-form-item label="id" prop="id">
<el-input v-model="formData.id" disabled></el-input> <el-input v-model="formData.id" disabled></el-input>
</el-form-item> </el-form-item>

View File

@@ -38,6 +38,7 @@ class MyGroupModel extends GroupNode.model {
style.stroke = "black"; style.stroke = "black";
style.strokeDasharray = "3 3"; style.strokeDasharray = "3 3";
style.strokeWidth = 1; style.strokeWidth = 1;
style.fill = 'rgba(0, 0, 0, 0.0)';
return style; return style;
} }
} }

View File

@@ -45,7 +45,7 @@ class ResizableDiamondView extends DiamondResize.view {
y: y - height / 2, y: y - height / 2,
points: pointsPath, points: pointsPath,
fill: 'none', fill: 'none',
// stroke: 'black', // 边框颜色 stroke: 'black', // 边框颜色
strokeWidth: 1, // 边框宽度 strokeWidth: 1, // 边框宽度
strokeOpacity: 1, // 边框透明度 strokeOpacity: 1, // 边框透明度
fillOpacity: 0.5, // 填充透明度 fillOpacity: 0.5, // 填充透明度

View File

@@ -19,6 +19,7 @@ class MyGroupModel extends GroupNode.model {
this.resizable = false; this.resizable = false;
this.foldable = false; this.foldable = false;
this.draggable = false; this.draggable = false;
this.width = 500; this.width = 500;
this.height = 300; this.height = 300;
this.foldedWidth = 50; this.foldedWidth = 50;