File tree Expand file tree Collapse file tree 3 files changed +29
-45
lines changed Expand file tree Collapse file tree 3 files changed +29
-45
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
225
225
children : [
226
226
{
227
227
path : '/manager/form/edit' ,
228
- component : ( ) => import ( '@/views/bpm/form/FormEditor .vue' ) ,
228
+ component : ( ) => import ( '@/views/bpm/form/editor/index .vue' ) ,
229
229
name : 'bpmFormEditor' ,
230
230
meta : {
231
231
noCache : true ,
@@ -237,14 +237,14 @@ const remainingRouter: AppRouteRecordRaw[] = [
237
237
} ,
238
238
{
239
239
path : '/manager/model/edit' ,
240
- component : ( ) => import ( '@/views/bpm/model/modelEditor .vue' ) ,
240
+ component : ( ) => import ( '@/views/bpm/model/editor/index .vue' ) ,
241
241
name : 'modelEditor' ,
242
242
meta : {
243
243
noCache : true ,
244
244
hidden : true ,
245
245
canTo : true ,
246
246
title : '设计流程' ,
247
- activeMenu : 'bpm/manager/model/design '
247
+ activeMenu : '/ bpm/manager/model'
248
248
}
249
249
} ,
250
250
{
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
<template >
2
- <!-- 流程设计器,负责绘制流程等 -->
3
- <my-process-designer
4
- key =" designer"
5
- v-if =" xmlString !== undefined"
6
- v-model =" xmlString"
7
- :value =" xmlString"
8
- v-bind =" controlForm"
9
- keyboard
10
- ref =" processDesigner"
11
- @init-finished =" initModeler"
12
- :additionalModel =" controlForm.additionalModel"
13
- @save =" save"
14
- />
15
- <!-- 流程属性器,负责编辑每个流程节点的属性 -->
16
- <my-properties-panel
17
- key =" penal"
18
- :bpmnModeler =" modeler"
19
- :prefix =" controlForm.prefix"
20
- class =" process-panel"
21
- :model =" model"
22
- />
2
+ <ContentWrap >
3
+ <!-- 流程设计器,负责绘制流程等 -->
4
+ <my-process-designer
5
+ key =" designer"
6
+ v-if =" xmlString !== undefined"
7
+ v-model =" xmlString"
8
+ :value =" xmlString"
9
+ v-bind =" controlForm"
10
+ keyboard
11
+ ref =" processDesigner"
12
+ @init-finished =" initModeler"
13
+ :additionalModel =" controlForm.additionalModel"
14
+ @save =" save"
15
+ />
16
+ <!-- 流程属性器,负责编辑每个流程节点的属性 -->
17
+ <my-properties-panel
18
+ key =" penal"
19
+ :bpmnModeler =" modeler"
20
+ :prefix =" controlForm.prefix"
21
+ class =" process-panel"
22
+ :model =" model"
23
+ />
24
+ </ContentWrap >
23
25
</template >
24
26
25
27
<script setup lang="ts">
@@ -34,7 +36,7 @@ const { query } = useRoute() // 路由的查询
34
36
const message = useMessage () // 国际化
35
37
36
38
const xmlString = ref (undefined ) // BPMN XML
37
- const modeler = ref (null )
39
+ const modeler = ref (null ) // BPMN Modeler
38
40
const controlForm = ref ({
39
41
simulation: true ,
40
42
labelEditing: false ,
@@ -92,27 +94,9 @@ onMounted(async () => {
92
94
})
93
95
</script >
94
96
<style lang="scss">
95
- .control-form {
96
- .el-radio {
97
- width : 100% ;
98
- line-height : 32px ;
99
- }
100
- }
101
- .element-overlays {
102
- box-sizing : border-box ;
103
- padding : 8px ;
104
- background : rgba (0 , 0 , 0 , 0.6 );
105
- border-radius : 4px ;
106
- color : #fafafa ;
107
- }
108
-
109
- .my-process-designer {
110
- height : calc (100vh - 84px );
111
- }
112
97
.process-panel__container {
113
98
position : absolute ;
114
- right : 0 ;
115
- top : 55px ;
116
- height : calc (100vh - 84px );
99
+ right : 60px ;
100
+ top : 90px ;
117
101
}
118
102
</style >
You can’t perform that action at this time.
0 commit comments