super-page-designer 2.0.34 → 2.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/design/utils/assemblys-config.js +378 -88
- package/dist/es/components/design/utils/container-design-util.js +6 -8
- package/dist/es/components/design/utils/interfaces/page-design-types.d.ts +3 -2
- package/dist/es/components/design/utils/page-table-util.js +4 -2
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +6 -3
- package/dist/es/components/design/views/assemblys/button/button/button-attr.vue.js +0 -1
- package/dist/es/components/design/views/assemblys/common/common-style-border.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-style-margin.vue.js +9 -9
- package/dist/es/components/design/views/assemblys/common/common-style-padding.vue.js +9 -9
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +691 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +1 -686
- package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +77 -31
- package/dist/es/components/design/views/assemblys/container/card/card-attr-style.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/container/card/card-design.vue2.js +12 -11
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr-style.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/container/container/container-attr-style.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/container/flex/flex-attr-style.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/container/flex/flex-design.vue2.js +31 -15
- package/dist/es/components/design/views/assemblys/container/form/form-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/container/form/form-attr-style.vue.js +21 -16
- package/dist/es/components/design/views/assemblys/container/form/form-design.vue2.js +16 -19
- package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr-style.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr-style.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/container/tools/tools-attr-style.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/data/component/attr-header.vue.js +46 -5
- package/dist/es/components/design/views/assemblys/data/component/attr-header.vue2.js +1 -45
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +3 -58
- package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +10 -10
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +1 -152
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +152 -1
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +5 -2
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/object-design.vue.js +6 -1
- package/dist/es/components/design/views/design/page-event/config.vue.js +7 -1
- package/dist/es/components/design/views/design/page-event/config.vue2.js +1 -7
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +594 -5
- package/dist/es/components/design/views/design/page-event/page-event-content.vue2.js +1 -594
- package/dist/es/components/design/views/design/page-event/page-event-view.vue.js +2 -2
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +13 -4
- package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +0 -1
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +88 -81
- package/dist/es/components/design/views/design/view/view-design-preview.vue.js +21 -2
- package/dist/es/stores/page-store.js +2 -1
- package/dist/es/style.css +1143 -1386
- package/package.json +4 -4
- package/dist/es/components/design/views/assemblys/button/button/button-attr.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/data/component/attr-header.vue3.js +0 -1
- package/dist/es/components/design/views/design/page-event/page-event-content.vue3.js +0 -1
|
@@ -45,6 +45,62 @@ import chartScatter from "../../../assets/images/chart/chart-scatter.png.js";
|
|
|
45
45
|
import formCustom from "../../../assets/images/form/form-custom.png.js";
|
|
46
46
|
import barcode from "../../../assets/images/data/barcode.png.js";
|
|
47
47
|
import workflowHistoryImg from "../../../assets/images/workflow/workflow-history-img.png.js";
|
|
48
|
+
const tableOperateColumnConf = {
|
|
49
|
+
uuid: getUuidv4(),
|
|
50
|
+
name: "",
|
|
51
|
+
props: {
|
|
52
|
+
base: {
|
|
53
|
+
name: "操作",
|
|
54
|
+
title: "操作",
|
|
55
|
+
prop: "operation",
|
|
56
|
+
columnWidth: 150,
|
|
57
|
+
sortable: true,
|
|
58
|
+
visible: true,
|
|
59
|
+
alignTittle: "center",
|
|
60
|
+
alignContent: "center"
|
|
61
|
+
},
|
|
62
|
+
size: {},
|
|
63
|
+
editLine: {},
|
|
64
|
+
scan: {},
|
|
65
|
+
preSuffix: {},
|
|
66
|
+
verification: {},
|
|
67
|
+
dataOrigin: {
|
|
68
|
+
sortField: [{ name: "", type: "" }],
|
|
69
|
+
staticState: [{ label: "选项1", vaule: 1 }],
|
|
70
|
+
displayQuantity: 20
|
|
71
|
+
},
|
|
72
|
+
defaultValue: {},
|
|
73
|
+
inParameter: {},
|
|
74
|
+
title: {},
|
|
75
|
+
definition: {},
|
|
76
|
+
uploadConfig: {},
|
|
77
|
+
singleWidth: {},
|
|
78
|
+
suffixModule: {},
|
|
79
|
+
querySetting: {},
|
|
80
|
+
formatting: {
|
|
81
|
+
type: "",
|
|
82
|
+
suffixModule: {
|
|
83
|
+
jumpPageAdditional: [],
|
|
84
|
+
icon: ""
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
events: [
|
|
89
|
+
{ name: "show", label: "列表显示", tip: "列表显示回调方法" },
|
|
90
|
+
{ name: "hidden", label: "列表隐藏", tip: "列表隐藏回调方法" }
|
|
91
|
+
],
|
|
92
|
+
style: {
|
|
93
|
+
titleFont: {},
|
|
94
|
+
contentFont: {},
|
|
95
|
+
width: {},
|
|
96
|
+
background: {},
|
|
97
|
+
conentPadding: {},
|
|
98
|
+
tittlePadding: {},
|
|
99
|
+
border: {},
|
|
100
|
+
shadow: {},
|
|
101
|
+
tittleClass: ""
|
|
102
|
+
}
|
|
103
|
+
};
|
|
48
104
|
const assemblyGroups = [{
|
|
49
105
|
name: "container",
|
|
50
106
|
label: "容器",
|
|
@@ -188,14 +244,28 @@ const assemblyGroups = [{
|
|
|
188
244
|
base: {
|
|
189
245
|
tittleShow: true,
|
|
190
246
|
title: "文本框",
|
|
191
|
-
clearable: true
|
|
247
|
+
clearable: true,
|
|
248
|
+
placeholder: "请输入"
|
|
192
249
|
},
|
|
193
250
|
linkPage: {},
|
|
194
251
|
verification: {},
|
|
195
252
|
scan: { ruleList: [] },
|
|
196
253
|
preSuffix: {},
|
|
197
254
|
prefix: {},
|
|
198
|
-
size: {
|
|
255
|
+
size: {
|
|
256
|
+
pc: {
|
|
257
|
+
widthType: "flex",
|
|
258
|
+
flexSpan: 8
|
|
259
|
+
},
|
|
260
|
+
ipad: {
|
|
261
|
+
widthType: "flex",
|
|
262
|
+
flexSpan: 12
|
|
263
|
+
},
|
|
264
|
+
phone: {
|
|
265
|
+
widthType: "flex",
|
|
266
|
+
flexSpan: 24
|
|
267
|
+
}
|
|
268
|
+
},
|
|
199
269
|
title: {}
|
|
200
270
|
},
|
|
201
271
|
style: { titleFont: {}, background: {}, margin: {}, padding: {}, border: {}, shadow: {} },
|
|
@@ -227,13 +297,27 @@ const assemblyGroups = [{
|
|
|
227
297
|
base: {
|
|
228
298
|
tittleShow: true,
|
|
229
299
|
title: "选择器",
|
|
230
|
-
clearable: true
|
|
300
|
+
clearable: true,
|
|
301
|
+
placeholder: "请选择"
|
|
231
302
|
},
|
|
232
303
|
verification: {},
|
|
233
304
|
dataOrigin: {
|
|
234
305
|
displayQuantity: 20
|
|
235
306
|
},
|
|
236
|
-
size: {
|
|
307
|
+
size: {
|
|
308
|
+
pc: {
|
|
309
|
+
widthType: "flex",
|
|
310
|
+
flexSpan: 8
|
|
311
|
+
},
|
|
312
|
+
ipad: {
|
|
313
|
+
widthType: "flex",
|
|
314
|
+
flexSpan: 12
|
|
315
|
+
},
|
|
316
|
+
phone: {
|
|
317
|
+
widthType: "flex",
|
|
318
|
+
flexSpan: 24
|
|
319
|
+
}
|
|
320
|
+
}
|
|
237
321
|
},
|
|
238
322
|
style: { titleFont: {}, background: {}, margin: {}, padding: {}, border: {}, shadow: {} },
|
|
239
323
|
events: [
|
|
@@ -261,7 +345,20 @@ const assemblyGroups = [{
|
|
|
261
345
|
dataOrigin: {
|
|
262
346
|
displayQuantity: 20
|
|
263
347
|
},
|
|
264
|
-
size: {
|
|
348
|
+
size: {
|
|
349
|
+
pc: {
|
|
350
|
+
widthType: "flex",
|
|
351
|
+
flexSpan: 8
|
|
352
|
+
},
|
|
353
|
+
ipad: {
|
|
354
|
+
widthType: "flex",
|
|
355
|
+
flexSpan: 12
|
|
356
|
+
},
|
|
357
|
+
phone: {
|
|
358
|
+
widthType: "flex",
|
|
359
|
+
flexSpan: 24
|
|
360
|
+
}
|
|
361
|
+
}
|
|
265
362
|
},
|
|
266
363
|
style: { titleFont: {}, background: {}, margin: {}, padding: {}, border: {}, shadow: {} },
|
|
267
364
|
events: [
|
|
@@ -289,7 +386,20 @@ const assemblyGroups = [{
|
|
|
289
386
|
dataOrigin: {
|
|
290
387
|
displayQuantity: 20
|
|
291
388
|
},
|
|
292
|
-
size: {
|
|
389
|
+
size: {
|
|
390
|
+
pc: {
|
|
391
|
+
widthType: "flex",
|
|
392
|
+
flexSpan: 8
|
|
393
|
+
},
|
|
394
|
+
ipad: {
|
|
395
|
+
widthType: "flex",
|
|
396
|
+
flexSpan: 12
|
|
397
|
+
},
|
|
398
|
+
phone: {
|
|
399
|
+
widthType: "flex",
|
|
400
|
+
flexSpan: 24
|
|
401
|
+
}
|
|
402
|
+
}
|
|
293
403
|
},
|
|
294
404
|
style: { titleFont: {}, background: {}, margin: {}, padding: {}, border: {}, shadow: {} },
|
|
295
405
|
events: [
|
|
@@ -312,7 +422,8 @@ const assemblyGroups = [{
|
|
|
312
422
|
base: {
|
|
313
423
|
tittleShow: true,
|
|
314
424
|
title: "文本域",
|
|
315
|
-
clearable: true
|
|
425
|
+
clearable: true,
|
|
426
|
+
placeholder: "请输入"
|
|
316
427
|
},
|
|
317
428
|
verification: {},
|
|
318
429
|
size: { widthType: "flex", flexSpan: 24 }
|
|
@@ -342,10 +453,24 @@ const assemblyGroups = [{
|
|
|
342
453
|
dateRangeDefaultValue: {},
|
|
343
454
|
tittleShow: true,
|
|
344
455
|
title: "日期",
|
|
345
|
-
clearable: true
|
|
456
|
+
clearable: true,
|
|
457
|
+
placeholder: "请选择"
|
|
346
458
|
},
|
|
347
459
|
verification: {},
|
|
348
|
-
size: {
|
|
460
|
+
size: {
|
|
461
|
+
pc: {
|
|
462
|
+
widthType: "flex",
|
|
463
|
+
flexSpan: 8
|
|
464
|
+
},
|
|
465
|
+
ipad: {
|
|
466
|
+
widthType: "flex",
|
|
467
|
+
flexSpan: 12
|
|
468
|
+
},
|
|
469
|
+
phone: {
|
|
470
|
+
widthType: "flex",
|
|
471
|
+
flexSpan: 24
|
|
472
|
+
}
|
|
473
|
+
}
|
|
349
474
|
},
|
|
350
475
|
style: { titleFont: {}, background: {}, margin: {}, padding: {}, border: {}, shadow: {} },
|
|
351
476
|
events: [
|
|
@@ -386,9 +511,23 @@ const assemblyGroups = [{
|
|
|
386
511
|
props: {
|
|
387
512
|
base: {
|
|
388
513
|
tittleShow: true,
|
|
389
|
-
title: "文件框"
|
|
514
|
+
title: "文件框",
|
|
515
|
+
placeholder: "请选择"
|
|
516
|
+
},
|
|
517
|
+
size: {
|
|
518
|
+
pc: {
|
|
519
|
+
widthType: "flex",
|
|
520
|
+
flexSpan: 8
|
|
521
|
+
},
|
|
522
|
+
ipad: {
|
|
523
|
+
widthType: "flex",
|
|
524
|
+
flexSpan: 12
|
|
525
|
+
},
|
|
526
|
+
phone: {
|
|
527
|
+
widthType: "flex",
|
|
528
|
+
flexSpan: 24
|
|
529
|
+
}
|
|
390
530
|
},
|
|
391
|
-
size: { widthType: "flex", flexSpan: 8 },
|
|
392
531
|
verification: {},
|
|
393
532
|
uploadConfig: {}
|
|
394
533
|
},
|
|
@@ -431,10 +570,28 @@ const assemblyGroups = [{
|
|
|
431
570
|
name: "switch",
|
|
432
571
|
label: "开关",
|
|
433
572
|
icon: formSwitch,
|
|
434
|
-
props: {
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
573
|
+
props: {
|
|
574
|
+
base: {
|
|
575
|
+
tittleShow: true,
|
|
576
|
+
title: "开关"
|
|
577
|
+
},
|
|
578
|
+
verification: {},
|
|
579
|
+
singleWidth: {},
|
|
580
|
+
size: {
|
|
581
|
+
pc: {
|
|
582
|
+
widthType: "flex",
|
|
583
|
+
flexSpan: 8
|
|
584
|
+
},
|
|
585
|
+
ipad: {
|
|
586
|
+
widthType: "flex",
|
|
587
|
+
flexSpan: 12
|
|
588
|
+
},
|
|
589
|
+
phone: {
|
|
590
|
+
widthType: "flex",
|
|
591
|
+
flexSpan: 24
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
},
|
|
438
595
|
style: { titleFont: {}, background: {}, margin: {}, padding: {}, border: {}, shadow: {} },
|
|
439
596
|
events: [
|
|
440
597
|
{ name: "change", label: "更改", tip: "更改" },
|
|
@@ -458,7 +615,20 @@ const assemblyGroups = [{
|
|
|
458
615
|
title: "计数器"
|
|
459
616
|
},
|
|
460
617
|
verification: {},
|
|
461
|
-
size: {
|
|
618
|
+
size: {
|
|
619
|
+
pc: {
|
|
620
|
+
widthType: "flex",
|
|
621
|
+
flexSpan: 8
|
|
622
|
+
},
|
|
623
|
+
ipad: {
|
|
624
|
+
widthType: "flex",
|
|
625
|
+
flexSpan: 12
|
|
626
|
+
},
|
|
627
|
+
phone: {
|
|
628
|
+
widthType: "flex",
|
|
629
|
+
flexSpan: 24
|
|
630
|
+
}
|
|
631
|
+
},
|
|
462
632
|
overallWidth: {},
|
|
463
633
|
overallHeight: {}
|
|
464
634
|
},
|
|
@@ -522,7 +692,20 @@ const assemblyGroups = [{
|
|
|
522
692
|
tittleShow: true,
|
|
523
693
|
title: "标签"
|
|
524
694
|
},
|
|
525
|
-
size: {
|
|
695
|
+
size: {
|
|
696
|
+
pc: {
|
|
697
|
+
widthType: "flex",
|
|
698
|
+
flexSpan: 8
|
|
699
|
+
},
|
|
700
|
+
ipad: {
|
|
701
|
+
widthType: "flex",
|
|
702
|
+
flexSpan: 12
|
|
703
|
+
},
|
|
704
|
+
phone: {
|
|
705
|
+
widthType: "flex",
|
|
706
|
+
flexSpan: 24
|
|
707
|
+
}
|
|
708
|
+
}
|
|
526
709
|
},
|
|
527
710
|
style: { titleFont: {}, background: {}, margin: {}, padding: {}, border: {}, shadow: {} },
|
|
528
711
|
events: [
|
|
@@ -555,9 +738,23 @@ const assemblyGroups = [{
|
|
|
555
738
|
props: {
|
|
556
739
|
base: {
|
|
557
740
|
tittleShow: true,
|
|
558
|
-
title: "组织树"
|
|
741
|
+
title: "组织树",
|
|
742
|
+
placeholder: "请选择"
|
|
743
|
+
},
|
|
744
|
+
size: {
|
|
745
|
+
pc: {
|
|
746
|
+
widthType: "flex",
|
|
747
|
+
flexSpan: 8
|
|
748
|
+
},
|
|
749
|
+
ipad: {
|
|
750
|
+
widthType: "flex",
|
|
751
|
+
flexSpan: 12
|
|
752
|
+
},
|
|
753
|
+
phone: {
|
|
754
|
+
widthType: "flex",
|
|
755
|
+
flexSpan: 24
|
|
756
|
+
}
|
|
559
757
|
},
|
|
560
|
-
size: { widthType: "flex", flexSpan: 8 },
|
|
561
758
|
verification: {},
|
|
562
759
|
title: {},
|
|
563
760
|
orgFields: [{ type: "", model: "" }]
|
|
@@ -583,7 +780,8 @@ const assemblyGroups = [{
|
|
|
583
780
|
props: {
|
|
584
781
|
base: {
|
|
585
782
|
tittleShow: false,
|
|
586
|
-
title: "富文本"
|
|
783
|
+
title: "富文本",
|
|
784
|
+
placeholder: "请输入"
|
|
587
785
|
},
|
|
588
786
|
verification: [],
|
|
589
787
|
size: { fixedHeight: 200, widthType: "flex", flexSpan: 24 }
|
|
@@ -651,7 +849,20 @@ const assemblyGroups = [{
|
|
|
651
849
|
props: {
|
|
652
850
|
base: {},
|
|
653
851
|
verification: {},
|
|
654
|
-
size: {
|
|
852
|
+
size: {
|
|
853
|
+
pc: {
|
|
854
|
+
widthType: "flex",
|
|
855
|
+
flexSpan: 8
|
|
856
|
+
},
|
|
857
|
+
ipad: {
|
|
858
|
+
widthType: "flex",
|
|
859
|
+
flexSpan: 12
|
|
860
|
+
},
|
|
861
|
+
phone: {
|
|
862
|
+
widthType: "flex",
|
|
863
|
+
flexSpan: 24
|
|
864
|
+
}
|
|
865
|
+
}
|
|
655
866
|
},
|
|
656
867
|
style: { titleFont: {}, background: {}, margin: {}, padding: {}, border: {}, shadow: {} },
|
|
657
868
|
events: [
|
|
@@ -676,7 +887,20 @@ const assemblyGroups = [{
|
|
|
676
887
|
},
|
|
677
888
|
linkPage: {},
|
|
678
889
|
prefix: {},
|
|
679
|
-
size: {
|
|
890
|
+
size: {
|
|
891
|
+
pc: {
|
|
892
|
+
widthType: "flex",
|
|
893
|
+
flexSpan: 8
|
|
894
|
+
},
|
|
895
|
+
ipad: {
|
|
896
|
+
widthType: "flex",
|
|
897
|
+
flexSpan: 12
|
|
898
|
+
},
|
|
899
|
+
phone: {
|
|
900
|
+
widthType: "flex",
|
|
901
|
+
flexSpan: 24
|
|
902
|
+
}
|
|
903
|
+
}
|
|
680
904
|
},
|
|
681
905
|
style: { titleFont: {}, background: {}, margin: {}, padding: {}, border: {}, shadow: {} },
|
|
682
906
|
events: [
|
|
@@ -703,7 +927,20 @@ const assemblyGroups = [{
|
|
|
703
927
|
tittleShow: true,
|
|
704
928
|
title: "标签"
|
|
705
929
|
},
|
|
706
|
-
size: {
|
|
930
|
+
size: {
|
|
931
|
+
pc: {
|
|
932
|
+
widthType: "flex",
|
|
933
|
+
flexSpan: 8
|
|
934
|
+
},
|
|
935
|
+
ipad: {
|
|
936
|
+
widthType: "flex",
|
|
937
|
+
flexSpan: 12
|
|
938
|
+
},
|
|
939
|
+
phone: {
|
|
940
|
+
widthType: "flex",
|
|
941
|
+
flexSpan: 24
|
|
942
|
+
}
|
|
943
|
+
},
|
|
707
944
|
verification: {},
|
|
708
945
|
formatting: {
|
|
709
946
|
type: "",
|
|
@@ -940,63 +1177,7 @@ const assemblyGroups = [{
|
|
|
940
1177
|
tittleClass: ""
|
|
941
1178
|
}
|
|
942
1179
|
},
|
|
943
|
-
|
|
944
|
-
uuid: getUuidv4(),
|
|
945
|
-
name: "",
|
|
946
|
-
props: {
|
|
947
|
-
base: {
|
|
948
|
-
name: "操作",
|
|
949
|
-
title: "操作",
|
|
950
|
-
prop: "operation",
|
|
951
|
-
tittleShow: true,
|
|
952
|
-
columnWidth: 150,
|
|
953
|
-
visible: true,
|
|
954
|
-
sortable: true,
|
|
955
|
-
alignTittle: "center",
|
|
956
|
-
alignContent: "center"
|
|
957
|
-
},
|
|
958
|
-
size: {},
|
|
959
|
-
editLine: {},
|
|
960
|
-
scan: {},
|
|
961
|
-
preSuffix: {},
|
|
962
|
-
verification: {},
|
|
963
|
-
dataOrigin: {
|
|
964
|
-
sortField: [{ name: "", type: "" }],
|
|
965
|
-
staticState: [{ label: "选项1", vaule: 1 }],
|
|
966
|
-
displayQuantity: 20
|
|
967
|
-
},
|
|
968
|
-
defaultValue: {},
|
|
969
|
-
inParameter: {},
|
|
970
|
-
title: {},
|
|
971
|
-
definition: {},
|
|
972
|
-
uploadConfig: {},
|
|
973
|
-
singleWidth: {},
|
|
974
|
-
suffixModule: {},
|
|
975
|
-
querySetting: {},
|
|
976
|
-
formatting: {
|
|
977
|
-
type: "",
|
|
978
|
-
suffixModule: {
|
|
979
|
-
jumpPageAdditional: [],
|
|
980
|
-
icon: ""
|
|
981
|
-
}
|
|
982
|
-
}
|
|
983
|
-
},
|
|
984
|
-
events: [
|
|
985
|
-
{ name: "show", label: "列表显示", tip: "列表显示回调方法" },
|
|
986
|
-
{ name: "hidden", label: "列表隐藏", tip: "列表隐藏回调方法" }
|
|
987
|
-
],
|
|
988
|
-
style: {
|
|
989
|
-
titleFont: {},
|
|
990
|
-
contentFont: {},
|
|
991
|
-
width: {},
|
|
992
|
-
background: {},
|
|
993
|
-
conentPadding: {},
|
|
994
|
-
tittlePadding: {},
|
|
995
|
-
border: {},
|
|
996
|
-
shadow: {},
|
|
997
|
-
tittleClass: ""
|
|
998
|
-
}
|
|
999
|
-
}
|
|
1180
|
+
tableOperateColumnConf
|
|
1000
1181
|
],
|
|
1001
1182
|
modelFields: [],
|
|
1002
1183
|
props: {
|
|
@@ -1928,6 +2109,11 @@ const assemblyGroups = [{
|
|
|
1928
2109
|
label: "统计图",
|
|
1929
2110
|
icon: groupChart,
|
|
1930
2111
|
events: [{ name: "afterChartFormLoad", label: "加载图表查询表单后", tip: "加载图表查询表单后" }],
|
|
2112
|
+
design: {
|
|
2113
|
+
style: {
|
|
2114
|
+
"height": "100%"
|
|
2115
|
+
}
|
|
2116
|
+
},
|
|
1931
2117
|
items: [{
|
|
1932
2118
|
name: "chart-column-line",
|
|
1933
2119
|
label: "柱/折图",
|
|
@@ -1937,7 +2123,9 @@ const assemblyGroups = [{
|
|
|
1937
2123
|
"margin-bottom": "18px"
|
|
1938
2124
|
}
|
|
1939
2125
|
},
|
|
1940
|
-
props: {
|
|
2126
|
+
props: {
|
|
2127
|
+
size: { fixHeight: 300, widthType: "flex", flexSpan: 24 }
|
|
2128
|
+
},
|
|
1941
2129
|
style: { yaxisLeft: {}, yaxisRight: {} },
|
|
1942
2130
|
designComponent: defineAsyncComponent(() => {
|
|
1943
2131
|
return import("../views/assemblys/chart/column-line/column-line-design.vue.js");
|
|
@@ -1951,10 +2139,29 @@ const assemblyGroups = [{
|
|
|
1951
2139
|
icon: chartPie,
|
|
1952
2140
|
design: {
|
|
1953
2141
|
style: {
|
|
1954
|
-
"margin-bottom": "18px"
|
|
2142
|
+
"margin-bottom": "18px",
|
|
2143
|
+
"height": "100%"
|
|
2144
|
+
}
|
|
2145
|
+
},
|
|
2146
|
+
props: {
|
|
2147
|
+
size: {
|
|
2148
|
+
pc: {
|
|
2149
|
+
fixHeight: 300,
|
|
2150
|
+
widthType: "flex",
|
|
2151
|
+
flexSpan: 12
|
|
2152
|
+
},
|
|
2153
|
+
ipad: {
|
|
2154
|
+
fixHeight: 300,
|
|
2155
|
+
widthType: "flex",
|
|
2156
|
+
flexSpan: 12
|
|
2157
|
+
},
|
|
2158
|
+
phone: {
|
|
2159
|
+
fixHeight: 300,
|
|
2160
|
+
widthType: "flex",
|
|
2161
|
+
flexSpan: 24
|
|
2162
|
+
}
|
|
1955
2163
|
}
|
|
1956
2164
|
},
|
|
1957
|
-
props: { size: { fixHeight: 300, widthType: "flex", flexSpan: 12 } },
|
|
1958
2165
|
style: {},
|
|
1959
2166
|
designComponent: defineAsyncComponent(() => {
|
|
1960
2167
|
return import("../views/assemblys/chart/pie/pie-design.vue.js");
|
|
@@ -1966,7 +2173,31 @@ const assemblyGroups = [{
|
|
|
1966
2173
|
name: "chart-gauge",
|
|
1967
2174
|
label: "仪表盘",
|
|
1968
2175
|
icon: chartGauge,
|
|
1969
|
-
|
|
2176
|
+
design: {
|
|
2177
|
+
style: {
|
|
2178
|
+
"margin-bottom": "18px",
|
|
2179
|
+
"height": "100%"
|
|
2180
|
+
}
|
|
2181
|
+
},
|
|
2182
|
+
props: {
|
|
2183
|
+
size: {
|
|
2184
|
+
pc: {
|
|
2185
|
+
fixHeight: 300,
|
|
2186
|
+
widthType: "flex",
|
|
2187
|
+
flexSpan: 12
|
|
2188
|
+
},
|
|
2189
|
+
ipad: {
|
|
2190
|
+
fixHeight: 300,
|
|
2191
|
+
widthType: "flex",
|
|
2192
|
+
flexSpan: 12
|
|
2193
|
+
},
|
|
2194
|
+
phone: {
|
|
2195
|
+
fixHeight: 300,
|
|
2196
|
+
widthType: "flex",
|
|
2197
|
+
flexSpan: 24
|
|
2198
|
+
}
|
|
2199
|
+
}
|
|
2200
|
+
},
|
|
1970
2201
|
style: {},
|
|
1971
2202
|
designComponent: defineAsyncComponent(() => {
|
|
1972
2203
|
return import("../views/assemblys/chart/gauge/gauge-design.vue.js");
|
|
@@ -1978,7 +2209,31 @@ const assemblyGroups = [{
|
|
|
1978
2209
|
name: "chart-radar",
|
|
1979
2210
|
label: "雷达图",
|
|
1980
2211
|
icon: chartRader,
|
|
1981
|
-
|
|
2212
|
+
design: {
|
|
2213
|
+
style: {
|
|
2214
|
+
"margin-bottom": "18px",
|
|
2215
|
+
"height": "100%"
|
|
2216
|
+
}
|
|
2217
|
+
},
|
|
2218
|
+
props: {
|
|
2219
|
+
size: {
|
|
2220
|
+
pc: {
|
|
2221
|
+
fixHeight: 300,
|
|
2222
|
+
widthType: "flex",
|
|
2223
|
+
flexSpan: 12
|
|
2224
|
+
},
|
|
2225
|
+
ipad: {
|
|
2226
|
+
fixHeight: 300,
|
|
2227
|
+
widthType: "flex",
|
|
2228
|
+
flexSpan: 12
|
|
2229
|
+
},
|
|
2230
|
+
phone: {
|
|
2231
|
+
fixHeight: 300,
|
|
2232
|
+
widthType: "flex",
|
|
2233
|
+
flexSpan: 24
|
|
2234
|
+
}
|
|
2235
|
+
}
|
|
2236
|
+
},
|
|
1982
2237
|
style: {},
|
|
1983
2238
|
designComponent: defineAsyncComponent(() => {
|
|
1984
2239
|
return import("../views/assemblys/chart/radar/radar-design.vue.js");
|
|
@@ -1990,7 +2245,31 @@ const assemblyGroups = [{
|
|
|
1990
2245
|
name: "chart-scatter",
|
|
1991
2246
|
label: "散点图",
|
|
1992
2247
|
icon: chartScatter,
|
|
1993
|
-
|
|
2248
|
+
design: {
|
|
2249
|
+
style: {
|
|
2250
|
+
"margin-bottom": "18px",
|
|
2251
|
+
"height": "100%"
|
|
2252
|
+
}
|
|
2253
|
+
},
|
|
2254
|
+
props: {
|
|
2255
|
+
size: {
|
|
2256
|
+
pc: {
|
|
2257
|
+
fixHeight: 300,
|
|
2258
|
+
widthType: "flex",
|
|
2259
|
+
flexSpan: 12
|
|
2260
|
+
},
|
|
2261
|
+
ipad: {
|
|
2262
|
+
fixHeight: 300,
|
|
2263
|
+
widthType: "flex",
|
|
2264
|
+
flexSpan: 12
|
|
2265
|
+
},
|
|
2266
|
+
phone: {
|
|
2267
|
+
fixHeight: 300,
|
|
2268
|
+
widthType: "flex",
|
|
2269
|
+
flexSpan: 24
|
|
2270
|
+
}
|
|
2271
|
+
}
|
|
2272
|
+
},
|
|
1994
2273
|
style: { yaxisLeft: {}, yaxisRight: {} },
|
|
1995
2274
|
designComponent: defineAsyncComponent(() => {
|
|
1996
2275
|
return import("../views/assemblys/chart/scatter/scatter-design.vue.js");
|
|
@@ -2063,7 +2342,12 @@ const pageConf = {
|
|
|
2063
2342
|
// 判重组合字段
|
|
2064
2343
|
judgeHeavyList: []
|
|
2065
2344
|
},
|
|
2066
|
-
style: {
|
|
2345
|
+
style: {
|
|
2346
|
+
paddingTop: 10,
|
|
2347
|
+
paddingRight: 10,
|
|
2348
|
+
paddingBottom: 10,
|
|
2349
|
+
paddingLeft: 10
|
|
2350
|
+
},
|
|
2067
2351
|
events: [
|
|
2068
2352
|
{
|
|
2069
2353
|
// 页面布局等加载后,但数据加载前时
|
|
@@ -2077,7 +2361,7 @@ const pageConf = {
|
|
|
2077
2361
|
},
|
|
2078
2362
|
{
|
|
2079
2363
|
name: "onUnmounted",
|
|
2080
|
-
label: ""
|
|
2364
|
+
label: "页面卸载时"
|
|
2081
2365
|
}
|
|
2082
2366
|
]
|
|
2083
2367
|
};
|
|
@@ -2088,6 +2372,11 @@ function getPageConf() {
|
|
|
2088
2372
|
tempConf.label = "页面";
|
|
2089
2373
|
return tempConf;
|
|
2090
2374
|
}
|
|
2375
|
+
function getTableOperateConf() {
|
|
2376
|
+
const conf = deepCopy(tableOperateColumnConf);
|
|
2377
|
+
conf.uuid = getUuidv4();
|
|
2378
|
+
return conf;
|
|
2379
|
+
}
|
|
2091
2380
|
const standardButtonOperations = [
|
|
2092
2381
|
{
|
|
2093
2382
|
label: "表单标准功能",
|
|
@@ -2320,5 +2609,6 @@ export {
|
|
|
2320
2609
|
getDesignConfByName,
|
|
2321
2610
|
getFormComponentOptions,
|
|
2322
2611
|
getPageConf,
|
|
2612
|
+
getTableOperateConf,
|
|
2323
2613
|
standardButtonOperations
|
|
2324
2614
|
};
|
|
@@ -3,14 +3,11 @@ function caculatePageStyle(configure, designStyle, designClass) {
|
|
|
3
3
|
let tempClass = "";
|
|
4
4
|
const pageInfo = configure;
|
|
5
5
|
if (pageInfo.props.isFlex) {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
tempStyle["margin-left"] = "-" + num + "px";
|
|
10
|
-
tempStyle["margin-right"] = "-" + num + "px";
|
|
11
|
-
}
|
|
6
|
+
tempStyle.display = "flex";
|
|
7
|
+
tempStyle["flex-wrap"] = "wrap";
|
|
8
|
+
tempStyle["align-content"] = "flex-start";
|
|
12
9
|
if (pageInfo.props.flexJustify) {
|
|
13
|
-
|
|
10
|
+
tempStyle["justify-content"] = pageInfo.props.flexJustify;
|
|
14
11
|
}
|
|
15
12
|
}
|
|
16
13
|
const defineStyle = pageInfo.style ? pageInfo.style : {};
|
|
@@ -77,6 +74,7 @@ function caculateCommonStyle(configure, designStyle, designClass) {
|
|
|
77
74
|
} else {
|
|
78
75
|
if (tempSizeConf.flexSpan) {
|
|
79
76
|
dimensionsClass += " el-col-" + tempSizeConf.flexSpan;
|
|
77
|
+
dimensionsStyle["flexSpan"] = tempSizeConf.flexSpan;
|
|
80
78
|
}
|
|
81
79
|
}
|
|
82
80
|
if (tempSizeConf.fixHeight) {
|
|
@@ -162,7 +160,7 @@ function caculateComponentStyle(configure, designStyle, designClass, designHeade
|
|
|
162
160
|
tempStyle["padding-left"] = defineStyle.paddingLeft + "px";
|
|
163
161
|
}
|
|
164
162
|
if (defineStyle.borderWidth && defineStyle.borderColor) {
|
|
165
|
-
tempStyle["border"] = defineStyle.borderWidth + "px " + (defineStyle.borderType ? defineStyle.borderType : "solid") + " " + defineStyle.borderColor;
|
|
163
|
+
tempStyle["border"] = defineStyle.borderWidth + "px " + (defineStyle.borderType ? defineStyle.borderType : "solid") + " " + defineStyle.borderColor + " !important";
|
|
166
164
|
if (defineStyle.radius) {
|
|
167
165
|
tempStyle["border-radius"] = defineStyle.radius + "px";
|
|
168
166
|
}
|
|
@@ -42,8 +42,9 @@ export interface Component extends Object {
|
|
|
42
42
|
* 页面对象
|
|
43
43
|
*/
|
|
44
44
|
export interface PageDesign extends Component {
|
|
45
|
-
systemCode
|
|
46
|
-
systemVersion
|
|
45
|
+
systemCode?: string;
|
|
46
|
+
systemVersion?: number;
|
|
47
|
+
backendUrl?: string;
|
|
47
48
|
code: string;
|
|
48
49
|
dimensions?: string;
|
|
49
50
|
tableSysCode?: string;
|