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
0ae9acdf
authored
Dec 18, 2024
by
jason
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【缺陷修复】Simple 流程设计器,当横向内容过多时,左侧会被顶出去
parent
5e386336
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
src/components/SimpleProcessDesignerV2/src/nodes-config/ConditionNodeConfig.vue
+1
-1
src/components/SimpleProcessDesignerV2/theme/simple-process-designer.scss
+6
-1
No files found.
src/components/SimpleProcessDesignerV2/src/nodes-config/ConditionNodeConfig.vue
View file @
0ae9acdf
...
@@ -381,7 +381,7 @@ const fieldOptions = computed(() => {
...
@@ -381,7 +381,7 @@ const fieldOptions = computed(() => {
/** 获取字段名称 */
/** 获取字段名称 */
const
getFieldTitle
=
(
field
:
string
)
=>
{
const
getFieldTitle
=
(
field
:
string
)
=>
{
const
item
=
field
sInfo
.
find
((
item
)
=>
item
.
field
===
field
)
const
item
=
field
Options
.
value
.
find
((
item
)
=>
item
.
field
===
field
)
return
item
?.
title
return
item
?.
title
}
}
...
...
src/components/SimpleProcessDesignerV2/theme/simple-process-designer.scss
View file @
0ae9acdf
...
@@ -173,13 +173,16 @@
...
@@ -173,13 +173,16 @@
height
:
100%
;
height
:
100%
;
padding-top
:
32px
;
padding-top
:
32px
;
background-color
:
#fafafa
;
background-color
:
#fafafa
;
overflow-x
:
auto
;
width
:
100%
;
.simple-process-model
{
.simple-process-model
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
transform-origin
:
50%
0
0
;
transform-origin
:
50%
0
0
;
overflow
:
auto
;
min-width
:
fit-content
;
transform
:
scale
(
1
);
transform
:
scale
(
1
);
transition
:
transform
0
.3s
cubic-bezier
(
0
.645
,
0
.045
,
0
.355
,
1
);
transition
:
transform
0
.3s
cubic-bezier
(
0
.645
,
0
.045
,
0
.355
,
1
);
background
:
url(@/assets/svgs/bpm/simple-process-bg.svg)
0
0
repeat
;
background
:
url(@/assets/svgs/bpm/simple-process-bg.svg)
0
0
repeat
;
...
@@ -473,6 +476,7 @@
...
@@ -473,6 +476,7 @@
.branch-node-container
{
.branch-node-container
{
position
:
relative
;
position
:
relative
;
display
:
flex
;
display
:
flex
;
min-width
:
fit-content
;
&
:
:
before
{
&
:
:
before
{
position
:
absolute
;
position
:
absolute
;
...
@@ -548,6 +552,7 @@
...
@@ -548,6 +552,7 @@
background
:
transparent
;
background
:
transparent
;
border-top
:
2px
solid
#dedede
;
border-top
:
2px
solid
#dedede
;
border-bottom
:
2px
solid
#dedede
;
border-bottom
:
2px
solid
#dedede
;
flex-shrink
:
0
;
&
:
:
before
{
&
:
:
before
{
position
:
absolute
;
position
:
absolute
;
...
...
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