super-page-designer 2.2.76 → 2.2.77-sit11
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 +4 -4
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +21 -21
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +33 -33
- package/dist/es/components/design/views/assemblys/button/button/button-design.vue2.js +21 -21
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr-base.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue2.js +38 -34
- package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/button/component/condition-dialog.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +20 -19
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-design.vue2.js +19 -19
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +9 -8
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-design.vue2.js +19 -19
- package/dist/es/components/design/views/assemblys/chart/column-line/column-line-design.vue2.js +9 -9
- package/dist/es/components/design/views/assemblys/chart/gauge/gauge-design.vue2.js +9 -9
- package/dist/es/components/design/views/assemblys/chart/pie/pie-design.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/chart/radar/radar-design.vue2.js +12 -12
- package/dist/es/components/design/views/assemblys/chart/scatter/scatter-design.vue2.js +11 -11
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +39 -36
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +14 -14
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +24 -23
- package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/common/common-attr-size.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/common/common-i18n-key-input.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue.js +64 -60
- package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +3 -3
- 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.vue3.js → common-variable-bind.vue2.js} +11 -11
- package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +67 -63
- package/dist/es/components/design/views/assemblys/container/card/card-design.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/container/card/card-design.vue2.js +43 -38
- package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr-base.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +26 -26
- package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +30 -30
- package/dist/es/components/design/views/assemblys/data/component/configuration-value.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +4 -4
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +10 -10
- package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/formatting.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/data/component/return-set-table.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/data/component/variate-select.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +17 -14
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +83 -80
- 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 +29 -9
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +10 -10
- package/dist/es/components/design/views/assemblys/form/common/bar-code-rule.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +9 -9
- package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +33 -25
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +6 -6
- package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +33 -30
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +14 -14
- package/dist/es/components/design/views/assemblys/form/common/verification-custom.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +14 -14
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/object-design.vue.d.ts +4 -0
- package/dist/es/components/design/views/assemblys/object-design.vue.js +5 -138
- package/dist/es/components/design/views/assemblys/object-design.vue3.js +140 -0
- package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/page/create-workflow-dialog.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/page/variable-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +25 -34
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue2.js +22 -18
- package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +36 -36
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +64 -64
- package/dist/es/components/design/views/design/page-event/page-event-view.vue.js +10 -9
- package/dist/es/components/design/views/design/view/attr-container.vue.js +24 -24
- package/dist/es/components/design/views/design/view/components/el-aside-expand-component.vue.js +24 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +2 -2
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue.js +1 -1
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue2.js +4 -4
- package/dist/es/components/design/views/design/view/components/i18n-setting.vue.js +4 -4
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +10 -9
- package/dist/es/components/design/views/design/view/components/translate-error-dialog.vue.js +8 -8
- package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
- package/dist/es/components/design/views/design/view/page-switch.vue2.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-preview.vue.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-preview.vue2.js +2 -2
- package/dist/es/components/design/views/design/view/view-design.vue.js +27 -26
- package/dist/es/index.js +1 -1
- package/dist/es/style.css +12853 -11195
- package/package.json +5 -5
- package/dist/es/components/design/views/assemblys/object-design.vue2.js +0 -4
|
@@ -1,115 +1,118 @@
|
|
|
1
|
-
import { defineComponent as e, ref as
|
|
2
|
-
import
|
|
3
|
-
import { useDraggable as
|
|
4
|
-
import { caculateDetailComponentStyle as
|
|
1
|
+
import { defineComponent as e, ref as o, onMounted as n, onUnmounted as l, watch as i, resolveComponent as u, createElementBlock as t, openBlock as a, createVNode as r, createElementVNode as s, withDirectives as c, createCommentVNode as d, normalizeStyle as p, normalizeClass as g, withCtx as m, Fragment as f, renderList as b, createBlock as v, createTextVNode as y, unref as C, vShow as h } from "vue";
|
|
2
|
+
import x from "../../../../utils/eventBus.js";
|
|
3
|
+
import { useDraggable as S } from "vue-draggable-plus";
|
|
4
|
+
import { caculateDetailComponentStyle as j, caculateComponentProps as k } from "../../../../utils/form-design-util.js";
|
|
5
5
|
import { getTableColumnConf as D } from "../../../../utils/assemblys-config.js";
|
|
6
|
-
import { Plus as
|
|
7
|
-
import { ElMessageBox as
|
|
8
|
-
import { getColumnsWithGroupHeader as
|
|
6
|
+
import { Plus as H, Delete as O } from "@element-plus/icons-vue";
|
|
7
|
+
import { ElMessageBox as w } from "element-plus";
|
|
8
|
+
import { getColumnsWithGroupHeader as E, addColumnToGroupHeaders as T } from "../../../../utils/data-table-util.js";
|
|
9
9
|
import "uuid";
|
|
10
10
|
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
14
|
import "@vueuse/core";
|
|
15
|
-
|
|
16
|
-
import
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
/* empty css */
|
|
16
|
+
import M from "../component/table-children-column.vue.js";
|
|
17
|
+
import { queryTableFields as W, changeFeieldToMap as _ } from "../../../../utils/page-table-util.js";
|
|
18
|
+
const B = { class: "amb-object-design-table-ref" }, P = { id: "tableDesignMenu", ref: "headerMenu", class: "context-menu" }, $ = e({ __name: "table-design", props: { pageDesign: {}, configure: {}, selectWidget: {}, indexObj: {} }, emits: ["selectColumn", "onSelectWidget"], setup(e2, { emit: $2 }) {
|
|
19
|
+
const z = e2, N = $2, G = o([{}]), V = o(1), F = o(1), K = o({}), L = o(""), U = o({}), I = o({}), R = o(false);
|
|
20
|
+
z.configure.props.groupHeaders;
|
|
21
|
+
const q = o([]), X = o(), Y = o([]);
|
|
22
|
+
function A(e3, o2) {
|
|
23
|
+
N("onSelectWidget", e3, o2);
|
|
23
24
|
}
|
|
24
|
-
|
|
25
|
-
const e3 =
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
z.configure && function() {
|
|
26
|
+
const e3 = z.configure.tableSysCode ? z.configure.tableSysCode : z.pageDesign.systemCode, o2 = z.configure.tableSysVersion ? z.configure.tableSysVersion : z.pageDesign.systemVersion, n2 = z.configure.props.dataOrigin.tableName;
|
|
27
|
+
W(e3, o2, n2).then((e4) => {
|
|
28
|
+
z.configure.modelFieldsMap = _(z.configure.modelFieldsMap, e4), z.configure.modelFields = e4;
|
|
28
29
|
});
|
|
29
|
-
}(),
|
|
30
|
-
|
|
31
|
-
}),
|
|
32
|
-
|
|
33
|
-
}),
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
j(
|
|
37
|
-
|
|
30
|
+
}(), n(() => {
|
|
31
|
+
q.value = E(z.configure);
|
|
32
|
+
}), l(() => {
|
|
33
|
+
x.$off("reloadTable-" + z.configure.uuid);
|
|
34
|
+
}), x.$on("setHiddenColumsUuid", (e3) => {
|
|
35
|
+
e3.value ? Y.value = Y.value.filter((o2) => o2 != e3.uuid) : Y.value.push(e3.uuid);
|
|
36
|
+
}), i(z.configure.style, () => {
|
|
37
|
+
j(z.configure, K, L, U), z.configure.runtime.style = K.value, z.configure.runtime.class = L.value, z.configure.runtime.headerStyle = U.value;
|
|
38
|
+
}, { immediate: true }), i(z.configure.props, () => {
|
|
39
|
+
k(z.configure, I), function() {
|
|
40
|
+
let e3 = z.configure.props;
|
|
38
41
|
if (!e3.base) return;
|
|
39
|
-
const
|
|
40
|
-
if (e3.base.subPaging && (
|
|
41
|
-
}(),
|
|
42
|
-
}, { immediate: true }),
|
|
43
|
-
|
|
44
|
-
}),
|
|
45
|
-
e3 && (
|
|
46
|
-
}),
|
|
42
|
+
const o2 = {};
|
|
43
|
+
if (e3.base.subPaging && (o2.subPaging = e3.base.subPaging), e3.base.layout && (o2.layout = e3.base.layout.join(",")), e3.base.pageSizes && (o2.pageSizes = e3.base.pageSizes.split(",")), e3.base.alignTitle && (o2.alignTitle = e3.base.alignTitle), e3.base.alignContent && (o2.alignContent = e3.base.alignContent), o2 != {}) for (const e4 in o2) I.value[e4] = o2[e4];
|
|
44
|
+
}(), z.configure.runtime.props = I.value;
|
|
45
|
+
}, { immediate: true }), i(() => z.configure.props.isChangeGroupHeader, () => {
|
|
46
|
+
z.configure.props.isChangeGroupHeader && (q.value = E(z.configure), X.value && X.value.doLayout());
|
|
47
|
+
}), x.$on("reloadTable-" + z.configure.uuid, (e3) => {
|
|
48
|
+
e3 && (z.configure.items = e3, q.value = E(z.configure)), X.value && X.value.doLayout();
|
|
49
|
+
}), i(() => q.value, (e3) => {
|
|
47
50
|
e3.forEach((e4) => {
|
|
48
|
-
e4.props && e4.props.base && !e4.props.base.visible &&
|
|
51
|
+
e4.props && e4.props.base && !e4.props.base.visible && Y.value.push(e4.uuid);
|
|
49
52
|
});
|
|
50
53
|
}, { deep: true });
|
|
51
|
-
const
|
|
52
|
-
function
|
|
53
|
-
|
|
54
|
-
|
|
54
|
+
const J = o("");
|
|
55
|
+
function Q() {
|
|
56
|
+
J.value = "", ne.value = {}, ee();
|
|
57
|
+
x.$emit("selectColumn", { columnData: {} });
|
|
55
58
|
}
|
|
56
|
-
function
|
|
57
|
-
var
|
|
58
|
-
(
|
|
59
|
-
e4.props.base.name ==
|
|
60
|
-
}),
|
|
61
|
-
const
|
|
62
|
-
|
|
59
|
+
function Z(e3, o2) {
|
|
60
|
+
var n2;
|
|
61
|
+
(o2 || window.event).preventDefault(), n2 = e3, z.configure.items.forEach((e4, o3) => {
|
|
62
|
+
e4.props.base.name == n2.label && (ne.value = e4, le.value = o3);
|
|
63
|
+
}), R.value = true;
|
|
64
|
+
const l2 = document.querySelector("#tableDesignMenu"), i2 = document.documentElement.scrollTop || document.body.scrollTop;
|
|
65
|
+
l2.style.display = "block", l2.style.left = o2.clientX + 30 + "px", l2.style.top = o2.clientY + i2 - 22 + "px";
|
|
63
66
|
}
|
|
64
|
-
function
|
|
65
|
-
|
|
67
|
+
function ee() {
|
|
68
|
+
R.value = false;
|
|
66
69
|
}
|
|
67
|
-
function
|
|
70
|
+
function oe(e3) {
|
|
68
71
|
var _a;
|
|
69
|
-
if (
|
|
72
|
+
if (ee(), "createCombinedHeader" === e3) {
|
|
70
73
|
const e4 = { alias: "字段名称", displayOrder: ne.value.props.base.displayOrder + 1 };
|
|
71
|
-
let
|
|
72
|
-
|
|
73
|
-
e5.props.base.displayOrder && e5.props.base.displayOrder ==
|
|
74
|
-
}),
|
|
75
|
-
} else "deleteNode" === e3 &&
|
|
76
|
-
|
|
74
|
+
let o2 = D(e4);
|
|
75
|
+
z.configure.items.splice(le.value + 1, 0, o2), (_a = z.configure.items) == null ? void 0 : _a.forEach((e5, o3) => {
|
|
76
|
+
e5.props.base.displayOrder && e5.props.base.displayOrder == o3 || (e5.props.base.displayOrder = o3);
|
|
77
|
+
}), z.configure.props.base.isEnableGroupHeader && (T(z.configure.items[le.value + 1], null, z.configure.props.groupHeaders), q.value = E(z.configure), x.$emit("synchroGroupHeadersData"));
|
|
78
|
+
} else "deleteNode" === e3 && w.confirm("当前操作会删除当前列", "确认", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(() => {
|
|
79
|
+
z.configure.items.splice(le.value, 1);
|
|
77
80
|
}).catch(() => {
|
|
78
81
|
});
|
|
79
82
|
}
|
|
80
|
-
const ne =
|
|
81
|
-
function
|
|
83
|
+
const ne = o({}), le = o(null);
|
|
84
|
+
function ie(e3) {
|
|
82
85
|
ne.value = e3;
|
|
83
86
|
}
|
|
84
|
-
function
|
|
85
|
-
te(
|
|
87
|
+
function ue(e3, o2, n2, l2) {
|
|
88
|
+
te(q.value, n2.columnKey).props.base.columnWidth = e3;
|
|
86
89
|
}
|
|
87
|
-
function te(e3,
|
|
88
|
-
let
|
|
90
|
+
function te(e3, o2) {
|
|
91
|
+
let n2 = {};
|
|
89
92
|
return e3.forEach((e4) => {
|
|
90
|
-
if (e4.uuid && e4.uuid ===
|
|
91
|
-
e4.children && e4.children.length > 0 && (
|
|
92
|
-
}),
|
|
93
|
+
if (e4.uuid && e4.uuid === o2) return n2 = e4;
|
|
94
|
+
e4.children && e4.children.length > 0 && (n2 = te(e4.children, o2));
|
|
95
|
+
}), n2;
|
|
93
96
|
}
|
|
94
|
-
function ae({ row: e3, column:
|
|
97
|
+
function ae({ row: e3, column: o2, rowIndex: n2, columnIndex: l2 }) {
|
|
95
98
|
let i2 = "";
|
|
96
|
-
return
|
|
99
|
+
return Y.value.includes(o2.columnKey) && (i2 = "hiddenBorder"), o2.columnKey === J.value && (i2 = "addBorder"), i2;
|
|
97
100
|
}
|
|
98
|
-
function
|
|
99
|
-
|
|
101
|
+
function re(e3) {
|
|
102
|
+
J.value = e3.uuid;
|
|
100
103
|
}
|
|
101
|
-
function se(e3,
|
|
102
|
-
for (var
|
|
104
|
+
function se(e3, o2) {
|
|
105
|
+
for (var n2 = document.getElementsByClassName(o2.id), l2 = 0; l2 < n2.length; l2++) n2[l2].style.backgroundColor = "rgba(88, 147, 239,.1)";
|
|
103
106
|
}
|
|
104
|
-
function
|
|
105
|
-
for (var
|
|
107
|
+
function ce(e3, o2) {
|
|
108
|
+
for (var n2 = document.getElementsByClassName(o2.id), l2 = 0; l2 < n2.length; l2++) n2[l2].style.backgroundColor = "";
|
|
106
109
|
}
|
|
107
|
-
return
|
|
108
|
-
} }), (e3,
|
|
109
|
-
const
|
|
110
|
-
return a(), t("div",
|
|
110
|
+
return S(".el-table__header-wrapper tr", z.configure.items, { animation: 150, ghostClass: "ghost", onStart(e3) {
|
|
111
|
+
} }), (e3, o2) => {
|
|
112
|
+
const n2 = u("el-table"), l2 = u("el-icon"), i2 = u("el-pagination");
|
|
113
|
+
return a(), t("div", B, [r(n2, { ref_key: "tableRef", ref: X, "cell-class-name": ae, "header-cell-class-name": ae, border: "", class: g(L.value), data: G.value, onHeaderDragend: ue, onHeaderContextmenu: Z, onRowClick: Q, onCellMouseEnter: se, onCellMouseLeave: ce, style: p(K.value) }, { default: m(() => [(a(true), t(f, null, b(q.value, (o3) => (a(), v(M, { key: o3, listColumns: o3, designProperty: I.value, configure: e3.configure, pageDesign: e3.pageDesign, indexObj: e3.indexObj, onSetClickColumn: re, onOnSelectWidget: A, onSetColumnData: ie, onCloseMenuVisible: ee, selectWidget: e3.selectWidget }, null, 8, ["listColumns", "designProperty", "configure", "pageDesign", "indexObj", "selectWidget"]))), 128))]), _: 1 }, 8, ["class", "data", "style"]), s("div", { onClick: Q, style: { width: "100%", height: "20px" } }), c(s("div", null, [s("ul", P, [s("li", { tabindex: "-1", onClick: o2[0] || (o2[0] = () => oe("createCombinedHeader")) }, [r(l2, null, { default: m(() => [r(C(H))]), _: 1 }), o2[4] || (o2[4] = y(" 创建 "))]), ne.value.props && ne.value.props.base && "$selection" !== ne.value.props.base.prop && "$index" !== ne.value.props.base.prop ? (a(), t("li", { key: 0, tabindex: "-1", onClick: o2[1] || (o2[1] = () => oe("deleteNode")) }, [r(l2, null, { default: m(() => [r(C(O))]), _: 1 }), o2[5] || (o2[5] = y(" 删除 "))])) : d("", true)], 512)], 512), [[h, R.value]]), I.value.subPaging ? (a(), t("div", { key: 0, class: "super-grid-main-table-footer-view", onClick: Q }, [o2[6] || (o2[6] = s("div", null, null, -1)), r(i2, { "current-page": V.value, "onUpdate:currentPage": o2[2] || (o2[2] = (e4) => V.value = e4), "page-size": F.value, "onUpdate:pageSize": o2[3] || (o2[3] = (e4) => F.value = e4), background: "", layout: I.value.layout, total: 200 }, null, 8, ["current-page", "page-size", "layout"])])) : d("", true)]);
|
|
111
114
|
};
|
|
112
115
|
} });
|
|
113
116
|
export {
|
|
114
|
-
|
|
117
|
+
$ as default
|
|
115
118
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./tablecolumn-attr-base.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const a = e(t, [["__scopeId", "data-v-
|
|
4
|
+
const a = e(t, [["__scopeId", "data-v-d2fb5ff1"]]);
|
|
5
5
|
export {
|
|
6
6
|
a as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, onMounted as l, resolveComponent as o, createBlock as t, openBlock as n, withCtx as i, createVNode as u, createCommentVNode as r, createElementVNode as s, createTextVNode as
|
|
1
|
+
import { defineComponent as e, ref as a, onMounted as l, resolveComponent as o, createBlock as t, openBlock as n, withCtx as i, createVNode as u, createCommentVNode as r, createElementVNode as s, createTextVNode as p, unref as m, withDirectives as d, createElementBlock as f, Fragment as c, renderList as g, vShow as b } from "vue";
|
|
2
2
|
import { Setting as y, Search as V } from "@element-plus/icons-vue";
|
|
3
3
|
import { getListComponentOptions as v } from "../../../../utils/assemblys-config.js";
|
|
4
4
|
import C from "../component/querySetting.vue.js";
|
|
@@ -10,15 +10,15 @@ import k from "../../../../utils/eventBus.js";
|
|
|
10
10
|
import T from "../component/variate-select.vue.js";
|
|
11
11
|
import "@element-plus/icons";
|
|
12
12
|
import "agilebuilder-ui/src/utils/request";
|
|
13
|
-
import { queryTableFields as S, tableResetConfigIndo as
|
|
14
|
-
import
|
|
13
|
+
import { queryTableFields as S, tableResetConfigIndo as H } from "../../../../utils/page-table-util.js";
|
|
14
|
+
import N from "../../common/common-i18n-key-input.vue.js";
|
|
15
15
|
import j from "../../form/common/hyperlink-mult-config.vue.js";
|
|
16
16
|
import q from "../../common/common-function-code.vue.js";
|
|
17
17
|
import w from "../../common/common-select-table.vue.js";
|
|
18
18
|
import { usePageContextStore as F } from "../../../../../../stores/page-store.js";
|
|
19
19
|
import L from "../component/formatting-icon-label.vue.js";
|
|
20
20
|
import M from "./tablecolumn-dynamic-column.vue.js";
|
|
21
|
-
const
|
|
21
|
+
const E = { style: { padding: "8px 0px 0px 0px" } }, P = { class: "amb-design-attr-item-inline" }, A = { style: { padding: "8px 0px 0px 0px" } }, O = { style: { padding: "8px 0px 0px 0px" } }, $ = { style: { padding: "8px 0px 0px 0px" } }, G = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, R = e({ __name: "tablecolumn-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, tableConfigure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
|
|
22
22
|
const R2 = e2, B = a(["base", "editLine", "formatting", "appearance", "verification", "userDefined", "dataOrigin", "columnModel"]), I = a(null), W = a(null), Q = a(null), J = a([]), K = R2.tableConfigure.props.groupHeaders, X = a(null), Y = F(), Z = a(false);
|
|
23
23
|
l(() => {
|
|
24
24
|
var _a;
|
|
@@ -71,7 +71,7 @@ const P = { style: { padding: "8px 0px 0px 0px" } }, A = { class: "amb-design-at
|
|
|
71
71
|
e3 ? R2.tableConfigure.props.base.editable = true : R2.configure.name = "";
|
|
72
72
|
}
|
|
73
73
|
function ue(e3) {
|
|
74
|
-
|
|
74
|
+
H(R2.configure, e3);
|
|
75
75
|
}
|
|
76
76
|
function re(e3) {
|
|
77
77
|
const a2 = R2.configure.uuid;
|
|
@@ -87,12 +87,32 @@ const P = { style: { padding: "8px 0px 0px 0px" } }, A = { class: "amb-design-at
|
|
|
87
87
|
function se(e3) {
|
|
88
88
|
R2.configure.props.base.defaultValue = e3;
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function pe() {
|
|
91
91
|
k.$emit("reloadTable-" + R2.tableConfigure.uuid);
|
|
92
92
|
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
return n(), t(le2, { "label-width": "80px", size: "small" }, { default: i(() => [u(ee2, { modelValue: B.value, "onUpdate:modelValue": l2[48] || (l2[48] = (e3) => B.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [u(I2, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", P, [u(x2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: i(() => [u(T, { showDynamicColumn: true, showPlaceholder: true, prop: e2.configure.props.base.prop, "onUpdate:prop": l2[1] || (l2[1] = (a3) => e2.configure.props.base.prop = a3), propType: e2.configure.props.base.propType, "onUpdate:propType": l2[2] || (l2[2] = (a3) => e2.configure.props.base.propType = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "propType", "tableConfigure"])]), _: 1 })), u(x2, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [u(H, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.name = a3), disabled: "$index" === e2.configure.props.base.prop || "$selection" === e2.configure.props.base.prop }, null, 8, ["modelValue", "disabled"])]), _: 1 }), u(x2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: i(() => [u(q, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), u(x2, { label: "显示顺序", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.base.displayOrder, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.displayOrder = a3), modelModifiers: { number: true }, onBlur: me, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 1, label: "是否显示 ", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.visible, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.visible = a3), class: "ml-4", onChange: re }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[49] || (l2[49] = [m("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[50] || (l2[50] = [m("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 2, label: "是否导出", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.exportable, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.exportable = a3) }, null, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 3, label: "查询设置", class: "amb-design-attr-item" }, { default: i(() => [s("div", A, [u(F2, { modelValue: e2.configure.props.base.querySettingName, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.querySettingName = a3) }, { default: i(() => [u(N2, { label: "不查询", value: "no" }), u(N2, { label: "普通查询", value: "normal" }), u(N2, { label: "高级查询", value: "advanced" })]), _: 1 }, 8, ["modelValue"]), "normal" === e2.configure.props.base.querySettingName || "advanced" === e2.configure.props.base.querySettingName ? (n(), t(R3, { key: 0, style: { "margin-left": "10px" }, onClick: l2[8] || (l2[8] = (e3) => oe.value = true) }, { default: i(() => [u(p(y))]), _: 1 })) : r("", true)])]), _: 1 })), Z.value || "normal" !== e2.configure.props.base.querySettingName && "advanced" !== e2.configure.props.base.querySettingName || "STRING" !== e2.configure.props.base.propType ? r("", true) : (n(), t(x2, { key: 4, label: "匹配方式", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.base.queryMatching, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.queryMatching = a3), clearable: "" }, { default: i(() => [u(N2, { label: "全匹配", value: "all" }), u(N2, { label: "左匹配", value: "left" }), u(N2, { label: "右匹配", value: "right" }), u(N2, { label: "精确查询", value: "exactQuery" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 5, label: "是否合计", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 6, label: "是否筛选", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.filterable, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.filterable = a3) }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 }), Z.value || "dynamicColumnSelect" == e2.configure.props.base.prop ? r("", true) : (n(), t(_, { key: 0, configure: e2.configure, isTable: true, isDynamicColumn: "dynamicColumnSelect" === e2.configure.props.base.prop, remote: true }, null, 8, ["configure", "isDynamicColumn"])), u(M, { operationColumn: Z.value, configure: e2.configure, tableConfigure: e2.tableConfigure, pageDesign: e2.pageDesign }, null, 8, ["operationColumn", "configure", "tableConfigure", "pageDesign"]), Z.value ? r("", true) : (n(), t(I2, { key: 1, title: "行编辑设置", name: "editLine", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", E, [u(x2, { label: "是否编辑", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { onChange: ie, modelValue: e2.configure.props.editLine.editable, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.editLine.editable = a3) }, null, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "默认值", class: "amb-design-attr-item" }, { default: i(() => [u(h, { modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": se }, null, 8, ["modelValue"])]), _: 1 }), e2.configure.props.editLine.editable ? (n(), t(x2, { key: 0, label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.name = a3), placeholder: "请选择", onChange: ue }, { default: i(() => [(n(true), f(c, null, g(p(v)(), (e3) => (n(), t(N2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), d(u(x2, { label: "文件uuid", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.fileUuid, "onUpdate:prop": l2[14] || (l2[14] = (a3) => e2.configure.props.format.fileUuid = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "file-upload" === e2.configure.name]]), d(u(x2, { label: "自定义控件名称", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.base.customComponent, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.customComponent = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "custom" === e2.configure.name]])])]), _: 1 })), Z.value ? r("", true) : (n(), t(I2, { key: 2, title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", O, [u(x2, { label: "格式化分类", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.type, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.format.type = a3), clearable: "", placeholder: "请选择" }, { default: i(() => [u(N2, { label: "数值", value: "number" }), u(N2, { label: "货币", value: "currency" }), u(N2, { label: "日期", value: "date" }), u(N2, { label: "时间", value: "time" }), u(N2, { label: "百分比", value: "percent" }), u(N2, { label: "自定义控件", value: "customControl" }), u(N2, { label: "超链接", value: "hyperlinks" }), u(N2, { label: "图标/标签", value: "icon" }), u(N2, { label: "附件控件", value: "files" }), u(N2, { label: "富文本", value: "richEditor" }), u(N2, { label: "脱敏组件", value: "secretInfo" }), u(N2, { label: "自定义方法", value: "custom" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "number" === e2.configure.props.format.type || "currency" === e2.configure.props.format.type || "percent" === e2.configure.props.format.type ? (n(), t(x2, { key: 0, label: "小数位数", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.decimalDigit, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.format.decimalDigit = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 1, label: "科学计数", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.scientific, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.format.scientific = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type && e2.configure.props.format.scientific ? (n(), t(x2, { key: 2, label: "计数位数", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.scientificNum, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.format.scientificNum = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 3, label: "千位分隔符", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.thousandsSeparator, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.format.thousandsSeparator = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 4, label: "数值符号", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.symbol, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.format.symbol = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "currency" === e2.configure.props.format.type ? (n(), t(x2, { key: 5, label: "货币符号", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.currencySymbol, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.format.currencySymbol = a3), placeholder: "Select" }, { default: i(() => [u(N2, { label: "$", value: "$" }), u(N2, { label: "¥", value: "¥" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "date" === e2.configure.props.format.type ? (n(), t(x2, { key: 6, label: "日期类型", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.dataType, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.format.dataType = a3), placeholder: "Select" }, { default: i(() => [u(N2, { label: "yyyy-m-d", value: "yyyy-m-d" }), u(N2, { label: "yyyy-m-d hh:mm:ss", value: "yyyy-m-d hh:mm:ss" }), u(N2, { label: "yyyy-m", value: "yyyy-m" }), u(N2, { label: "m-d", value: "m-d" }), u(N2, { label: "yyyy", value: "yyyy" }), u(N2, { label: "yyyy年m月d日", value: "yyyy年m月d日" }), u(N2, { label: "yyyy年m月d日hh时mm分ss秒", value: "yyyy年m月d日hh时mm分ss秒" }), u(N2, { label: "yyyy年m月", value: "yyyy年m月" }), u(N2, { label: "m月d日", value: "m月d日" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "time" === e2.configure.props.format.type ? (n(), t(x2, { key: 7, label: "时间类型", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.timeType, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.format.timeType = a3), placeholder: "Select" }, { default: i(() => [u(N2, { label: "HH:mm", value: "HH:mm" }), u(N2, { label: "HH:mm:ss", value: "HH:mm:ss" }), u(N2, { label: "HH时mm分", value: "HH时mm分" }), u(N2, { label: "HH时mm分ss秒", value: "HH时mm分ss秒" }), u(N2, { label: "hh:mm", value: "hh:mm" }), u(N2, { label: "hh:mm:ss", value: "hh:mm:ss" }), u(N2, { label: "hh时mm分", value: "hh时mm分" }), u(N2, { label: "hh时mm分ss秒", value: "hh时mm分ss秒" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "customControl" === e2.configure.props.format.type ? (n(), t(x2, { key: 8, label: "自定义控件", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.format.customControl = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "hyperlinks" === e2.configure.props.format.type ? (n(), t(j, { key: 9, pageDesign: e2.pageDesign, linkPage: e2.configure.props.linkPage, "onUpdate:linkPage": l2[26] || (l2[26] = (a3) => e2.configure.props.linkPage = a3), tableConfigure: e2.tableConfigure, isDialog: false }, null, 8, ["pageDesign", "linkPage", "tableConfigure"])) : r("", true), "icon" === e2.configure.props.format.type ? (n(), t(L, { key: 10, setting: e2.configure.props.format }, null, 8, ["setting"])) : r("", true), "custom" === e2.configure.props.format.type ? (n(), t(x2, { key: 11, label: "自定义方法", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.format.customControl = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 12, label: "是否多选", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.multiple, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.format.multiple = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 13, label: "文件类型", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.accept, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.format.accept = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 14, label: "文件限制(M)", class: "amb-design-attr-item" }, { default: i(() => [u(W2, { modelValue: e2.configure.props.format.limitFileSize, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.format.limitFileSize = a3), min: 1 }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type && e2.configure.props.format.multiple ? (n(), t(x2, { key: 15, label: "选择数据表" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.childAnnexDataTableCode, "onUpdate:modelValue": l2[31] || (l2[31] = (a3) => e2.configure.props.format.childAnnexDataTableCode = a3), onClick: a2.openSelectDataTable, clearable: "" }, { append: i(() => [u(Q2, { icon: p(V), onClick: a2.openSelectDataTable }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "onClick"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 16, label: "展示名字段", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.showName, "onUpdate:prop": l2[32] || (l2[32] = (a3) => e2.configure.props.format.showName = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 17, label: "服务器字段", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.serverName, "onUpdate:prop": l2[33] || (l2[33] = (a3) => e2.configure.props.format.serverName = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : r("", true)])]), _: 1 })), u(I2, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", $, [u(x2, { label: "固定列", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.listColumnFixed, "onUpdate:modelValue": l2[34] || (l2[34] = (a3) => e2.configure.props.base.listColumnFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "false" }, { default: i(() => l2[51] || (l2[51] = [m("否")])), _: 1 }), u(U2, { value: "left" }, { default: i(() => l2[52] || (l2[52] = [m("居左")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[53] || (l2[53] = [m("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 0, label: "是否排序", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.sortable, "onUpdate:modelValue": l2[35] || (l2[35] = (a3) => e2.configure.props.base.sortable = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[54] || (l2[54] = [m("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[55] || (l2[55] = [m("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), u(x2, { label: "列宽", class: "amb-design-attr-item" }, { default: i(() => [u(W2, { style: { width: "100%" }, modelValue: e2.configure.props.base.columnWidth, "onUpdate:modelValue": l2[36] || (l2[36] = (a3) => e2.configure.props.base.columnWidth = a3), precision: 1 }, null, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[37] || (l2[37] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[56] || (l2[56] = [m("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[57] || (l2[57] = [m("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[58] || (l2[58] = [m("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "内容对齐", class: "amb-design-attr-item-linefeed-two" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[38] || (l2[38] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[59] || (l2[59] = [m("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[60] || (l2[60] = [m("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[61] || (l2[61] = [m("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), !Z.value && e2.configure.props.editLine.editable ? (n(), t(I2, { key: 3, title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", G, [u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": l2[39] || (l2[39] = (a3) => e2.configure.props.verification.required = a3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), u(K2, { modelValue: e2.configure.props.verification.type, "onUpdate:modelValue": l2[40] || (l2[40] = (a3) => e2.configure.props.verification.type = a3) }, { default: i(() => [u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "整形", value: "int" }), u(J2, { label: "数字", value: "number" }), u(J2, { label: "布尔", value: "boolean" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "字符串", value: "text" }), u(J2, { label: "邮件", value: "mail" }), u(J2, { label: "网址", value: "ip" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "单精度", value: "float" }), u(J2, { label: "十六进制", value: "hex" })]), _: 1 })]), _: 1 }, 8, ["modelValue"]), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(Y2, { span: 8 }, { default: i(() => [u(J2, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": l2[41] || (l2[41] = (a3) => e2.configure.props.verification.verifyRegex = a3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), u(Y2, { span: 14 }, { default: i(() => [u(D2, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": l2[42] || (l2[42] = (a3) => e2.configure.props.verification.regex = a3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(Y2, { span: 8 }, { default: i(() => [u(J2, { label: "自定义", value: "custom" })]), _: 1 }), u(Y2, { span: 14 }, { default: i(() => [u(Q2, null, { default: i(() => l2[62] || (l2[62] = [m("自定义逻辑")])), _: 1 }), u(Q2, { icon: p(V), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })) : r("", true), Z.value ? r("", true) : (n(), t(I2, { key: 4, title: "用户自定义", name: "userDefined", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", z, [u(x2, { label: "可自定义", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.defined, "onUpdate:modelValue": l2[43] || (l2[43] = (a3) => e2.configure.props.definition.defined = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[63] || (l2[63] = [m("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[64] || (l2[64] = [m("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义导出", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedExport, "onUpdate:modelValue": l2[44] || (l2[44] = (a3) => e2.configure.props.definition.definedExport = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[65] || (l2[65] = [m("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[66] || (l2[66] = [m("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义合并", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedMerge, "onUpdate:modelValue": l2[45] || (l2[45] = (a3) => e2.configure.props.definition.definedMerge = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[67] || (l2[67] = [m("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[68] || (l2[68] = [m("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义位置", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedPosition, "onUpdate:modelValue": l2[46] || (l2[46] = (a3) => e2.configure.props.definition.definedPosition = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[69] || (l2[69] = [m("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[70] || (l2[70] = [m("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义冻结", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedFixed, "onUpdate:modelValue": l2[47] || (l2[47] = (a3) => e2.configure.props.definition.definedFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[71] || (l2[71] = [m("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[72] || (l2[72] = [m("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })), oe.value ? (n(), t(C, { key: 5, querySetting: e2.configure.props.querySetting, onAdd: ne, onClose: te }, null, 8, ["querySetting"])) : r("", true), u(w, { ref_key: "selectTableDialog", ref: X, onSelectTable: ae, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
93
|
+
function me(e3) {
|
|
94
|
+
fe(R2.tableConfigure.props.groupHeaders);
|
|
95
|
+
}
|
|
96
|
+
function de(e3) {
|
|
97
|
+
fe(R2.tableConfigure.props.groupHeaders);
|
|
98
|
+
}
|
|
99
|
+
function fe(e3) {
|
|
100
|
+
if (R2.tableConfigure.props.base.isEnableGroupHeader) {
|
|
101
|
+
e3.forEach((e4) => {
|
|
102
|
+
});
|
|
103
|
+
for (let a2 = 0; a2 < e3.length; a2++) {
|
|
104
|
+
const l2 = e3[a2];
|
|
105
|
+
if (l2.columnUuid === R2.configure.uuid) {
|
|
106
|
+
l2.titleText = R2.configure.props.base.name, l2.prop = R2.configure.props.base.prop;
|
|
107
|
+
break;
|
|
108
|
+
}
|
|
109
|
+
l2.children && l2.children.length > 0 && fe(l2.children);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
return (a2, l2) => {
|
|
114
|
+
const D2 = o("el-input"), x2 = o("el-form-item"), U2 = o("el-radio"), k2 = o("el-radio-group"), S2 = o("el-switch"), H2 = o("el-option"), F2 = o("el-select"), R3 = o("el-icon"), I2 = o("el-collapse-item"), W2 = o("el-input-number"), Q2 = o("el-button"), J2 = o("el-checkbox"), K2 = o("el-checkbox-group"), Y2 = o("el-col"), ee2 = o("el-collapse"), le2 = o("el-form");
|
|
115
|
+
return n(), t(le2, { "label-width": "80px", size: "small" }, { default: i(() => [u(ee2, { modelValue: B.value, "onUpdate:modelValue": l2[48] || (l2[48] = (e3) => B.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [u(I2, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", E, [u(x2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: i(() => [u(T, { showDynamicColumn: true, showPlaceholder: true, prop: e2.configure.props.base.prop, "onUpdate:prop": l2[1] || (l2[1] = (a3) => e2.configure.props.base.prop = a3), propType: e2.configure.props.base.propType, "onUpdate:propType": l2[2] || (l2[2] = (a3) => e2.configure.props.base.propType = a3), tableConfigure: e2.tableConfigure, onChange: de }, null, 8, ["prop", "propType", "tableConfigure"])]), _: 1 })), u(x2, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [u(N, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.name = a3), onChange: me, disabled: "$index" === e2.configure.props.base.prop || "$selection" === e2.configure.props.base.prop }, null, 8, ["modelValue", "disabled"])]), _: 1 }), u(x2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: i(() => [u(q, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), u(x2, { label: "显示顺序", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.base.displayOrder, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.displayOrder = a3), modelModifiers: { number: true }, onBlur: pe, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 1, label: "是否显示 ", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.visible, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.visible = a3), class: "ml-4", onChange: re }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[49] || (l2[49] = [p("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[50] || (l2[50] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 2, label: "是否导出", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.exportable, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.exportable = a3) }, null, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 3, label: "查询设置", class: "amb-design-attr-item" }, { default: i(() => [s("div", P, [u(F2, { modelValue: e2.configure.props.base.querySettingName, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.querySettingName = a3) }, { default: i(() => [u(H2, { label: "不查询", value: "no" }), u(H2, { label: "普通查询", value: "normal" }), u(H2, { label: "高级查询", value: "advanced" })]), _: 1 }, 8, ["modelValue"]), "normal" === e2.configure.props.base.querySettingName || "advanced" === e2.configure.props.base.querySettingName ? (n(), t(R3, { key: 0, style: { "margin-left": "10px" }, onClick: l2[8] || (l2[8] = (e3) => oe.value = true) }, { default: i(() => [u(m(y))]), _: 1 })) : r("", true)])]), _: 1 })), Z.value || "normal" !== e2.configure.props.base.querySettingName && "advanced" !== e2.configure.props.base.querySettingName || "STRING" !== e2.configure.props.base.propType ? r("", true) : (n(), t(x2, { key: 4, label: "匹配方式", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.base.queryMatching, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.queryMatching = a3), clearable: "" }, { default: i(() => [u(H2, { label: "全匹配", value: "all" }), u(H2, { label: "左匹配", value: "left" }), u(H2, { label: "右匹配", value: "right" }), u(H2, { label: "精确查询", value: "exactQuery" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 5, label: "是否合计", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 6, label: "是否筛选", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.filterable, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.filterable = a3) }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 }), Z.value || "dynamicColumnSelect" == e2.configure.props.base.prop ? r("", true) : (n(), t(_, { key: 0, configure: e2.configure, isTable: true, isDynamicColumn: "dynamicColumnSelect" === e2.configure.props.base.prop, remote: true }, null, 8, ["configure", "isDynamicColumn"])), u(M, { operationColumn: Z.value, configure: e2.configure, tableConfigure: e2.tableConfigure, pageDesign: e2.pageDesign }, null, 8, ["operationColumn", "configure", "tableConfigure", "pageDesign"]), Z.value ? r("", true) : (n(), t(I2, { key: 1, title: "行编辑设置", name: "editLine", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", A, [u(x2, { label: "是否编辑", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { onChange: ie, modelValue: e2.configure.props.editLine.editable, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.editLine.editable = a3) }, null, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "默认值", class: "amb-design-attr-item" }, { default: i(() => [u(h, { modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": se }, null, 8, ["modelValue"])]), _: 1 }), e2.configure.props.editLine.editable ? (n(), t(x2, { key: 0, label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.name = a3), placeholder: "请选择", onChange: ue }, { default: i(() => [(n(true), f(c, null, g(m(v)(), (e3) => (n(), t(H2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), d(u(x2, { label: "文件uuid", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.fileUuid, "onUpdate:prop": l2[14] || (l2[14] = (a3) => e2.configure.props.format.fileUuid = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "file-upload" === e2.configure.name]]), d(u(x2, { label: "自定义控件名称", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.base.customComponent, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.customComponent = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "custom" === e2.configure.name]])])]), _: 1 })), Z.value ? r("", true) : (n(), t(I2, { key: 2, title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", O, [u(x2, { label: "格式化分类", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.type, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.format.type = a3), clearable: "", placeholder: "请选择" }, { default: i(() => [u(H2, { label: "数值", value: "number" }), u(H2, { label: "货币", value: "currency" }), u(H2, { label: "日期", value: "date" }), u(H2, { label: "时间", value: "time" }), u(H2, { label: "百分比", value: "percent" }), u(H2, { label: "自定义控件", value: "customControl" }), u(H2, { label: "超链接", value: "hyperlinks" }), u(H2, { label: "图标/标签", value: "icon" }), u(H2, { label: "附件控件", value: "files" }), u(H2, { label: "富文本", value: "richEditor" }), u(H2, { label: "脱敏组件", value: "secretInfo" }), u(H2, { label: "自定义方法", value: "custom" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "number" === e2.configure.props.format.type || "currency" === e2.configure.props.format.type || "percent" === e2.configure.props.format.type ? (n(), t(x2, { key: 0, label: "小数位数", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.decimalDigit, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.format.decimalDigit = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 1, label: "科学计数", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.scientific, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.format.scientific = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type && e2.configure.props.format.scientific ? (n(), t(x2, { key: 2, label: "计数位数", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.scientificNum, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.format.scientificNum = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 3, label: "千位分隔符", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.thousandsSeparator, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.format.thousandsSeparator = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 4, label: "数值符号", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.symbol, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.format.symbol = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "currency" === e2.configure.props.format.type ? (n(), t(x2, { key: 5, label: "货币符号", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.currencySymbol, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.format.currencySymbol = a3), placeholder: "Select" }, { default: i(() => [u(H2, { label: "$", value: "$" }), u(H2, { label: "¥", value: "¥" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "date" === e2.configure.props.format.type ? (n(), t(x2, { key: 6, label: "日期类型", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.dataType, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.format.dataType = a3), placeholder: "Select" }, { default: i(() => [u(H2, { label: "yyyy-m-d", value: "yyyy-m-d" }), u(H2, { label: "yyyy-m-d hh:mm:ss", value: "yyyy-m-d hh:mm:ss" }), u(H2, { label: "yyyy-m", value: "yyyy-m" }), u(H2, { label: "m-d", value: "m-d" }), u(H2, { label: "yyyy", value: "yyyy" }), u(H2, { label: "yyyy年m月d日", value: "yyyy年m月d日" }), u(H2, { label: "yyyy年m月d日hh时mm分ss秒", value: "yyyy年m月d日hh时mm分ss秒" }), u(H2, { label: "yyyy年m月", value: "yyyy年m月" }), u(H2, { label: "m月d日", value: "m月d日" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "time" === e2.configure.props.format.type ? (n(), t(x2, { key: 7, label: "时间类型", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.timeType, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.format.timeType = a3), placeholder: "Select" }, { default: i(() => [u(H2, { label: "HH:mm", value: "HH:mm" }), u(H2, { label: "HH:mm:ss", value: "HH:mm:ss" }), u(H2, { label: "HH时mm分", value: "HH时mm分" }), u(H2, { label: "HH时mm分ss秒", value: "HH时mm分ss秒" }), u(H2, { label: "hh:mm", value: "hh:mm" }), u(H2, { label: "hh:mm:ss", value: "hh:mm:ss" }), u(H2, { label: "hh时mm分", value: "hh时mm分" }), u(H2, { label: "hh时mm分ss秒", value: "hh时mm分ss秒" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "customControl" === e2.configure.props.format.type ? (n(), t(x2, { key: 8, label: "自定义控件", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.format.customControl = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "hyperlinks" === e2.configure.props.format.type ? (n(), t(j, { key: 9, pageDesign: e2.pageDesign, linkPage: e2.configure.props.linkPage, "onUpdate:linkPage": l2[26] || (l2[26] = (a3) => e2.configure.props.linkPage = a3), tableConfigure: e2.tableConfigure, isDialog: false }, null, 8, ["pageDesign", "linkPage", "tableConfigure"])) : r("", true), "icon" === e2.configure.props.format.type ? (n(), t(L, { key: 10, setting: e2.configure.props.format }, null, 8, ["setting"])) : r("", true), "custom" === e2.configure.props.format.type ? (n(), t(x2, { key: 11, label: "自定义方法", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.format.customControl = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 12, label: "是否多选", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.multiple, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.format.multiple = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 13, label: "文件类型", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.accept, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.format.accept = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 14, label: "文件限制(M)", class: "amb-design-attr-item" }, { default: i(() => [u(W2, { modelValue: e2.configure.props.format.limitFileSize, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.format.limitFileSize = a3), min: 1 }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type && e2.configure.props.format.multiple ? (n(), t(x2, { key: 15, label: "选择数据表" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.childAnnexDataTableCode, "onUpdate:modelValue": l2[31] || (l2[31] = (a3) => e2.configure.props.format.childAnnexDataTableCode = a3), onClick: a2.openSelectDataTable, clearable: "" }, { append: i(() => [u(Q2, { type: "default", icon: m(V), onClick: a2.openSelectDataTable }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "onClick"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 16, label: "展示名字段", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.showName, "onUpdate:prop": l2[32] || (l2[32] = (a3) => e2.configure.props.format.showName = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 17, label: "服务器字段", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.serverName, "onUpdate:prop": l2[33] || (l2[33] = (a3) => e2.configure.props.format.serverName = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : r("", true)])]), _: 1 })), u(I2, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", $, [u(x2, { label: "固定列", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.listColumnFixed, "onUpdate:modelValue": l2[34] || (l2[34] = (a3) => e2.configure.props.base.listColumnFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[51] || (l2[51] = [p("否")])), _: 1 }), u(U2, { value: "left" }, { default: i(() => l2[52] || (l2[52] = [p("居左")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[53] || (l2[53] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 0, label: "是否排序", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.sortable, "onUpdate:modelValue": l2[35] || (l2[35] = (a3) => e2.configure.props.base.sortable = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[54] || (l2[54] = [p("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[55] || (l2[55] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), u(x2, { label: "列宽", class: "amb-design-attr-item" }, { default: i(() => [u(W2, { style: { width: "100%" }, modelValue: e2.configure.props.base.columnWidth, "onUpdate:modelValue": l2[36] || (l2[36] = (a3) => e2.configure.props.base.columnWidth = a3), precision: 1 }, null, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[37] || (l2[37] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[56] || (l2[56] = [p("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[57] || (l2[57] = [p("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[58] || (l2[58] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "内容对齐", class: "amb-design-attr-item-linefeed-two" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[38] || (l2[38] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[59] || (l2[59] = [p("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[60] || (l2[60] = [p("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[61] || (l2[61] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), !Z.value && e2.configure.props.editLine.editable ? (n(), t(I2, { key: 3, title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", G, [u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": l2[39] || (l2[39] = (a3) => e2.configure.props.verification.required = a3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), u(K2, { modelValue: e2.configure.props.verification.type, "onUpdate:modelValue": l2[40] || (l2[40] = (a3) => e2.configure.props.verification.type = a3) }, { default: i(() => [u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "整形", value: "int" }), u(J2, { label: "数字", value: "number" }), u(J2, { label: "布尔", value: "boolean" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "字符串", value: "text" }), u(J2, { label: "邮件", value: "mail" }), u(J2, { label: "网址", value: "ip" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "单精度", value: "float" }), u(J2, { label: "十六进制", value: "hex" })]), _: 1 })]), _: 1 }, 8, ["modelValue"]), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(Y2, { span: 8 }, { default: i(() => [u(J2, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": l2[41] || (l2[41] = (a3) => e2.configure.props.verification.verifyRegex = a3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), u(Y2, { span: 14 }, { default: i(() => [u(D2, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": l2[42] || (l2[42] = (a3) => e2.configure.props.verification.regex = a3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(Y2, { span: 8 }, { default: i(() => [u(J2, { label: "自定义", value: "custom" })]), _: 1 }), u(Y2, { span: 14 }, { default: i(() => [u(Q2, { type: "default" }, { default: i(() => l2[62] || (l2[62] = [p("自定义逻辑")])), _: 1 }), u(Q2, { type: "default", icon: m(V), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })) : r("", true), Z.value ? r("", true) : (n(), t(I2, { key: 4, title: "用户自定义", name: "userDefined", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", z, [u(x2, { label: "可自定义", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.defined, "onUpdate:modelValue": l2[43] || (l2[43] = (a3) => e2.configure.props.definition.defined = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[63] || (l2[63] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[64] || (l2[64] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义导出", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedExport, "onUpdate:modelValue": l2[44] || (l2[44] = (a3) => e2.configure.props.definition.definedExport = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[65] || (l2[65] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[66] || (l2[66] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义合并", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedMerge, "onUpdate:modelValue": l2[45] || (l2[45] = (a3) => e2.configure.props.definition.definedMerge = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[67] || (l2[67] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[68] || (l2[68] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义位置", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedPosition, "onUpdate:modelValue": l2[46] || (l2[46] = (a3) => e2.configure.props.definition.definedPosition = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[69] || (l2[69] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[70] || (l2[70] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义冻结", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedFixed, "onUpdate:modelValue": l2[47] || (l2[47] = (a3) => e2.configure.props.definition.definedFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[71] || (l2[71] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[72] || (l2[72] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })), oe.value ? (n(), t(C, { key: 5, querySetting: e2.configure.props.querySetting, onAdd: ne, onClose: te }, null, 8, ["querySetting"])) : r("", true), u(w, { ref_key: "selectTableDialog", ref: X, onSelectTable: ae, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
96
116
|
};
|
|
97
117
|
} });
|
|
98
118
|
export {
|
package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js
CHANGED
|
@@ -81,9 +81,9 @@ const U = { style: { padding: "8px 0px 0px 0px" } }, N = ["onClick"], j = e({ __
|
|
|
81
81
|
var _a, _b, _c, _d;
|
|
82
82
|
return [d("div", U, [r(h2, { label: "数据来源", class: "amb-design-attr-item" }, { default: s(() => [r(_2, { modelValue: e2.configure.props.dynamicColumnData.dataSources, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.props.dynamicColumnData.dataSources = a3), onChange: I }, { default: s(() => [r(v2, { value: "dataTable" }, { default: s(() => l2[21] || (l2[21] = [p("数据表/视图")])), _: 1 }), r(v2, { value: "sql" }, { default: s(() => l2[22] || (l2[22] = [p("SQL语句")])), _: 1 }), r(v2, { value: "optionGroup" }, { default: s(() => l2[23] || (l2[23] = [p("选项组")])), _: 1 }), r(v2, { value: "bean" }, { default: s(() => l2[24] || (l2[24] = [p("bean名称")])), _: 1 }), r(v2, { value: "service" }, { default: s(() => l2[25] || (l2[25] = [p("服务")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "bean" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(h2, { key: 0, label: "bean名称", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.beanName, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.props.dynamicColumnData.beanName = a3) }, null, 8, ["modelValue"])]), _: 1 })) : m("", true), "service" === e2.configure.props.dynamicColumnData.dataSources && e2.configure.props.dynamicColumnData.service ? (t(), u(h2, { key: 1, label: "服务名", class: "amb-design-attr-item" }, { default: s(() => [r(V, { pageDesign: e2.pageDesign, rowObj: e2.configure.props.dynamicColumnData.service, onlyService: "", "onUpdate:modelValue": l2[2] || (l2[2] = (e3, a3, l3) => function(e4, a4, l4) {
|
|
83
83
|
j2.configure.props.dynamicColumnData.service.simpleCode = a4, j2.configure.props.dynamicColumnData.service.name = l4;
|
|
84
|
-
}(0, a3, l3)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 })) : m("", true), r(h2, { label: "监控字段", title: "监控主表字段", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.watchParentAttr, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.dynamicColumnData.watchParentAttr = a3) }, null, 8, ["modelValue"])]), _: 1 }), "dataTable" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(h2, { key: 2, label: "数据表视图", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.dataTableCode, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.dynamicColumnData.dataTableCode = a3), title: e2.configure.props.dynamicColumnData.dataTableCode, onClick: l2[7] || (l2[7] = (e3) => B("masterTable")), clearable: "", readonly: "true" }, { append: s(() => [r(q2, { icon: g(b), onClick: l2[4] || (l2[4] = (e3) => B("masterTable")), size: "small" }, null, 8, ["icon"]), r(q2, { icon: g(D), onClick: l2[5] || (l2[5] = (e3) => M("masterTable")), title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 })) : m("", true), "dataTable" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(h2, { key: 3, label: "排序", class: "amb-design-attr-item" }, { default: s(() => [r(q2, { type: "primary", onClick: W }, { default: s(() => l2[26] || (l2[26] = [p("添加")])), _: 1 }), r(q2, { onClick: X }, { default: s(() => l2[27] || (l2[27] = [p("删除")])), _: 1 }), (t(true), n(i, null, f(e2.configure.props.dynamicColumnData.dataTableSortTable, (e3, a3) => (t(), n("div", { key: a3, onClick: (e4) => function(e5) {
|
|
84
|
+
}(0, a3, l3)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 })) : m("", true), r(h2, { label: "监控字段", title: "监控主表字段", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.watchParentAttr, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.dynamicColumnData.watchParentAttr = a3) }, null, 8, ["modelValue"])]), _: 1 }), "dataTable" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(h2, { key: 2, label: "数据表视图", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.dataTableCode, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.dynamicColumnData.dataTableCode = a3), title: e2.configure.props.dynamicColumnData.dataTableCode, onClick: l2[7] || (l2[7] = (e3) => B("masterTable")), clearable: "", readonly: "true" }, { append: s(() => [r(q2, { type: "default", icon: g(b), onClick: l2[4] || (l2[4] = (e3) => B("masterTable")), size: "small" }, null, 8, ["icon"]), r(q2, { type: "default", icon: g(D), onClick: l2[5] || (l2[5] = (e3) => M("masterTable")), title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 })) : m("", true), "dataTable" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(h2, { key: 3, label: "排序", class: "amb-design-attr-item" }, { default: s(() => [r(q2, { type: "primary", onClick: W }, { default: s(() => l2[26] || (l2[26] = [p("添加")])), _: 1 }), r(q2, { type: "default", onClick: X }, { default: s(() => l2[27] || (l2[27] = [p("删除")])), _: 1 }), (t(true), n(i, null, f(e2.configure.props.dynamicColumnData.dataTableSortTable, (e3, a3) => (t(), n("div", { key: a3, onClick: (e4) => function(e5) {
|
|
85
85
|
O.value = e5;
|
|
86
|
-
}(a3), style: { "margin-top": "6px" }, class: y(O.value === a3 ? "amb-design-attr-item-inline seleteSort" : "amb-design-attr-item-inline") }, [r(H2, { modelValue: e3.sortColumn, "onUpdate:modelValue": (a4) => e3.sortColumn = a4, filterable: "", clearable: "", placeholder: "请选择" }, { default: s(() => [(t(true), n(i, null, f(R.value, (e4, a4) => (t(), u(E2, { key: a4, label: e4.alias + "(" + e4.dbColumnName + ")", value: e4.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"]), r(H2, { modelValue: e3.sortOrder, "onUpdate:modelValue": (a4) => e3.sortOrder = a4, style: { "margin-left": "10px" }, placeholder: "请选择" }, { default: s(() => [r(E2, { label: "升序", value: "asc" }), r(E2, { label: "降序", value: "desc" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])], 10, N))), 128))]), _: 1 })) : m("", true), c(r(h2, { label: "查询条件", class: "amb-design-attr-item" }, { default: s(() => [r(S, { title: "查询条件", list: e2.configure.props.dynamicColumnData.searchcondition, ref_key: "queryConditionRef", ref: w }, null, 8, ["list"])]), _: 1 }, 512), [[C, "dataTable" === e2.configure.props.dynamicColumnData.dataSources]]), c(r(h2, { label: "SQL", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.sql, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.dynamicColumnData.sql = a3), rows: 2, type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[C, "sql" === e2.configure.props.dynamicColumnData.dataSources]]), c(r(h2, { label: "选项组名", class: "amb-design-attr-item" }, { default: s(() => [r(H2, { modelValue: e2.configure.props.dynamicColumnData.optionGroupCode, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.dynamicColumnData.optionGroupCode = a3), filterable: "", remote: "", "reserve-keyword": "", clearable: "", placeholder: "请选择", "remote-show-suffix": "", "remote-method": Q, loading: J.value }, { default: s(() => [(t(true), n(i, null, f(K.value, (e3) => (t(), u(E2, { key: e3.code, label: e3.name + "(" + e3.code + ")", value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "loading"])]), _: 1 }, 512), [[C, "optionGroup" === e2.configure.props.dynamicColumnData.dataSources]]), r(le, null, { default: s(() => l2[28] || (l2[28] = [d("span", null, "列模型设置", -1)])), _: 1 }), r(h2, { label: "数据表", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.settingDataTableCode, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.dynamicColumnData.settingDataTableCode = a3), title: e2.configure.props.dynamicColumnData.settingDataTableCode, clearable: "", readonly: "true" }, { append: s(() => [r(q2, { icon: g(b), onClick: l2[10] || (l2[10] = (e3) => B("sublist")), size: "small" }, null, 8, ["icon"]), r(q2, { icon: g(D), onClick: l2[11] || (l2[11] = (e3) => M("sublist")), title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }), r(h2, { label: "关联字段", title: "与主表关联字段", class: "amb-design-attr-item" }, { default: s(() => [r(H2, { modelValue: e2.configure.props.dynamicColumnData.settingRelationColumn, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.dynamicColumnData.settingRelationColumn = a3), clearable: "", filterable: "" }, { default: s(() => [(t(true), n(i, null, f(g(z), (e3, a3) => (t(), u(E2, { key: a3, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(h2, { label: "查询条件", title: "查询附加条件", class: "amb-design-attr-item" }, { default: s(() => [r(S, { title: "查询条件", list: e2.configure.props.dynamicColumnData.selectCondition, ref_key: "selectConditionRef", ref: A }, null, 8, ["list"])]), _: 1 }), r(h2, { label: "更新条件", title: "更新附加条件", class: "amb-design-attr-item" }, { default: s(() => [r(S, { title: "更新条件", list: e2.configure.props.dynamicColumnData.updateCondition, ref_key: "updateConditionRef", ref: L }, null, 8, ["list"])]), _: 1 }), r(h2, { label: "配置模型", title: "配置模型", class: "amb-design-attr-item" }, { default: s(() => [r(k, { configure: e2.configure, clolumnTableFields: g(z), modelTableFieldList: R.value }, null, 8, ["configure", "clolumnTableFields", "modelTableFieldList"])]), _: 1 }), r(h2, { label: "分组标题", title: "分组标题类型", class: "amb-design-attr-item" }, { default: s(() => [r(H2, { modelValue: e2.configure.props.dynamicColumnData.mergeFieldType, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.dynamicColumnData.mergeFieldType = a3), clearable: "" }, { default: s(() => [r(E2, { label: "不设置分组标题", value: "no" }), r(E2, { label: "合并为一组", value: "one" }), r(E2, { label: "分组字段", value: "more" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "one" === ((_a = e2.configure.props.dynamicColumnData) == null ? void 0 : _a.mergeFieldType) ? (t(), u(h2, { key: 4, label: "设置标题", title: "设置标题", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.mergeName, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.dynamicColumnData.mergeName = a3) }, null, 8, ["modelValue"])]), _: 1 })) : m("", true), "one" === ((_b = e2.configure.props.dynamicColumnData) == null ? void 0 : _b.mergeFieldType) ? (t(), u(h2, { key: 5, label: "标题国际化key", title: "国际化key", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.mergeNameI18nKey, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.dynamicColumnData.mergeNameI18nKey = a3) }, null, 8, ["modelValue"])]), _: 1 })) : m("", true), "more" === ((_c = e2.configure.props.dynamicColumnData) == null ? void 0 : _c.mergeFieldType) ? (t(), u(h2, { key: 6, label: "设置字段", title: "设置字段", class: "amb-design-attr-item" }, { default: s(() => ["dataTable" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(H2, { key: 0, modelValue: e2.configure.props.dynamicColumnData.mergeField, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.dynamicColumnData.mergeField = a3), filterable: "", clearable: "", placeholder: "请选择" }, { default: s(() => [(t(true), n(i, null, f(R.value, (e3, a3) => (t(), u(E2, { key: a3, label: e3.alias + "(" + e3.dbColumnName + ")", value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])) : "optionGroup" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(G2, { key: 1, disabled: true, modelValue: e2.configure.props.dynamicColumnData.mergeFieldLabelTemp, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.dynamicColumnData.mergeFieldLabelTemp = a3) }, null, 8, ["modelValue"])) : "sql" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(G2, { key: 2, modelValue: e2.configure.props.dynamicColumnData.mergeField, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.dynamicColumnData.mergeField = a3) }, null, 8, ["modelValue"])) : m("", true)]), _: 1 })) : m("", true), "more" === ((_d = e2.configure.props.dynamicColumnData) == null ? void 0 : _d.mergeFieldType) ? (t(), u(h2, { key: 7, label: "内容与标题对应字段", title: "内容与标题对应字段", class: "amb-design-attr-item" }, { default: s(() => [r(H2, { modelValue: e2.configure.props.dynamicColumnData.mergeTitleContentJoinField, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.dynamicColumnData.mergeTitleContentJoinField = a3), filterable: "", clearable: "", placeholder: "请选择" }, { default: s(() => [(t(true), n(i, null, f(g(z), (e3, a3) => (t(), u(E2, { key: a3, label: e3.alias + "(" + e3.dbColumnName + ")", value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : m("", true)])];
|
|
86
|
+
}(a3), style: { "margin-top": "6px" }, class: y(O.value === a3 ? "amb-design-attr-item-inline seleteSort" : "amb-design-attr-item-inline") }, [r(H2, { modelValue: e3.sortColumn, "onUpdate:modelValue": (a4) => e3.sortColumn = a4, filterable: "", clearable: "", placeholder: "请选择" }, { default: s(() => [(t(true), n(i, null, f(R.value, (e4, a4) => (t(), u(E2, { key: a4, label: e4.alias + "(" + e4.dbColumnName + ")", value: e4.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"]), r(H2, { modelValue: e3.sortOrder, "onUpdate:modelValue": (a4) => e3.sortOrder = a4, style: { "margin-left": "10px" }, placeholder: "请选择" }, { default: s(() => [r(E2, { label: "升序", value: "asc" }), r(E2, { label: "降序", value: "desc" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])], 10, N))), 128))]), _: 1 })) : m("", true), c(r(h2, { label: "查询条件", class: "amb-design-attr-item" }, { default: s(() => [r(S, { title: "查询条件", list: e2.configure.props.dynamicColumnData.searchcondition, ref_key: "queryConditionRef", ref: w }, null, 8, ["list"])]), _: 1 }, 512), [[C, "dataTable" === e2.configure.props.dynamicColumnData.dataSources]]), c(r(h2, { label: "SQL", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.sql, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.dynamicColumnData.sql = a3), rows: 2, type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[C, "sql" === e2.configure.props.dynamicColumnData.dataSources]]), c(r(h2, { label: "选项组名", class: "amb-design-attr-item" }, { default: s(() => [r(H2, { modelValue: e2.configure.props.dynamicColumnData.optionGroupCode, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.dynamicColumnData.optionGroupCode = a3), filterable: "", remote: "", "reserve-keyword": "", clearable: "", placeholder: "请选择", "remote-show-suffix": "", "remote-method": Q, loading: J.value }, { default: s(() => [(t(true), n(i, null, f(K.value, (e3) => (t(), u(E2, { key: e3.code, label: e3.name + "(" + e3.code + ")", value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "loading"])]), _: 1 }, 512), [[C, "optionGroup" === e2.configure.props.dynamicColumnData.dataSources]]), r(le, null, { default: s(() => l2[28] || (l2[28] = [d("span", null, "列模型设置", -1)])), _: 1 }), r(h2, { label: "数据表", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.settingDataTableCode, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.dynamicColumnData.settingDataTableCode = a3), title: e2.configure.props.dynamicColumnData.settingDataTableCode, clearable: "", readonly: "true" }, { append: s(() => [r(q2, { type: "default", icon: g(b), onClick: l2[10] || (l2[10] = (e3) => B("sublist")), size: "small" }, null, 8, ["icon"]), r(q2, { type: "default", icon: g(D), onClick: l2[11] || (l2[11] = (e3) => M("sublist")), title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }), r(h2, { label: "关联字段", title: "与主表关联字段", class: "amb-design-attr-item" }, { default: s(() => [r(H2, { modelValue: e2.configure.props.dynamicColumnData.settingRelationColumn, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.dynamicColumnData.settingRelationColumn = a3), clearable: "", filterable: "" }, { default: s(() => [(t(true), n(i, null, f(g(z), (e3, a3) => (t(), u(E2, { key: a3, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(h2, { label: "查询条件", title: "查询附加条件", class: "amb-design-attr-item" }, { default: s(() => [r(S, { title: "查询条件", list: e2.configure.props.dynamicColumnData.selectCondition, ref_key: "selectConditionRef", ref: A }, null, 8, ["list"])]), _: 1 }), r(h2, { label: "更新条件", title: "更新附加条件", class: "amb-design-attr-item" }, { default: s(() => [r(S, { title: "更新条件", list: e2.configure.props.dynamicColumnData.updateCondition, ref_key: "updateConditionRef", ref: L }, null, 8, ["list"])]), _: 1 }), r(h2, { label: "配置模型", title: "配置模型", class: "amb-design-attr-item" }, { default: s(() => [r(k, { configure: e2.configure, clolumnTableFields: g(z), modelTableFieldList: R.value }, null, 8, ["configure", "clolumnTableFields", "modelTableFieldList"])]), _: 1 }), r(h2, { label: "分组标题", title: "分组标题类型", class: "amb-design-attr-item" }, { default: s(() => [r(H2, { modelValue: e2.configure.props.dynamicColumnData.mergeFieldType, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.dynamicColumnData.mergeFieldType = a3), clearable: "" }, { default: s(() => [r(E2, { label: "不设置分组标题", value: "no" }), r(E2, { label: "合并为一组", value: "one" }), r(E2, { label: "分组字段", value: "more" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "one" === ((_a = e2.configure.props.dynamicColumnData) == null ? void 0 : _a.mergeFieldType) ? (t(), u(h2, { key: 4, label: "设置标题", title: "设置标题", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.mergeName, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.dynamicColumnData.mergeName = a3) }, null, 8, ["modelValue"])]), _: 1 })) : m("", true), "one" === ((_b = e2.configure.props.dynamicColumnData) == null ? void 0 : _b.mergeFieldType) ? (t(), u(h2, { key: 5, label: "标题国际化key", title: "国际化key", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.mergeNameI18nKey, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.dynamicColumnData.mergeNameI18nKey = a3) }, null, 8, ["modelValue"])]), _: 1 })) : m("", true), "more" === ((_c = e2.configure.props.dynamicColumnData) == null ? void 0 : _c.mergeFieldType) ? (t(), u(h2, { key: 6, label: "设置字段", title: "设置字段", class: "amb-design-attr-item" }, { default: s(() => ["dataTable" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(H2, { key: 0, modelValue: e2.configure.props.dynamicColumnData.mergeField, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.dynamicColumnData.mergeField = a3), filterable: "", clearable: "", placeholder: "请选择" }, { default: s(() => [(t(true), n(i, null, f(R.value, (e3, a3) => (t(), u(E2, { key: a3, label: e3.alias + "(" + e3.dbColumnName + ")", value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])) : "optionGroup" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(G2, { key: 1, disabled: true, modelValue: e2.configure.props.dynamicColumnData.mergeFieldLabelTemp, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.dynamicColumnData.mergeFieldLabelTemp = a3) }, null, 8, ["modelValue"])) : "sql" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(G2, { key: 2, modelValue: e2.configure.props.dynamicColumnData.mergeField, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.dynamicColumnData.mergeField = a3) }, null, 8, ["modelValue"])) : m("", true)]), _: 1 })) : m("", true), "more" === ((_d = e2.configure.props.dynamicColumnData) == null ? void 0 : _d.mergeFieldType) ? (t(), u(h2, { key: 7, label: "内容与标题对应字段", title: "内容与标题对应字段", class: "amb-design-attr-item" }, { default: s(() => [r(H2, { modelValue: e2.configure.props.dynamicColumnData.mergeTitleContentJoinField, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.dynamicColumnData.mergeTitleContentJoinField = a3), filterable: "", clearable: "", placeholder: "请选择" }, { default: s(() => [(t(true), n(i, null, f(g(z), (e3, a3) => (t(), u(E2, { key: a3, label: e3.alias + "(" + e3.dbColumnName + ")", value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : m("", true)])];
|
|
87
87
|
}), _: 1 })), r(T, { ref_key: "selectTableDialog", ref: x, onSelectTable: $, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"]), Y.value ? (t(), u(F, { key: 1, ref_key: "configurationRef", ref: Z, configValue: P.value, clolumnTableFields: g(z), onAdd: ae, onClose: ee }, null, 8, ["configValue", "clolumnTableFields"])) : m("", true)], 64);
|
|
88
88
|
};
|
|
89
89
|
} });
|