super-page-designer 2.1.13 → 2.1.18
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/interfaces/page-design-types.d.ts +1 -0
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +17 -4
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +24 -3
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr.vue2.js +9 -1
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +15 -2
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +17 -4
- package/dist/es/components/design/views/assemblys/common/common-i18n-setting.vue.js +38 -0
- package/dist/es/components/design/views/assemblys/common/common-i18n-setting.vue2.js +4 -0
- 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 +1 -725
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +725 -1
- package/dist/es/components/design/views/assemblys/container/card/card-design.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-design.vue2.js +3 -1
- package/dist/es/components/design/views/assemblys/container/container/container-design.vue2.js +8 -2
- package/dist/es/components/design/views/assemblys/container/flex/flex-design.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/container/form/form-design.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +2 -0
- 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-advanced.vue.js +22 -2
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +25 -12
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +19 -6
- 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/date-picker/datepicker-attr-base.vue.js +22 -6
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr.vue2.js +8 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +26 -6
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr.vue2.js +8 -1
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +20 -2
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr.vue2.js +10 -1
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +22 -4
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr.vue2.js +8 -1
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +22 -4
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr.vue2.js +8 -1
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +25 -12
- package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +24 -6
- package/dist/es/components/design/views/assemblys/form/label/label-attr.vue2.js +8 -1
- package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +19 -6
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +19 -6
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +20 -2
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr.vue2.js +8 -1
- package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +21 -8
- package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr-base.vue.js +31 -10
- package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr.vue2.js +10 -1
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +20 -2
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr.vue2.js +10 -1
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +20 -2
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr.vue2.js +8 -1
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +19 -6
- package/dist/es/components/design/views/assemblys/object-design.vue.js +3 -0
- package/dist/es/components/design/views/design/page-event/config.vue.js +2 -2
- package/dist/es/components/design/views/design/page-event/config.vue2.js +336 -1
- package/dist/es/components/design/views/design/page-event/config.vue3.js +1 -336
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
- package/dist/es/style.css +141 -168
- package/package.json +5 -4
|
@@ -62,6 +62,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
62
62
|
}
|
|
63
63
|
const ambDragParent = ref(null);
|
|
64
64
|
useDraggable(ambDragParent, props.configure.items, {
|
|
65
|
+
filter: ".el-scrollbar__bar",
|
|
66
|
+
// 拖动表格滚动条时,不拖拽表格需要的配置
|
|
67
|
+
preventOnFilter: false,
|
|
68
|
+
// 拖动表格滚动条时,不拖拽表格需要的配置
|
|
65
69
|
group: {
|
|
66
70
|
name: "amb-assembly-item"
|
|
67
71
|
},
|
package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr-base.vue.js
CHANGED
|
@@ -249,7 +249,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
249
249
|
default: withCtx((scope) => [
|
|
250
250
|
createVNode(_component_el_icon, {
|
|
251
251
|
size: "14",
|
|
252
|
-
style: { "color": "#
|
|
252
|
+
style: { "color": "#5893ef", "cursor": "pointer", "font-weight": "bold", "margin-right": "8px" },
|
|
253
253
|
onClick: ($event) => addPanel(scope.row)
|
|
254
254
|
}, {
|
|
255
255
|
default: withCtx(() => [
|
|
@@ -259,7 +259,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
259
259
|
}, 1032, ["onClick"]),
|
|
260
260
|
createVNode(_component_el_icon, {
|
|
261
261
|
size: "14",
|
|
262
|
-
style: { "color": "#
|
|
262
|
+
style: { "color": "#5893ef", "cursor": "pointer" },
|
|
263
263
|
onClick: ($event) => deletePanel(scope.row)
|
|
264
264
|
}, {
|
|
265
265
|
default: withCtx(() => [
|
package/dist/es/components/design/views/assemblys/container/collapse/collapse-design.vue2.js
CHANGED
|
@@ -116,7 +116,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
116
116
|
sort: true,
|
|
117
117
|
animation: 300,
|
|
118
118
|
"ghost-class": "amb-item-ghost",
|
|
119
|
-
"fallback-class": true
|
|
119
|
+
"fallback-class": true,
|
|
120
|
+
filter: ".el-scrollbar__bar",
|
|
121
|
+
preventOnFilter: false
|
|
120
122
|
}, {
|
|
121
123
|
default: withCtx(() => [
|
|
122
124
|
(openBlock(true), createElementBlock(Fragment, null, renderList(item.items, (element, itemIndex) => {
|
package/dist/es/components/design/views/assemblys/container/container/container-design.vue2.js
CHANGED
|
@@ -37,6 +37,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
37
37
|
watch(props.configure.props, () => {
|
|
38
38
|
caculateSideStyle();
|
|
39
39
|
});
|
|
40
|
+
function updateDraggable() {
|
|
41
|
+
console.log("%c描述-115146", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", 111);
|
|
42
|
+
}
|
|
40
43
|
function caculateSideStyle() {
|
|
41
44
|
const thisProps = props.configure.props;
|
|
42
45
|
if (thisProps.useLeft) {
|
|
@@ -159,9 +162,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
159
162
|
modelValue: _ctx.configure.items,
|
|
160
163
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.configure.items = $event),
|
|
161
164
|
sort: true,
|
|
165
|
+
filter: ".el-scrollbar__bar",
|
|
166
|
+
preventOnFilter: false,
|
|
162
167
|
animation: 300,
|
|
163
168
|
"ghost-class": "amb-item-ghost",
|
|
164
|
-
"fallback-class": true
|
|
169
|
+
"fallback-class": true,
|
|
170
|
+
onUpdate: updateDraggable()
|
|
165
171
|
}, {
|
|
166
172
|
default: withCtx(() => [
|
|
167
173
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.configure.items, (element, itemIndex) => {
|
|
@@ -179,7 +185,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
179
185
|
}), 128))
|
|
180
186
|
]),
|
|
181
187
|
_: 1
|
|
182
|
-
}, 8, ["modelValue", "style", "class"]),
|
|
188
|
+
}, 8, ["modelValue", "style", "class", "onUpdate"]),
|
|
183
189
|
_ctx.configure.props.useRight ? (openBlock(), createBlock(unref(VueDraggable), {
|
|
184
190
|
key: 1,
|
|
185
191
|
tag: "aside",
|
|
@@ -82,6 +82,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
82
82
|
);
|
|
83
83
|
const ambDragParent = ref(null);
|
|
84
84
|
useDraggable(ambDragParent, props.configure.items, {
|
|
85
|
+
filter: ".el-scrollbar__bar",
|
|
86
|
+
// 拖动表格滚动条时,不拖拽表格需要的配置
|
|
87
|
+
preventOnFilter: false,
|
|
88
|
+
// 拖动表格滚动条时,不拖拽表格需要的配置
|
|
85
89
|
group: {
|
|
86
90
|
name: "amb-assembly-item"
|
|
87
91
|
},
|
|
@@ -75,6 +75,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
75
75
|
}
|
|
76
76
|
const ambDragParent = ref(null);
|
|
77
77
|
useDraggable(ambDragParent, props.configure.items, {
|
|
78
|
+
filter: ".el-scrollbar__bar",
|
|
79
|
+
// 拖动表格滚动条时,不拖拽表格需要的配置
|
|
80
|
+
preventOnFilter: false,
|
|
81
|
+
// 拖动表格滚动条时,不拖拽表格需要的配置
|
|
78
82
|
group: {
|
|
79
83
|
name: "amb-assembly-item"
|
|
80
84
|
},
|
|
@@ -112,6 +112,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
112
112
|
modelValue: item.items,
|
|
113
113
|
"onUpdate:modelValue": ($event) => item.items = $event,
|
|
114
114
|
sort: true,
|
|
115
|
+
filter: ".el-scrollbar__bar",
|
|
116
|
+
preventOnFilter: false,
|
|
115
117
|
animation: 300,
|
|
116
118
|
"ghost-class": "amb-item-ghost",
|
|
117
119
|
fallbackClass: true
|
|
@@ -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";
|
|
@@ -9,6 +9,7 @@ import _sfc_main$4 from "../../workflow/component/combination.vue.js";
|
|
|
9
9
|
import _sfc_main$3 from "../../common/common-select-table.vue.js";
|
|
10
10
|
import { Search, Close } from "@element-plus/icons";
|
|
11
11
|
import StateButton from "../../common/state-button.vue.js";
|
|
12
|
+
import "super-page-runtime";
|
|
12
13
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
13
14
|
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
14
15
|
const _hoisted_3 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
@@ -153,7 +154,25 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
153
154
|
}
|
|
154
155
|
function saveCondition(table) {
|
|
155
156
|
props.configure.props.otherSettings["sourceQueryTableData"] = JSON.stringify(table);
|
|
156
|
-
|
|
157
|
+
realTimeChange();
|
|
158
|
+
}
|
|
159
|
+
function realTimeChange() {
|
|
160
|
+
const table = props.configure.props.otherSettings["sourceQueryTableData"] ? JSON.parse(props.configure.props.otherSettings["sourceQueryTableData"]) : [];
|
|
161
|
+
let mainFormProps = null;
|
|
162
|
+
if (props.configure.props.otherSettings.isRealTimeChange) {
|
|
163
|
+
if (table && table.length > 0) {
|
|
164
|
+
mainFormProps = [];
|
|
165
|
+
table.forEach((item) => {
|
|
166
|
+
if (item && item.propValue && (item.propValue.indexOf("${data.") >= 0 || item.propValue.indexOf("${page.") >= 0)) {
|
|
167
|
+
mainFormProps.push(item.propValue);
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
if (!props.pageDesign.subTableWatchProps) {
|
|
173
|
+
props.pageDesign.subTableWatchProps = {};
|
|
174
|
+
}
|
|
175
|
+
props.pageDesign.subTableWatchProps[props.configure.uuid] = mainFormProps;
|
|
157
176
|
}
|
|
158
177
|
function closeCombination() {
|
|
159
178
|
combinationVisible.value = false;
|
|
@@ -855,7 +874,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
855
874
|
createVNode(_component_el_radio_group, {
|
|
856
875
|
modelValue: __props.configure.props.otherSettings.isRealTimeChange,
|
|
857
876
|
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => __props.configure.props.otherSettings.isRealTimeChange = $event),
|
|
858
|
-
class: "ml-4"
|
|
877
|
+
class: "ml-4",
|
|
878
|
+
onChange: realTimeChange
|
|
859
879
|
}, {
|
|
860
880
|
default: withCtx(() => [
|
|
861
881
|
createVNode(_component_el_radio, { value: true }, {
|
|
@@ -8,7 +8,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
|
-
import "../../common/common-variable-bind.
|
|
11
|
+
import "../../common/common-variable-bind.vue2.js";
|
|
12
12
|
import "../../../../utils/eventBus.js";
|
|
13
13
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
14
14
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./tablecolumn-attr-base.vue2.js";
|
|
2
2
|
import "./tablecolumn-attr-base.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const TablecolumnAttrBase = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const TablecolumnAttrBase = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-31763b63"]]);
|
|
5
5
|
export {
|
|
6
6
|
TablecolumnAttrBase as default
|
|
7
7
|
};
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createCommentVNode, createTextVNode, unref, createElementBlock, Fragment, renderList, withDirectives, vShow } from "vue";
|
|
2
2
|
import { Setting, Search } from "@element-plus/icons-vue";
|
|
3
3
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
4
|
-
import _sfc_main$
|
|
4
|
+
import _sfc_main$7 from "../component/querySetting.vue.js";
|
|
5
5
|
import DataOrigin from "../../form/common/data-origin.vue.js";
|
|
6
6
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
7
7
|
import { setGroupHeaderDataDisplayOrder, deleteGroupHeaderByColumnUuid } from "../../../../utils/data-table-util.js";
|
|
8
8
|
import { getUuidv4 } from "../../../../utils/common-util.js";
|
|
9
9
|
import eventBus from "../../../../utils/eventBus.js";
|
|
10
10
|
import _sfc_main$1 from "../component/variate-select.vue.js";
|
|
11
|
-
import _sfc_main$
|
|
12
|
-
import _sfc_main$
|
|
13
|
-
import _sfc_main$
|
|
11
|
+
import _sfc_main$5 from "../../form/common/suffixmodule.vue.js";
|
|
12
|
+
import _sfc_main$3 from "../../common/common-function-code.vue.js";
|
|
13
|
+
import _sfc_main$8 from "../../common/common-select-table.vue.js";
|
|
14
14
|
import { queryTableFields, tableResetConfigIndo } from "../../../../utils/page-table-util.js";
|
|
15
15
|
import { usePageContextStore } from "../../../../../../stores/page-store.js";
|
|
16
|
-
import _sfc_main$
|
|
16
|
+
import _sfc_main$6 from "../component/formatting-icon-label.vue.js";
|
|
17
17
|
import "agilebuilder-ui/src/utils/request";
|
|
18
|
-
import _sfc_main$
|
|
18
|
+
import _sfc_main$4 from "./tablecolumn-dynamic-column.vue.js";
|
|
19
|
+
import _sfc_main$2 from "../../common/common-i18n-setting.vue.js";
|
|
19
20
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
20
21
|
const _hoisted_2 = { class: "amb-design-attr-item-inline" };
|
|
21
22
|
const _hoisted_3 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
@@ -299,12 +300,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
299
300
|
]),
|
|
300
301
|
_: 1
|
|
301
302
|
}),
|
|
303
|
+
createVNode(_component_el_form_item, {
|
|
304
|
+
label: "国际化标题",
|
|
305
|
+
class: "amb-design-attr-item"
|
|
306
|
+
}, {
|
|
307
|
+
default: withCtx(() => [
|
|
308
|
+
createVNode(_sfc_main$2, {
|
|
309
|
+
configure: __props.configure,
|
|
310
|
+
systemCode: __props.pageDesign.systemCode
|
|
311
|
+
}, null, 8, ["configure", "systemCode"])
|
|
312
|
+
]),
|
|
313
|
+
_: 1
|
|
314
|
+
}),
|
|
302
315
|
createVNode(_component_el_form_item, {
|
|
303
316
|
label: "绑定权限",
|
|
304
317
|
class: "amb-design-attr-item"
|
|
305
318
|
}, {
|
|
306
319
|
default: withCtx(() => [
|
|
307
|
-
createVNode(_sfc_main$
|
|
320
|
+
createVNode(_sfc_main$3, { configure: __props.configure }, null, 8, ["configure"])
|
|
308
321
|
]),
|
|
309
322
|
_: 1
|
|
310
323
|
}),
|
|
@@ -478,7 +491,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
478
491
|
isDynamicColumn: __props.configure.props.base.prop === "dynamicColumnSelect",
|
|
479
492
|
remote: true
|
|
480
493
|
}, null, 8, ["configure", "isDynamicColumn"])) : createCommentVNode("", true),
|
|
481
|
-
createVNode(_sfc_main$
|
|
494
|
+
createVNode(_sfc_main$4, {
|
|
482
495
|
operationColumn: operationColumn.value,
|
|
483
496
|
configure: __props.configure,
|
|
484
497
|
tableConfigure: __props.tableConfigure,
|
|
@@ -848,13 +861,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
848
861
|
]),
|
|
849
862
|
_: 1
|
|
850
863
|
})) : createCommentVNode("", true),
|
|
851
|
-
__props.configure.props.format.type === "hyperlinks" ? (openBlock(), createBlock(_sfc_main$
|
|
864
|
+
__props.configure.props.format.type === "hyperlinks" ? (openBlock(), createBlock(_sfc_main$5, {
|
|
852
865
|
key: 9,
|
|
853
866
|
pageDesign: __props.pageDesign,
|
|
854
867
|
configure: __props.configure,
|
|
855
868
|
tableConfigure: __props.tableConfigure
|
|
856
869
|
}, null, 8, ["pageDesign", "configure", "tableConfigure"])) : createCommentVNode("", true),
|
|
857
|
-
__props.configure.props.format.type === "icon" ? (openBlock(), createBlock(_sfc_main$
|
|
870
|
+
__props.configure.props.format.type === "icon" ? (openBlock(), createBlock(_sfc_main$6, {
|
|
858
871
|
key: 10,
|
|
859
872
|
setting: __props.configure.props.format
|
|
860
873
|
}, null, 8, ["setting"])) : createCommentVNode("", true),
|
|
@@ -1434,13 +1447,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1434
1447
|
]),
|
|
1435
1448
|
_: 1
|
|
1436
1449
|
})) : createCommentVNode("", true),
|
|
1437
|
-
querySettingVisible.value ? (openBlock(), createBlock(_sfc_main$
|
|
1450
|
+
querySettingVisible.value ? (openBlock(), createBlock(_sfc_main$7, {
|
|
1438
1451
|
key: 5,
|
|
1439
1452
|
querySetting: __props.configure.props.querySetting,
|
|
1440
1453
|
onAdd: querySettingAdd,
|
|
1441
1454
|
onClose: closeFuerySettingValue
|
|
1442
1455
|
}, null, 8, ["querySetting"])) : createCommentVNode("", true),
|
|
1443
|
-
createVNode(_sfc_main$
|
|
1456
|
+
createVNode(_sfc_main$8, {
|
|
1444
1457
|
ref_key: "selectTableDialog",
|
|
1445
1458
|
ref: selectTableDialog,
|
|
1446
1459
|
onSelectTable,
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import { componentNameChange } from "../../../../utils/form-design-util.js";
|
|
4
|
-
import _sfc_main$
|
|
4
|
+
import _sfc_main$5 from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import DataOrigin from "../common/data-origin.vue.js";
|
|
6
|
-
import _sfc_main$
|
|
6
|
+
import _sfc_main$3 from "../common/data-linkage.vue.js";
|
|
7
7
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
8
8
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
9
|
-
import _sfc_main$
|
|
9
|
+
import _sfc_main$4 from "../common/verification-custom.vue.js";
|
|
10
|
+
import _sfc_main$2 from "../../common/common-i18n-setting.vue.js";
|
|
10
11
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
11
12
|
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
12
13
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -202,6 +203,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
202
203
|
}, 512), [
|
|
203
204
|
[vShow, __props.configure.props.base.tittleShow]
|
|
204
205
|
]),
|
|
206
|
+
createVNode(_component_el_form_item, {
|
|
207
|
+
label: "国际化标题",
|
|
208
|
+
class: "amb-design-attr-item"
|
|
209
|
+
}, {
|
|
210
|
+
default: withCtx(() => [
|
|
211
|
+
createVNode(_sfc_main$2, {
|
|
212
|
+
configure: __props.configure,
|
|
213
|
+
systemCode: __props.pageDesign.systemCode
|
|
214
|
+
}, null, 8, ["configure", "systemCode"])
|
|
215
|
+
]),
|
|
216
|
+
_: 1
|
|
217
|
+
}),
|
|
205
218
|
withDirectives(createVNode(_component_el_form_item, {
|
|
206
219
|
label: "标题宽度",
|
|
207
220
|
class: "amb-design-attr-item"
|
|
@@ -299,7 +312,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
299
312
|
configure: __props.configure,
|
|
300
313
|
remote: true
|
|
301
314
|
}, null, 8, ["configure"])) : createCommentVNode("", true),
|
|
302
|
-
(openBlock(), createBlock(_sfc_main$
|
|
315
|
+
(openBlock(), createBlock(_sfc_main$3, {
|
|
303
316
|
key: __props.configure.uuid,
|
|
304
317
|
configureProps: __props.configure.props
|
|
305
318
|
}, null, 8, ["configureProps"])),
|
|
@@ -329,7 +342,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
329
342
|
"label-width": "0"
|
|
330
343
|
}, {
|
|
331
344
|
default: withCtx(() => [
|
|
332
|
-
createVNode(_sfc_main$
|
|
345
|
+
createVNode(_sfc_main$4, {
|
|
333
346
|
pageDesign: __props.pageDesign,
|
|
334
347
|
verification: __props.configure.props.verification
|
|
335
348
|
}, null, 8, ["pageDesign", "verification"])
|
|
@@ -340,7 +353,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
340
353
|
]),
|
|
341
354
|
_: 1
|
|
342
355
|
})),
|
|
343
|
-
!isTable.value ? (openBlock(), createBlock(_sfc_main$
|
|
356
|
+
!isTable.value ? (openBlock(), createBlock(_sfc_main$5, {
|
|
344
357
|
key: __props.configure.uuid,
|
|
345
358
|
size: __props.configure.props.size
|
|
346
359
|
}, null, 8, ["size"])) : createCommentVNode("", true)
|
|
@@ -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";
|
|
@@ -7,7 +7,7 @@ import "@element-plus/icons-vue";
|
|
|
7
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
|
-
import "../../common/common-variable-bind.
|
|
10
|
+
import "../../common/common-variable-bind.vue2.js";
|
|
11
11
|
import _sfc_main$4 from "./data-origin-service-in.vue.js";
|
|
12
12
|
import { queryTableFields } from "../../../../utils/page-table-util.js";
|
|
13
13
|
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
|
};
|