super-page-designer 2.1.74 → 2.1.76
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 +2 -0
- package/dist/es/components/design/utils/form-design-util.js +2 -0
- package/dist/es/components/design/utils/page-table-util.d.ts +1 -0
- package/dist/es/components/design/utils/page-table-util.js +18 -0
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +41 -31
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +33 -7
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +17 -3
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue.js +33 -10
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +1 -0
- package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +3 -2
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +738 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +1 -738
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js +1 -0
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +63 -5
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +1 -0
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +54 -25
- package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +3 -0
- 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 +152 -1
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +1 -152
- package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +4 -0
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +17 -1
- package/dist/es/components/design/views/assemblys/object-design.vue.js +9 -7
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -0
- package/dist/es/stores/page-store.js +1 -1
- package/dist/es/style.css +97 -97
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode, createTextVNode, unref, createCommentVNode, withDirectives, vShow, createElementBlock, Fragment, renderList, normalizeClass, toDisplayString, renderSlot } from "vue";
|
|
2
|
-
import _sfc_main$1 from "../../form/common/dataorigin-input-table.
|
|
2
|
+
import _sfc_main$1 from "../../form/common/dataorigin-input-table.vue.js";
|
|
3
3
|
import { Codemirror } from "vue-codemirror";
|
|
4
4
|
import _sfc_main$6 from "../../workflow/component/combination.vue.js";
|
|
5
5
|
import _sfc_main$5 from "./return-set-table.vue.js";
|
package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js
CHANGED
|
@@ -93,6 +93,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
93
93
|
compositeDragging.value = val;
|
|
94
94
|
});
|
|
95
95
|
function onSelectWidget(selIndex, objConfigure, column) {
|
|
96
|
+
props.pageDesign.currentTableConfig = props.configure;
|
|
96
97
|
if (!compositeDragging.value) {
|
|
97
98
|
emit("onSelectWidget", selIndex, objConfigure, column);
|
|
98
99
|
}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createTextVNode, createCommentVNode } from "vue";
|
|
2
2
|
import { getTableSelectionConf, getTableIndexConf, getTableOperateConf, getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import DataOrigin from "../component/data-origin.vue.js";
|
|
4
|
-
import _sfc_main$
|
|
5
|
-
import _sfc_main$
|
|
4
|
+
import _sfc_main$4 from "../../common/common-attr-size.vue.js";
|
|
5
|
+
import _sfc_main$3 from "../../form/common/data-linkage.vue.js";
|
|
6
6
|
import "@element-plus/icons-vue";
|
|
7
7
|
import "agilebuilder-ui/src/utils/request";
|
|
8
8
|
import "uuid";
|
|
9
9
|
import "../../../../../../stores/page-store.js";
|
|
10
10
|
import "../../../../../../stores/table-store.js";
|
|
11
11
|
import "../../../../../../stores/statistics-table-store.js";
|
|
12
|
-
import "../../common/common-variable-bind.
|
|
12
|
+
import "../../common/common-variable-bind.vue3.js";
|
|
13
13
|
import "../../../../utils/eventBus.js";
|
|
14
14
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
15
|
+
import _sfc_main$2 from "../../chart/statistical-table/component/table-showcondition.vue.js";
|
|
15
16
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
16
17
|
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
17
18
|
const _hoisted_3 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
@@ -98,6 +99,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
98
99
|
}
|
|
99
100
|
}
|
|
100
101
|
);
|
|
102
|
+
function updateTableShowCondition(param) {
|
|
103
|
+
props.configure.props.base.showOperationCondition = param.data;
|
|
104
|
+
}
|
|
105
|
+
function updateTableAddBtnShowCondition(param) {
|
|
106
|
+
props.configure.props.base.showAddBtnCondition = param.data;
|
|
107
|
+
}
|
|
108
|
+
function updateTableDeleteBtnShowCondition(param) {
|
|
109
|
+
props.configure.props.base.showDeleteBtnCondition = param.data;
|
|
110
|
+
}
|
|
101
111
|
return (_ctx, _cache) => {
|
|
102
112
|
const _component_el_option = resolveComponent("el-option");
|
|
103
113
|
const _component_el_select = resolveComponent("el-select");
|
|
@@ -394,6 +404,54 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
394
404
|
]),
|
|
395
405
|
_: 1
|
|
396
406
|
}),
|
|
407
|
+
__props.configure.props.base.showOperation ? (openBlock(), createBlock(_component_el_form_item, {
|
|
408
|
+
key: 1,
|
|
409
|
+
label: "操作条件",
|
|
410
|
+
class: "amb-design-attr-item"
|
|
411
|
+
}, {
|
|
412
|
+
default: withCtx(() => [
|
|
413
|
+
createVNode(_sfc_main$2, {
|
|
414
|
+
paramTypes: ["data", "task", "page", "request"],
|
|
415
|
+
data: __props.configure.props.base.showOperationCondition,
|
|
416
|
+
pageDesign: __props.pageDesign,
|
|
417
|
+
tableConfigure: __props.configure,
|
|
418
|
+
"onUpdate:data": updateTableShowCondition
|
|
419
|
+
}, null, 8, ["data", "pageDesign", "tableConfigure"])
|
|
420
|
+
]),
|
|
421
|
+
_: 1
|
|
422
|
+
})) : createCommentVNode("", true),
|
|
423
|
+
__props.configure.props.base.showOperation ? (openBlock(), createBlock(_component_el_form_item, {
|
|
424
|
+
key: 2,
|
|
425
|
+
label: "新增条件",
|
|
426
|
+
class: "amb-design-attr-item"
|
|
427
|
+
}, {
|
|
428
|
+
default: withCtx(() => [
|
|
429
|
+
createVNode(_sfc_main$2, {
|
|
430
|
+
paramTypes: ["data", "task", "page", "request", "row"],
|
|
431
|
+
data: __props.configure.props.base.showAddBtnCondition,
|
|
432
|
+
pageDesign: __props.pageDesign,
|
|
433
|
+
tableConfigure: __props.configure,
|
|
434
|
+
"onUpdate:data": updateTableAddBtnShowCondition
|
|
435
|
+
}, null, 8, ["data", "pageDesign", "tableConfigure"])
|
|
436
|
+
]),
|
|
437
|
+
_: 1
|
|
438
|
+
})) : createCommentVNode("", true),
|
|
439
|
+
__props.configure.props.base.showOperation ? (openBlock(), createBlock(_component_el_form_item, {
|
|
440
|
+
key: 3,
|
|
441
|
+
label: "删除条件",
|
|
442
|
+
class: "amb-design-attr-item"
|
|
443
|
+
}, {
|
|
444
|
+
default: withCtx(() => [
|
|
445
|
+
createVNode(_sfc_main$2, {
|
|
446
|
+
paramTypes: ["data", "task", "page", "request", "row"],
|
|
447
|
+
data: __props.configure.props.base.showDeleteBtnCondition,
|
|
448
|
+
pageDesign: __props.pageDesign,
|
|
449
|
+
tableConfigure: __props.configure,
|
|
450
|
+
"onUpdate:data": updateTableDeleteBtnShowCondition
|
|
451
|
+
}, null, 8, ["data", "pageDesign", "tableConfigure"])
|
|
452
|
+
]),
|
|
453
|
+
_: 1
|
|
454
|
+
})) : createCommentVNode("", true),
|
|
397
455
|
createVNode(_component_el_form_item, {
|
|
398
456
|
label: "显示效果",
|
|
399
457
|
class: "amb-design-attr-item"
|
|
@@ -1106,10 +1164,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1106
1164
|
]),
|
|
1107
1165
|
_: 1
|
|
1108
1166
|
}),
|
|
1109
|
-
createVNode(_sfc_main$
|
|
1167
|
+
createVNode(_sfc_main$3, {
|
|
1110
1168
|
configureProps: __props.configure.props
|
|
1111
1169
|
}, null, 8, ["configureProps"]),
|
|
1112
|
-
createVNode(_sfc_main$
|
|
1170
|
+
createVNode(_sfc_main$4, {
|
|
1113
1171
|
size: __props.configure.props.size,
|
|
1114
1172
|
showMaxHeight: true,
|
|
1115
1173
|
showCalcHeight: true
|
|
@@ -11,6 +11,7 @@ import "@element-plus/icons";
|
|
|
11
11
|
import "agilebuilder-ui/src/utils/auth";
|
|
12
12
|
import "super-page-runtime";
|
|
13
13
|
import "../../../../../../stores/page-store.js";
|
|
14
|
+
import "@vueuse/core";
|
|
14
15
|
import _sfc_main$1 from "../component/table-children-column.vue.js";
|
|
15
16
|
import { queryTableFields, changeFeieldToMap } from "../../../../utils/page-table-util.js";
|
|
16
17
|
const _hoisted_1 = {
|
|
@@ -81,7 +81,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
81
81
|
default: withCtx(() => [
|
|
82
82
|
createVNode(_component_el_collapse, {
|
|
83
83
|
modelValue: openCollapseItems.value,
|
|
84
|
-
"onUpdate:modelValue": _cache[
|
|
84
|
+
"onUpdate:modelValue": _cache[35] || (_cache[35] = ($event) => openCollapseItems.value = $event),
|
|
85
85
|
style: { "margin-top": "6px" }
|
|
86
86
|
}, {
|
|
87
87
|
default: withCtx(() => [
|
|
@@ -337,6 +337,35 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
337
337
|
]),
|
|
338
338
|
_: 1
|
|
339
339
|
}),
|
|
340
|
+
createVNode(_component_el_form_item, {
|
|
341
|
+
label: "是否过滤",
|
|
342
|
+
class: "amb-design-attr-item"
|
|
343
|
+
}, {
|
|
344
|
+
default: withCtx(() => [
|
|
345
|
+
createVNode(_component_el_radio_group, {
|
|
346
|
+
modelValue: __props.configure.props.base.filter,
|
|
347
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => __props.configure.props.base.filter = $event),
|
|
348
|
+
class: "ml-4"
|
|
349
|
+
}, {
|
|
350
|
+
default: withCtx(() => [
|
|
351
|
+
createVNode(_component_el_radio, { value: true }, {
|
|
352
|
+
default: withCtx(() => [
|
|
353
|
+
createTextVNode("是")
|
|
354
|
+
]),
|
|
355
|
+
_: 1
|
|
356
|
+
}),
|
|
357
|
+
createVNode(_component_el_radio, { value: false }, {
|
|
358
|
+
default: withCtx(() => [
|
|
359
|
+
createTextVNode("否")
|
|
360
|
+
]),
|
|
361
|
+
_: 1
|
|
362
|
+
})
|
|
363
|
+
]),
|
|
364
|
+
_: 1
|
|
365
|
+
}, 8, ["modelValue"])
|
|
366
|
+
]),
|
|
367
|
+
_: 1
|
|
368
|
+
}),
|
|
340
369
|
createVNode(_component_el_form_item, {
|
|
341
370
|
label: "节点图标",
|
|
342
371
|
class: "amb-design-attr-item"
|
|
@@ -345,7 +374,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
345
374
|
createVNode(_sfc_main$1, {
|
|
346
375
|
iconType: __props.configure.props.base.iconType,
|
|
347
376
|
iconValue: __props.configure.props.base.icon,
|
|
348
|
-
"onUpdate:modelValue": _cache[
|
|
377
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = (iconType, iconValue) => afterBindIcon(iconType, iconValue, "suf"))
|
|
349
378
|
}, null, 8, ["iconType", "iconValue"])
|
|
350
379
|
]),
|
|
351
380
|
_: 1
|
|
@@ -357,7 +386,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
357
386
|
default: withCtx(() => [
|
|
358
387
|
createVNode(_component_el_select, {
|
|
359
388
|
modelValue: __props.configure.props.format.contentLogic,
|
|
360
|
-
"onUpdate:modelValue": _cache[
|
|
389
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => __props.configure.props.format.contentLogic = $event),
|
|
361
390
|
filterable: "",
|
|
362
391
|
placeholder: "请选择"
|
|
363
392
|
}, {
|
|
@@ -381,7 +410,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
381
410
|
default: withCtx(() => [
|
|
382
411
|
createVNode(_component_el_radio_group, {
|
|
383
412
|
modelValue: __props.configure.props.base.state,
|
|
384
|
-
"onUpdate:modelValue": _cache[
|
|
413
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => __props.configure.props.base.state = $event),
|
|
385
414
|
class: "ml-4"
|
|
386
415
|
}, {
|
|
387
416
|
default: withCtx(() => [
|
|
@@ -426,7 +455,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
426
455
|
default: withCtx(() => [
|
|
427
456
|
createVNode(_component_el_select, {
|
|
428
457
|
modelValue: __props.configure.props.format.type,
|
|
429
|
-
"onUpdate:modelValue": _cache[
|
|
458
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => __props.configure.props.format.type = $event),
|
|
430
459
|
placeholder: "请选择"
|
|
431
460
|
}, {
|
|
432
461
|
default: withCtx(() => [
|
|
@@ -492,7 +521,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
492
521
|
default: withCtx(() => [
|
|
493
522
|
createVNode(_component_el_input, {
|
|
494
523
|
modelValue: __props.configure.props.format.decimalDigit,
|
|
495
|
-
"onUpdate:modelValue": _cache[
|
|
524
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => __props.configure.props.format.decimalDigit = $event)
|
|
496
525
|
}, null, 8, ["modelValue"])
|
|
497
526
|
]),
|
|
498
527
|
_: 1
|
|
@@ -505,7 +534,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
505
534
|
default: withCtx(() => [
|
|
506
535
|
createVNode(_component_el_switch, {
|
|
507
536
|
modelValue: __props.configure.props.format.scientific,
|
|
508
|
-
"onUpdate:modelValue": _cache[
|
|
537
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => __props.configure.props.format.scientific = $event),
|
|
509
538
|
"active-text": "使用",
|
|
510
539
|
"inactive-text": "不使用"
|
|
511
540
|
}, null, 8, ["modelValue"])
|
|
@@ -520,7 +549,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
520
549
|
default: withCtx(() => [
|
|
521
550
|
createVNode(_component_el_input, {
|
|
522
551
|
modelValue: __props.configure.props.format.scientificNum,
|
|
523
|
-
"onUpdate:modelValue": _cache[
|
|
552
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => __props.configure.props.format.scientificNum = $event)
|
|
524
553
|
}, null, 8, ["modelValue"])
|
|
525
554
|
]),
|
|
526
555
|
_: 1
|
|
@@ -533,7 +562,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
533
562
|
default: withCtx(() => [
|
|
534
563
|
createVNode(_component_el_switch, {
|
|
535
564
|
modelValue: __props.configure.props.format.thousandsSeparator,
|
|
536
|
-
"onUpdate:modelValue": _cache[
|
|
565
|
+
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => __props.configure.props.format.thousandsSeparator = $event),
|
|
537
566
|
"active-text": "使用",
|
|
538
567
|
"inactive-text": "不使用"
|
|
539
568
|
}, null, 8, ["modelValue"])
|
|
@@ -548,7 +577,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
548
577
|
default: withCtx(() => [
|
|
549
578
|
createVNode(_component_el_input, {
|
|
550
579
|
modelValue: __props.configure.props.format.symbol,
|
|
551
|
-
"onUpdate:modelValue": _cache[
|
|
580
|
+
"onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => __props.configure.props.format.symbol = $event)
|
|
552
581
|
}, null, 8, ["modelValue"])
|
|
553
582
|
]),
|
|
554
583
|
_: 1
|
|
@@ -561,7 +590,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
561
590
|
default: withCtx(() => [
|
|
562
591
|
createVNode(_component_el_select, {
|
|
563
592
|
modelValue: __props.configure.props.format.currencySymbol,
|
|
564
|
-
"onUpdate:modelValue": _cache[
|
|
593
|
+
"onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => __props.configure.props.format.currencySymbol = $event),
|
|
565
594
|
placeholder: "Select"
|
|
566
595
|
}, {
|
|
567
596
|
default: withCtx(() => [
|
|
@@ -587,7 +616,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
587
616
|
default: withCtx(() => [
|
|
588
617
|
createVNode(_component_el_select, {
|
|
589
618
|
modelValue: __props.configure.props.format.dataType,
|
|
590
|
-
"onUpdate:modelValue": _cache[
|
|
619
|
+
"onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => __props.configure.props.format.dataType = $event),
|
|
591
620
|
placeholder: "Select"
|
|
592
621
|
}, {
|
|
593
622
|
default: withCtx(() => [
|
|
@@ -641,7 +670,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
641
670
|
default: withCtx(() => [
|
|
642
671
|
createVNode(_component_el_select, {
|
|
643
672
|
modelValue: __props.configure.props.format.timeType,
|
|
644
|
-
"onUpdate:modelValue": _cache[
|
|
673
|
+
"onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => __props.configure.props.format.timeType = $event),
|
|
645
674
|
placeholder: "Select"
|
|
646
675
|
}, {
|
|
647
676
|
default: withCtx(() => [
|
|
@@ -691,7 +720,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
691
720
|
default: withCtx(() => [
|
|
692
721
|
createVNode(_component_el_input, {
|
|
693
722
|
modelValue: __props.configure.props.format.customControl,
|
|
694
|
-
"onUpdate:modelValue": _cache[
|
|
723
|
+
"onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => __props.configure.props.format.customControl = $event)
|
|
695
724
|
}, null, 8, ["modelValue"])
|
|
696
725
|
]),
|
|
697
726
|
_: 1
|
|
@@ -709,7 +738,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
709
738
|
default: withCtx(() => [
|
|
710
739
|
createVNode(_component_IconSetDialog, {
|
|
711
740
|
modelValue: __props.configure.props.format.icon,
|
|
712
|
-
"onUpdate:modelValue": _cache[
|
|
741
|
+
"onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => __props.configure.props.format.icon = $event)
|
|
713
742
|
}, null, 8, ["modelValue"])
|
|
714
743
|
]),
|
|
715
744
|
_: 1
|
|
@@ -722,7 +751,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
722
751
|
default: withCtx(() => [
|
|
723
752
|
createVNode(_component_el_switch, {
|
|
724
753
|
modelValue: __props.configure.props.format.position,
|
|
725
|
-
"onUpdate:modelValue": _cache[
|
|
754
|
+
"onUpdate:modelValue": _cache[25] || (_cache[25] = ($event) => __props.configure.props.format.position = $event),
|
|
726
755
|
"active-text": "后缀",
|
|
727
756
|
"inactive-text": "前缀",
|
|
728
757
|
"active-value": "suf",
|
|
@@ -739,7 +768,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
739
768
|
default: withCtx(() => [
|
|
740
769
|
createVNode(_component_el_input, {
|
|
741
770
|
modelValue: __props.configure.props.format.event,
|
|
742
|
-
"onUpdate:modelValue": _cache[
|
|
771
|
+
"onUpdate:modelValue": _cache[26] || (_cache[26] = ($event) => __props.configure.props.format.event = $event)
|
|
743
772
|
}, null, 8, ["modelValue"])
|
|
744
773
|
]),
|
|
745
774
|
_: 1
|
|
@@ -752,7 +781,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
752
781
|
default: withCtx(() => [
|
|
753
782
|
createVNode(_component_el_input, {
|
|
754
783
|
modelValue: __props.configure.props.format.customControl,
|
|
755
|
-
"onUpdate:modelValue": _cache[
|
|
784
|
+
"onUpdate:modelValue": _cache[27] || (_cache[27] = ($event) => __props.configure.props.format.customControl = $event)
|
|
756
785
|
}, null, 8, ["modelValue"])
|
|
757
786
|
]),
|
|
758
787
|
_: 1
|
|
@@ -765,7 +794,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
765
794
|
default: withCtx(() => [
|
|
766
795
|
createVNode(_component_el_switch, {
|
|
767
796
|
modelValue: __props.configure.props.format.multiple,
|
|
768
|
-
"onUpdate:modelValue": _cache[
|
|
797
|
+
"onUpdate:modelValue": _cache[28] || (_cache[28] = ($event) => __props.configure.props.format.multiple = $event)
|
|
769
798
|
}, null, 8, ["modelValue"])
|
|
770
799
|
]),
|
|
771
800
|
_: 1
|
|
@@ -778,7 +807,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
778
807
|
default: withCtx(() => [
|
|
779
808
|
createVNode(_component_el_input, {
|
|
780
809
|
modelValue: __props.configure.props.format.accept,
|
|
781
|
-
"onUpdate:modelValue": _cache[
|
|
810
|
+
"onUpdate:modelValue": _cache[29] || (_cache[29] = ($event) => __props.configure.props.format.accept = $event)
|
|
782
811
|
}, null, 8, ["modelValue"])
|
|
783
812
|
]),
|
|
784
813
|
_: 1
|
|
@@ -791,7 +820,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
791
820
|
default: withCtx(() => [
|
|
792
821
|
createVNode(_component_el_input_number, {
|
|
793
822
|
modelValue: __props.configure.props.format.limitFileSize,
|
|
794
|
-
"onUpdate:modelValue": _cache[
|
|
823
|
+
"onUpdate:modelValue": _cache[30] || (_cache[30] = ($event) => __props.configure.props.format.limitFileSize = $event),
|
|
795
824
|
min: 1
|
|
796
825
|
}, null, 8, ["modelValue"])
|
|
797
826
|
]),
|
|
@@ -804,7 +833,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
804
833
|
default: withCtx(() => [
|
|
805
834
|
createVNode(_component_el_input, {
|
|
806
835
|
modelValue: __props.configure.props.format.childAnnexDataTableCode,
|
|
807
|
-
"onUpdate:modelValue": _cache[
|
|
836
|
+
"onUpdate:modelValue": _cache[31] || (_cache[31] = ($event) => __props.configure.props.format.childAnnexDataTableCode = $event),
|
|
808
837
|
onClick: _ctx.openSelectDataTable,
|
|
809
838
|
clearable: ""
|
|
810
839
|
}, {
|
|
@@ -827,7 +856,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
827
856
|
default: withCtx(() => [
|
|
828
857
|
createVNode(_component_VariateSelect, {
|
|
829
858
|
prop: __props.configure.props.format.showName,
|
|
830
|
-
"onUpdate:prop": _cache[
|
|
859
|
+
"onUpdate:prop": _cache[32] || (_cache[32] = ($event) => __props.configure.props.format.showName = $event),
|
|
831
860
|
tableConfigure: _ctx.tableConfigure
|
|
832
861
|
}, null, 8, ["prop", "tableConfigure"])
|
|
833
862
|
]),
|
|
@@ -841,7 +870,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
841
870
|
default: withCtx(() => [
|
|
842
871
|
createVNode(_component_VariateSelect, {
|
|
843
872
|
prop: __props.configure.props.format.serverName,
|
|
844
|
-
"onUpdate:prop": _cache[
|
|
873
|
+
"onUpdate:prop": _cache[33] || (_cache[33] = ($event) => __props.configure.props.format.serverName = $event),
|
|
845
874
|
tableConfigure: _ctx.tableConfigure
|
|
846
875
|
}, null, 8, ["prop", "tableConfigure"])
|
|
847
876
|
]),
|
|
@@ -870,7 +899,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
870
899
|
default: withCtx(() => [
|
|
871
900
|
createVNode(_component_el_checkbox, {
|
|
872
901
|
modelValue: __props.configure.props.verification.required,
|
|
873
|
-
"onUpdate:modelValue": _cache[
|
|
902
|
+
"onUpdate:modelValue": _cache[34] || (_cache[34] = ($event) => __props.configure.props.verification.required = $event),
|
|
874
903
|
label: "必填"
|
|
875
904
|
}, null, 8, ["modelValue"])
|
|
876
905
|
]),
|
|
@@ -48,6 +48,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
48
48
|
if (defineProps["base"]["retractWidth"]) {
|
|
49
49
|
tempProps["retractWidth"] = defineProps["base"]["retractWidth"];
|
|
50
50
|
}
|
|
51
|
+
if (defineProps["base"]["filter"]) {
|
|
52
|
+
tempProps["filter"] = defineProps["base"]["filter"];
|
|
53
|
+
}
|
|
51
54
|
try {
|
|
52
55
|
if (defineProps["dataOrigin"]["staticData"]) {
|
|
53
56
|
let str = defineProps["dataOrigin"]["staticData"].replace(/[\r\n\t\f\v ]+/g, "");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode, unref, createCommentVNode, withDirectives, createTextVNode, createElementBlock, Fragment, renderList, vShow, normalizeClass } from "vue";
|
|
2
|
-
import _sfc_main$3 from "./dataorigin-input-table.
|
|
2
|
+
import _sfc_main$3 from "./dataorigin-input-table.vue.js";
|
|
3
3
|
import _sfc_main$2 from "./condition.vue.js";
|
|
4
4
|
import _sfc_main$1 from "./row-ul-li.vue.js";
|
|
5
5
|
import "uuid";
|
|
@@ -8,7 +8,7 @@ import http from "agilebuilder-ui/src/utils/request";
|
|
|
8
8
|
import { usePageContextStore } from "../../../../../../stores/page-store.js";
|
|
9
9
|
import "../../../../../../stores/table-store.js";
|
|
10
10
|
import "../../../../../../stores/statistics-table-store.js";
|
|
11
|
-
import "../../common/common-variable-bind.
|
|
11
|
+
import "../../common/common-variable-bind.vue3.js";
|
|
12
12
|
import _sfc_main$4 from "./data-origin-service-in.vue.js";
|
|
13
13
|
import { queryTableFields } from "../../../../utils/page-table-util.js";
|
|
14
14
|
import { getCustomFuncs } from "../../../../utils/page-event-util.js";
|
|
@@ -1,4 +1,155 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { defineComponent, ref, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, unref, createElementVNode, createTextVNode } from "vue";
|
|
2
|
+
import { Search } from "@element-plus/icons-vue";
|
|
3
|
+
const _hoisted_1 = { class: "dialog-footer" };
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
+
__name: "dataorigin-input-table",
|
|
6
|
+
props: {
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: String,
|
|
9
|
+
default: ""
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
emits: ["update:modelValue"],
|
|
13
|
+
setup(__props, { emit: __emit }) {
|
|
14
|
+
const props = __props;
|
|
15
|
+
const inputValue = ref(props.modelValue);
|
|
16
|
+
const emit = __emit;
|
|
17
|
+
const tableData = [
|
|
18
|
+
{
|
|
19
|
+
id: 1,
|
|
20
|
+
date: "2016-05-03",
|
|
21
|
+
name: "Tom",
|
|
22
|
+
address: "No. 189, Grove St, Los Angeles"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
id: 2,
|
|
26
|
+
date: "2016-05-02",
|
|
27
|
+
name: "Tom",
|
|
28
|
+
address: "No. 189, Grove St, Los Angeles"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
id: 3,
|
|
32
|
+
date: "2016-05-04",
|
|
33
|
+
name: "Tom",
|
|
34
|
+
address: "No. 189, Grove St, Los Angeles"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
id: 4,
|
|
38
|
+
date: "2016-05-01",
|
|
39
|
+
name: "Tom",
|
|
40
|
+
address: "No. 189, Grove St, Los Angeles"
|
|
41
|
+
}
|
|
42
|
+
];
|
|
43
|
+
const dialogVisible = ref(false);
|
|
44
|
+
const selectData = ref([]);
|
|
45
|
+
watch(() => props.modelValue, (newVal) => {
|
|
46
|
+
inputValue.value = newVal;
|
|
47
|
+
});
|
|
48
|
+
function confirm() {
|
|
49
|
+
if (selectData.value.length > 0) {
|
|
50
|
+
let str = "";
|
|
51
|
+
selectData.value.forEach((item) => {
|
|
52
|
+
str = str + item.name + ",";
|
|
53
|
+
});
|
|
54
|
+
str = str.substring(0, str.length - 1);
|
|
55
|
+
emit("update:modelValue", str);
|
|
56
|
+
dialogVisible.value = false;
|
|
57
|
+
} else {
|
|
58
|
+
dialogVisible.value = false;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
function handleSelectionChange(selection) {
|
|
62
|
+
selectData.value = selection;
|
|
63
|
+
}
|
|
64
|
+
function inputClick() {
|
|
65
|
+
dialogVisible.value = true;
|
|
66
|
+
}
|
|
67
|
+
return (_ctx, _cache) => {
|
|
68
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
69
|
+
const _component_el_input = resolveComponent("el-input");
|
|
70
|
+
const _component_el_table_column = resolveComponent("el-table-column");
|
|
71
|
+
const _component_el_table = resolveComponent("el-table");
|
|
72
|
+
const _component_el_button = resolveComponent("el-button");
|
|
73
|
+
const _component_el_dialog = resolveComponent("el-dialog");
|
|
74
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
75
|
+
createVNode(_component_el_input, {
|
|
76
|
+
modelValue: inputValue.value,
|
|
77
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event),
|
|
78
|
+
placeholder: "请选择",
|
|
79
|
+
onClick: inputClick
|
|
80
|
+
}, {
|
|
81
|
+
suffix: withCtx(() => [
|
|
82
|
+
createVNode(_component_el_icon, { onClick: inputClick }, {
|
|
83
|
+
default: withCtx(() => [
|
|
84
|
+
createVNode(unref(Search))
|
|
85
|
+
]),
|
|
86
|
+
_: 1
|
|
87
|
+
})
|
|
88
|
+
]),
|
|
89
|
+
_: 1
|
|
90
|
+
}, 8, ["modelValue"]),
|
|
91
|
+
createVNode(_component_el_dialog, {
|
|
92
|
+
modelValue: dialogVisible.value,
|
|
93
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => dialogVisible.value = $event),
|
|
94
|
+
title: "Tips",
|
|
95
|
+
width: "500"
|
|
96
|
+
}, {
|
|
97
|
+
footer: withCtx(() => [
|
|
98
|
+
createElementVNode("div", _hoisted_1, [
|
|
99
|
+
createVNode(_component_el_button, {
|
|
100
|
+
onClick: _cache[1] || (_cache[1] = ($event) => dialogVisible.value = false)
|
|
101
|
+
}, {
|
|
102
|
+
default: withCtx(() => [
|
|
103
|
+
createTextVNode("取消")
|
|
104
|
+
]),
|
|
105
|
+
_: 1
|
|
106
|
+
}),
|
|
107
|
+
createVNode(_component_el_button, {
|
|
108
|
+
type: "primary",
|
|
109
|
+
onClick: confirm
|
|
110
|
+
}, {
|
|
111
|
+
default: withCtx(() => [
|
|
112
|
+
createTextVNode(" 确定 ")
|
|
113
|
+
]),
|
|
114
|
+
_: 1
|
|
115
|
+
})
|
|
116
|
+
])
|
|
117
|
+
]),
|
|
118
|
+
default: withCtx(() => [
|
|
119
|
+
createVNode(_component_el_table, {
|
|
120
|
+
data: tableData,
|
|
121
|
+
style: { "width": "100%" },
|
|
122
|
+
onSelectionChange: handleSelectionChange
|
|
123
|
+
}, {
|
|
124
|
+
default: withCtx(() => [
|
|
125
|
+
createVNode(_component_el_table_column, {
|
|
126
|
+
type: "selection",
|
|
127
|
+
width: "55"
|
|
128
|
+
}),
|
|
129
|
+
createVNode(_component_el_table_column, {
|
|
130
|
+
prop: "date",
|
|
131
|
+
label: "Date",
|
|
132
|
+
width: "180"
|
|
133
|
+
}),
|
|
134
|
+
createVNode(_component_el_table_column, {
|
|
135
|
+
prop: "name",
|
|
136
|
+
label: "Name",
|
|
137
|
+
width: "180"
|
|
138
|
+
}),
|
|
139
|
+
createVNode(_component_el_table_column, {
|
|
140
|
+
prop: "address",
|
|
141
|
+
label: "Address"
|
|
142
|
+
})
|
|
143
|
+
]),
|
|
144
|
+
_: 1
|
|
145
|
+
})
|
|
146
|
+
]),
|
|
147
|
+
_: 1
|
|
148
|
+
}, 8, ["modelValue"])
|
|
149
|
+
], 64);
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
});
|
|
2
153
|
export {
|
|
3
154
|
_sfc_main as default
|
|
4
155
|
};
|