super-page-designer 2.3.44-design1 → 2.3.45-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/data-table-util.js +1 -1
- package/dist/es/components/design/utils/page-table-util.js +6 -6
- package/dist/es/components/design/views/assemblys/common/common-advanced-basic.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +62 -61
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-event.vue.js +13 -8
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-query-setting-compontent.vue.js +8 -0
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-query-setting-compontent.vue2.js +4 -0
- package/dist/es/style.css +1 -1
- package/package.json +5 -5
|
@@ -21,7 +21,7 @@ function l(e2, a2, l2) {
|
|
|
21
21
|
return t2;
|
|
22
22
|
}
|
|
23
23
|
function r(e2) {
|
|
24
|
-
return e2 ? "INTEGER" === e2.dataType || "LONG" === e2.dataType || "DOUBLE" === e2.dataType || "DECIMAL" === e2.dataType || "FLOAT" === e2.dataType ? [{ name: "GT", label: "大于" }, { name: "LT", label: "小于" }, { name: "EQ", label: "等于" }, { name: "LET", label: "不大于" }, { name: "GET", label: "不小于" }, { name: "NET", label: "不等于" }, { name: "RANGE_QUERY", label: "in" }, { name: "IS_NULL", label: "等于Null" }, { name: "IS_NOT_NULL", label: "不等于Null" }] : "DATE" === e2.dataType || "TIME" === e2.dataType ? [{ name: "GT", label: "晚于" }, { name: "LT", label: "早于" }, { name: "EQ", label: "等于" }, { name: "LET", label: "不晚于" }, { name: "GET", label: "不早于" }, { name: "IS_NULL", label: "等于Null" }, { name: "IS_NOT_NULL", label: "不等于Null" }, { name: "BETWEEN", label: "时间范围" }] : "TEXT" === e2.dataType || "STRING" === e2.dataType ? [{ name: "EQ", label: "等于" }, { name: "NET", label: "不等于" }, { name: "CONTAIN", label: "包含" }, { name: "NOT_CONTAIN", label: "不包含" }, { name: "IS_NULL", label: "等于Null" }, { name: "IS_NOT_NULL", label: "不等于Null" }, { name: "RANGE_QUERY", label: "in" }] : [{ name: "EQ", label: "等于" }, { name: "NET", label: "不等于" }, { name: "IS_NULL", label: "等于Null" }, { name: "IS_NOT_NULL", label: "不等于Null" }] : [{ name: "EQ", label: "等于" }, { name: "NET", label: "不等于" }, { name: "IS_NULL", label: "等于Null" }, { name: "IS_NOT_NULL", label: "不等于Null" }];
|
|
24
|
+
return e2 ? "INTEGER" === e2.dataType || "LONG" === e2.dataType || "DOUBLE" === e2.dataType || "DECIMAL" === e2.dataType || "FLOAT" === e2.dataType ? [{ name: "GT", label: "大于" }, { name: "LT", label: "小于" }, { name: "EQ", label: "等于" }, { name: "LET", label: "不大于" }, { name: "GET", label: "不小于" }, { name: "NET", label: "不等于" }, { name: "RANGE_QUERY", label: "in" }, { name: "IS_NULL", label: "等于Null" }, { name: "IS_NOT_NULL", label: "不等于Null" }] : "DATE" === e2.dataType || "TIME" === e2.dataType ? [{ name: "GT", label: "晚于" }, { name: "LT", label: "早于" }, { name: "EQ", label: "等于" }, { name: "LET", label: "不晚于" }, { name: "GET", label: "不早于" }, { name: "IS_NULL", label: "等于Null" }, { name: "IS_NOT_NULL", label: "不等于Null" }, { name: "BETWEEN", label: "时间范围" }] : "TEXT" === e2.dataType || "STRING" === e2.dataType ? [{ name: "EQ", label: "等于" }, { name: "NET", label: "不等于" }, { name: "CONTAIN", label: "包含" }, { name: "NOT_CONTAIN", label: "不包含" }, { name: "IS_NULL", label: "等于Null" }, { name: "IS_NOT_NULL", label: "不等于Null" }, { name: "RANGE_QUERY", label: "in" }, { name: "NOT_IN", label: "not in" }] : [{ name: "EQ", label: "等于" }, { name: "NET", label: "不等于" }, { name: "IS_NULL", label: "等于Null" }, { name: "IS_NOT_NULL", label: "不等于Null" }] : [{ name: "EQ", label: "等于" }, { name: "NET", label: "不等于" }, { name: "IS_NULL", label: "等于Null" }, { name: "IS_NOT_NULL", label: "不等于Null" }];
|
|
25
25
|
}
|
|
26
26
|
function n(a2, l2, r2) {
|
|
27
27
|
let n2 = { uuid: e(), parentUuid: l2, columnUuid: a2.uuid, prop: a2.props.base.prop, titleText: a2.props.base.name, isLeaf: true };
|
|
@@ -6,7 +6,7 @@ import { findDesignItemByUuid as s } from "./common-util.js";
|
|
|
6
6
|
import { getComponentOptionConfigsBase as i } from "super-page-runtime";
|
|
7
7
|
function p(t2, r2, a2) {
|
|
8
8
|
let o2 = window.$vueApp.config.globalProperties.baseAPI + "/mms/data-tables/table-columns";
|
|
9
|
-
return o2 += "?tableName=" + (a2 || ""), e.get(o2);
|
|
9
|
+
return o2 += "?tableName=" + (a2 || ""), r2 && (o2 += "&publishVersion=" + (r2 || "")), e.get(o2);
|
|
10
10
|
}
|
|
11
11
|
function n(t2) {
|
|
12
12
|
return t2 ? e.get(window.$vueApp.config.globalProperties.baseAPI + "/mms/sub-data-tables/tables/" + t2) : Promise.resolve([]);
|
|
@@ -21,7 +21,7 @@ function l(e2, r2) {
|
|
|
21
21
|
const a4 = [];
|
|
22
22
|
return (_a2 = e4.items) == null ? void 0 : _a2.forEach((e5) => {
|
|
23
23
|
const s4 = { controlName: d(e5) };
|
|
24
|
-
let i4 = { headerName: e5.props.base.name, prop: t(e5.props.base.prop), width: e5.props.base.columnWidth, listColumnSort: e5.props.base.sortable, filterable: e5.props.base.filterable, visible: e5.props.base.visible, exportable: e5.props.base.exportable, total: e5.props.base.total, listColumnFixed: e5.props.base.listColumnFixed, format: y(e5), valueSet: u(e5), querySettingName: e5.props.base.querySettingName ? e5.props.base.querySettingName : "no", queryMatching: e5.props.base.queryMatching, querySetting: e5.props.querySetting ? JSON.stringify(e5.props.querySetting) : null, editable: e5.props.editLine.editable, defaultValue: e5.props.base.defaultValue, controlName: s4.controlName, controlConfig: g(e5), eventType: C(e5), displayOrder: e5.props.base.displayOrder, fileSet: b(e5), orgTreeSet: f(e5), dynamicColumnJson:
|
|
24
|
+
let i4 = { headerName: e5.props.base.name, prop: t(e5.props.base.prop), width: e5.props.base.columnWidth, listColumnSort: e5.props.base.sortable, filterable: e5.props.base.filterable, visible: e5.props.base.visible, exportable: e5.props.base.exportable, total: e5.props.base.total, listColumnFixed: e5.props.base.listColumnFixed, format: y(e5), valueSet: u(e5), querySettingName: e5.props.base.querySettingName ? e5.props.base.querySettingName : "no", queryMatching: e5.props.base.queryMatching, querySetting: e5.props.querySetting ? JSON.stringify(e5.props.querySetting) : null, editable: e5.props.editLine.editable, defaultValue: e5.props.base.defaultValue, controlName: s4.controlName, controlConfig: g(e5), eventType: C(e5), displayOrder: e5.props.base.displayOrder, fileSet: b(e5), orgTreeSet: f(e5), dynamicColumnJson: h(e5), valueSetOptions: m(e5, r4.systemCode, r4.systemVersion), required: e5.props.verification.required, pattern: e5.props.verification.verifyRegex, checkType: T(e5.props.verification.type), contAlign: e5.props.base ? e5.props.base.alignContent : null, titleAlign: e5.props.base ? e5.props.base.alignTitle : null, i18nKey: e5.props.base.name, tabCode: e5.props.tabCode };
|
|
25
25
|
r4.i18nKeys && o(e5.props.base.name, r4), e5.functionCodes && e5.functionCodes.length > 0 && (i4.functionCode = e5.functionCodes.join(",")), a4.push(i4);
|
|
26
26
|
}), a4;
|
|
27
27
|
}(e3, r3), i3.groupHeaders = function(e4) {
|
|
@@ -76,7 +76,7 @@ function m(e2, t2, r2) {
|
|
|
76
76
|
if ("dynamicData" === o2) return JSON.stringify({ type: "dynamicData", dynamicDataSourceCode: s2.dynamicDataSourceCode, filterType: s2.filterType, valueSetOptions: c(s2), valueLabelSwitch: !!s2.valueLabelSwitch, importValidateSwitch: !!s2.importValidateSwitch });
|
|
77
77
|
{
|
|
78
78
|
const a3 = i(e2, t2, r2);
|
|
79
|
-
return a3 ? (a3.valueSetOptions = c(s2), JSON.stringify(a3)) :
|
|
79
|
+
return a3 ? (a3.valueLabelSwitch = !!s2.valueLabelSwitch, a3.valueSetOptions = c(s2), JSON.stringify(a3)) : { valueLabelSwitch: !!s2.valueLabelSwitch };
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
}
|
|
@@ -227,14 +227,14 @@ function C(e2, t2) {
|
|
|
227
227
|
e3.jsContent && e3.jsContent.trim() && (r2 || (r2 = {}), r2[e3.name] = e3.componentUuid + "_" + e3.name);
|
|
228
228
|
}), r2) ? JSON.stringify(r2) : r2;
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function h(e2, t2) {
|
|
231
231
|
return e2.props.base.prop && "dynamicColumnSelect" === e2.props.base.prop ? (function(e3) {
|
|
232
232
|
if (!e3 || !e3.columnModelTable) return;
|
|
233
233
|
e3.columnModelTable.forEach((e4) => {
|
|
234
234
|
var _a, _b, _c, _d, _e, _f;
|
|
235
235
|
const t4 = e4.componentConfig;
|
|
236
236
|
if (t4) {
|
|
237
|
-
e4.format = y(t4), e4.defaultValue = (_b = (_a = t4.props) == null ? void 0 : _a.base) == null ? void 0 : _b.defaultValue, e4.controlName = d(t4), e4.controlConfig = g(t4), e4.eventType = C(t4), e4.fileSet = b(t4), e4.orgTreeSet = f(t4), e4.required = (_d = (_c = t4.props) == null ? void 0 : _c.verification) == null ? void 0 : _d.required, e4.pattern = (_f = (_e = t4.props) == null ? void 0 : _e.verification) == null ? void 0 : _f.verifyRegex, e4.checkType =
|
|
237
|
+
e4.format = y(t4), e4.defaultValue = (_b = (_a = t4.props) == null ? void 0 : _a.base) == null ? void 0 : _b.defaultValue, e4.controlName = d(t4), e4.controlConfig = g(t4), e4.eventType = C(t4), e4.fileSet = b(t4), e4.orgTreeSet = f(t4), e4.required = (_d = (_c = t4.props) == null ? void 0 : _c.verification) == null ? void 0 : _d.required, e4.pattern = (_f = (_e = t4.props) == null ? void 0 : _e.verification) == null ? void 0 : _f.verifyRegex, e4.checkType = T(t4.props.verification.type);
|
|
238
238
|
const r3 = u(t4);
|
|
239
239
|
e4.valueSet = r3, e4.functionCodes && e4.functionCodes.length > 0 ? e4.functionCode = e4.functionCodes.join(",") : e4.functionCode = "";
|
|
240
240
|
} else e4.format = null, e4.defaultValue = null, e4.controlName = null, e4.controlConfig = null, e4.eventType = null, e4.fileSet = null, e4.orgTreeSet = null, e4.required = null, e4.pattern = null, e4.checkType = null, e4.valueSet = null;
|
|
@@ -257,7 +257,7 @@ function T(e2, t2) {
|
|
|
257
257
|
} else e3.groupTitleValueSet = null;
|
|
258
258
|
}(e2.props.dynamicColumnData), JSON.stringify(e2.props.dynamicColumnData)) : null;
|
|
259
259
|
}
|
|
260
|
-
function
|
|
260
|
+
function T(e2) {
|
|
261
261
|
if (Array.isArray(e2) && e2.length > 0) {
|
|
262
262
|
const t2 = [];
|
|
263
263
|
return e2.forEach((e3) => {
|
|
@@ -2,7 +2,7 @@ import { defineComponent as e, resolveComponent as t, createElementBlock as i, o
|
|
|
2
2
|
import c from "./common-advanced-basic-showcondition.vue.js";
|
|
3
3
|
const s = { style: { padding: "8px 0px 0px 0px" } }, p = { style: { padding: "8px 0px 0px 0px" } }, m = e({ __name: "common-advanced-basic", props: { configure: { type: Object, required: true }, type: { type: String, required: false }, editTitle: { type: String, required: false, default: "可编辑条件" } }, setup: (e2) => (m2, f) => {
|
|
4
4
|
const g = t("el-switch"), b = t("el-form-item"), y = t("el-collapse-item");
|
|
5
|
-
return a(), i(l, null, [n(y, { title: "通用设置", name: "base", class: "amb-design-attr-group-header" }, { default: o(() => [r("div", s, [n(b, { label: "隐藏时不校验", class: "amb-design-attr-item", "label-width": "100px" }, { default: o(() => [n(g, { modelValue: e2.configure.props.hiddenNotValidator, "onUpdate:modelValue": f[0] || (f[0] = (t2) => e2.configure.props.hiddenNotValidator = t2), "inline-prompt": "", "active-text": "是", "inactive-text": "否" }, null, 8, ["modelValue"])]), _: 1 }), n(b, { label: "显示条件", class: "amb-design-attr-item" }, { default: o(() => [(a(), d(c, { key: e2.configure.uuid + "_show", configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), "form" === e2.type ? (a(), d(b, { key: 0, label: e2.editTitle, class: "amb-design-attr-item" }, { default: o(() => [(a(), d(c, { key: e2.configure.uuid + "_edit", configure: e2.configure, type: "editConditions" }, null, 8, ["configure"]))]), _: 1 }, 8, ["label"])) : u("", true)])]), _: 1 }), n(y, { title: "锚点设置", name: "anchorConfig", class: "amb-design-attr-group-header" }, { default: o(() => [r("div", p, [n(b, { label: "自动锚点", class: "amb-design-attr-item" }, { default: o(() => [(a(), d(c, { title: "锚点条件", key: e2.configure.uuid + "_anchor", configure: e2.configure, type: "autoAnchorConditions" }, null, 8, ["configure"]))]), _: 1 })])]), _: 1 })], 64);
|
|
5
|
+
return a(), i(l, null, [n(y, { title: "通用设置", name: "base", class: "amb-design-attr-group-header" }, { default: o(() => [r("div", s, [n(b, { label: "隐藏时不校验", class: "amb-design-attr-item", "label-width": "100px" }, { default: o(() => [n(g, { modelValue: e2.configure.props.hiddenNotValidator, "onUpdate:modelValue": f[0] || (f[0] = (t2) => e2.configure.props.hiddenNotValidator = t2), "inline-prompt": "", "active-text": "是", "inactive-text": "否" }, null, 8, ["modelValue"])]), _: 1 }), n(b, { label: "显示条件", class: "amb-design-attr-item" }, { default: o(() => [(a(), d(c, { key: e2.configure.uuid + "_show", configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), "form" === e2.type ? (a(), d(b, { key: 0, label: e2.editTitle, class: "amb-design-attr-item" }, { default: o(() => [(a(), d(c, { title: "可编辑条件", key: e2.configure.uuid + "_edit", configure: e2.configure, type: "editConditions" }, null, 8, ["configure"]))]), _: 1 }, 8, ["label"])) : u("", true)])]), _: 1 }), n(y, { title: "锚点设置", name: "anchorConfig", class: "amb-design-attr-group-header" }, { default: o(() => [r("div", p, [n(b, { label: "自动锚点", class: "amb-design-attr-item" }, { default: o(() => [(a(), d(c, { title: "锚点条件", key: e2.configure.uuid + "_anchor", configure: e2.configure, type: "autoAnchorConditions" }, null, 8, ["configure"]))]), _: 1 })])]), _: 1 })], 64);
|
|
6
6
|
} });
|
|
7
7
|
export {
|
|
8
8
|
m as default
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./tablecolumn-attr-base.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const a = e(t, [["__scopeId", "data-v-
|
|
4
|
+
const a = e(t, [["__scopeId", "data-v-ea4dc97f"]]);
|
|
5
5
|
export {
|
|
6
6
|
a as default
|
|
7
7
|
};
|
|
@@ -9,113 +9,114 @@ import { getUuidv4 as U } from "../../../../utils/common-util.js";
|
|
|
9
9
|
import S from "../../../../utils/eventBus.js";
|
|
10
10
|
import k from "../component/variate-select.vue.js";
|
|
11
11
|
import q from "../../common/common-function-code.vue.js";
|
|
12
|
-
import
|
|
13
|
-
import { queryTableFields as
|
|
12
|
+
import j from "../../common/common-select-table.vue.js";
|
|
13
|
+
import { queryTableFields as w, tableResetConfigIndo as N } from "../../../../utils/page-table-util.js";
|
|
14
14
|
import { usePageContextStore as E } from "../../../../../../stores/page-store.js";
|
|
15
15
|
import H from "./tablecolumn-dynamic-column.vue.js";
|
|
16
16
|
import O from "../../common/common-i18n-key-input.vue.js";
|
|
17
17
|
import F from "../component/table-column-format.vue.js";
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
import L from "./tablecolumn-query-setting-compontent.vue.js";
|
|
19
|
+
const M = { style: { padding: "8px 0px 0px 0px" } }, G = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, A = { class: "amb-design-attr-item-inline" }, $ = { style: { padding: "8px 0px 0px 0px" } }, P = { style: { padding: "8px 0px 0px 0px" } }, B = { style: { padding: "8px 0px 0px 0px" } }, R = { 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) {
|
|
20
|
+
const W2 = e2;
|
|
21
|
+
W2.configure.props.querySettings || (W2.configure.props.querySettings = {});
|
|
22
|
+
const Q = a(["base", "editLine", "formatting", "querySettings", "appearance", "verification", "userDefined", "dataOrigin", "columnModel"]), X = a(null), I = a(null), J = a(null), K = a([]), Y = W2.tableConfigure.props.groupHeaders, Z = a(null), ee = E(), ae = a(false);
|
|
22
23
|
l(() => {
|
|
23
24
|
var _a;
|
|
24
|
-
"dynamicColumnSelect" === ((_a =
|
|
25
|
+
"dynamicColumnSelect" === ((_a = W2.configure.props.base) == null ? void 0 : _a.prop) && W2.configure.props.dynamicColumnData && W2.configure.props.dynamicColumnData.tableName && (le.value, oe({ name: W2.configure.props.dynamicColumnData.tableName, alias: W2.configure.props.dynamicColumnData.tableAlias }));
|
|
25
26
|
}), function() {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
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"));
|
|
28
|
+
W2.configure.props.format || (W2.configure.props.format = {});
|
|
29
|
+
W2.configure.props.base && "operation" === W2.configure.props.base.prop ? ae.value = true : ae.value = false;
|
|
30
|
+
W2.configure.props.dynamicColumnData || (W2.configure.props.dynamicColumnData = {});
|
|
31
|
+
W2.configure.props.dynamicColumnData.selectCondition || (W2.configure.props.dynamicColumnData.selectCondition = []);
|
|
32
|
+
W2.configure.props.dynamicColumnData.updateCondition || (W2.configure.props.dynamicColumnData.updateCondition = []);
|
|
33
|
+
W2.configure.props.dynamicColumnData.columnModelTable || (W2.configure.props.dynamicColumnData.columnModelTable = []);
|
|
33
34
|
}();
|
|
34
|
-
const
|
|
35
|
-
function
|
|
36
|
-
if ("masterTable" ==
|
|
37
|
-
let a2 =
|
|
38
|
-
a2 += "_", a2 +=
|
|
35
|
+
const le = a("");
|
|
36
|
+
function oe(e3) {
|
|
37
|
+
if ("masterTable" == le.value) {
|
|
38
|
+
let a2 = W2.configure.props.dynamicColumnData.dataTableCode ? W2.configure.props.dynamicColumnData.dataTableCode : "";
|
|
39
|
+
a2 += "_", a2 += W2.configure.props.dynamicColumnData.tableSysVersion ? W2.configure.props.dynamicColumnData.tableSysVersion : "", a2 += "_", a2 += W2.configure.props.dynamicColumnData.tableName ? W2.configure.props.dynamicColumnData.tableName : "";
|
|
39
40
|
let l2 = e3.systemCode ? e3.systemCode : "";
|
|
40
|
-
l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != a2 && (
|
|
41
|
-
const e4 =
|
|
41
|
+
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() {
|
|
42
|
+
const e4 = W2.configure.props.dynamicColumnData.dataTableCode ? W2.configure.props.dynamicColumnData.dataTableCode : ee.pageContext.systemCode, a3 = W2.configure.props.dynamicColumnData.tableSysVersion ? W2.configure.props.dynamicColumnData.tableSysVersion : ee.pageContext.systemVersion, l3 = W2.configure.props.dynamicColumnData.tableName;
|
|
42
43
|
if (!l3) return;
|
|
43
|
-
|
|
44
|
-
|
|
44
|
+
w(e4, a3, l3).then((e5) => {
|
|
45
|
+
K.value = e5, J.value.changeTableFields(e5);
|
|
45
46
|
}).catch((e5) => {
|
|
46
47
|
});
|
|
47
48
|
}());
|
|
48
49
|
} else {
|
|
49
|
-
let a2 =
|
|
50
|
-
a2 += "_", a2 +=
|
|
50
|
+
let a2 = W2.configure.props.dynamicColumnData.settingDataTableCode ? W2.configure.props.dynamicColumnData.settingDataTableCode : "";
|
|
51
|
+
a2 += "_", a2 += W2.configure.props.dynamicColumnData.settingDataSysVersion ? W2.configure.props.dynamicColumnData.settingDataSysVersion : "", a2 += "_", a2 += W2.configure.props.dynamicColumnData.settingDataName ? W2.configure.props.dynamicColumnData.settingDataName : "";
|
|
51
52
|
let l2 = e3.systemCode ? e3.systemCode : "";
|
|
52
|
-
l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != a2 && (
|
|
53
|
-
const e4 =
|
|
53
|
+
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() {
|
|
54
|
+
const e4 = W2.configure.props.dynamicColumnData.settingDataTableCode ? W2.configure.props.dynamicColumnData.settingDataTableCode : ee.pageContext.systemCode, a3 = W2.configure.props.dynamicColumnData.settingDataSysVersion ? W2.configure.props.dynamicColumnData.settingDataSysVersion : ee.pageContext.systemVersion, l3 = W2.configure.props.dynamicColumnData.settingDataName;
|
|
54
55
|
if (!l3) return;
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
w(e4, a3, l3).then((e5) => {
|
|
57
|
+
te.value = e5, J.value.changeTableFields(e5), X.value.changeTableFields(e5), I.value.changeTableFields(e5);
|
|
57
58
|
}).catch((e5) => {
|
|
58
59
|
});
|
|
59
60
|
}());
|
|
60
61
|
}
|
|
61
62
|
}
|
|
62
|
-
let
|
|
63
|
-
const
|
|
64
|
-
function
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
function ie(e3) {
|
|
68
|
-
R2.configure.props.querySetting = e3;
|
|
63
|
+
let te = a([]);
|
|
64
|
+
const ne = a(false);
|
|
65
|
+
function ie() {
|
|
66
|
+
ne.value = false;
|
|
69
67
|
}
|
|
70
68
|
function ue(e3) {
|
|
71
|
-
|
|
69
|
+
W2.configure.props.querySetting = e3;
|
|
72
70
|
}
|
|
73
71
|
function re(e3) {
|
|
74
|
-
|
|
75
|
-
N(R2.configure, e3), ((_b = (_a = R2.tableConfigure.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isEnableGroupHeader) && R2.tableConfigure.items.some((a2) => a2.uuid === R2.configure.uuid && (a2.name = e3, true));
|
|
72
|
+
e3 && (W2.tableConfigure.props.base.editable = true);
|
|
76
73
|
}
|
|
77
74
|
function se(e3) {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
const e4 = K.filter((e5) => e5.columnUuid === a2);
|
|
81
|
-
if (!e4 || 0 === e4.length) {
|
|
82
|
-
let e5 = { uuid: U(), columnUuid: a2, titleText: R2.configure.props.base.name, isLeaf: true };
|
|
83
|
-
x(null, e5, K), K.push(e5);
|
|
84
|
-
}
|
|
85
|
-
} else R2.tableConfigure.props.base.isEnableGroupHeader && T(K, a2);
|
|
86
|
-
else S.$emit("setHiddenColumsUuid", { uuid: R2.configure.uuid, name: R2.configure.props.base.name, value: e3 });
|
|
75
|
+
var _a, _b;
|
|
76
|
+
N(W2.configure, e3), ((_b = (_a = W2.tableConfigure.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isEnableGroupHeader) && W2.tableConfigure.items.some((a2) => a2.uuid === W2.configure.uuid && (a2.name = e3, true));
|
|
87
77
|
}
|
|
88
78
|
function pe(e3) {
|
|
89
|
-
|
|
79
|
+
const a2 = W2.configure.uuid;
|
|
80
|
+
if (W2.tableConfigure.props.base.isEnableGroupHeader) if (e3 && W2.tableConfigure.props.base.isEnableGroupHeader) {
|
|
81
|
+
const e4 = Y.filter((e5) => e5.columnUuid === a2);
|
|
82
|
+
if (!e4 || 0 === e4.length) {
|
|
83
|
+
let e5 = { uuid: U(), columnUuid: a2, titleText: W2.configure.props.base.name, isLeaf: true };
|
|
84
|
+
x(null, e5, Y), Y.push(e5);
|
|
85
|
+
}
|
|
86
|
+
} else W2.tableConfigure.props.base.isEnableGroupHeader && T(Y, a2);
|
|
87
|
+
else S.$emit("setHiddenColumsUuid", { uuid: W2.configure.uuid, name: W2.configure.props.base.name, value: e3 });
|
|
90
88
|
}
|
|
91
|
-
function de() {
|
|
92
|
-
|
|
89
|
+
function de(e3) {
|
|
90
|
+
W2.configure.props.base.defaultValue = e3;
|
|
93
91
|
}
|
|
94
|
-
function me(
|
|
95
|
-
|
|
92
|
+
function me() {
|
|
93
|
+
S.$emit("reloadTable-" + W2.tableConfigure.uuid);
|
|
96
94
|
}
|
|
97
95
|
function ce(e3) {
|
|
98
|
-
|
|
96
|
+
ge(W2.tableConfigure.props.groupHeaders);
|
|
99
97
|
}
|
|
100
98
|
function fe(e3) {
|
|
101
|
-
|
|
99
|
+
ge(W2.tableConfigure.props.groupHeaders);
|
|
100
|
+
}
|
|
101
|
+
function ge(e3) {
|
|
102
|
+
if (W2.tableConfigure.props.base.isEnableGroupHeader) {
|
|
102
103
|
e3.forEach((e4) => {
|
|
103
104
|
});
|
|
104
105
|
for (let a2 = 0; a2 < e3.length; a2++) {
|
|
105
106
|
const l2 = e3[a2];
|
|
106
|
-
if (l2.columnUuid ===
|
|
107
|
-
l2.titleText =
|
|
107
|
+
if (l2.columnUuid === W2.configure.uuid) {
|
|
108
|
+
l2.titleText = W2.configure.props.base.name, l2.prop = W2.configure.props.base.prop;
|
|
108
109
|
break;
|
|
109
110
|
}
|
|
110
|
-
l2.children && l2.children.length > 0 &&
|
|
111
|
+
l2.children && l2.children.length > 0 && ge(l2.children);
|
|
111
112
|
}
|
|
112
113
|
}
|
|
113
114
|
}
|
|
114
115
|
return (a2, l2) => {
|
|
115
|
-
const x2 = o("el-input"), T2 = o("el-form-item"), U2 = o("el-radio"), S2 = o("el-radio-group"),
|
|
116
|
-
return n(), t(fe2, { "label-width": "80px", size: "small" }, { default: i(() => [u(oe2, { modelValue: W.value, "onUpdate:modelValue": l2[37] || (l2[37] = (e3) => W.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [u(X2, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", L, [u(T2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: i(() => [u(x2, { 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 }), ee.value ? r("", true) : (n(), t(T2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: i(() => [u(k, { 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: ce }, null, 8, ["prop", "propType", "tableConfigure"])]), _: 1 })), u(T2, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [u(O, { 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(T2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: i(() => [u(q, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), u(T2, { label: "显示顺序", class: "amb-design-attr-item" }, { default: i(() => [u(x2, { modelValue: e2.configure.props.base.displayOrder, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.displayOrder = a3), modelModifiers: { number: true }, onBlur: de, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), ee.value ? r("", true) : (n(), t(T2, { key: 1, label: "是否显示 ", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.visible, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.visible = a3), class: "ml-4", onChange: se }, { default: i(() => [u(U2, { value: true }, { default: i(() => [...l2[38] || (l2[38] = [p("是", -1)])]), _: 1 }), u(U2, { value: false }, { default: i(() => [...l2[39] || (l2[39] = [p("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), ee.value ? r("", true) : (n(), t(T2, { key: 2, label: "是否导出", class: "amb-design-attr-item" }, { default: i(() => [u(j2, { modelValue: e2.configure.props.base.exportable, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.exportable = a3) }, null, 8, ["modelValue"])]), _: 1 })), ee.value ? r("", true) : (n(), t(T2, { key: 3, label: "是否合计", class: "amb-design-attr-item" }, { default: i(() => [u(j2, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })), ee.value ? r("", true) : (n(), t(T2, { key: 4, label: "是否筛选", class: "amb-design-attr-item" }, { default: i(() => [u(j2, { modelValue: e2.configure.props.base.filterable, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.base.filterable = a3) }, null, 8, ["modelValue"])]), _: 1 })), u(T2, { label: "悬停tooltip", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.showOverflowTooltip, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.showOverflowTooltip = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: true }, { default: i(() => [...l2[40] || (l2[40] = [p("是", -1)])]), _: 1 }), u(U2, { value: false }, { default: i(() => [...l2[41] || (l2[41] = [p("否", -1)])]), _: 1 }), u(E2, { content: "清除" }, { default: i(() => [u(N2, { size: "10px", style: { cursor: "pointer" }, onClick: l2[9] || (l2[9] = (a3) => e2.configure.props.base.showOverflowTooltip = null) }, { default: i(() => [u(d(y))]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(T2, { label: "所属页签", class: "amb-design-attr-item" }, { default: i(() => [u(Q2, { modelValue: e2.configure.props.tabCode, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.tabCode = a3), filterable: "", clearable: "" }, { default: i(() => [(n(true), m(c, null, f(e2.tableConfigure.props.tabs, (e3) => (n(), t(R3, { key: e3.code, label: e3.label, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), ee.value || "dynamicColumnSelect" == e2.configure.props.base.prop ? r("", true) : (n(), t(D, { key: 0, configure: e2.configure, isTable: true, isDynamicColumn: "dynamicColumnSelect" === e2.configure.props.base.prop, remote: true }, null, 8, ["configure", "isDynamicColumn"])), u(H, { operationColumn: ee.value, configure: e2.configure, tableConfigure: e2.tableConfigure, pageDesign: e2.pageDesign }, null, 8, ["operationColumn", "configure", "tableConfigure", "pageDesign"]), ee.value ? r("", true) : (n(), t(X2, { key: 1, title: "行编辑设置", name: "editLine", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", M, [u(T2, { label: "是否编辑", class: "amb-design-attr-item" }, { default: i(() => [u(j2, { onChange: ue, modelValue: e2.configure.props.editLine.editable, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.editLine.editable = a3) }, null, 8, ["modelValue"])]), _: 1 }), u(T2, { label: "默认值", class: "amb-design-attr-item" }, { default: i(() => [u(h, { "is-table": true, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": pe }, null, 8, ["modelValue"])]), _: 1 }), u(T2, { label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [u(Q2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.name = a3), placeholder: "请选择", onChange: re, filterable: "", clearable: "" }, { default: i(() => [(n(true), m(c, null, f(d(V)(), (e3) => (n(), t(R3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), g(u(T2, { label: "文件uuid", class: "amb-design-attr-item" }, { default: i(() => [u(k, { 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]]), g(u(T2, { label: "自定义控件名称", class: "amb-design-attr-item" }, { default: i(() => [u(x2, { 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 })), e2.configure.props.querySettings ? (n(), t(X2, { key: 2, title: "查询设置", name: "querySettings", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", G, [ee.value ? r("", true) : (n(), t(T2, { key: 0, label: "查询方式", class: "amb-design-attr-item" }, { default: i(() => [s("div", z, [u(Q2, { modelValue: e2.configure.props.base.querySettingName, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.base.querySettingName = a3), placeholder: "请选择", clearable: "" }, { default: i(() => [u(R3, { label: "不查询", value: "no" }), u(R3, { label: "普通查询", value: "normal" }), u(R3, { label: "高级查询", value: "advanced" })]), _: 1 }, 8, ["modelValue"]), "normal" === e2.configure.props.base.querySettingName || "advanced" === e2.configure.props.base.querySettingName ? (n(), t(N2, { key: 0, style: { "margin-left": "10px" }, onClick: l2[17] || (l2[17] = (e3) => te.value = true) }, { default: i(() => [u(d(v))]), _: 1 })) : r("", true)])]), _: 1 })), ee.value || "TEXT" !== e2.configure.dataType ? r("", true) : (n(), t(T2, { key: 1, label: "匹配方式", class: "amb-design-attr-item" }, { default: i(() => [u(Q2, { modelValue: e2.configure.props.base.queryMatching, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.queryMatching = a3), clearable: "", placeholder: "默认模糊匹配" }, { default: i(() => [u(R3, { label: "全匹配", value: "all" }), u(R3, { label: "左匹配", value: "left" }), u(R3, { label: "右匹配", value: "right" }), u(R3, { label: "精确查询", value: "exactQuery" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), u(T2, { label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [u(Q2, { modelValue: e2.configure.props.querySettings.componentType, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.querySettings.componentType = a3), placeholder: "默认和行编辑组件一致", filterable: "", clearable: "" }, { default: i(() => [(n(true), m(c, null, f(d(V)(), (e3) => (n(), t(R3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), g(u(T2, { label: "自定义控件名称", class: "amb-design-attr-item" }, { default: i(() => [u(x2, { modelValue: e2.configure.props.querySettings.customComponent, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.querySettings.customComponent = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.querySettings.componentType && "custom" === e2.configure.props.querySettings.componentType]])])]), _: 1 })) : r("", true), ee.value ? r("", true) : (n(), t(X2, { key: 3, title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", A, [u(F, { configure: e2.configure, pageDesign: e2.pageDesign, tableConfigure: e2.tableConfigure }, null, 8, ["configure", "pageDesign", "tableConfigure"])])]), _: 1 })), u(X2, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", $, [u(T2, { label: "固定列", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.listColumnFixed, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.base.listColumnFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => [...l2[42] || (l2[42] = [p("否", -1)])]), _: 1 }), u(U2, { value: "left" }, { default: i(() => [...l2[43] || (l2[43] = [p("居左", -1)])]), _: 1 }), u(U2, { value: "right" }, { default: i(() => [...l2[44] || (l2[44] = [p("居右", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), ee.value ? r("", true) : (n(), t(T2, { key: 0, label: "是否排序", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.sortable, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.base.sortable = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: true }, { default: i(() => [...l2[45] || (l2[45] = [p("是", -1)])]), _: 1 }), u(U2, { value: false }, { default: i(() => [...l2[46] || (l2[46] = [p("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), u(T2, { label: "列宽", class: "amb-design-attr-item" }, { default: i(() => [u(I2, { style: { width: "100%" }, modelValue: e2.configure.props.base.columnWidth, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.base.columnWidth = a3), precision: 1 }, null, 8, ["modelValue"])]), _: 1 }), u(T2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => [...l2[47] || (l2[47] = [p("居左", -1)])]), _: 1 }), u(U2, { value: "center" }, { default: i(() => [...l2[48] || (l2[48] = [p("居中", -1)])]), _: 1 }), u(U2, { value: "right" }, { default: i(() => [...l2[49] || (l2[49] = [p("居右", -1)])]), _: 1 }), u(E2, { content: "清除" }, { default: i(() => [u(N2, { size: "10px", style: { cursor: "pointer" }, onClick: l2[24] || (l2[24] = (a3) => e2.configure.props.base.alignTitle = null) }, { default: i(() => [u(d(y))]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(T2, { label: "内容对齐", class: "amb-design-attr-item-linefeed-two" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => [...l2[50] || (l2[50] = [p("居左", -1)])]), _: 1 }), u(U2, { value: "center" }, { default: i(() => [...l2[51] || (l2[51] = [p("居中", -1)])]), _: 1 }), u(U2, { value: "right" }, { default: i(() => [...l2[52] || (l2[52] = [p("居右", -1)])]), _: 1 }), u(E2, { content: "清除" }, { default: i(() => [u(N2, { size: "10px", style: { cursor: "pointer" }, onClick: l2[26] || (l2[26] = (a3) => e2.configure.props.base.alignContent = null) }, { default: i(() => [u(d(y))]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), !ee.value && e2.configure.props.editLine.editable ? (n(), t(X2, { key: 4, title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", P, [u(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.verification.required = a3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), u(K2, { modelValue: e2.configure.props.verification.type, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.verification.type = a3) }, { default: i(() => [u(T2, { 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(T2, { 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(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "邮件", value: "email" }), u(J2, { label: "网址", value: "url" })]), _: 1 }), u(T2, { 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(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(Z2, { span: 8 }, { default: i(() => [u(J2, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.verification.verifyRegex = a3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), u(Z2, { span: 14 }, { default: i(() => [u(x2, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": l2[31] || (l2[31] = (a3) => e2.configure.props.verification.regex = a3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(Z2, { span: 8 }, { default: i(() => [u(J2, { label: "自定义", value: "custom" })]), _: 1 }), u(Z2, { span: 14 }, { default: i(() => [u(ae2, { type: "default" }, { default: i(() => [...l2[53] || (l2[53] = [p("自定义逻辑", -1)])]), _: 1 }), u(ae2, { type: "default", icon: d(C), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })) : r("", true), ee.value ? r("", true) : (n(), t(X2, { key: 5, title: "用户自定义", name: "userDefined", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", B, [u(T2, { label: "可自定义", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.definition.defined, "onUpdate:modelValue": l2[32] || (l2[32] = (a3) => e2.configure.props.definition.defined = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => [...l2[54] || (l2[54] = [p("否", -1)])]), _: 1 }), u(U2, { value: true }, { default: i(() => [...l2[55] || (l2[55] = [p("是", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(T2, { label: "自定义导出", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.definition.definedExport, "onUpdate:modelValue": l2[33] || (l2[33] = (a3) => e2.configure.props.definition.definedExport = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => [...l2[56] || (l2[56] = [p("否", -1)])]), _: 1 }), u(U2, { value: true }, { default: i(() => [...l2[57] || (l2[57] = [p("是", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(T2, { label: "自定义合并", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.definition.definedMerge, "onUpdate:modelValue": l2[34] || (l2[34] = (a3) => e2.configure.props.definition.definedMerge = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => [...l2[58] || (l2[58] = [p("否", -1)])]), _: 1 }), u(U2, { value: true }, { default: i(() => [...l2[59] || (l2[59] = [p("是", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(T2, { label: "自定义位置", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.definition.definedPosition, "onUpdate:modelValue": l2[35] || (l2[35] = (a3) => e2.configure.props.definition.definedPosition = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => [...l2[60] || (l2[60] = [p("否", -1)])]), _: 1 }), u(U2, { value: true }, { default: i(() => [...l2[61] || (l2[61] = [p("是", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(T2, { label: "自定义冻结", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.definition.definedFixed, "onUpdate:modelValue": l2[36] || (l2[36] = (a3) => e2.configure.props.definition.definedFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => [...l2[62] || (l2[62] = [p("否", -1)])]), _: 1 }), u(U2, { value: true }, { default: i(() => [...l2[63] || (l2[63] = [p("是", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })), te.value ? (n(), t(_, { key: 6, querySetting: e2.configure.props.querySetting, onAdd: ie, onClose: ne }, null, 8, ["querySetting"])) : r("", true), u(w, { ref_key: "selectTableDialog", ref: Y, onSelectTable: le, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
116
|
+
const x2 = o("el-input"), T2 = o("el-form-item"), U2 = o("el-radio"), S2 = o("el-radio-group"), w2 = o("el-switch"), N2 = o("el-icon"), E2 = o("el-tooltip"), W3 = o("el-option"), X2 = o("el-select"), I2 = o("el-collapse-item"), J2 = o("el-input-number"), K2 = o("el-checkbox"), Y2 = o("el-checkbox-group"), ee2 = o("el-col"), le2 = o("el-button"), te2 = o("el-collapse"), ge2 = o("el-form");
|
|
117
|
+
return n(), t(ge2, { "label-width": "80px", size: "small" }, { default: i(() => [u(te2, { modelValue: Q.value, "onUpdate:modelValue": l2[37] || (l2[37] = (e3) => Q.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [u(I2, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", M, [u(T2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: i(() => [u(x2, { 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 }), ae.value ? r("", true) : (n(), t(T2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: i(() => [u(k, { 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: fe }, null, 8, ["prop", "propType", "tableConfigure"])]), _: 1 })), u(T2, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [u(O, { 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 }), u(T2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: i(() => [u(q, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), u(T2, { label: "显示顺序", class: "amb-design-attr-item" }, { default: i(() => [u(x2, { modelValue: e2.configure.props.base.displayOrder, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.displayOrder = a3), modelModifiers: { number: true }, onBlur: me, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), ae.value ? r("", true) : (n(), t(T2, { key: 1, label: "是否显示 ", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.visible, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.visible = a3), class: "ml-4", onChange: pe }, { default: i(() => [u(U2, { value: true }, { default: i(() => [...l2[38] || (l2[38] = [p("是", -1)])]), _: 1 }), u(U2, { value: false }, { default: i(() => [...l2[39] || (l2[39] = [p("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), ae.value ? r("", true) : (n(), t(T2, { key: 2, label: "是否导出", class: "amb-design-attr-item" }, { default: i(() => [u(w2, { modelValue: e2.configure.props.base.exportable, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.exportable = a3) }, null, 8, ["modelValue"])]), _: 1 })), ae.value ? r("", true) : (n(), t(T2, { key: 3, label: "是否合计", class: "amb-design-attr-item" }, { default: i(() => [u(w2, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })), ae.value ? r("", true) : (n(), t(T2, { key: 4, label: "是否筛选", class: "amb-design-attr-item" }, { default: i(() => [u(w2, { modelValue: e2.configure.props.base.filterable, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.base.filterable = a3) }, null, 8, ["modelValue"])]), _: 1 })), u(T2, { label: "悬停tooltip", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.showOverflowTooltip, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.showOverflowTooltip = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: true }, { default: i(() => [...l2[40] || (l2[40] = [p("是", -1)])]), _: 1 }), u(U2, { value: false }, { default: i(() => [...l2[41] || (l2[41] = [p("否", -1)])]), _: 1 }), u(E2, { content: "清除" }, { default: i(() => [u(N2, { size: "10px", style: { cursor: "pointer" }, onClick: l2[9] || (l2[9] = (a3) => e2.configure.props.base.showOverflowTooltip = null) }, { default: i(() => [u(d(y))]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(T2, { label: "所属页签", class: "amb-design-attr-item" }, { default: i(() => [u(X2, { modelValue: e2.configure.props.tabCode, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.tabCode = a3), filterable: "", clearable: "" }, { default: i(() => [(n(true), m(c, null, f(e2.tableConfigure.props.tabs, (e3) => (n(), t(W3, { key: e3.code, label: e3.label, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), ae.value || "dynamicColumnSelect" == e2.configure.props.base.prop ? r("", true) : (n(), t(D, { key: 0, configure: e2.configure, isTable: true, isDynamicColumn: "dynamicColumnSelect" === e2.configure.props.base.prop, remote: true }, null, 8, ["configure", "isDynamicColumn"])), u(H, { operationColumn: ae.value, configure: e2.configure, tableConfigure: e2.tableConfigure, pageDesign: e2.pageDesign }, null, 8, ["operationColumn", "configure", "tableConfigure", "pageDesign"]), ae.value ? r("", true) : (n(), t(I2, { key: 1, title: "行编辑设置", name: "editLine", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", G, [u(T2, { label: "是否编辑", class: "amb-design-attr-item" }, { default: i(() => [u(w2, { onChange: re, modelValue: e2.configure.props.editLine.editable, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.editLine.editable = a3) }, null, 8, ["modelValue"])]), _: 1 }), u(T2, { label: "默认值", class: "amb-design-attr-item" }, { default: i(() => [u(h, { "is-table": true, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": de }, null, 8, ["modelValue"])]), _: 1 }), u(T2, { label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [u(X2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.name = a3), placeholder: "请选择", onChange: se, filterable: "", clearable: "" }, { default: i(() => [(n(true), m(c, null, f(d(V)(), (e3) => (n(), t(W3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), g(u(T2, { label: "文件uuid", class: "amb-design-attr-item" }, { default: i(() => [u(k, { 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]]), g(u(T2, { label: "自定义控件名称", class: "amb-design-attr-item" }, { default: i(() => [u(x2, { 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 })), e2.configure.props.querySettings ? (n(), t(I2, { key: 2, title: "查询设置", name: "querySettings", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", z, [ae.value ? r("", true) : (n(), t(T2, { key: 0, label: "查询方式", class: "amb-design-attr-item" }, { default: i(() => [s("div", A, [u(X2, { modelValue: e2.configure.props.base.querySettingName, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.base.querySettingName = a3), placeholder: "请选择", clearable: "" }, { default: i(() => [u(W3, { label: "不查询", value: "no" }), u(W3, { label: "普通查询", value: "normal" }), u(W3, { label: "高级查询", value: "advanced" })]), _: 1 }, 8, ["modelValue"]), "normal" === e2.configure.props.base.querySettingName || "advanced" === e2.configure.props.base.querySettingName ? (n(), t(N2, { key: 0, style: { "margin-left": "10px" }, onClick: l2[17] || (l2[17] = (e3) => ne.value = true) }, { default: i(() => [u(d(v))]), _: 1 })) : r("", true)])]), _: 1 })), ae.value || "TEXT" !== e2.configure.dataType ? r("", true) : (n(), t(T2, { key: 1, label: "匹配方式", class: "amb-design-attr-item" }, { default: i(() => [u(X2, { modelValue: e2.configure.props.base.queryMatching, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.queryMatching = a3), clearable: "", placeholder: "默认模糊匹配" }, { default: i(() => [u(W3, { label: "全匹配", value: "all" }), u(W3, { label: "左匹配", value: "left" }), u(W3, { label: "右匹配", value: "right" }), u(W3, { label: "精确查询", value: "exactQuery" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), u(T2, { label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [u(X2, { modelValue: e2.configure.props.querySettings.componentType, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.querySettings.componentType = a3), placeholder: "默认和行编辑组件一致", filterable: "", clearable: "" }, { default: i(() => [(n(true), m(c, null, f(d(V)(), (e3) => (n(), t(W3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(L, { "query-settings": e2.configure.props.querySettings }, null, 8, ["query-settings"]), g(u(T2, { label: "自定义控件名称", class: "amb-design-attr-item" }, { default: i(() => [u(x2, { modelValue: e2.configure.props.querySettings.customComponent, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.querySettings.customComponent = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.querySettings.componentType && "custom" === e2.configure.props.querySettings.componentType]])])]), _: 1 })) : r("", true), ae.value ? r("", true) : (n(), t(I2, { key: 3, title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", $, [u(F, { configure: e2.configure, pageDesign: e2.pageDesign, tableConfigure: e2.tableConfigure }, null, 8, ["configure", "pageDesign", "tableConfigure"])])]), _: 1 })), u(I2, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", P, [u(T2, { label: "固定列", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.listColumnFixed, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.base.listColumnFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => [...l2[42] || (l2[42] = [p("否", -1)])]), _: 1 }), u(U2, { value: "left" }, { default: i(() => [...l2[43] || (l2[43] = [p("居左", -1)])]), _: 1 }), u(U2, { value: "right" }, { default: i(() => [...l2[44] || (l2[44] = [p("居右", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), ae.value ? r("", true) : (n(), t(T2, { key: 0, label: "是否排序", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.sortable, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.base.sortable = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: true }, { default: i(() => [...l2[45] || (l2[45] = [p("是", -1)])]), _: 1 }), u(U2, { value: false }, { default: i(() => [...l2[46] || (l2[46] = [p("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), u(T2, { label: "列宽", class: "amb-design-attr-item" }, { default: i(() => [u(J2, { style: { width: "100%" }, modelValue: e2.configure.props.base.columnWidth, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.base.columnWidth = a3), precision: 1 }, null, 8, ["modelValue"])]), _: 1 }), u(T2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => [...l2[47] || (l2[47] = [p("居左", -1)])]), _: 1 }), u(U2, { value: "center" }, { default: i(() => [...l2[48] || (l2[48] = [p("居中", -1)])]), _: 1 }), u(U2, { value: "right" }, { default: i(() => [...l2[49] || (l2[49] = [p("居右", -1)])]), _: 1 }), u(E2, { content: "清除" }, { default: i(() => [u(N2, { size: "10px", style: { cursor: "pointer" }, onClick: l2[24] || (l2[24] = (a3) => e2.configure.props.base.alignTitle = null) }, { default: i(() => [u(d(y))]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(T2, { label: "内容对齐", class: "amb-design-attr-item-linefeed-two" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => [...l2[50] || (l2[50] = [p("居左", -1)])]), _: 1 }), u(U2, { value: "center" }, { default: i(() => [...l2[51] || (l2[51] = [p("居中", -1)])]), _: 1 }), u(U2, { value: "right" }, { default: i(() => [...l2[52] || (l2[52] = [p("居右", -1)])]), _: 1 }), u(E2, { content: "清除" }, { default: i(() => [u(N2, { size: "10px", style: { cursor: "pointer" }, onClick: l2[26] || (l2[26] = (a3) => e2.configure.props.base.alignContent = null) }, { default: i(() => [u(d(y))]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), !ae.value && e2.configure.props.editLine.editable ? (n(), t(I2, { key: 4, title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", B, [u(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(K2, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.verification.required = a3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), u(Y2, { modelValue: e2.configure.props.verification.type, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.verification.type = a3) }, { default: i(() => [u(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(K2, { label: "文本", value: "string" }), u(K2, { label: "整形", value: "integer" }), u(K2, { label: "数字", value: "number" })]), _: 1 }), u(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(K2, { label: "日期", value: "date" }), u(K2, { label: "小数", value: "float" }), u(K2, { label: "布尔", value: "boolean" })]), _: 1 }), u(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(K2, { label: "邮件", value: "email" }), u(K2, { label: "网址", value: "url" })]), _: 1 }), u(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(K2, { label: "单精度", value: "float" }), u(K2, { label: "十六进制", value: "hex" })]), _: 1 })]), _: 1 }, 8, ["modelValue"]), u(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(ee2, { span: 8 }, { default: i(() => [u(K2, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.verification.verifyRegex = a3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), u(ee2, { span: 14 }, { default: i(() => [u(x2, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": l2[31] || (l2[31] = (a3) => e2.configure.props.verification.regex = a3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(ee2, { span: 8 }, { default: i(() => [u(K2, { label: "自定义", value: "custom" })]), _: 1 }), u(ee2, { span: 14 }, { default: i(() => [u(le2, { type: "default" }, { default: i(() => [...l2[53] || (l2[53] = [p("自定义逻辑", -1)])]), _: 1 }), u(le2, { type: "default", icon: d(C), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })) : r("", true), ae.value ? r("", true) : (n(), t(I2, { key: 5, title: "用户自定义", name: "userDefined", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", R, [u(T2, { label: "可自定义", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.definition.defined, "onUpdate:modelValue": l2[32] || (l2[32] = (a3) => e2.configure.props.definition.defined = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => [...l2[54] || (l2[54] = [p("否", -1)])]), _: 1 }), u(U2, { value: true }, { default: i(() => [...l2[55] || (l2[55] = [p("是", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(T2, { label: "自定义导出", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.definition.definedExport, "onUpdate:modelValue": l2[33] || (l2[33] = (a3) => e2.configure.props.definition.definedExport = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => [...l2[56] || (l2[56] = [p("否", -1)])]), _: 1 }), u(U2, { value: true }, { default: i(() => [...l2[57] || (l2[57] = [p("是", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(T2, { label: "自定义合并", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.definition.definedMerge, "onUpdate:modelValue": l2[34] || (l2[34] = (a3) => e2.configure.props.definition.definedMerge = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => [...l2[58] || (l2[58] = [p("否", -1)])]), _: 1 }), u(U2, { value: true }, { default: i(() => [...l2[59] || (l2[59] = [p("是", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(T2, { label: "自定义位置", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.definition.definedPosition, "onUpdate:modelValue": l2[35] || (l2[35] = (a3) => e2.configure.props.definition.definedPosition = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => [...l2[60] || (l2[60] = [p("否", -1)])]), _: 1 }), u(U2, { value: true }, { default: i(() => [...l2[61] || (l2[61] = [p("是", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(T2, { label: "自定义冻结", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.definition.definedFixed, "onUpdate:modelValue": l2[36] || (l2[36] = (a3) => e2.configure.props.definition.definedFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => [...l2[62] || (l2[62] = [p("否", -1)])]), _: 1 }), u(U2, { value: true }, { default: i(() => [...l2[63] || (l2[63] = [p("是", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })), ne.value ? (n(), t(_, { key: 6, querySetting: e2.configure.props.querySetting, onAdd: ue, onClose: ie }, null, 8, ["querySetting"])) : r("", true), u(j, { ref_key: "selectTableDialog", ref: Z, onSelectTable: oe, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
117
118
|
};
|
|
118
119
|
} });
|
|
119
120
|
export {
|
|
120
|
-
|
|
121
|
+
W as default
|
|
121
122
|
};
|
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
import { defineComponent as e, resolveComponent as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { defineComponent as e, resolveComponent as n, createBlock as t, openBlock as o, withCtx as r, createVNode as s, unref as u } from "vue";
|
|
2
|
+
import f from "../../form/common/attr-event.vue.js";
|
|
3
|
+
import { getTableColumnConf as c } from "../../../../utils/assemblys-config.js";
|
|
4
|
+
const i = e({ __name: "tablecolumn-attr-event", props: { configure: Object }, setup(e2) {
|
|
5
|
+
const i2 = e2, m = c().events;
|
|
6
|
+
i2.configure.events ? m.forEach((e3) => {
|
|
7
|
+
i2.configure.events.find((n2) => n2.name === e3.name) || i2.configure.events.push(e3);
|
|
8
|
+
}) : i2.configure.events = m;
|
|
9
|
+
const a = i2.configure.events;
|
|
10
|
+
return (c2, i3) => {
|
|
11
|
+
const m2 = n("el-form");
|
|
12
|
+
return o(), t(m2, { "label-width": "80px", size: "small" }, { default: r(() => [s(f, { configure: e2.configure, events: u(a) }, null, 8, ["configure", "events"])]), _: 1 });
|
|
8
13
|
};
|
|
9
14
|
} });
|
|
10
15
|
export {
|
|
11
|
-
|
|
16
|
+
i as default
|
|
12
17
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { defineComponent as e, resolveComponent as l, createElementBlock as t, createCommentVNode as a, openBlock as u, Fragment as o, createVNode as s, withCtx as d, createTextVNode as m } from "vue";
|
|
2
|
+
const r = e({ __name: "tablecolumn-query-setting-compontent", props: { querySettings: { type: Object, default: () => ({}) } }, setup: (e2) => (r2, n) => {
|
|
3
|
+
const i = l("el-radio"), p = l("el-radio-group"), f = l("el-form-item");
|
|
4
|
+
return "select" === e2.querySettings.componentType ? (u(), t(o, { key: 0 }, [s(f, { label: "多选", class: "amb-design-attr-item" }, { default: d(() => [s(p, { modelValue: e2.querySettings.multiple, "onUpdate:modelValue": n[0] || (n[0] = (l2) => e2.querySettings.multiple = l2), class: "ml-4" }, { default: d(() => [s(i, { value: true }, { default: d(() => [...n[2] || (n[2] = [m("是", -1)])]), _: 1 }), s(i, { value: false }, { default: d(() => [...n[3] || (n[3] = [m("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(f, { label: "可创建条目", class: "amb-design-attr-item" }, { default: d(() => [s(p, { modelValue: e2.querySettings.allowCreate, "onUpdate:modelValue": n[1] || (n[1] = (l2) => e2.querySettings.allowCreate = l2), class: "ml-4" }, { default: d(() => [s(i, { value: true }, { default: d(() => [...n[4] || (n[4] = [m("是", -1)])]), _: 1 }), s(i, { value: false }, { default: d(() => [...n[5] || (n[5] = [m("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })], 64)) : a("", true);
|
|
5
|
+
} });
|
|
6
|
+
export {
|
|
7
|
+
r as default
|
|
8
|
+
};
|
package/dist/es/style.css
CHANGED
|
@@ -11827,7 +11827,7 @@ li[data-v-47430979] {
|
|
|
11827
11827
|
width: 100%
|
|
11828
11828
|
}
|
|
11829
11829
|
|
|
11830
|
-
.seleteSort[data-v-
|
|
11830
|
+
.seleteSort[data-v-ea4dc97f] {
|
|
11831
11831
|
border-radius: 5px;
|
|
11832
11832
|
border: 1px solid rgba(88, 147, 239);
|
|
11833
11833
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "super-page-designer",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.45-design1",
|
|
4
4
|
"description": "AgileBuilder super page designer",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/es/index.js",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"pinia": "^2.1.7",
|
|
41
41
|
"qrcode": "^1.5.3",
|
|
42
42
|
"quill": "^2.0.1",
|
|
43
|
-
"service-flow-designer": "2.3.
|
|
44
|
-
"super-page-runtime": "2.3.
|
|
43
|
+
"service-flow-designer": "2.3.45-flow1",
|
|
44
|
+
"super-page-runtime": "2.3.45",
|
|
45
45
|
"uuid": "^9.0.1",
|
|
46
46
|
"vite": "^5.1.6",
|
|
47
47
|
"vite-plugin-node-stdlib-browser": "^0.2.1",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"@vue/eslint-config-prettier": "^8.0.0",
|
|
71
71
|
"@vue/test-utils": "^2.4.4",
|
|
72
72
|
"@vueuse/core": "^10.9.0",
|
|
73
|
-
"agilebuilder-ui": "1.2.
|
|
73
|
+
"agilebuilder-ui": "1.2.1",
|
|
74
74
|
"axios": "^1.6.8",
|
|
75
75
|
"codemirror": "^6.0.1",
|
|
76
76
|
"cypress": "^13.6.6",
|
|
@@ -87,6 +87,6 @@
|
|
|
87
87
|
"vite-plugin-dts": "^3.9.1",
|
|
88
88
|
"vitest": "^1.3.1",
|
|
89
89
|
"vue-i18n": "^9.10.2",
|
|
90
|
-
"workflow-editor": "0.0.
|
|
90
|
+
"workflow-editor": "0.0.90-up"
|
|
91
91
|
}
|
|
92
92
|
}
|