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
0db0b660
authored
Nov 13, 2024
by
GoldenZqqq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 审批详情页-流程图和流转记录的高度会随着父容器高度自动调整
parent
735837f0
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
1 deletions
+23
-1
src/views/bpm/processInstance/detail/ProcessInstanceBpmnViewer.vue
+6
-1
src/views/bpm/processInstance/detail/ProcessInstanceSimpleViewer.vue
+8
-0
src/views/bpm/processInstance/detail/index.vue
+9
-0
No files found.
src/views/bpm/processInstance/detail/ProcessInstanceBpmnViewer.vue
View file @
0db0b660
<
template
>
<el-card
v-loading=
"loading"
class=
"box-card"
>
<MyProcessViewer
key=
"designer"
:xml=
"view.bpmnXml"
:view=
"view"
class=
"
h-700px
"
/>
<MyProcessViewer
key=
"designer"
:xml=
"view.bpmnXml"
:view=
"view"
class=
"
process-viewer
"
/>
</el-card>
</
template
>
<
script
lang=
"ts"
setup
>
...
...
@@ -45,4 +45,9 @@ watch(
width
:
100%
;
margin-bottom
:
20px
;
}
:deep
(
.process-viewer
)
{
height
:
100%
!important
;
min-height
:
500px
;
}
</
style
>
src/views/bpm/processInstance/detail/ProcessInstanceSimpleViewer.vue
View file @
0db0b660
...
...
@@ -4,6 +4,7 @@
:flow-node=
"simpleModel"
:tasks=
"tasks"
:process-instance=
"processInstance"
class=
"process-viewer"
/>
</div>
</
template
>
...
...
@@ -151,3 +152,10 @@ const setSimpleModelNodeTaskStatus = (
)
}
</
script
>
<
style
lang=
"scss"
scoped
>
:deep
(
.process-viewer
)
{
height
:
100%
!important
;
min-height
:
500px
;
}
</
style
>
src/views/bpm/processInstance/detail/index.vue
View file @
0db0b660
...
...
@@ -319,6 +319,15 @@ $process-header-height: 194px;
$
process-header-height
-
40px
);
overflow
:
auto
;
:deep(.box-card)
{
height
:
100%
;
.el-card__body
{
height
:
100%
;
padding
:
0
;
}
}
}
}
...
...
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