super-page-designer 2.3.11-design4 → 2.3.12-design1
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/page-table-util.d.ts +1 -9
- package/dist/es/components/design/utils/page-table-util.js +84 -57
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +32 -31
- package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js +23 -30
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-advanced.vue.js +21 -20
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue.js +5 -91
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue2.js +99 -2
- package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +5 -5
- package/dist/es/components/design/views/assemblys/common/common-watermark.vue.js +24 -0
- package/dist/es/components/design/views/assemblys/common/common-watermark.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/data/component/configuration-value.vue.js +11 -76
- 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 +44 -42
- package/dist/es/components/design/views/assemblys/data/component/formatting.vue.js +23 -20
- package/dist/es/components/design/views/assemblys/data/component/table-column-format.vue.js +19 -0
- package/dist/es/components/design/views/assemblys/data/component/table-column-format.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +55 -56
- 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 +72 -75
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +10 -10
- 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 +2 -26
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +26 -2
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-advanced.vue.js +9 -8
- package/dist/es/components/design/views/assemblys/object-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/object-design.vue3.js +1 -1
- package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +52 -52
- package/dist/es/style.css +16 -12
- package/package.json +5 -5
|
@@ -1,125 +1,122 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, onMounted as l, resolveComponent as o, createBlock as
|
|
2
|
-
import { Setting as y, Search as
|
|
3
|
-
import { getListComponentOptions as
|
|
4
|
-
import
|
|
1
|
+
import { defineComponent as e, ref as a, onMounted as l, resolveComponent as o, createBlock as n, openBlock as t, withCtx as i, createVNode as u, createCommentVNode as r, createElementVNode as s, createTextVNode as p, unref as d, withDirectives as m, createElementBlock as c, Fragment as f, 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 C } from "../../../../utils/assemblys-config.js";
|
|
4
|
+
import V from "../component/querySetting.vue.js";
|
|
5
5
|
import _ from "../../form/common/data-origin.vue.js";
|
|
6
6
|
import D from "../../common/common-variable-bind.vue.js";
|
|
7
7
|
import { setGroupHeaderDataDisplayOrder as h, deleteGroupHeaderByColumnUuid as x } from "../../../../utils/data-table-util.js";
|
|
8
|
-
import { getUuidv4 as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
8
|
+
import { getUuidv4 as U } from "../../../../utils/common-util.js";
|
|
9
|
+
import T from "../../../../utils/eventBus.js";
|
|
10
|
+
import S from "../component/variate-select.vue.js";
|
|
11
11
|
import "@element-plus/icons";
|
|
12
12
|
import "agilebuilder-ui/src/utils/request";
|
|
13
|
-
import
|
|
13
|
+
import { queryTableFields as k, tableResetConfigIndo as j } from "../../../../utils/page-table-util.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";
|
|
16
15
|
import "element-plus";
|
|
17
16
|
/* empty css */
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import H from "
|
|
23
|
-
|
|
24
|
-
|
|
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);
|
|
17
|
+
import q from "../../common/common-i18n-key-input.vue.js";
|
|
18
|
+
import w from "../../common/common-function-code.vue.js";
|
|
19
|
+
import L from "../../common/common-select-table.vue.js";
|
|
20
|
+
import F from "./tablecolumn-dynamic-column.vue.js";
|
|
21
|
+
import H from "../component/table-column-format.vue.js";
|
|
22
|
+
const M = { style: { padding: "8px 0px 0px 0px" } }, E = { class: "amb-design-attr-item-inline" }, O = { style: { padding: "8px 0px 0px 0px" } }, G = { style: { padding: "8px 0px 0px 0px" } }, A = { style: { padding: "8px 0px 0px 0px" } }, $ = { style: { padding: "8px 0px 0px 0px" } }, P = { style: { padding: "8px 0px 0px 0px" } }, R = e({ __name: "tablecolumn-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, tableConfigure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
|
|
23
|
+
const R2 = e2, B = a(["base", "editLine", "formatting", "appearance", "verification", "userDefined", "dataOrigin", "columnModel"]), W = a(null), z = a(null), I = a(null), Q = a([]), J = R2.tableConfigure.props.groupHeaders, K = a(null), X = N(), Y = a(false);
|
|
27
24
|
l(() => {
|
|
28
25
|
var _a;
|
|
29
|
-
"dynamicColumnSelect" === ((_a =
|
|
26
|
+
"dynamicColumnSelect" === ((_a = R2.configure.props.base) == null ? void 0 : _a.prop) && R2.configure.props.dynamicColumnData && R2.configure.props.dynamicColumnData.tableName && (Z.value, ee({ name: R2.configure.props.dynamicColumnData.tableName, alias: R2.configure.props.dynamicColumnData.tableAlias }));
|
|
30
27
|
}), function() {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
28
|
+
R2.configure.props.verification.type && ("text" === R2.configure.props.verification.type && (R2.configure.props.verification.typ = "string"), "int" === R2.configure.props.verification.type && (R2.configure.props.verification.typ = "integer"));
|
|
29
|
+
R2.configure.props.format || (R2.configure.props.format = {});
|
|
30
|
+
R2.configure.props.base && "operation" === R2.configure.props.base.prop ? Y.value = true : Y.value = false;
|
|
31
|
+
R2.configure.props.dynamicColumnData || (R2.configure.props.dynamicColumnData = {});
|
|
32
|
+
R2.configure.props.dynamicColumnData.selectCondition || (R2.configure.props.dynamicColumnData.selectCondition = []);
|
|
33
|
+
R2.configure.props.dynamicColumnData.updateCondition || (R2.configure.props.dynamicColumnData.updateCondition = []);
|
|
34
|
+
R2.configure.props.dynamicColumnData.columnModelTable || (R2.configure.props.dynamicColumnData.columnModelTable = []);
|
|
38
35
|
}();
|
|
39
|
-
const
|
|
40
|
-
function
|
|
41
|
-
if ("masterTable" ==
|
|
42
|
-
let a2 =
|
|
43
|
-
a2 += "_", a2 +=
|
|
36
|
+
const Z = a("");
|
|
37
|
+
function ee(e3) {
|
|
38
|
+
if ("masterTable" == Z.value) {
|
|
39
|
+
let a2 = R2.configure.props.dynamicColumnData.dataTableCode ? R2.configure.props.dynamicColumnData.dataTableCode : "";
|
|
40
|
+
a2 += "_", a2 += R2.configure.props.dynamicColumnData.tableSysVersion ? R2.configure.props.dynamicColumnData.tableSysVersion : "", a2 += "_", a2 += R2.configure.props.dynamicColumnData.tableName ? R2.configure.props.dynamicColumnData.tableName : "";
|
|
44
41
|
let l2 = e3.systemCode ? e3.systemCode : "";
|
|
45
|
-
l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != a2 && (
|
|
46
|
-
const e4 =
|
|
42
|
+
l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != a2 && (R2.configure.props.dynamicColumnData.dataTableCode = e3.systemCode, R2.configure.props.dynamicColumnData.tableSysVersion = e3.systemVersion, R2.configure.props.dynamicColumnData.tableName = e3.name, R2.configure.props.dynamicColumnData.tableAlias = e3.alias, function() {
|
|
43
|
+
const e4 = R2.configure.props.dynamicColumnData.dataTableCode ? R2.configure.props.dynamicColumnData.dataTableCode : X.pageContext.systemCode, a3 = R2.configure.props.dynamicColumnData.tableSysVersion ? R2.configure.props.dynamicColumnData.tableSysVersion : X.pageContext.systemVersion, l3 = R2.configure.props.dynamicColumnData.tableName;
|
|
47
44
|
if (!l3) return;
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
k(e4, a3, l3).then((e5) => {
|
|
46
|
+
Q.value = e5, I.value.changeTableFields(e5);
|
|
50
47
|
}).catch((e5) => {
|
|
51
48
|
});
|
|
52
49
|
}());
|
|
53
50
|
} else {
|
|
54
|
-
let a2 =
|
|
55
|
-
a2 += "_", a2 +=
|
|
51
|
+
let a2 = R2.configure.props.dynamicColumnData.settingDataTableCode ? R2.configure.props.dynamicColumnData.settingDataTableCode : "";
|
|
52
|
+
a2 += "_", a2 += R2.configure.props.dynamicColumnData.settingDataSysVersion ? R2.configure.props.dynamicColumnData.settingDataSysVersion : "", a2 += "_", a2 += R2.configure.props.dynamicColumnData.settingDataName ? R2.configure.props.dynamicColumnData.settingDataName : "";
|
|
56
53
|
let l2 = e3.systemCode ? e3.systemCode : "";
|
|
57
|
-
l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != a2 && (
|
|
58
|
-
const e4 =
|
|
54
|
+
l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != a2 && (R2.configure.props.dynamicColumnData.settingDataTableCode = e3.systemCode, R2.configure.props.dynamicColumnData.settingDataSysVersion = e3.systemVersion, R2.configure.props.dynamicColumnData.settingDataName = e3.name, R2.configure.props.dynamicColumnData.settingDataAlias = e3.alias, function() {
|
|
55
|
+
const e4 = R2.configure.props.dynamicColumnData.settingDataTableCode ? R2.configure.props.dynamicColumnData.settingDataTableCode : X.pageContext.systemCode, a3 = R2.configure.props.dynamicColumnData.settingDataSysVersion ? R2.configure.props.dynamicColumnData.settingDataSysVersion : X.pageContext.systemVersion, l3 = R2.configure.props.dynamicColumnData.settingDataName;
|
|
59
56
|
if (!l3) return;
|
|
60
|
-
|
|
61
|
-
|
|
57
|
+
k(e4, a3, l3).then((e5) => {
|
|
58
|
+
ae.value = e5, I.value.changeTableFields(e5), W.value.changeTableFields(e5), z.value.changeTableFields(e5);
|
|
62
59
|
}).catch((e5) => {
|
|
63
60
|
});
|
|
64
61
|
}());
|
|
65
62
|
}
|
|
66
63
|
}
|
|
67
|
-
let
|
|
68
|
-
const
|
|
69
|
-
function
|
|
70
|
-
|
|
64
|
+
let ae = a([]);
|
|
65
|
+
const le = a(false);
|
|
66
|
+
function oe() {
|
|
67
|
+
le.value = false;
|
|
71
68
|
}
|
|
72
|
-
function
|
|
73
|
-
|
|
69
|
+
function ne(e3) {
|
|
70
|
+
R2.configure.props.querySetting = e3;
|
|
74
71
|
}
|
|
75
|
-
function
|
|
76
|
-
e3 ?
|
|
72
|
+
function te(e3) {
|
|
73
|
+
e3 ? R2.tableConfigure.props.base.editable = true : R2.configure.name = "";
|
|
77
74
|
}
|
|
78
|
-
function
|
|
79
|
-
|
|
75
|
+
function ie(e3) {
|
|
76
|
+
j(R2.configure, e3);
|
|
80
77
|
}
|
|
81
|
-
function
|
|
82
|
-
const a2 =
|
|
83
|
-
if (
|
|
84
|
-
const e4 =
|
|
78
|
+
function ue(e3) {
|
|
79
|
+
const a2 = R2.configure.uuid;
|
|
80
|
+
if (R2.tableConfigure.props.base.isEnableGroupHeader) if (e3 && R2.tableConfigure.props.base.isEnableGroupHeader) {
|
|
81
|
+
const e4 = J.filter((e5) => e5.columnUuid === a2);
|
|
85
82
|
if (!e4 || 0 === e4.length) {
|
|
86
|
-
let e5 = { uuid:
|
|
87
|
-
h(null, e5,
|
|
83
|
+
let e5 = { uuid: U(), columnUuid: a2, titleText: R2.configure.props.base.name, isLeaf: true };
|
|
84
|
+
h(null, e5, J), J.push(e5);
|
|
88
85
|
}
|
|
89
|
-
} else
|
|
90
|
-
else
|
|
86
|
+
} else R2.tableConfigure.props.base.isEnableGroupHeader && x(J, a2);
|
|
87
|
+
else T.$emit("setHiddenColumsUuid", { uuid: R2.configure.uuid, name: R2.configure.props.base.name, value: e3 });
|
|
91
88
|
}
|
|
92
|
-
function
|
|
93
|
-
|
|
89
|
+
function re(e3) {
|
|
90
|
+
R2.configure.props.base.defaultValue = e3;
|
|
94
91
|
}
|
|
95
|
-
function
|
|
96
|
-
|
|
92
|
+
function se() {
|
|
93
|
+
T.$emit("reloadTable-" + R2.tableConfigure.uuid);
|
|
97
94
|
}
|
|
98
|
-
function
|
|
99
|
-
|
|
95
|
+
function pe(e3) {
|
|
96
|
+
me(R2.tableConfigure.props.groupHeaders);
|
|
100
97
|
}
|
|
101
|
-
function
|
|
102
|
-
|
|
98
|
+
function de(e3) {
|
|
99
|
+
me(R2.tableConfigure.props.groupHeaders);
|
|
103
100
|
}
|
|
104
|
-
function
|
|
105
|
-
if (
|
|
101
|
+
function me(e3) {
|
|
102
|
+
if (R2.tableConfigure.props.base.isEnableGroupHeader) {
|
|
106
103
|
e3.forEach((e4) => {
|
|
107
104
|
});
|
|
108
105
|
for (let a2 = 0; a2 < e3.length; a2++) {
|
|
109
106
|
const l2 = e3[a2];
|
|
110
|
-
if (l2.columnUuid ===
|
|
111
|
-
l2.titleText =
|
|
107
|
+
if (l2.columnUuid === R2.configure.uuid) {
|
|
108
|
+
l2.titleText = R2.configure.props.base.name, l2.prop = R2.configure.props.base.prop;
|
|
112
109
|
break;
|
|
113
110
|
}
|
|
114
|
-
l2.children && l2.children.length > 0 &&
|
|
111
|
+
l2.children && l2.children.length > 0 && me(l2.children);
|
|
115
112
|
}
|
|
116
113
|
}
|
|
117
114
|
}
|
|
118
115
|
return (a2, l2) => {
|
|
119
|
-
const h2 = o("el-input"), x2 = o("el-form-item"),
|
|
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 });
|
|
116
|
+
const h2 = o("el-input"), x2 = o("el-form-item"), U2 = o("el-radio"), T2 = o("el-radio-group"), k2 = o("el-switch"), j2 = o("el-option"), N2 = o("el-select"), R3 = o("el-icon"), W2 = o("el-collapse-item"), z2 = o("el-input-number"), I2 = o("el-checkbox"), Q2 = o("el-checkbox-group"), J2 = o("el-col"), X2 = o("el-button"), Z2 = o("el-collapse"), ae2 = o("el-form");
|
|
117
|
+
return t(), n(ae2, { "label-width": "80px", size: "small" }, { default: i(() => [u(Z2, { modelValue: B.value, "onUpdate:modelValue": l2[30] || (l2[30] = (e3) => B.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [u(W2, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", M, [u(x2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: i(() => [u(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 }), Y.value ? r("", true) : (t(), n(x2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: i(() => [u(S, { 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(q, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.name = a3), onChange: pe, 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(w, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), u(x2, { label: "显示顺序", class: "amb-design-attr-item" }, { default: i(() => [u(h2, { modelValue: e2.configure.props.base.displayOrder, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.displayOrder = a3), modelModifiers: { number: true }, onBlur: se, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), Y.value ? r("", true) : (t(), n(x2, { key: 1, label: "是否显示 ", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.visible, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.visible = a3), class: "ml-4", onChange: ue }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[31] || (l2[31] = [p("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[32] || (l2[32] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Y.value ? r("", true) : (t(), n(x2, { key: 2, label: "是否导出", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.exportable, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.exportable = a3) }, null, 8, ["modelValue"])]), _: 1 })), Y.value ? r("", true) : (t(), n(x2, { key: 3, label: "查询设置", class: "amb-design-attr-item" }, { default: i(() => [s("div", E, [u(N2, { modelValue: e2.configure.props.base.querySettingName, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.querySettingName = a3) }, { default: i(() => [u(j2, { label: "不查询", value: "no" }), u(j2, { label: "普通查询", value: "normal" }), u(j2, { label: "高级查询", value: "advanced" })]), _: 1 }, 8, ["modelValue"]), "normal" === e2.configure.props.base.querySettingName || "advanced" === e2.configure.props.base.querySettingName ? (t(), n(R3, { key: 0, style: { "margin-left": "10px" }, onClick: l2[8] || (l2[8] = (e3) => le.value = true) }, { default: i(() => [u(d(y))]), _: 1 })) : r("", true)])]), _: 1 })), Y.value || "normal" !== e2.configure.props.base.querySettingName && "advanced" !== e2.configure.props.base.querySettingName || "STRING" !== e2.configure.props.base.propType ? r("", true) : (t(), n(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(j2, { label: "全匹配", value: "all" }), u(j2, { label: "左匹配", value: "left" }), u(j2, { label: "右匹配", value: "right" }), u(j2, { label: "精确查询", value: "exactQuery" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Y.value ? r("", true) : (t(), n(x2, { key: 5, label: "是否合计", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })), Y.value ? r("", true) : (t(), n(x2, { key: 6, label: "是否筛选", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.filterable, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.filterable = a3) }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 }), Y.value || "dynamicColumnSelect" == e2.configure.props.base.prop ? r("", true) : (t(), n(_, { key: 0, configure: e2.configure, isTable: true, isDynamicColumn: "dynamicColumnSelect" === e2.configure.props.base.prop, remote: true }, null, 8, ["configure", "isDynamicColumn"])), u(F, { operationColumn: Y.value, configure: e2.configure, tableConfigure: e2.tableConfigure, pageDesign: e2.pageDesign }, null, 8, ["operationColumn", "configure", "tableConfigure", "pageDesign"]), Y.value ? r("", true) : (t(), n(W2, { key: 1, title: "行编辑设置", name: "editLine", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", O, [u(x2, { label: "是否编辑", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { onChange: te, 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(D, { modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": re }, null, 8, ["modelValue"])]), _: 1 }), e2.configure.props.editLine.editable ? (t(), n(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: ie }, { default: i(() => [(t(true), c(f, null, g(d(C)(), (e3) => (t(), n(j2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), m(u(x2, { label: "文件uuid", class: "amb-design-attr-item" }, { default: i(() => [u(S, { 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]]), m(u(x2, { label: "自定义控件名称", class: "amb-design-attr-item" }, { default: i(() => [u(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 })), Y.value ? r("", true) : (t(), n(W2, { key: 2, title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", G, [u(H, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"])])]), _: 1 })), u(W2, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", A, [u(x2, { label: "固定列", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.listColumnFixed, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.base.listColumnFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[33] || (l2[33] = [p("否")])), _: 1 }), u(U2, { value: "left" }, { default: i(() => l2[34] || (l2[34] = [p("居左")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[35] || (l2[35] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), Y.value ? r("", true) : (t(), n(x2, { key: 0, label: "是否排序", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.sortable, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.sortable = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[36] || (l2[36] = [p("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[37] || (l2[37] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), u(x2, { label: "列宽", class: "amb-design-attr-item" }, { default: i(() => [u(z2, { style: { width: "100%" }, modelValue: e2.configure.props.base.columnWidth, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.columnWidth = a3), precision: 1 }, null, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[38] || (l2[38] = [p("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[39] || (l2[39] = [p("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[40] || (l2[40] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "内容对齐", class: "amb-design-attr-item-linefeed-two" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[41] || (l2[41] = [p("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[42] || (l2[42] = [p("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[43] || (l2[43] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), !Y.value && e2.configure.props.editLine.editable ? (t(), n(W2, { key: 3, title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", $, [u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(I2, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.verification.required = a3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), u(Q2, { modelValue: e2.configure.props.verification.type, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.verification.type = a3) }, { default: i(() => [u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(I2, { label: "文本", value: "string" }), u(I2, { label: "整形", value: "integer" }), u(I2, { label: "数字", value: "number" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(I2, { label: "日期", value: "date" }), u(I2, { label: "小数", value: "float" }), u(I2, { label: "布尔", value: "boolean" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(I2, { label: "邮件", value: "email" }), u(I2, { label: "网址", value: "url" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(I2, { label: "单精度", value: "float" }), u(I2, { label: "十六进制", value: "hex" })]), _: 1 })]), _: 1 }, 8, ["modelValue"]), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { span: 8 }, { default: i(() => [u(I2, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.verification.verifyRegex = a3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), u(J2, { span: 14 }, { default: i(() => [u(h2, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": l2[24] || (l2[24] = (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(J2, { span: 8 }, { default: i(() => [u(I2, { label: "自定义", value: "custom" })]), _: 1 }), u(J2, { span: 14 }, { default: i(() => [u(X2, { type: "default" }, { default: i(() => l2[44] || (l2[44] = [p("自定义逻辑")])), _: 1 }), u(X2, { type: "default", icon: d(v), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })) : r("", true), Y.value ? r("", true) : (t(), n(W2, { key: 4, title: "用户自定义", name: "userDefined", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", P, [u(x2, { label: "可自定义", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.defined, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.definition.defined = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[45] || (l2[45] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[46] || (l2[46] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义导出", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedExport, "onUpdate:modelValue": l2[26] || (l2[26] = (a3) => e2.configure.props.definition.definedExport = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[47] || (l2[47] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[48] || (l2[48] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义合并", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedMerge, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.definition.definedMerge = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[49] || (l2[49] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[50] || (l2[50] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义位置", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedPosition, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.definition.definedPosition = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[51] || (l2[51] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[52] || (l2[52] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义冻结", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedFixed, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.definition.definedFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[53] || (l2[53] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[54] || (l2[54] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })), le.value ? (t(), n(V, { key: 5, querySetting: e2.configure.props.querySetting, onAdd: ne, onClose: oe }, null, 8, ["querySetting"])) : r("", true), u(L, { ref_key: "selectTableDialog", ref: K, onSelectTable: ee, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
121
118
|
};
|
|
122
119
|
} });
|
|
123
120
|
export {
|
|
124
|
-
|
|
121
|
+
R as default
|
|
125
122
|
};
|
package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { defineComponent as e, ref as a, onMounted as l, resolveComponent as o, createElementBlock as n, openBlock as t, Fragment as i, createBlock as u, createCommentVNode as m, createVNode as r, withCtx as s, createElementVNode as d, withDirectives as c, createTextVNode as p, unref as g, renderList as f, normalizeClass as y, vShow as C } from "vue";
|
|
2
2
|
import { Search as b, Close as D } from "@element-plus/icons-vue";
|
|
3
3
|
import V from "../../common/page-permission-select.vue.js";
|
|
4
|
-
import
|
|
5
|
-
import { usePageContextStore as
|
|
4
|
+
import v from "../../common/common-select-table.vue.js";
|
|
5
|
+
import { usePageContextStore as T } from "../../../../../../stores/page-store.js";
|
|
6
6
|
import { queryTableFields as _ } from "../../../../utils/page-table-util.js";
|
|
7
7
|
import S from "../../form/common/condition.vue.js";
|
|
8
8
|
import k from "../component/dynamic-column.vue.js";
|
|
9
9
|
import F from "../component/configuration-value.vue.js";
|
|
10
10
|
import h from "agilebuilder-ui/src/utils/request";
|
|
11
|
+
import "uuid";
|
|
12
|
+
import "../../../../utils/assemblys-config.js";
|
|
11
13
|
const U = { style: { padding: "8px 0px 0px 0px" } }, N = ["onClick"], j = e({ __name: "tablecolumn-dynamic-column", props: { configure: { type: Object, default: () => ({ props: {} }) }, tableConfigure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) }, operationColumn: { type: Boolean, default: false } }, setup(e2) {
|
|
12
|
-
const j2 = e2, x = a(), G = a(""), q =
|
|
14
|
+
const j2 = e2, x = a(), G = a(""), q = T(), w = a(), A = a(), L = a(), O = a(""), R = a([]);
|
|
13
15
|
let z = a([]);
|
|
14
16
|
const P = a({});
|
|
15
17
|
function I(e3) {
|
|
@@ -70,21 +72,19 @@ const U = { style: { padding: "8px 0px 0px 0px" } }, N = ["onClick"], j = e({ __
|
|
|
70
72
|
function ee() {
|
|
71
73
|
Y.value = false;
|
|
72
74
|
}
|
|
73
|
-
function ae(e3) {
|
|
74
|
-
}
|
|
75
75
|
return l(() => {
|
|
76
76
|
var _a, _b, _c;
|
|
77
77
|
"dynamicColumnSelect" === ((_a = j2.configure.props.base) == null ? void 0 : _a.prop) && ("dataTable" === ((_b = j2.configure.props.dynamicColumnData) == null ? void 0 : _b.dataSources) && j2.configure.props.dynamicColumnData.dataTableCode ? E() : "optionGroup" === ((_c = j2.configure.props.dynamicColumnData) == null ? void 0 : _c.dataSources) && j2.configure.props.dynamicColumnData.optionGroupCode && Q(""), j2.configure.props.dynamicColumnData && j2.configure.props.dynamicColumnData.settingDataTableCode && H());
|
|
78
78
|
}), (a2, l2) => {
|
|
79
|
-
const
|
|
80
|
-
return t(), n(i, null, [e2.operationColumn || "dynamicColumnSelect" !== e2.configure.props.base.prop ? m("", true) : (t(), u(
|
|
79
|
+
const T2 = o("el-radio"), _2 = o("el-radio-group"), h2 = o("el-form-item"), G2 = o("el-input"), q2 = o("el-button"), E2 = o("el-option"), H2 = o("el-select"), ae = o("el-divider"), le = o("el-collapse-item");
|
|
80
|
+
return t(), n(i, null, [e2.operationColumn || "dynamicColumnSelect" !== e2.configure.props.base.prop ? m("", true) : (t(), u(le, { key: 0, title: "动态列", name: "columnModel", class: "amb-design-attr-group-header" }, { default: s(() => {
|
|
81
81
|
var _a, _b, _c, _d;
|
|
82
|
-
return [d("div", U, [r(h2, { label: "数据来源", class: "amb-design-attr-item" }, { default: s(() => [r(_2, { modelValue: e2.configure.props.dynamicColumnData.dataSources, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.props.dynamicColumnData.dataSources = a3), onChange: I }, { default: s(() => [r(
|
|
82
|
+
return [d("div", U, [r(h2, { label: "数据来源", class: "amb-design-attr-item" }, { default: s(() => [r(_2, { modelValue: e2.configure.props.dynamicColumnData.dataSources, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.props.dynamicColumnData.dataSources = a3), onChange: I }, { default: s(() => [r(T2, { value: "dataTable" }, { default: s(() => l2[21] || (l2[21] = [p("数据表/视图")])), _: 1 }), r(T2, { value: "sql" }, { default: s(() => l2[22] || (l2[22] = [p("SQL语句")])), _: 1 }), r(T2, { value: "optionGroup" }, { default: s(() => l2[23] || (l2[23] = [p("选项组")])), _: 1 }), r(T2, { value: "bean" }, { default: s(() => l2[24] || (l2[24] = [p("bean名称")])), _: 1 }), r(T2, { value: "service" }, { default: s(() => l2[25] || (l2[25] = [p("服务")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "bean" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(h2, { key: 0, label: "bean名称", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.beanName, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.props.dynamicColumnData.beanName = a3) }, null, 8, ["modelValue"])]), _: 1 })) : m("", true), "service" === e2.configure.props.dynamicColumnData.dataSources && e2.configure.props.dynamicColumnData.service ? (t(), u(h2, { key: 1, label: "服务名", class: "amb-design-attr-item" }, { default: s(() => [r(V, { pageDesign: e2.pageDesign, rowObj: e2.configure.props.dynamicColumnData.service, onlyService: "", "onUpdate:modelValue": l2[2] || (l2[2] = (e3, a3, l3) => function(e4, a4, l4) {
|
|
83
83
|
j2.configure.props.dynamicColumnData.service.simpleCode = a4, j2.configure.props.dynamicColumnData.service.name = l4;
|
|
84
84
|
}(0, a3, l3)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 })) : m("", true), r(h2, { label: "监控字段", title: "监控主表字段", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.watchParentAttr, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.dynamicColumnData.watchParentAttr = a3) }, null, 8, ["modelValue"])]), _: 1 }), "dataTable" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(h2, { key: 2, label: "数据表视图", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.dataTableCode, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.dynamicColumnData.dataTableCode = a3), title: e2.configure.props.dynamicColumnData.dataTableCode, onClick: l2[7] || (l2[7] = (e3) => B("masterTable")), clearable: "", readonly: "true" }, { append: s(() => [r(q2, { type: "default", icon: g(b), onClick: l2[4] || (l2[4] = (e3) => B("masterTable")), size: "small" }, null, 8, ["icon"]), r(q2, { type: "default", icon: g(D), onClick: l2[5] || (l2[5] = (e3) => M("masterTable")), title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 })) : m("", true), "dataTable" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(h2, { key: 3, label: "排序", class: "amb-design-attr-item" }, { default: s(() => [r(q2, { type: "primary", onClick: W }, { default: s(() => l2[26] || (l2[26] = [p("添加")])), _: 1 }), r(q2, { type: "default", onClick: X }, { default: s(() => l2[27] || (l2[27] = [p("删除")])), _: 1 }), (t(true), n(i, null, f(e2.configure.props.dynamicColumnData.dataTableSortTable, (e3, a3) => (t(), n("div", { key: a3, onClick: (e4) => function(e5) {
|
|
85
85
|
O.value = e5;
|
|
86
|
-
}(a3), style: { "margin-top": "6px" }, class: y(O.value === a3 ? "amb-design-attr-item-inline seleteSort" : "amb-design-attr-item-inline") }, [r(H2, { modelValue: e3.sortColumn, "onUpdate:modelValue": (a4) => e3.sortColumn = a4, filterable: "", clearable: "", placeholder: "请选择" }, { default: s(() => [(t(true), n(i, null, f(R.value, (e4, a4) => (t(), u(E2, { key: a4, label: e4.alias + "(" + e4.dbColumnName + ")", value: e4.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"]), r(H2, { modelValue: e3.sortOrder, "onUpdate:modelValue": (a4) => e3.sortOrder = a4, style: { "margin-left": "10px" }, placeholder: "请选择" }, { default: s(() => [r(E2, { label: "升序", value: "asc" }), r(E2, { label: "降序", value: "desc" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])], 10, N))), 128))]), _: 1 })) : m("", true), c(r(h2, { label: "查询条件", class: "amb-design-attr-item" }, { default: s(() => [r(S, { title: "查询条件", list: e2.configure.props.dynamicColumnData.searchcondition, ref_key: "queryConditionRef", ref: w }, null, 8, ["list"])]), _: 1 }, 512), [[C, "dataTable" === e2.configure.props.dynamicColumnData.dataSources]]), c(r(h2, { label: "SQL", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.sql, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.dynamicColumnData.sql = a3), rows: 2, type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[C, "sql" === e2.configure.props.dynamicColumnData.dataSources]]), c(r(h2, { label: "选项组名", class: "amb-design-attr-item" }, { default: s(() => [r(H2, { modelValue: e2.configure.props.dynamicColumnData.optionGroupCode, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.dynamicColumnData.optionGroupCode = a3), filterable: "", remote: "", "reserve-keyword": "", clearable: "", placeholder: "请选择", "remote-show-suffix": "", "remote-method": Q, loading: J.value }, { default: s(() => [(t(true), n(i, null, f(K.value, (e3) => (t(), u(E2, { key: e3.code, label: e3.name + "(" + e3.code + ")", value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "loading"])]), _: 1 }, 512), [[C, "optionGroup" === e2.configure.props.dynamicColumnData.dataSources]]), r(
|
|
87
|
-
}), _: 1 })), r(
|
|
86
|
+
}(a3), style: { "margin-top": "6px" }, class: y(O.value === a3 ? "amb-design-attr-item-inline seleteSort" : "amb-design-attr-item-inline") }, [r(H2, { modelValue: e3.sortColumn, "onUpdate:modelValue": (a4) => e3.sortColumn = a4, filterable: "", clearable: "", placeholder: "请选择" }, { default: s(() => [(t(true), n(i, null, f(R.value, (e4, a4) => (t(), u(E2, { key: a4, label: e4.alias + "(" + e4.dbColumnName + ")", value: e4.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"]), r(H2, { modelValue: e3.sortOrder, "onUpdate:modelValue": (a4) => e3.sortOrder = a4, style: { "margin-left": "10px" }, placeholder: "请选择" }, { default: s(() => [r(E2, { label: "升序", value: "asc" }), r(E2, { label: "降序", value: "desc" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])], 10, N))), 128))]), _: 1 })) : m("", true), c(r(h2, { label: "查询条件", class: "amb-design-attr-item" }, { default: s(() => [r(S, { title: "查询条件", list: e2.configure.props.dynamicColumnData.searchcondition, ref_key: "queryConditionRef", ref: w }, null, 8, ["list"])]), _: 1 }, 512), [[C, "dataTable" === e2.configure.props.dynamicColumnData.dataSources]]), c(r(h2, { label: "SQL", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.sql, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.dynamicColumnData.sql = a3), rows: 2, type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[C, "sql" === e2.configure.props.dynamicColumnData.dataSources]]), c(r(h2, { label: "选项组名", class: "amb-design-attr-item" }, { default: s(() => [r(H2, { modelValue: e2.configure.props.dynamicColumnData.optionGroupCode, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.dynamicColumnData.optionGroupCode = a3), filterable: "", remote: "", "reserve-keyword": "", clearable: "", placeholder: "请选择", "remote-show-suffix": "", "remote-method": Q, loading: J.value }, { default: s(() => [(t(true), n(i, null, f(K.value, (e3) => (t(), u(E2, { key: e3.code, label: e3.name + "(" + e3.code + ")", value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "loading"])]), _: 1 }, 512), [[C, "optionGroup" === e2.configure.props.dynamicColumnData.dataSources]]), r(ae, null, { default: s(() => l2[28] || (l2[28] = [d("span", null, "列模型设置", -1)])), _: 1 }), r(h2, { label: "数据表", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.settingDataTableCode, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.dynamicColumnData.settingDataTableCode = a3), title: e2.configure.props.dynamicColumnData.settingDataTableCode, clearable: "", readonly: "true" }, { append: s(() => [r(q2, { type: "default", icon: g(b), onClick: l2[10] || (l2[10] = (e3) => B("sublist")), size: "small" }, null, 8, ["icon"]), r(q2, { type: "default", icon: g(D), onClick: l2[11] || (l2[11] = (e3) => M("sublist")), title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }), r(h2, { label: "关联字段", title: "与主表关联字段", class: "amb-design-attr-item" }, { default: s(() => [r(H2, { modelValue: e2.configure.props.dynamicColumnData.settingRelationColumn, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.dynamicColumnData.settingRelationColumn = a3), clearable: "", filterable: "" }, { default: s(() => [(t(true), n(i, null, f(g(z), (e3, a3) => (t(), u(E2, { key: a3, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(h2, { label: "查询条件", title: "查询附加条件", class: "amb-design-attr-item" }, { default: s(() => [r(S, { title: "查询条件", list: e2.configure.props.dynamicColumnData.selectCondition, ref_key: "selectConditionRef", ref: A }, null, 8, ["list"])]), _: 1 }), r(h2, { label: "更新条件", title: "更新附加条件", class: "amb-design-attr-item" }, { default: s(() => [r(S, { title: "更新条件", list: e2.configure.props.dynamicColumnData.updateCondition, ref_key: "updateConditionRef", ref: L }, null, 8, ["list"])]), _: 1 }), r(h2, { label: "配置模型", title: "配置模型", class: "amb-design-attr-item" }, { default: s(() => [r(k, { configure: e2.configure, pageDesign: e2.pageDesign, clolumnTableFields: g(z), modelTableFieldList: R.value }, null, 8, ["configure", "pageDesign", "clolumnTableFields", "modelTableFieldList"])]), _: 1 }), r(h2, { label: "分组标题", title: "分组标题类型", class: "amb-design-attr-item" }, { default: s(() => [r(H2, { modelValue: e2.configure.props.dynamicColumnData.mergeFieldType, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.dynamicColumnData.mergeFieldType = a3), clearable: "" }, { default: s(() => [r(E2, { label: "不设置分组标题", value: "no" }), r(E2, { label: "合并为一组", value: "one" }), r(E2, { label: "分组字段", value: "more" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "one" === ((_a = e2.configure.props.dynamicColumnData) == null ? void 0 : _a.mergeFieldType) ? (t(), u(h2, { key: 4, label: "设置标题", title: "设置标题", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.mergeName, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.dynamicColumnData.mergeName = a3) }, null, 8, ["modelValue"])]), _: 1 })) : m("", true), "one" === ((_b = e2.configure.props.dynamicColumnData) == null ? void 0 : _b.mergeFieldType) ? (t(), u(h2, { key: 5, label: "标题国际化key", title: "国际化key", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.mergeNameI18nKey, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.dynamicColumnData.mergeNameI18nKey = a3) }, null, 8, ["modelValue"])]), _: 1 })) : m("", true), "more" === ((_c = e2.configure.props.dynamicColumnData) == null ? void 0 : _c.mergeFieldType) ? (t(), u(h2, { key: 6, label: "设置字段", title: "设置字段", class: "amb-design-attr-item" }, { default: s(() => ["dataTable" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(H2, { key: 0, modelValue: e2.configure.props.dynamicColumnData.mergeField, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.dynamicColumnData.mergeField = a3), filterable: "", clearable: "", placeholder: "请选择" }, { default: s(() => [(t(true), n(i, null, f(R.value, (e3, a3) => (t(), u(E2, { key: a3, label: e3.alias + "(" + e3.dbColumnName + ")", value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])) : "optionGroup" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(G2, { key: 1, disabled: true, modelValue: e2.configure.props.dynamicColumnData.mergeFieldLabelTemp, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.dynamicColumnData.mergeFieldLabelTemp = a3) }, null, 8, ["modelValue"])) : "sql" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(G2, { key: 2, modelValue: e2.configure.props.dynamicColumnData.mergeField, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.dynamicColumnData.mergeField = a3) }, null, 8, ["modelValue"])) : m("", true)]), _: 1 })) : m("", true), "more" === ((_d = e2.configure.props.dynamicColumnData) == null ? void 0 : _d.mergeFieldType) ? (t(), u(h2, { key: 7, label: "内容与标题对应字段", title: "内容与标题对应字段", class: "amb-design-attr-item" }, { default: s(() => [r(H2, { modelValue: e2.configure.props.dynamicColumnData.mergeTitleContentJoinField, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.dynamicColumnData.mergeTitleContentJoinField = a3), filterable: "", clearable: "", placeholder: "请选择" }, { default: s(() => [(t(true), n(i, null, f(g(z), (e3, a3) => (t(), u(E2, { key: a3, label: e3.alias + "(" + e3.dbColumnName + ")", value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : m("", true)])];
|
|
87
|
+
}), _: 1 })), r(v, { ref_key: "selectTableDialog", ref: x, onSelectTable: $, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"]), Y.value ? (t(), u(F, { key: 1, ref_key: "configurationRef", ref: Z, titleValueSetConfigure: P.value, pageDesign: e2.pageDesign, onClose: ee }, null, 8, ["titleValueSetConfigure", "pageDesign"])) : m("", true)], 64);
|
|
88
88
|
};
|
|
89
89
|
} });
|
|
90
90
|
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.vue2.js";
|
|
3
3
|
import g from "./condition.vue.js";
|
|
4
4
|
import S from "./row-ul-li.vue.js";
|
|
5
5
|
import "uuid";
|
|
@@ -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.vue2.js";
|
|
26
2
|
export {
|
|
27
|
-
|
|
3
|
+
t as default
|
|
28
4
|
};
|
package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js
CHANGED
|
@@ -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/file-upload/fileupload-attr-advanced.vue.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { defineComponent as e, ref as o, resolveComponent as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { defineComponent as e, ref as o, resolveComponent as a, createBlock as l, openBlock as r, withCtx as t, createVNode as u } from "vue";
|
|
2
|
+
import m from "../../common/common-advanced-basic.vue.js";
|
|
3
|
+
import n from "../../common/common-watermark.vue.js";
|
|
4
|
+
const c = e({ __name: "fileupload-attr-advanced", props: { configure: { type: Object, required: true }, default: () => ({ props: {} }) }, setup(e2) {
|
|
5
|
+
const c2 = o(["base"]);
|
|
6
|
+
return (o2, i) => {
|
|
7
|
+
const p = a("el-collapse-item"), s = a("el-collapse"), d = a("el-form");
|
|
8
|
+
return r(), l(d, { "label-width": "80px", size: "small" }, { default: t(() => [u(s, { modelValue: c2.value, "onUpdate:modelValue": i[0] || (i[0] = (e3) => c2.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [u(m, { configure: e2.configure, type: "form" }, null, 8, ["configure"]), u(p, { title: "水印设置", name: "watermark", class: "amb-design-attr-group-header" }, { default: t(() => [u(n, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
8
9
|
};
|
|
9
10
|
} });
|
|
10
11
|
export {
|
|
11
|
-
|
|
12
|
+
c as default
|
|
12
13
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./object-design.vue3.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const t = o(e, [["__scopeId", "data-v-
|
|
4
|
+
const t = o(e, [["__scopeId", "data-v-62a28ffa"]]);
|
|
5
5
|
export {
|
|
6
6
|
t as default
|
|
7
7
|
};
|
|
@@ -104,7 +104,7 @@ const I = { class: "amb-widget-item-tool" }, N = e({ __name: "object-design", pr
|
|
|
104
104
|
const n2 = q.pageDesign.dimensions ? q.pageDesign.dimensions : "pc", r2 = e3[n2 + "_style"];
|
|
105
105
|
return r2 && (i2.width = r2.width, i2.height = r2.height, G.value = { height: r2.height }), J.value = e3[n2 + "_class"], i2;
|
|
106
106
|
});
|
|
107
|
-
n(q.selectWidget, (e3) => {
|
|
107
|
+
q.selectWidget && n(q.selectWidget, (e3) => {
|
|
108
108
|
e3 && e3.value == H ? X.value = "amb-design-item-selected" : X.value = "";
|
|
109
109
|
});
|
|
110
110
|
const X = r("");
|