super-page-designer 2.3.9-design1 → 2.3.9-sit1-design2
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/common-option.js +5 -0
- package/dist/es/components/design/utils/form-design-util.js +13 -11
- package/dist/es/components/design/utils/page-event-util.js +0 -1
- package/dist/es/components/design/utils/page-i18n-util.js +5 -6
- package/dist/es/components/design/utils/page-table-util.js +35 -31
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +16 -16
- package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr-base.vue.js +4 -5
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +17 -17
- package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +0 -3
- package/dist/es/components/design/views/assemblys/common/common-style-background.vue.js +2 -3
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue2.js → common-variable-bind.vue3.js} +13 -13
- package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr.vue2.js +2 -3
- package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +22 -22
- package/dist/es/components/design/views/assemblys/data/bar-code/barcode-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +10 -10
- package/dist/es/components/design/views/assemblys/data/component/import-header.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +75 -73
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +26 -2
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +2 -26
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +42 -41
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/form/label/label-design.vue2.js +11 -11
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-design.vue2.js +13 -14
- package/dist/es/components/design/views/assemblys/object-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/object-design.vue3.js +49 -48
- 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/page-attr-advanced.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/picture-flow/pictureflow-design.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/workflow-node/workflownode-design.vue2.js +3 -3
- package/dist/es/components/design/views/design/page-design.vue2.js +1 -1
- package/dist/es/components/design/views/design/page-event/config.vue3.js +17 -18
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +0 -1
- package/dist/es/components/design/views/design/view/page-switch.vue2.js +2 -3
- package/dist/es/stores/undo-redo-store.js +1 -1
- package/dist/es/style.css +2 -2
- package/package.json +4 -4
|
@@ -1,123 +1,125 @@
|
|
|
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
|
|
2
|
-
import { Setting as y, Search as
|
|
3
|
-
import { getListComponentOptions 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 r, createCommentVNode as u, 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
|
+
import { Setting as y, Search as V } from "@element-plus/icons-vue";
|
|
3
|
+
import { getListComponentOptions as v } from "../../../../utils/assemblys-config.js";
|
|
4
4
|
import C from "../component/querySetting.vue.js";
|
|
5
5
|
import _ from "../../form/common/data-origin.vue.js";
|
|
6
|
-
import
|
|
7
|
-
import { setGroupHeaderDataDisplayOrder as
|
|
8
|
-
import { getUuidv4 as
|
|
9
|
-
import
|
|
6
|
+
import D from "../../common/common-variable-bind.vue.js";
|
|
7
|
+
import { setGroupHeaderDataDisplayOrder as h, deleteGroupHeaderByColumnUuid as x } from "../../../../utils/data-table-util.js";
|
|
8
|
+
import { getUuidv4 as k } from "../../../../utils/common-util.js";
|
|
9
|
+
import U 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
|
|
13
|
+
import S from "../../form/common/parameter-table.vue.js";
|
|
14
14
|
import { usePageContextStore as N } from "../../../../../../stores/page-store.js";
|
|
15
|
+
import { queryTableFields as j, tableResetConfigIndo as q } from "../../../../utils/page-table-util.js";
|
|
15
16
|
import "element-plus";
|
|
16
17
|
/* empty css */
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
import w from "../../common/common-i18n-key-input.vue.js";
|
|
19
|
+
import { dateFormatOptions as F, timeFormatOptions as L } from "../../../../utils/common-option.js";
|
|
20
|
+
import M from "../../form/common/hyperlink-mult-config.vue.js";
|
|
21
|
+
import E from "../../common/common-function-code.vue.js";
|
|
22
|
+
import H from "../../common/common-select-table.vue.js";
|
|
23
|
+
import P from "../component/formatting-icon-label.vue.js";
|
|
24
|
+
import A from "./tablecolumn-dynamic-column.vue.js";
|
|
25
|
+
const O = { style: { padding: "8px 0px 0px 0px" } }, $ = { class: "amb-design-attr-item-inline" }, G = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, R = { style: { padding: "8px 0px 0px 0px" } }, B = { style: { padding: "8px 0px 0px 0px" } }, I = { style: { padding: "8px 0px 0px 0px" } }, W = e({ __name: "tablecolumn-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, tableConfigure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
|
|
26
|
+
const W2 = e2, Q = a(["base", "editLine", "formatting", "appearance", "verification", "userDefined", "dataOrigin", "columnModel"]), J = a(null), K = a(null), X = a(null), Y = a([]), Z = W2.tableConfigure.props.groupHeaders, ee = a(null), ae = N(), le = a(false);
|
|
25
27
|
l(() => {
|
|
26
28
|
var _a;
|
|
27
|
-
"dynamicColumnSelect" === ((_a =
|
|
29
|
+
"dynamicColumnSelect" === ((_a = W2.configure.props.base) == null ? void 0 : _a.prop) && W2.configure.props.dynamicColumnData && W2.configure.props.dynamicColumnData.tableName && (oe.value, te({ name: W2.configure.props.dynamicColumnData.tableName, alias: W2.configure.props.dynamicColumnData.tableAlias }));
|
|
28
30
|
}), function() {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
W2.configure.props.verification.type && ("text" === W2.configure.props.verification.type && (W2.configure.props.verification.typ = "string"), "int" === W2.configure.props.verification.type && (W2.configure.props.verification.typ = "integer"));
|
|
32
|
+
W2.configure.props.format || (W2.configure.props.format = {});
|
|
33
|
+
W2.configure.props.base && "operation" === W2.configure.props.base.prop ? le.value = true : le.value = false;
|
|
34
|
+
W2.configure.props.dynamicColumnData || (W2.configure.props.dynamicColumnData = {});
|
|
35
|
+
W2.configure.props.dynamicColumnData.selectCondition || (W2.configure.props.dynamicColumnData.selectCondition = []);
|
|
36
|
+
W2.configure.props.dynamicColumnData.updateCondition || (W2.configure.props.dynamicColumnData.updateCondition = []);
|
|
37
|
+
W2.configure.props.dynamicColumnData.columnModelTable || (W2.configure.props.dynamicColumnData.columnModelTable = []);
|
|
36
38
|
}();
|
|
37
|
-
const
|
|
38
|
-
function
|
|
39
|
-
if ("masterTable" ==
|
|
40
|
-
let a2 =
|
|
41
|
-
a2 += "_", a2 +=
|
|
39
|
+
const oe = a("");
|
|
40
|
+
function te(e3) {
|
|
41
|
+
if ("masterTable" == oe.value) {
|
|
42
|
+
let a2 = W2.configure.props.dynamicColumnData.dataTableCode ? W2.configure.props.dynamicColumnData.dataTableCode : "";
|
|
43
|
+
a2 += "_", a2 += W2.configure.props.dynamicColumnData.tableSysVersion ? W2.configure.props.dynamicColumnData.tableSysVersion : "", a2 += "_", a2 += W2.configure.props.dynamicColumnData.tableName ? W2.configure.props.dynamicColumnData.tableName : "";
|
|
42
44
|
let l2 = e3.systemCode ? e3.systemCode : "";
|
|
43
|
-
l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != a2 && (
|
|
44
|
-
const e4 =
|
|
45
|
+
l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != a2 && (W2.configure.props.dynamicColumnData.dataTableCode = e3.systemCode, W2.configure.props.dynamicColumnData.tableSysVersion = e3.systemVersion, W2.configure.props.dynamicColumnData.tableName = e3.name, W2.configure.props.dynamicColumnData.tableAlias = e3.alias, function() {
|
|
46
|
+
const e4 = W2.configure.props.dynamicColumnData.dataTableCode ? W2.configure.props.dynamicColumnData.dataTableCode : ae.pageContext.systemCode, a3 = W2.configure.props.dynamicColumnData.tableSysVersion ? W2.configure.props.dynamicColumnData.tableSysVersion : ae.pageContext.systemVersion, l3 = W2.configure.props.dynamicColumnData.tableName;
|
|
45
47
|
if (!l3) return;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
+
j(e4, a3, l3).then((e5) => {
|
|
49
|
+
Y.value = e5, X.value.changeTableFields(e5);
|
|
48
50
|
}).catch((e5) => {
|
|
49
51
|
});
|
|
50
52
|
}());
|
|
51
53
|
} else {
|
|
52
|
-
let a2 =
|
|
53
|
-
a2 += "_", a2 +=
|
|
54
|
+
let a2 = W2.configure.props.dynamicColumnData.settingDataTableCode ? W2.configure.props.dynamicColumnData.settingDataTableCode : "";
|
|
55
|
+
a2 += "_", a2 += W2.configure.props.dynamicColumnData.settingDataSysVersion ? W2.configure.props.dynamicColumnData.settingDataSysVersion : "", a2 += "_", a2 += W2.configure.props.dynamicColumnData.settingDataName ? W2.configure.props.dynamicColumnData.settingDataName : "";
|
|
54
56
|
let l2 = e3.systemCode ? e3.systemCode : "";
|
|
55
|
-
l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != a2 && (
|
|
56
|
-
const e4 =
|
|
57
|
+
l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != a2 && (W2.configure.props.dynamicColumnData.settingDataTableCode = e3.systemCode, W2.configure.props.dynamicColumnData.settingDataSysVersion = e3.systemVersion, W2.configure.props.dynamicColumnData.settingDataName = e3.name, W2.configure.props.dynamicColumnData.settingDataAlias = e3.alias, function() {
|
|
58
|
+
const e4 = W2.configure.props.dynamicColumnData.settingDataTableCode ? W2.configure.props.dynamicColumnData.settingDataTableCode : ae.pageContext.systemCode, a3 = W2.configure.props.dynamicColumnData.settingDataSysVersion ? W2.configure.props.dynamicColumnData.settingDataSysVersion : ae.pageContext.systemVersion, l3 = W2.configure.props.dynamicColumnData.settingDataName;
|
|
57
59
|
if (!l3) return;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
+
j(e4, a3, l3).then((e5) => {
|
|
61
|
+
ne.value = e5, X.value.changeTableFields(e5), J.value.changeTableFields(e5), K.value.changeTableFields(e5);
|
|
60
62
|
}).catch((e5) => {
|
|
61
63
|
});
|
|
62
64
|
}());
|
|
63
65
|
}
|
|
64
66
|
}
|
|
65
|
-
let
|
|
66
|
-
const
|
|
67
|
-
function
|
|
68
|
-
|
|
67
|
+
let ne = a([]);
|
|
68
|
+
const ie = a(false);
|
|
69
|
+
function re() {
|
|
70
|
+
ie.value = false;
|
|
69
71
|
}
|
|
70
|
-
function
|
|
71
|
-
|
|
72
|
+
function ue(e3) {
|
|
73
|
+
W2.configure.props.querySetting = e3;
|
|
72
74
|
}
|
|
73
|
-
function
|
|
74
|
-
e3 ?
|
|
75
|
+
function se(e3) {
|
|
76
|
+
e3 ? W2.tableConfigure.props.base.editable = true : W2.configure.name = "";
|
|
75
77
|
}
|
|
76
|
-
function
|
|
77
|
-
|
|
78
|
+
function pe(e3) {
|
|
79
|
+
q(W2.configure, e3);
|
|
78
80
|
}
|
|
79
|
-
function
|
|
80
|
-
const a2 =
|
|
81
|
-
if (
|
|
82
|
-
const e4 =
|
|
81
|
+
function me(e3) {
|
|
82
|
+
const a2 = W2.configure.uuid;
|
|
83
|
+
if (W2.tableConfigure.props.base.isEnableGroupHeader) if (e3 && W2.tableConfigure.props.base.isEnableGroupHeader) {
|
|
84
|
+
const e4 = Z.filter((e5) => e5.columnUuid === a2);
|
|
83
85
|
if (!e4 || 0 === e4.length) {
|
|
84
|
-
let e5 = { uuid:
|
|
85
|
-
|
|
86
|
+
let e5 = { uuid: k(), columnUuid: a2, titleText: W2.configure.props.base.name, isLeaf: true };
|
|
87
|
+
h(null, e5, Z), Z.push(e5);
|
|
86
88
|
}
|
|
87
|
-
} else
|
|
88
|
-
else
|
|
89
|
+
} else W2.tableConfigure.props.base.isEnableGroupHeader && x(Z, a2);
|
|
90
|
+
else U.$emit("setHiddenColumsUuid", { uuid: W2.configure.uuid, name: W2.configure.props.base.name, value: e3 });
|
|
89
91
|
}
|
|
90
|
-
function
|
|
91
|
-
|
|
92
|
+
function de(e3) {
|
|
93
|
+
W2.configure.props.base.defaultValue = e3;
|
|
92
94
|
}
|
|
93
|
-
function
|
|
94
|
-
|
|
95
|
+
function fe() {
|
|
96
|
+
U.$emit("reloadTable-" + W2.tableConfigure.uuid);
|
|
95
97
|
}
|
|
96
|
-
function
|
|
97
|
-
|
|
98
|
+
function ce(e3) {
|
|
99
|
+
be(W2.tableConfigure.props.groupHeaders);
|
|
98
100
|
}
|
|
99
|
-
function
|
|
100
|
-
|
|
101
|
+
function ge(e3) {
|
|
102
|
+
be(W2.tableConfigure.props.groupHeaders);
|
|
101
103
|
}
|
|
102
|
-
function
|
|
103
|
-
if (
|
|
104
|
+
function be(e3) {
|
|
105
|
+
if (W2.tableConfigure.props.base.isEnableGroupHeader) {
|
|
104
106
|
e3.forEach((e4) => {
|
|
105
107
|
});
|
|
106
108
|
for (let a2 = 0; a2 < e3.length; a2++) {
|
|
107
109
|
const l2 = e3[a2];
|
|
108
|
-
if (l2.columnUuid ===
|
|
109
|
-
l2.titleText =
|
|
110
|
+
if (l2.columnUuid === W2.configure.uuid) {
|
|
111
|
+
l2.titleText = W2.configure.props.base.name, l2.prop = W2.configure.props.base.prop;
|
|
110
112
|
break;
|
|
111
113
|
}
|
|
112
|
-
l2.children && l2.children.length > 0 &&
|
|
114
|
+
l2.children && l2.children.length > 0 && be(l2.children);
|
|
113
115
|
}
|
|
114
116
|
}
|
|
115
117
|
}
|
|
116
118
|
return (a2, l2) => {
|
|
117
|
-
const
|
|
118
|
-
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(j, { 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(N2, { 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(N2, { 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(N2, { 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(N2, { 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(N2, { 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(N2, { 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日" }), u(H2, { label: "ww", value: "ww" })]), _: 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(N2, { 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(w, { 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: "string" }), u(J2, { label: "整形", value: "integer" }), u(J2, { label: "数字", value: "number" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "日期", value: "date" }), u(J2, { label: "小数", value: "float" }), u(J2, { label: "布尔", value: "boolean" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "邮件", value: "email" }), u(J2, { label: "网址", value: "url" })]), _: 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(F, { ref_key: "selectTableDialog", ref: X, onSelectTable: ae, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
119
|
+
const h2 = o("el-input"), x2 = o("el-form-item"), k2 = o("el-radio"), U2 = o("el-radio-group"), N2 = o("el-switch"), j2 = o("el-option"), q2 = o("el-select"), W3 = o("el-icon"), J2 = o("el-collapse-item"), K2 = o("el-input-number"), X2 = o("el-button"), Y2 = o("el-checkbox"), Z2 = o("el-checkbox-group"), ae2 = o("el-col"), oe2 = o("el-collapse"), ne2 = o("el-form");
|
|
120
|
+
return n(), t(ne2, { "label-width": "80px", size: "small" }, { default: i(() => [r(oe2, { modelValue: Q.value, "onUpdate:modelValue": l2[49] || (l2[49] = (e3) => Q.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [r(J2, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", O, [r(x2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: i(() => [r(h2, { 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 }), le.value ? u("", true) : (n(), t(x2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: i(() => [r(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: ge }, null, 8, ["prop", "propType", "tableConfigure"])]), _: 1 })), r(x2, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [r(w, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.name = a3), onChange: ce, disabled: "$index" === e2.configure.props.base.prop || "$selection" === e2.configure.props.base.prop }, null, 8, ["modelValue", "disabled"])]), _: 1 }), r(x2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: i(() => [r(E, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), r(x2, { label: "显示顺序", class: "amb-design-attr-item" }, { default: i(() => [r(h2, { modelValue: e2.configure.props.base.displayOrder, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.displayOrder = a3), modelModifiers: { number: true }, onBlur: fe, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), le.value ? u("", true) : (n(), t(x2, { key: 1, label: "是否显示 ", class: "amb-design-attr-item" }, { default: i(() => [r(U2, { modelValue: e2.configure.props.base.visible, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.visible = a3), class: "ml-4", onChange: me }, { default: i(() => [r(k2, { value: true }, { default: i(() => l2[50] || (l2[50] = [p("是")])), _: 1 }), r(k2, { value: false }, { default: i(() => l2[51] || (l2[51] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), le.value ? u("", true) : (n(), t(x2, { key: 2, label: "是否导出", class: "amb-design-attr-item" }, { default: i(() => [r(N2, { modelValue: e2.configure.props.base.exportable, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.exportable = a3) }, null, 8, ["modelValue"])]), _: 1 })), le.value ? u("", true) : (n(), t(x2, { key: 3, label: "查询设置", class: "amb-design-attr-item" }, { default: i(() => [s("div", $, [r(q2, { modelValue: e2.configure.props.base.querySettingName, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.querySettingName = a3) }, { default: i(() => [r(j2, { label: "不查询", value: "no" }), r(j2, { label: "普通查询", value: "normal" }), r(j2, { label: "高级查询", value: "advanced" })]), _: 1 }, 8, ["modelValue"]), "normal" === e2.configure.props.base.querySettingName || "advanced" === e2.configure.props.base.querySettingName ? (n(), t(W3, { key: 0, style: { "margin-left": "10px" }, onClick: l2[8] || (l2[8] = (e3) => ie.value = true) }, { default: i(() => [r(m(y))]), _: 1 })) : u("", true)])]), _: 1 })), le.value || "normal" !== e2.configure.props.base.querySettingName && "advanced" !== e2.configure.props.base.querySettingName || "STRING" !== e2.configure.props.base.propType ? u("", true) : (n(), t(x2, { key: 4, label: "匹配方式", class: "amb-design-attr-item" }, { default: i(() => [r(q2, { modelValue: e2.configure.props.base.queryMatching, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.queryMatching = a3), clearable: "" }, { default: i(() => [r(j2, { label: "全匹配", value: "all" }), r(j2, { label: "左匹配", value: "left" }), r(j2, { label: "右匹配", value: "right" }), r(j2, { label: "精确查询", value: "exactQuery" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), le.value ? u("", true) : (n(), t(x2, { key: 5, label: "是否合计", class: "amb-design-attr-item" }, { default: i(() => [r(N2, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })), le.value ? u("", true) : (n(), t(x2, { key: 6, label: "是否筛选", class: "amb-design-attr-item" }, { default: i(() => [r(N2, { modelValue: e2.configure.props.base.filterable, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.filterable = a3) }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 }), le.value || "dynamicColumnSelect" == e2.configure.props.base.prop ? u("", true) : (n(), t(_, { key: 0, configure: e2.configure, isTable: true, isDynamicColumn: "dynamicColumnSelect" === e2.configure.props.base.prop, remote: true }, null, 8, ["configure", "isDynamicColumn"])), r(A, { operationColumn: le.value, configure: e2.configure, tableConfigure: e2.tableConfigure, pageDesign: e2.pageDesign }, null, 8, ["operationColumn", "configure", "tableConfigure", "pageDesign"]), le.value ? u("", true) : (n(), t(J2, { key: 1, title: "行编辑设置", name: "editLine", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", G, [r(x2, { label: "是否编辑", class: "amb-design-attr-item" }, { default: i(() => [r(N2, { onChange: se, modelValue: e2.configure.props.editLine.editable, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.editLine.editable = a3) }, null, 8, ["modelValue"])]), _: 1 }), r(x2, { label: "默认值", class: "amb-design-attr-item" }, { default: i(() => [r(D, { modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": de }, null, 8, ["modelValue"])]), _: 1 }), e2.configure.props.editLine.editable ? (n(), t(x2, { key: 0, label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [r(q2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.name = a3), placeholder: "请选择", onChange: pe }, { default: i(() => [(n(true), f(c, null, g(m(v)(), (e3) => (n(), t(j2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : u("", true), d(r(x2, { label: "文件uuid", class: "amb-design-attr-item" }, { default: i(() => [r(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(r(x2, { label: "自定义控件名称", class: "amb-design-attr-item" }, { default: i(() => [r(h2, { 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 })), le.value ? u("", true) : (n(), t(J2, { key: 2, title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", z, [r(x2, { label: "格式化分类", class: "amb-design-attr-item" }, { default: i(() => [r(q2, { modelValue: e2.configure.props.format.type, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.format.type = a3), clearable: "", placeholder: "请选择" }, { default: i(() => [r(j2, { label: "数值", value: "number" }), r(j2, { label: "货币", value: "currency" }), r(j2, { label: "日期", value: "date" }), r(j2, { label: "时间", value: "time" }), r(j2, { label: "百分比", value: "percent" }), r(j2, { label: "自定义控件", value: "customControl" }), r(j2, { label: "超链接", value: "hyperlinks" }), r(j2, { label: "图标/标签", value: "icon" }), r(j2, { label: "附件控件", value: "files" }), r(j2, { label: "富文本", value: "richEditor" }), r(j2, { label: "脱敏组件", value: "secretInfo" }), r(j2, { 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(() => [r(h2, { modelValue: e2.configure.props.format.decimalDigit, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.format.decimalDigit = a3) }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 1, label: "科学计数", class: "amb-design-attr-item" }, { default: i(() => [r(N2, { 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 })) : u("", 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(() => [r(h2, { modelValue: e2.configure.props.format.scientificNum, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.format.scientificNum = a3) }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 3, label: "千位分隔符", class: "amb-design-attr-item" }, { default: i(() => [r(N2, { 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 })) : u("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 4, label: "数值符号", class: "amb-design-attr-item" }, { default: i(() => [r(h2, { modelValue: e2.configure.props.format.symbol, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.format.symbol = a3) }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), "currency" === e2.configure.props.format.type ? (n(), t(x2, { key: 5, label: "货币符号", class: "amb-design-attr-item" }, { default: i(() => [r(q2, { modelValue: e2.configure.props.format.currencySymbol, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.format.currencySymbol = a3), placeholder: "Select" }, { default: i(() => [r(j2, { label: "$", value: "$" }), r(j2, { label: "¥", value: "¥" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : u("", true), "date" === e2.configure.props.format.type ? (n(), t(x2, { key: 6, label: "日期类型", class: "amb-design-attr-item" }, { default: i(() => [r(q2, { modelValue: e2.configure.props.format.dataType, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.format.dataType = a3), placeholder: "Select" }, { default: i(() => [(n(true), f(c, null, g(m(F), (e3) => (n(), t(j2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : u("", true), "time" === e2.configure.props.format.type ? (n(), t(x2, { key: 7, label: "时间类型", class: "amb-design-attr-item" }, { default: i(() => [r(q2, { modelValue: e2.configure.props.format.timeType, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.format.timeType = a3), placeholder: "Select" }, { default: i(() => [(n(true), f(c, null, g(m(L), (e3) => (n(), t(j2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : u("", true), "customControl" === e2.configure.props.format.type ? (n(), t(x2, { key: 8, label: "自定义控件", class: "amb-design-attr-item" }, { default: i(() => [r(h2, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.format.customControl = a3) }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), "customControl" === e2.configure.props.format.type ? (n(), t(x2, { key: 9, class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [r(S, { data: e2.configure.props.format.parameter, "onUpdate:data": l2[26] || (l2[26] = (a3) => e2.configure.props.format.parameter = a3), tableConfigure: e2.tableConfigure }, null, 8, ["data", "tableConfigure"])]), _: 1 })) : u("", true), "hyperlinks" === e2.configure.props.format.type ? (n(), t(M, { key: 10, pageDesign: e2.pageDesign, linkPage: e2.configure.props.linkPage, "onUpdate:linkPage": l2[27] || (l2[27] = (a3) => e2.configure.props.linkPage = a3), tableConfigure: e2.tableConfigure, isDialog: false }, null, 8, ["pageDesign", "linkPage", "tableConfigure"])) : u("", true), "icon" === e2.configure.props.format.type ? (n(), t(P, { key: 11, setting: e2.configure.props.format }, null, 8, ["setting"])) : u("", true), "custom" === e2.configure.props.format.type ? (n(), t(x2, { key: 12, label: "自定义方法", class: "amb-design-attr-item" }, { default: i(() => [r(h2, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.format.customControl = a3) }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 13, label: "是否多选", class: "amb-design-attr-item" }, { default: i(() => [r(N2, { modelValue: e2.configure.props.format.multiple, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.format.multiple = a3) }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 14, label: "文件类型", class: "amb-design-attr-item" }, { default: i(() => [r(h2, { modelValue: e2.configure.props.format.accept, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.format.accept = a3) }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 15, label: "文件限制(M)", class: "amb-design-attr-item" }, { default: i(() => [r(K2, { modelValue: e2.configure.props.format.limitFileSize, "onUpdate:modelValue": l2[31] || (l2[31] = (a3) => e2.configure.props.format.limitFileSize = a3), min: 1 }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), "files" === e2.configure.props.format.type && e2.configure.props.format.multiple ? (n(), t(x2, { key: 16, label: "选择数据表" }, { default: i(() => [r(h2, { modelValue: e2.configure.props.format.childAnnexDataTableCode, "onUpdate:modelValue": l2[32] || (l2[32] = (a3) => e2.configure.props.format.childAnnexDataTableCode = a3), onClick: a2.openSelectDataTable, clearable: "" }, { append: i(() => [r(X2, { type: "default", icon: m(V), onClick: a2.openSelectDataTable }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "onClick"])]), _: 1 })) : u("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 17, label: "展示名字段", class: "amb-design-attr-item" }, { default: i(() => [r(T, { prop: e2.configure.props.format.showName, "onUpdate:prop": l2[33] || (l2[33] = (a3) => e2.configure.props.format.showName = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : u("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 18, label: "服务器字段", class: "amb-design-attr-item" }, { default: i(() => [r(T, { prop: e2.configure.props.format.serverName, "onUpdate:prop": l2[34] || (l2[34] = (a3) => e2.configure.props.format.serverName = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : u("", true)])]), _: 1 })), r(J2, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", R, [r(x2, { label: "固定列", class: "amb-design-attr-item" }, { default: i(() => [r(U2, { modelValue: e2.configure.props.base.listColumnFixed, "onUpdate:modelValue": l2[35] || (l2[35] = (a3) => e2.configure.props.base.listColumnFixed = a3), class: "ml-4" }, { default: i(() => [r(k2, { value: false }, { default: i(() => l2[52] || (l2[52] = [p("否")])), _: 1 }), r(k2, { value: "left" }, { default: i(() => l2[53] || (l2[53] = [p("居左")])), _: 1 }), r(k2, { value: "right" }, { default: i(() => l2[54] || (l2[54] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), le.value ? u("", true) : (n(), t(x2, { key: 0, label: "是否排序", class: "amb-design-attr-item" }, { default: i(() => [r(U2, { modelValue: e2.configure.props.base.sortable, "onUpdate:modelValue": l2[36] || (l2[36] = (a3) => e2.configure.props.base.sortable = a3), class: "ml-4" }, { default: i(() => [r(k2, { value: true }, { default: i(() => l2[55] || (l2[55] = [p("是")])), _: 1 }), r(k2, { value: false }, { default: i(() => l2[56] || (l2[56] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(x2, { label: "列宽", class: "amb-design-attr-item" }, { default: i(() => [r(K2, { style: { width: "100%" }, modelValue: e2.configure.props.base.columnWidth, "onUpdate:modelValue": l2[37] || (l2[37] = (a3) => e2.configure.props.base.columnWidth = a3), precision: 1 }, null, 8, ["modelValue"])]), _: 1 }), r(x2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: i(() => [r(U2, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[38] || (l2[38] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: i(() => [r(k2, { value: "left" }, { default: i(() => l2[57] || (l2[57] = [p("居左")])), _: 1 }), r(k2, { value: "center" }, { default: i(() => l2[58] || (l2[58] = [p("居中")])), _: 1 }), r(k2, { value: "right" }, { default: i(() => l2[59] || (l2[59] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(x2, { label: "内容对齐", class: "amb-design-attr-item-linefeed-two" }, { default: i(() => [r(U2, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[39] || (l2[39] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: i(() => [r(k2, { value: "left" }, { default: i(() => l2[60] || (l2[60] = [p("居左")])), _: 1 }), r(k2, { value: "center" }, { default: i(() => l2[61] || (l2[61] = [p("居中")])), _: 1 }), r(k2, { value: "right" }, { default: i(() => l2[62] || (l2[62] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), !le.value && e2.configure.props.editLine.editable ? (n(), t(J2, { key: 3, title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", B, [r(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [r(Y2, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": l2[40] || (l2[40] = (a3) => e2.configure.props.verification.required = a3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), r(Z2, { modelValue: e2.configure.props.verification.type, "onUpdate:modelValue": l2[41] || (l2[41] = (a3) => e2.configure.props.verification.type = a3) }, { default: i(() => [r(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [r(Y2, { label: "文本", value: "string" }), r(Y2, { label: "整形", value: "integer" }), r(Y2, { label: "数字", value: "number" })]), _: 1 }), r(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [r(Y2, { label: "日期", value: "date" }), r(Y2, { label: "小数", value: "float" }), r(Y2, { label: "布尔", value: "boolean" })]), _: 1 }), r(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [r(Y2, { label: "邮件", value: "email" }), r(Y2, { label: "网址", value: "url" })]), _: 1 }), r(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [r(Y2, { label: "单精度", value: "float" }), r(Y2, { label: "十六进制", value: "hex" })]), _: 1 })]), _: 1 }, 8, ["modelValue"]), r(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [r(ae2, { span: 8 }, { default: i(() => [r(Y2, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": l2[42] || (l2[42] = (a3) => e2.configure.props.verification.verifyRegex = a3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), r(ae2, { span: 14 }, { default: i(() => [r(h2, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": l2[43] || (l2[43] = (a3) => e2.configure.props.verification.regex = a3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), r(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [r(ae2, { span: 8 }, { default: i(() => [r(Y2, { label: "自定义", value: "custom" })]), _: 1 }), r(ae2, { span: 14 }, { default: i(() => [r(X2, { type: "default" }, { default: i(() => l2[63] || (l2[63] = [p("自定义逻辑")])), _: 1 }), r(X2, { type: "default", icon: m(V), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })) : u("", true), le.value ? u("", true) : (n(), t(J2, { key: 4, title: "用户自定义", name: "userDefined", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", I, [r(x2, { label: "可自定义", class: "amb-design-attr-item" }, { default: i(() => [r(U2, { modelValue: e2.configure.props.definition.defined, "onUpdate:modelValue": l2[44] || (l2[44] = (a3) => e2.configure.props.definition.defined = a3), class: "ml-4" }, { default: i(() => [r(k2, { value: false }, { default: i(() => l2[64] || (l2[64] = [p("否")])), _: 1 }), r(k2, { value: true }, { default: i(() => l2[65] || (l2[65] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(x2, { label: "自定义导出", class: "amb-design-attr-item" }, { default: i(() => [r(U2, { modelValue: e2.configure.props.definition.definedExport, "onUpdate:modelValue": l2[45] || (l2[45] = (a3) => e2.configure.props.definition.definedExport = a3), class: "ml-4" }, { default: i(() => [r(k2, { value: false }, { default: i(() => l2[66] || (l2[66] = [p("否")])), _: 1 }), r(k2, { value: true }, { default: i(() => l2[67] || (l2[67] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(x2, { label: "自定义合并", class: "amb-design-attr-item" }, { default: i(() => [r(U2, { modelValue: e2.configure.props.definition.definedMerge, "onUpdate:modelValue": l2[46] || (l2[46] = (a3) => e2.configure.props.definition.definedMerge = a3), class: "ml-4" }, { default: i(() => [r(k2, { value: false }, { default: i(() => l2[68] || (l2[68] = [p("否")])), _: 1 }), r(k2, { value: true }, { default: i(() => l2[69] || (l2[69] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(x2, { label: "自定义位置", class: "amb-design-attr-item" }, { default: i(() => [r(U2, { modelValue: e2.configure.props.definition.definedPosition, "onUpdate:modelValue": l2[47] || (l2[47] = (a3) => e2.configure.props.definition.definedPosition = a3), class: "ml-4" }, { default: i(() => [r(k2, { value: false }, { default: i(() => l2[70] || (l2[70] = [p("否")])), _: 1 }), r(k2, { value: true }, { default: i(() => l2[71] || (l2[71] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(x2, { label: "自定义冻结", class: "amb-design-attr-item" }, { default: i(() => [r(U2, { modelValue: e2.configure.props.definition.definedFixed, "onUpdate:modelValue": l2[48] || (l2[48] = (a3) => e2.configure.props.definition.definedFixed = a3), class: "ml-4" }, { default: i(() => [r(k2, { value: false }, { default: i(() => l2[72] || (l2[72] = [p("否")])), _: 1 }), r(k2, { value: true }, { default: i(() => l2[73] || (l2[73] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })), ie.value ? (n(), t(C, { key: 5, querySetting: e2.configure.props.querySetting, onAdd: ue, onClose: re }, null, 8, ["querySetting"])) : u("", true), r(H, { ref_key: "selectTableDialog", ref: ee, onSelectTable: te, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
119
121
|
};
|
|
120
122
|
} });
|
|
121
123
|
export {
|
|
122
|
-
|
|
124
|
+
W as default
|
|
123
125
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as t, withCtx as u, createVNode as r, createElementVNode as n, createCommentVNode as s, createElementBlock as i, Fragment as m, renderList as p, unref as d, createTextVNode as c } from "vue";
|
|
2
2
|
import { getFormComponentOptions as f } from "../../../../utils/assemblys-config.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import b from "../component/data-origin-tree.vue.js";
|
|
4
|
+
import g from "../../form/common/data-linkage.vue.js";
|
|
5
5
|
import y from "../../common/common-attr-size.vue.js";
|
|
6
6
|
import V from "../../common/common-variable-bind.vue.js";
|
|
7
7
|
import _ from "../../common/common-icon-bind.vue.js";
|
|
@@ -28,11 +28,11 @@ const N = { style: { padding: "8px 0px 0px 0px" } }, T = { style: { padding: "8p
|
|
|
28
28
|
}).catch((e4) => {
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
|
-
return
|
|
31
|
+
return null == H2.configure.props.base.showCheckbox && (H2.configure.props.base.showCheckbox = "no"), null == H2.configure.props.base.defaultExpandAll && (H2.configure.props.base.defaultExpandAll = false), null == H2.configure.props.base.expandOnClickNode && (H2.configure.props.base.expandOnClickNode = true), null == H2.configure.props.base.accordion && (H2.configure.props.base.accordion = false), null == H2.configure.props.base.lazy && (H2.configure.props.base.lazy = false), H2.configure.props.format || (H2.configure.props.format = {}), (l2, U2) => {
|
|
32
32
|
const E = a("el-option"), I = a("el-select"), L = a("el-form-item"), q = a("el-input"), F = a("el-switch"), G = a("el-radio"), $ = a("el-radio-group"), M = a("el-button"), B = a("el-col"), J = a("el-icon"), K = a("el-tooltip"), Q = a("el-collapse-item"), R = a("Suffixmodule"), W = a("IconSetDialog"), X = a("el-input-number"), Y = a("VariateSelect"), Z = a("el-checkbox"), ee = a("el-collapse"), le = a("el-form");
|
|
33
33
|
return t(), o(le, { "label-width": "80px", size: "small" }, { default: u(() => [r(ee, { modelValue: w.value, "onUpdate:modelValue": U2[38] || (U2[38] = (e3) => w.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [r(Q, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", N, [r(L, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.name, "onUpdate:modelValue": U2[0] || (U2[0] = (l3) => e2.configure.name = l3), disabled: "", placeholder: "请选择" }, { default: u(() => [(t(true), i(m, null, p(d(f)(), (e3) => (t(), o(E, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.uuid, "onUpdate:modelValue": U2[1] || (U2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), r(L, { label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(V, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": j }, null, 8, ["modelValue"]))]), _: 1 }), r(L, { label: "自定义编码", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.code, "onUpdate:modelValue": U2[2] || (U2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), r(L, { label: "可选择", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.base.showCheckbox, "onUpdate:modelValue": U2[3] || (U2[3] = (l3) => e2.configure.props.base.showCheckbox = l3), "active-text": "是", "inactive-text": "否" }, null, 8, ["modelValue"])]), _: 1 }), r(L, { label: "默认展开", class: "amb-design-attr-item" }, { default: u(() => [r($, { modelValue: e2.configure.props.base.defaultExpandAll, "onUpdate:modelValue": U2[4] || (U2[4] = (l3) => e2.configure.props.base.defaultExpandAll = l3), class: "ml-4" }, { default: u(() => [r(G, { value: true }, { default: u(() => U2[39] || (U2[39] = [c("是")])), _: 1 }), r(G, { value: false }, { default: u(() => U2[40] || (U2[40] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.defaultExpandAll ? (t(), o(L, { key: 0, label: "展开级数", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.base.unfoldGrade, "onUpdate:modelValue": U2[5] || (U2[5] = (l3) => e2.configure.props.base.unfoldGrade = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), r(L, { label: "节点可点击", title: "点击节点时展开或收缩节点", class: "amb-design-attr-item" }, { default: u(() => [r($, { modelValue: e2.configure.props.base.expandOnClickNode, "onUpdate:modelValue": U2[6] || (U2[6] = (l3) => e2.configure.props.base.expandOnClickNode = l3), class: "ml-4" }, { default: u(() => [r(G, { value: true }, { default: u(() => U2[41] || (U2[41] = [c("是")])), _: 1 }), r(G, { value: false }, { default: u(() => U2[42] || (U2[42] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "手风琴模式", title: "每次只打开一个同级树节点", class: "amb-design-attr-item" }, { default: u(() => [r($, { modelValue: e2.configure.props.base.accordion, "onUpdate:modelValue": U2[7] || (U2[7] = (l3) => e2.configure.props.base.accordion = l3), class: "ml-4" }, { default: u(() => [r(G, { value: true }, { default: u(() => U2[43] || (U2[43] = [c("是")])), _: 1 }), r(G, { value: false }, { default: u(() => U2[44] || (U2[44] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "是否懒加载", class: "amb-design-attr-item" }, { default: u(() => [r($, { modelValue: e2.configure.props.base.lazy, "onUpdate:modelValue": U2[8] || (U2[8] = (l3) => e2.configure.props.base.lazy = l3), class: "ml-4" }, { default: u(() => [r(G, { value: true }, { default: u(() => U2[45] || (U2[45] = [c("是")])), _: 1 }), r(G, { value: false }, { default: u(() => U2[46] || (U2[46] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "是否过滤", class: "amb-design-attr-item" }, { default: u(() => [r($, { modelValue: e2.configure.props.base.filter, "onUpdate:modelValue": U2[9] || (U2[9] = (l3) => e2.configure.props.base.filter = l3), class: "ml-4" }, { default: u(() => [r(G, { value: true }, { default: u(() => U2[47] || (U2[47] = [c("是")])), _: 1 }), r(G, { value: false }, { default: u(() => U2[48] || (U2[48] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "节点图标", class: "amb-design-attr-item" }, { default: u(() => [r(_, { iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.icon, "onUpdate:modelValue": U2[10] || (U2[10] = (e3, l3) => function(e4, l4) {
|
|
34
34
|
H2.configure.props.base.iconType = e4, H2.configure.props.base.iconValue = l4;
|
|
35
|
-
}(e3, l3)) }, null, 8, ["iconType", "iconValue"])]), _: 1 }), r(L, { label: "节点内容", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.contentLogic, "onUpdate:modelValue": U2[11] || (U2[11] = (l3) => e2.configure.props.format.contentLogic = l3), filterable: "", placeholder: "请选择" }, { default: u(() => [(t(true), i(m, null, p(e2.pageDesign.customEvents, (e3) => (t(), o(E, { label: e3.eventName, value: e3.uuid }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [r($, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": U2[12] || (U2[12] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [r(G, { value: "default" }, { default: u(() => U2[49] || (U2[49] = [c("普通")])), _: 1 }), r(G, { value: "hidden" }, { default: u(() => U2[50] || (U2[50] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "对应数据表", class: "amb-design-attr-item" }, { default: u(() => [r(B, { span: 20 }, { default: u(() => [r(q, { modelValue: e2.configure.props.base.treeTableName, "onUpdate:modelValue": U2[13] || (U2[13] = (l3) => e2.configure.props.base.treeTableName = l3), title: e2.configure.props.base.treeTableName, clearable: "", readonly: "true", onClick: O, placeholder: "请选择数据表" }, { append: u(() => [r(M, { type: "default", icon: d(h), onClick: O, size: "small" }, null, 8, ["icon"]), r(M, { type: "default", icon: d(k), onClick: A, title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }), r(K, { class: "box-item", content: "使用右键菜单编辑保存时需要配置" }, { default: u(() => [r(J, null, { default: u(() => [r(d(x))]), _: 1 })]), _: 1 })]), _: 1 }), r(L, { label: "父节点关联属性", class: "amb-design-attr-item" }, { default: u(() => [r(B, { span: 20 }, { default: u(() => [r(I, { modelValue: e2.configure.props.base.treeParentIdProp, "onUpdate:modelValue": U2[14] || (U2[14] = (l3) => e2.configure.props.base.treeParentIdProp = l3), clearable: "", filterable: "", "allow-create": "", placeholder: "请选择" }, { default: u(() => [(t(true), i(m, null, p(z.value, (e3) => (t(), o(E, { key: e3.dbColumnName, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(K, { class: "box-item", content: "树节点nodeId对应数据表的父节点属性字段名" }, { default: u(() => [r(J, null, { default: u(() => [r(d(x))]), _: 1 })]), _: 1 })]), _: 1 }), r(L, { label: "标签属性", class: "amb-design-attr-item" }, { default: u(() => [r(B, { span: 20 }, { default: u(() => [r(I, { modelValue: e2.configure.props.base.treeLabelProp, "onUpdate:modelValue": U2[15] || (U2[15] = (l3) => e2.configure.props.base.treeLabelProp = l3), clearable: "", filterable: "", "allow-create": "", placeholder: "请选择" }, { default: u(() => [(t(true), i(m, null, p(z.value, (e3) => (t(), o(E, { key: e3.dbColumnName, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(K, { class: "box-item", content: "树节点Label对应数据表的属性字段名" }, { default: u(() => [r(J, null, { default: u(() => [r(d(x))]), _: 1 })]), _: 1 })]), _: 1 })])]), _: 1 }), r(Q, { title: "右键菜单", name: "nodeContextmenu", class: "amb-design-attr-group-header" }, { default: u(() => [r(v, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"])]), _: 1 }), (t(), o(g, { key: e2.configure.uuid, configure: e2.configure }, { beanName: u(() => [r(L, { label: "", class: "amb-design-attr-item" }, { default: u(() => [e2.configure.props.dataOrigin ? (t(), o(B, { key: 0, span: 20 }, { default: u(() => [r(q, { modelValue: e2.configure.props.dataOrigin.beanName, "onUpdate:modelValue": U2[16] || (U2[16] = (l3) => e2.configure.props.dataOrigin.beanName = l3), placeholder: "beanName" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), r(K, { class: "box-item", content: "为空时默认使用页面配置的自定义bean" }, { default: u(() => [r(J, null, { default: u(() => [r(d(x))]), _: 1 })]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["configure"])), r(Q, { title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", T, [r(L, { label: "格式化分类", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.type, "onUpdate:modelValue": U2[17] || (U2[17] = (l3) => e2.configure.props.format.type = l3), placeholder: "请选择" }, { default: u(() => [r(E, { label: "数值", value: "number" }), r(E, { label: "货币", value: "currency" }), r(E, { label: "日期", value: "date" }), r(E, { label: "时间", value: "time" }), r(E, { label: "百分比", value: "percent" }), r(E, { label: "自定义控件", value: "customControl" }), r(E, { label: "超链接", value: "hyperlinks" }), r(E, { label: "图标/标签", value: "icon" }), r(E, { label: "附件控件", value: "files" }), r(E, { label: "富文本", value: "richEditor" }), r(E, { label: "脱敏组件", value: "secretInfo" }), r(E, { 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 ? (t(), o(L, { key: 0, label: "小数位数", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.decimalDigit, "onUpdate:modelValue": U2[18] || (U2[18] = (l3) => e2.configure.props.format.decimalDigit = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "number" === e2.configure.props.format.type ? (t(), o(L, { key: 1, label: "科学计数", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.format.scientific, "onUpdate:modelValue": U2[19] || (U2[19] = (l3) => e2.configure.props.format.scientific = l3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "number" === e2.configure.props.format.type && e2.configure.props.format.scientific ? (t(), o(L, { key: 2, label: "计数位数", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.scientificNum, "onUpdate:modelValue": U2[20] || (U2[20] = (l3) => e2.configure.props.format.scientificNum = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "number" === e2.configure.props.format.type ? (t(), o(L, { key: 3, label: "千位分隔符", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.format.thousandsSeparator, "onUpdate:modelValue": U2[21] || (U2[21] = (l3) => e2.configure.props.format.thousandsSeparator = l3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "number" === e2.configure.props.format.type ? (t(), o(L, { key: 4, label: "数值符号", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.symbol, "onUpdate:modelValue": U2[22] || (U2[22] = (l3) => e2.configure.props.format.symbol = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "currency" === e2.configure.props.format.type ? (t(), o(L, { key: 5, label: "货币符号", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.currencySymbol, "onUpdate:modelValue": U2[23] || (U2[23] = (l3) => e2.configure.props.format.currencySymbol = l3), placeholder: "Select" }, { default: u(() => [r(E, { label: "$", value: "$" }), r(E, { label: "¥", value: "¥" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "date" === e2.configure.props.format.type ? (t(), o(L, { key: 6, label: "日期类型", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.dataType, "onUpdate:modelValue": U2[24] || (U2[24] = (l3) => e2.configure.props.format.dataType = l3), placeholder: "Select" }, { default: u(() => [r(E, { label: "yyyy-m-d", value: "yyyy-m-d" }), r(E, { label: "yyyy-m-d hh:mm:ss", value: "yyyy-m-d hh:mm:ss" }), r(E, { label: "yyyy-m", value: "yyyy-m" }), r(E, { label: "m-d", value: "m-d" }), r(E, { label: "yyyy", value: "yyyy" }), r(E, { label: "yyyy年m月d日", value: "yyyy年m月d日" }), r(E, { label: "yyyy年m月d日hh时mm分ss秒", value: "yyyy年m月d日hh时mm分ss秒" }), r(E, { label: "yyyy年m月", value: "yyyy年m月" }), r(E, { label: "m月d日", value: "m月d日" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "time" === e2.configure.props.format.type ? (t(), o(L, { key: 7, label: "时间类型", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.timeType, "onUpdate:modelValue": U2[25] || (U2[25] = (l3) => e2.configure.props.format.timeType = l3), placeholder: "Select" }, { default: u(() => [r(E, { label: "HH:mm", value: "HH:mm" }), r(E, { label: "HH:mm:ss", value: "HH:mm:ss" }), r(E, { label: "HH时mm分", value: "HH时mm分" }), r(E, { label: "HH时mm分ss秒", value: "HH时mm分ss秒" }), r(E, { label: "hh:mm", value: "hh:mm" }), r(E, { label: "hh:mm:ss", value: "hh:mm:ss" }), r(E, { label: "hh时mm分", value: "hh时mm分" }), r(E, { label: "hh时mm分ss秒", value: "hh时mm分ss秒" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "customControl" === e2.configure.props.format.type ? (t(), o(L, { key: 8, label: "自定义控件", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": U2[26] || (U2[26] = (l3) => e2.configure.props.format.customControl = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "hyperlinks" === e2.configure.props.format.type ? (t(), o(R, { key: 9, pageDesign: e2.pageDesign, configure: e2.configure }, null, 8, ["pageDesign", "configure"])) : s("", true), "icon" === e2.configure.props.format.type ? (t(), o(L, { key: 10, label: "图标", class: "amb-design-attr-item" }, { default: u(() => [r(W, { modelValue: e2.configure.props.format.icon, "onUpdate:modelValue": U2[27] || (U2[27] = (l3) => e2.configure.props.format.icon = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "icon" === e2.configure.props.format.type ? (t(), o(L, { key: 11, label: "图标位置", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.format.position, "onUpdate:modelValue": U2[28] || (U2[28] = (l3) => e2.configure.props.format.position = l3), "active-text": "后缀", "inactive-text": "前缀", "active-value": "suf", "inactive-value": "pre" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "icon" === e2.configure.props.format.type ? (t(), o(L, { key: 12, label: "回调事件", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.event, "onUpdate:modelValue": U2[29] || (U2[29] = (l3) => e2.configure.props.format.event = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "custom" === e2.configure.props.format.type ? (t(), o(L, { key: 13, label: "自定义方法", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": U2[30] || (U2[30] = (l3) => e2.configure.props.format.customControl = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 14, label: "是否多选", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.format.multiple, "onUpdate:modelValue": U2[31] || (U2[31] = (l3) => e2.configure.props.format.multiple = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 15, label: "文件类型", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.accept, "onUpdate:modelValue": U2[32] || (U2[32] = (l3) => e2.configure.props.format.accept = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 16, label: "文件限制(M)", class: "amb-design-attr-item" }, { default: u(() => [r(X, { modelValue: e2.configure.props.format.limitFileSize, "onUpdate:modelValue": U2[33] || (U2[33] = (l3) => e2.configure.props.format.limitFileSize = l3), min: 1 }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type && e2.configure.props.format.multiple ? (t(), o(L, { key: 17, label: "选择数据表" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.childAnnexDataTableCode, "onUpdate:modelValue": U2[34] || (U2[34] = (l3) => e2.configure.props.format.childAnnexDataTableCode = l3), onClick: l2.openSelectDataTable, clearable: "" }, { append: u(() => [r(M, { type: "default", icon: d(h), onClick: l2.openSelectDataTable }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "onClick"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 18, label: "展示名字段", class: "amb-design-attr-item" }, { default: u(() => [r(Y, { prop: e2.configure.props.format.showName, "onUpdate:prop": U2[35] || (U2[35] = (l3) => e2.configure.props.format.showName = l3), tableConfigure: l2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 19, label: "服务器字段", class: "amb-design-attr-item" }, { default: u(() => [r(Y, { prop: e2.configure.props.format.serverName, "onUpdate:prop": U2[36] || (U2[36] = (l3) => e2.configure.props.format.serverName = l3), tableConfigure: l2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : s("", true)])]), _: 1 }), (t(), o(b, { key: e2.configure.uuid, configureProps: e2.configure.props }, null, 8, ["configureProps"])), (t(), o(Q, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [n("div", D, [r(L, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [r(Z, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": U2[37] || (U2[37] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), r(L, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [r(B, { span: 8 }, { default: u(() => [r(Z, { label: "自定义", value: "custom" })]), _: 1 }), r(B, { span: 14 }, { default: u(() => [r(M, { type: "default" }, { default: u(() => U2[51] || (U2[51] = [c("自定义逻辑")])), _: 1 }), r(M, { type: "default", icon: d(h), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), (t(), o(y, { key: e2.configure.uuid, size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"]), r(C, { ref_key: "selectTableDialog", ref: S, onSelectTable: P, systemCode: e2.pageDesign.systemCode, systemVersion: e2.pageDesign.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 });
|
|
35
|
+
}(e3, l3)) }, null, 8, ["iconType", "iconValue"])]), _: 1 }), r(L, { label: "节点内容", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.contentLogic, "onUpdate:modelValue": U2[11] || (U2[11] = (l3) => e2.configure.props.format.contentLogic = l3), filterable: "", placeholder: "请选择" }, { default: u(() => [(t(true), i(m, null, p(e2.pageDesign.customEvents, (e3) => (t(), o(E, { label: e3.eventName, value: e3.uuid }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [r($, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": U2[12] || (U2[12] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [r(G, { value: "default" }, { default: u(() => U2[49] || (U2[49] = [c("普通")])), _: 1 }), r(G, { value: "hidden" }, { default: u(() => U2[50] || (U2[50] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "对应数据表", class: "amb-design-attr-item" }, { default: u(() => [r(B, { span: 20 }, { default: u(() => [r(q, { modelValue: e2.configure.props.base.treeTableName, "onUpdate:modelValue": U2[13] || (U2[13] = (l3) => e2.configure.props.base.treeTableName = l3), title: e2.configure.props.base.treeTableName, clearable: "", readonly: "true", onClick: O, placeholder: "请选择数据表" }, { append: u(() => [r(M, { type: "default", icon: d(h), onClick: O, size: "small" }, null, 8, ["icon"]), r(M, { type: "default", icon: d(k), onClick: A, title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }), r(K, { class: "box-item", content: "使用右键菜单编辑保存时需要配置" }, { default: u(() => [r(J, null, { default: u(() => [r(d(x))]), _: 1 })]), _: 1 })]), _: 1 }), r(L, { label: "父节点关联属性", class: "amb-design-attr-item" }, { default: u(() => [r(B, { span: 20 }, { default: u(() => [r(I, { modelValue: e2.configure.props.base.treeParentIdProp, "onUpdate:modelValue": U2[14] || (U2[14] = (l3) => e2.configure.props.base.treeParentIdProp = l3), clearable: "", filterable: "", "allow-create": "", placeholder: "请选择" }, { default: u(() => [(t(true), i(m, null, p(z.value, (e3) => (t(), o(E, { key: e3.dbColumnName, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(K, { class: "box-item", content: "树节点nodeId对应数据表的父节点属性字段名" }, { default: u(() => [r(J, null, { default: u(() => [r(d(x))]), _: 1 })]), _: 1 })]), _: 1 }), r(L, { label: "标签属性", class: "amb-design-attr-item" }, { default: u(() => [r(B, { span: 20 }, { default: u(() => [r(I, { modelValue: e2.configure.props.base.treeLabelProp, "onUpdate:modelValue": U2[15] || (U2[15] = (l3) => e2.configure.props.base.treeLabelProp = l3), clearable: "", filterable: "", "allow-create": "", placeholder: "请选择" }, { default: u(() => [(t(true), i(m, null, p(z.value, (e3) => (t(), o(E, { key: e3.dbColumnName, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(K, { class: "box-item", content: "树节点Label对应数据表的属性字段名" }, { default: u(() => [r(J, null, { default: u(() => [r(d(x))]), _: 1 })]), _: 1 })]), _: 1 })])]), _: 1 }), r(Q, { title: "右键菜单", name: "nodeContextmenu", class: "amb-design-attr-group-header" }, { default: u(() => [r(v, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"])]), _: 1 }), (t(), o(b, { key: e2.configure.uuid, configure: e2.configure }, { beanName: u(() => [r(L, { label: "", class: "amb-design-attr-item" }, { default: u(() => [e2.configure.props.dataOrigin ? (t(), o(B, { key: 0, span: 20 }, { default: u(() => [r(q, { modelValue: e2.configure.props.dataOrigin.beanName, "onUpdate:modelValue": U2[16] || (U2[16] = (l3) => e2.configure.props.dataOrigin.beanName = l3), placeholder: "beanName" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), r(K, { class: "box-item", content: "为空时默认使用页面配置的自定义bean" }, { default: u(() => [r(J, null, { default: u(() => [r(d(x))]), _: 1 })]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["configure"])), r(Q, { title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", T, [r(L, { label: "格式化分类", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.type, "onUpdate:modelValue": U2[17] || (U2[17] = (l3) => e2.configure.props.format.type = l3), placeholder: "请选择" }, { default: u(() => [r(E, { label: "数值", value: "number" }), r(E, { label: "货币", value: "currency" }), r(E, { label: "日期", value: "date" }), r(E, { label: "时间", value: "time" }), r(E, { label: "百分比", value: "percent" }), r(E, { label: "自定义控件", value: "customControl" }), r(E, { label: "超链接", value: "hyperlinks" }), r(E, { label: "图标/标签", value: "icon" }), r(E, { label: "附件控件", value: "files" }), r(E, { label: "富文本", value: "richEditor" }), r(E, { label: "脱敏组件", value: "secretInfo" }), r(E, { 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 ? (t(), o(L, { key: 0, label: "小数位数", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.decimalDigit, "onUpdate:modelValue": U2[18] || (U2[18] = (l3) => e2.configure.props.format.decimalDigit = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "number" === e2.configure.props.format.type ? (t(), o(L, { key: 1, label: "科学计数", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.format.scientific, "onUpdate:modelValue": U2[19] || (U2[19] = (l3) => e2.configure.props.format.scientific = l3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "number" === e2.configure.props.format.type && e2.configure.props.format.scientific ? (t(), o(L, { key: 2, label: "计数位数", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.scientificNum, "onUpdate:modelValue": U2[20] || (U2[20] = (l3) => e2.configure.props.format.scientificNum = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "number" === e2.configure.props.format.type ? (t(), o(L, { key: 3, label: "千位分隔符", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.format.thousandsSeparator, "onUpdate:modelValue": U2[21] || (U2[21] = (l3) => e2.configure.props.format.thousandsSeparator = l3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "number" === e2.configure.props.format.type ? (t(), o(L, { key: 4, label: "数值符号", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.symbol, "onUpdate:modelValue": U2[22] || (U2[22] = (l3) => e2.configure.props.format.symbol = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "currency" === e2.configure.props.format.type ? (t(), o(L, { key: 5, label: "货币符号", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.currencySymbol, "onUpdate:modelValue": U2[23] || (U2[23] = (l3) => e2.configure.props.format.currencySymbol = l3), placeholder: "Select" }, { default: u(() => [r(E, { label: "$", value: "$" }), r(E, { label: "¥", value: "¥" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "date" === e2.configure.props.format.type ? (t(), o(L, { key: 6, label: "日期类型", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.dataType, "onUpdate:modelValue": U2[24] || (U2[24] = (l3) => e2.configure.props.format.dataType = l3), placeholder: "Select" }, { default: u(() => [r(E, { label: "yyyy-m-d", value: "yyyy-m-d" }), r(E, { label: "yyyy-m-d hh:mm:ss", value: "yyyy-m-d hh:mm:ss" }), r(E, { label: "yyyy-m", value: "yyyy-m" }), r(E, { label: "m-d", value: "m-d" }), r(E, { label: "yyyy", value: "yyyy" }), r(E, { label: "yyyy年m月d日", value: "yyyy年m月d日" }), r(E, { label: "yyyy年m月d日hh时mm分ss秒", value: "yyyy年m月d日hh时mm分ss秒" }), r(E, { label: "yyyy年m月", value: "yyyy年m月" }), r(E, { label: "m月d日", value: "m月d日" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "time" === e2.configure.props.format.type ? (t(), o(L, { key: 7, label: "时间类型", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.timeType, "onUpdate:modelValue": U2[25] || (U2[25] = (l3) => e2.configure.props.format.timeType = l3), placeholder: "Select" }, { default: u(() => [r(E, { label: "HH:mm", value: "HH:mm" }), r(E, { label: "HH:mm:ss", value: "HH:mm:ss" }), r(E, { label: "HH时mm分", value: "HH时mm分" }), r(E, { label: "HH时mm分ss秒", value: "HH时mm分ss秒" }), r(E, { label: "hh:mm", value: "hh:mm" }), r(E, { label: "hh:mm:ss", value: "hh:mm:ss" }), r(E, { label: "hh时mm分", value: "hh时mm分" }), r(E, { label: "hh时mm分ss秒", value: "hh时mm分ss秒" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "customControl" === e2.configure.props.format.type ? (t(), o(L, { key: 8, label: "自定义控件", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": U2[26] || (U2[26] = (l3) => e2.configure.props.format.customControl = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "hyperlinks" === e2.configure.props.format.type ? (t(), o(R, { key: 9, pageDesign: e2.pageDesign, configure: e2.configure }, null, 8, ["pageDesign", "configure"])) : s("", true), "icon" === e2.configure.props.format.type ? (t(), o(L, { key: 10, label: "图标", class: "amb-design-attr-item" }, { default: u(() => [r(W, { modelValue: e2.configure.props.format.icon, "onUpdate:modelValue": U2[27] || (U2[27] = (l3) => e2.configure.props.format.icon = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "icon" === e2.configure.props.format.type ? (t(), o(L, { key: 11, label: "图标位置", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.format.position, "onUpdate:modelValue": U2[28] || (U2[28] = (l3) => e2.configure.props.format.position = l3), "active-text": "后缀", "inactive-text": "前缀", "active-value": "suf", "inactive-value": "pre" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "icon" === e2.configure.props.format.type ? (t(), o(L, { key: 12, label: "回调事件", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.event, "onUpdate:modelValue": U2[29] || (U2[29] = (l3) => e2.configure.props.format.event = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "custom" === e2.configure.props.format.type ? (t(), o(L, { key: 13, label: "自定义方法", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": U2[30] || (U2[30] = (l3) => e2.configure.props.format.customControl = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 14, label: "是否多选", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.format.multiple, "onUpdate:modelValue": U2[31] || (U2[31] = (l3) => e2.configure.props.format.multiple = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 15, label: "文件类型", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.accept, "onUpdate:modelValue": U2[32] || (U2[32] = (l3) => e2.configure.props.format.accept = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 16, label: "文件限制(M)", class: "amb-design-attr-item" }, { default: u(() => [r(X, { modelValue: e2.configure.props.format.limitFileSize, "onUpdate:modelValue": U2[33] || (U2[33] = (l3) => e2.configure.props.format.limitFileSize = l3), min: 1 }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type && e2.configure.props.format.multiple ? (t(), o(L, { key: 17, label: "选择数据表" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.childAnnexDataTableCode, "onUpdate:modelValue": U2[34] || (U2[34] = (l3) => e2.configure.props.format.childAnnexDataTableCode = l3), onClick: l2.openSelectDataTable, clearable: "" }, { append: u(() => [r(M, { type: "default", icon: d(h), onClick: l2.openSelectDataTable }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "onClick"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 18, label: "展示名字段", class: "amb-design-attr-item" }, { default: u(() => [r(Y, { prop: e2.configure.props.format.showName, "onUpdate:prop": U2[35] || (U2[35] = (l3) => e2.configure.props.format.showName = l3), tableConfigure: l2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 19, label: "服务器字段", class: "amb-design-attr-item" }, { default: u(() => [r(Y, { prop: e2.configure.props.format.serverName, "onUpdate:prop": U2[36] || (U2[36] = (l3) => e2.configure.props.format.serverName = l3), tableConfigure: l2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : s("", true)])]), _: 1 }), (t(), o(g, { key: e2.configure.uuid, configureProps: e2.configure.props }, null, 8, ["configureProps"])), (t(), o(Q, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [n("div", D, [r(L, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [r(Z, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": U2[37] || (U2[37] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), r(L, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [r(B, { span: 8 }, { default: u(() => [r(Z, { label: "自定义", value: "custom" })]), _: 1 }), r(B, { span: 14 }, { default: u(() => [r(M, { type: "default" }, { default: u(() => U2[51] || (U2[51] = [c("自定义逻辑")])), _: 1 }), r(M, { type: "default", icon: d(h), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), (t(), o(y, { key: e2.configure.uuid, size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"]), r(C, { ref_key: "selectTableDialog", ref: S, onSelectTable: P, systemCode: e2.pageDesign.systemCode, systemVersion: e2.pageDesign.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 });
|
|
36
36
|
};
|
|
37
37
|
} });
|
|
38
38
|
export {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, watch as t, resolveComponent as i, createElementBlock as n, openBlock as
|
|
1
|
+
import { defineComponent as e, ref as a, watch as t, resolveComponent as i, createElementBlock as n, openBlock as o, normalizeClass as l, createVNode as c, normalizeStyle as r } from "vue";
|
|
2
2
|
import { caculateDetailComponentStyle as d, caculateComponentProps as s } from "../../../../utils/form-design-util.js";
|
|
3
3
|
const u = e({ __name: "tree-design", props: { configure: Object }, emits: ["handleSelect"], setup(e2, { emit: u2 }) {
|
|
4
4
|
const p = e2;
|
|
5
5
|
null == p.configure.title && (p.configure.title = "");
|
|
6
6
|
const f = { id: "nodeId", label: "name", children: "children", isLeaf: "leaf", disabled: "disabled", nodeType: "nodeType", iconType: "iconType", iconValue: "iconValue" }, b = a({}), h = a(""), x = a({}), g = a({});
|
|
7
7
|
return t(p.configure.style, () => {
|
|
8
|
-
d(p.configure, b, h, x),
|
|
8
|
+
d(p.configure, b, h, x), p.configure.runtime.style = b.value, p.configure.runtime.class = h.value, p.configure.runtime.headerStyle = x.value;
|
|
9
9
|
}, { immediate: true }), t(p.configure.props, () => {
|
|
10
10
|
s(p.configure, g), function() {
|
|
11
11
|
let e3 = {};
|
|
@@ -22,7 +22,7 @@ const u = e({ __name: "tree-design", props: { configure: Object }, emits: ["hand
|
|
|
22
22
|
}(), p.configure.runtime.props = g.value;
|
|
23
23
|
}, { immediate: true }), (e3, a2) => {
|
|
24
24
|
const t2 = i("el-tree");
|
|
25
|
-
return
|
|
25
|
+
return o(), n("div", { class: l(["amb-tree-group-main", h.value]) }, [c(t2, { style: r([b.value, { width: "100%" }]), data: g.value.staticData, "default-expand-all": g.value.defaultExpandAll, "expand-on-click-node": g.value.expandOnClickNode, indent: g.value.retractWidth ? g.value.retractWidth : 18, accordion: g.value.accordion, "show-checkbox": g.value.showCheckbox, props: f }, null, 8, ["style", "data", "default-expand-all", "expand-on-click-node", "indent", "accordion", "show-checkbox"])], 2);
|
|
26
26
|
};
|
|
27
27
|
} });
|
|
28
28
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as t, createBlock as o, openBlock as u, withCtx as i, createElementVNode as n, createVNode as s, createCommentVNode as d, withDirectives as r, unref as m, createElementBlock as p, Fragment as c, renderList as b, createTextVNode as f, vShow as y, normalizeClass as v } from "vue";
|
|
2
|
-
import V from "./dataorigin-input-table.
|
|
2
|
+
import V from "./dataorigin-input-table.vue.js";
|
|
3
3
|
import g from "./condition.vue.js";
|
|
4
4
|
import S from "./row-ul-li.vue.js";
|
|
5
5
|
import "uuid";
|
|
@@ -1,4 +1,28 @@
|
|
|
1
|
-
import t from "
|
|
1
|
+
import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createElementBlock as o, openBlock as d, Fragment as u, createVNode as n, withCtx as i, unref as s, createElementVNode as m, createTextVNode as r } from "vue";
|
|
2
|
+
import { Search as p } from "@element-plus/icons-vue";
|
|
3
|
+
const f = { class: "dialog-footer" }, v = e({ __name: "dataorigin-input-table", props: { modelValue: { type: String, default: "" } }, emits: ["update:modelValue"], setup(e2, { emit: v2 }) {
|
|
4
|
+
const c = e2, g = l(c.modelValue), V = v2, h = [{ id: 1, date: "2016-05-03", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 2, date: "2016-05-02", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 3, date: "2016-05-04", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 4, date: "2016-05-01", name: "Tom", address: "No. 189, Grove St, Los Angeles" }], b = l(false), _ = l([]);
|
|
5
|
+
function y() {
|
|
6
|
+
if (_.value.length > 0) {
|
|
7
|
+
let e3 = "";
|
|
8
|
+
_.value.forEach((l2) => {
|
|
9
|
+
e3 = e3 + l2.name + ",";
|
|
10
|
+
}), e3 = e3.substring(0, e3.length - 1), V("update:modelValue", e3), b.value = false;
|
|
11
|
+
} else b.value = false;
|
|
12
|
+
}
|
|
13
|
+
function S(e3) {
|
|
14
|
+
_.value = e3;
|
|
15
|
+
}
|
|
16
|
+
function w() {
|
|
17
|
+
b.value = true;
|
|
18
|
+
}
|
|
19
|
+
return a(() => c.modelValue, (e3) => {
|
|
20
|
+
g.value = e3;
|
|
21
|
+
}), (e3, l2) => {
|
|
22
|
+
const a2 = t("el-icon"), v3 = t("el-input"), c2 = t("el-table-column"), V2 = t("el-table"), _2 = t("el-button"), A = t("el-dialog");
|
|
23
|
+
return d(), o(u, null, [n(v3, { modelValue: g.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => g.value = e4), placeholder: "请选择", onClick: w }, { suffix: i(() => [n(a2, { onClick: w }, { default: i(() => [n(s(p))]), _: 1 })]), _: 1 }, 8, ["modelValue"]), n(A, { modelValue: b.value, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => b.value = e4), title: "Tips", width: "500" }, { footer: i(() => [m("div", f, [n(_2, { type: "default", onClick: l2[1] || (l2[1] = (e4) => b.value = false) }, { default: i(() => l2[3] || (l2[3] = [r("取消")])), _: 1 }), n(_2, { type: "primary", onClick: y }, { default: i(() => l2[4] || (l2[4] = [r(" 确定 ")])), _: 1 })])]), default: i(() => [n(V2, { data: h, style: { width: "100%" }, onSelectionChange: S }, { default: i(() => [n(c2, { type: "selection", width: "55" }), n(c2, { prop: "date", label: "Date", width: "180" }), n(c2, { prop: "name", label: "Name", width: "180" }), n(c2, { prop: "address", label: "Address" })]), _: 1 })]), _: 1 }, 8, ["modelValue"])], 64);
|
|
24
|
+
};
|
|
25
|
+
} });
|
|
2
26
|
export {
|
|
3
|
-
|
|
27
|
+
v as default
|
|
4
28
|
};
|
package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js
CHANGED
|
@@ -1,28 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Search as p } from "@element-plus/icons-vue";
|
|
3
|
-
const f = { class: "dialog-footer" }, v = e({ __name: "dataorigin-input-table", props: { modelValue: { type: String, default: "" } }, emits: ["update:modelValue"], setup(e2, { emit: v2 }) {
|
|
4
|
-
const c = e2, g = l(c.modelValue), V = v2, h = [{ id: 1, date: "2016-05-03", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 2, date: "2016-05-02", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 3, date: "2016-05-04", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 4, date: "2016-05-01", name: "Tom", address: "No. 189, Grove St, Los Angeles" }], b = l(false), _ = l([]);
|
|
5
|
-
function y() {
|
|
6
|
-
if (_.value.length > 0) {
|
|
7
|
-
let e3 = "";
|
|
8
|
-
_.value.forEach((l2) => {
|
|
9
|
-
e3 = e3 + l2.name + ",";
|
|
10
|
-
}), e3 = e3.substring(0, e3.length - 1), V("update:modelValue", e3), b.value = false;
|
|
11
|
-
} else b.value = false;
|
|
12
|
-
}
|
|
13
|
-
function S(e3) {
|
|
14
|
-
_.value = e3;
|
|
15
|
-
}
|
|
16
|
-
function w() {
|
|
17
|
-
b.value = true;
|
|
18
|
-
}
|
|
19
|
-
return a(() => c.modelValue, (e3) => {
|
|
20
|
-
g.value = e3;
|
|
21
|
-
}), (e3, l2) => {
|
|
22
|
-
const a2 = t("el-icon"), v3 = t("el-input"), c2 = t("el-table-column"), V2 = t("el-table"), _2 = t("el-button"), A = t("el-dialog");
|
|
23
|
-
return d(), o(u, null, [n(v3, { modelValue: g.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => g.value = e4), placeholder: "请选择", onClick: w }, { suffix: i(() => [n(a2, { onClick: w }, { default: i(() => [n(s(p))]), _: 1 })]), _: 1 }, 8, ["modelValue"]), n(A, { modelValue: b.value, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => b.value = e4), title: "Tips", width: "500" }, { footer: i(() => [m("div", f, [n(_2, { type: "default", onClick: l2[1] || (l2[1] = (e4) => b.value = false) }, { default: i(() => l2[3] || (l2[3] = [r("取消")])), _: 1 }), n(_2, { type: "primary", onClick: y }, { default: i(() => l2[4] || (l2[4] = [r(" 确定 ")])), _: 1 })])]), default: i(() => [n(V2, { data: h, style: { width: "100%" }, onSelectionChange: S }, { default: i(() => [n(c2, { type: "selection", width: "55" }), n(c2, { prop: "date", label: "Date", width: "180" }), n(c2, { prop: "name", label: "Name", width: "180" }), n(c2, { prop: "address", label: "Address" })]), _: 1 })]), _: 1 }, 8, ["modelValue"])], 64);
|
|
24
|
-
};
|
|
25
|
-
} });
|
|
1
|
+
import t from "./dataorigin-input-table.vue.js";
|
|
26
2
|
export {
|
|
27
|
-
|
|
3
|
+
t as default
|
|
28
4
|
};
|
|
@@ -6,7 +6,7 @@ const w = { class: "icon-set-center-body" }, x = ["onClick"], z = { class: "dial
|
|
|
6
6
|
M.value = true;
|
|
7
7
|
}
|
|
8
8
|
function A() {
|
|
9
|
-
|
|
9
|
+
F("update:modelValue", N.value), M.value = false;
|
|
10
10
|
}
|
|
11
11
|
return o(() => q.modelValue, (e3) => {
|
|
12
12
|
L.value = e3;
|