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
7b8e4ea2
authored
Nov 19, 2024
by
GoldenZqqq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 流程审核详情页-流程图未能撑满剩余区域bug修复
parent
c34bfc18
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
10 deletions
+28
-10
src/views/bpm/processInstance/detail/ProcessInstanceBpmnViewer.vue
+14
-6
src/views/bpm/processInstance/detail/ProcessInstanceSimpleViewer.vue
+11
-4
src/views/bpm/processInstance/detail/index.vue
+3
-0
No files found.
src/views/bpm/processInstance/detail/ProcessInstanceBpmnViewer.vue
View file @
7b8e4ea2
...
@@ -40,14 +40,22 @@ watch(
...
@@ -40,14 +40,22 @@ watch(
}
}
)
)
</
script
>
</
script
>
<
style
>
<
style
lang=
"scss"
scoped
>
.box-card
{
.box-card
{
height
:
100%
;
width
:
100%
;
width
:
100%
;
margin-bottom
:
20px
;
margin-bottom
:
0
;
}
:deep(.el-card__body)
{
height
:
100%
;
padding
:
0
;
}
:deep
(
.process-viewer
)
{
:deep
(
.process-viewer
)
{
height
:
100%
!important
;
height
:
100%
!important
;
min-height
:
500px
;
min-height
:
100%
;
width
:
100%
;
overflow
:
auto
;
}
}
}
</
style
>
</
style
>
src/views/bpm/processInstance/detail/ProcessInstanceSimpleViewer.vue
View file @
7b8e4ea2
<
template
>
<
template
>
<div
v-loading=
"loading"
class=
"
mb-20px
"
>
<div
v-loading=
"loading"
class=
"
process-viewer-container
"
>
<SimpleProcessViewer
<SimpleProcessViewer
:flow-node=
"simpleModel"
:flow-node=
"simpleModel"
:tasks=
"tasks"
:tasks=
"tasks"
...
@@ -154,8 +154,15 @@ const setSimpleModelNodeTaskStatus = (
...
@@ -154,8 +154,15 @@ const setSimpleModelNodeTaskStatus = (
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
:deep
(
.process-viewer
)
{
.process-viewer-container
{
height
:
100%
!important
;
height
:
100%
;
min-height
:
500px
;
width
:
100%
;
:deep(.process-viewer)
{
height
:
100%
!important
;
min-height
:
100%
;
width
:
100%
;
overflow
:
auto
;
}
}
}
</
style
>
</
style
>
src/views/bpm/processInstance/detail/index.vue
View file @
7b8e4ea2
...
@@ -319,9 +319,12 @@ $process-header-height: 194px;
...
@@ -319,9 +319,12 @@ $process-header-height: 194px;
$
process-header-height
-
40px
$
process-header-height
-
40px
);
);
overflow
:
auto
;
overflow
:
auto
;
display
:
flex
;
flex-direction
:
column
;
:deep(.box-card)
{
:deep(.box-card)
{
height
:
100%
;
height
:
100%
;
flex
:
1
;
.el-card__body
{
.el-card__body
{
height
:
100%
;
height
:
100%
;
...
...
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