File tree Expand file tree Collapse file tree 3 files changed +23
-1
lines changed
src/views/bpm/processInstance/detail Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<el-card v-loading =" loading" class =" box-card" >
3
- <MyProcessViewer key =" designer" :xml =" view.bpmnXml" :view =" view" class =" h-700px " />
3
+ <MyProcessViewer key =" designer" :xml =" view.bpmnXml" :view =" view" class =" process-viewer " />
4
4
</el-card >
5
5
</template >
6
6
<script lang="ts" setup>
45
45
width : 100% ;
46
46
margin-bottom : 20px ;
47
47
}
48
+
49
+ :deep(.process-viewer ) {
50
+ height : 100% !important ;
51
+ min-height : 500px ;
52
+ }
48
53
</style >
Original file line number Diff line number Diff line change 4
4
:flow-node =" simpleModel"
5
5
:tasks =" tasks"
6
6
:process-instance =" processInstance"
7
+ class =" process-viewer"
7
8
/>
8
9
</div >
9
10
</template >
@@ -151,3 +152,10 @@ const setSimpleModelNodeTaskStatus = (
151
152
)
152
153
}
153
154
</script >
155
+
156
+ <style lang="scss" scoped>
157
+ :deep(.process-viewer ) {
158
+ height : 100% !important ;
159
+ min-height : 500px ;
160
+ }
161
+ </style >
Original file line number Diff line number Diff line change @@ -319,6 +319,15 @@ $process-header-height: 194px;
319
319
$process-header-height - 40px
320
320
);
321
321
overflow : auto ;
322
+
323
+ :deep (.box-card ) {
324
+ height : 100% ;
325
+
326
+ .el-card__body {
327
+ height : 100% ;
328
+ padding : 0 ;
329
+ }
330
+ }
322
331
}
323
332
}
324
333
You can’t perform that action at this time.
0 commit comments