File tree Expand file tree Collapse file tree 3 files changed +28
-10
lines changed
src/views/bpm/processInstance/detail Expand file tree Collapse file tree 3 files changed +28
-10
lines changed Original file line number Diff line number Diff line change @@ -40,14 +40,22 @@ watch(
40
40
}
41
41
)
42
42
</script >
43
- <style >
43
+ <style lang="scss" scoped >
44
44
.box-card {
45
+ height : 100% ;
45
46
width : 100% ;
46
- margin-bottom : 20px ;
47
- }
47
+ margin-bottom : 0 ;
48
+
49
+ :deep (.el-card__body ) {
50
+ height : 100% ;
51
+ padding : 0 ;
52
+ }
48
53
49
- :deep(.process-viewer ) {
50
- height : 100% !important ;
51
- min-height : 500px ;
54
+ :deep(.process-viewer ) {
55
+ height : 100% !important ;
56
+ min-height : 100% ;
57
+ width : 100% ;
58
+ overflow : auto ;
59
+ }
52
60
}
53
61
</style >
Original file line number Diff line number Diff line change 1
1
<template >
2
- <div v-loading =" loading" class =" mb-20px " >
2
+ <div v-loading =" loading" class =" process-viewer-container " >
3
3
<SimpleProcessViewer
4
4
:flow-node =" simpleModel"
5
5
:tasks =" tasks"
@@ -154,8 +154,15 @@ const setSimpleModelNodeTaskStatus = (
154
154
</script >
155
155
156
156
<style lang="scss" scoped>
157
- :deep(.process-viewer ) {
158
- height : 100% !important ;
159
- min-height : 500px ;
157
+ .process-viewer-container {
158
+ height : 100% ;
159
+ width : 100% ;
160
+
161
+ :deep (.process-viewer ) {
162
+ height : 100% !important ;
163
+ min-height : 100% ;
164
+ width : 100% ;
165
+ overflow : auto ;
166
+ }
160
167
}
161
168
</style >
Original file line number Diff line number Diff line change @@ -319,9 +319,12 @@ $process-header-height: 194px;
319
319
$process-header-height - 40px
320
320
);
321
321
overflow : auto ;
322
+ display : flex ;
323
+ flex-direction : column ;
322
324
323
325
:deep (.box-card ) {
324
326
height : 100% ;
327
+ flex : 1 ;
325
328
326
329
.el-card__body {
327
330
height : 100% ;
You can’t perform that action at this time.
0 commit comments