super-page-designer 2.2.12 → 2.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/design/utils/common-util.d.ts +1 -0
- package/dist/es/components/design/utils/common-util.js +20 -15
- package/dist/es/components/design/utils/data-table-util.d.ts +1 -1
- package/dist/es/components/design/utils/data-table-util.js +52 -55
- package/dist/es/components/design/utils/page-table-util.js +7 -7
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +34 -33
- package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +23 -20
- package/dist/es/components/design/views/assemblys/button/component/condition-dialog.vue.js +16 -15
- package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +36 -31
- package/dist/es/components/design/views/assemblys/chart/common/common-home-chart.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-home-chart.vue2.js +29 -28
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue.js +13 -13
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +48 -48
- package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +39 -34
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +2 -2
- 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/common/linkpage-page-callback.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +21 -21
- package/dist/es/components/design/views/assemblys/form/common/uploading.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-autoset.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js +5 -5
- package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/select/select-design.vue2.js +12 -11
- package/dist/es/components/design/views/assemblys/page/variable-dialog.vue.js +1 -1
- package/dist/es/components/design/views/design/page-event/{config.vue.js → config.vue2.js} +2 -2
- package/dist/es/components/design/views/design/page-event/config.vue3.js +5 -5
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +50 -50
- package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +50 -50
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
- package/dist/es/style.css +15 -15
- package/package.json +5 -5
- /package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue2.js → common-variable-bind.vue3.js} +0 -0
package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js
CHANGED
|
@@ -1,38 +1,43 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, resolveComponent as a, createElementBlock as t, openBlock as o, Fragment as r, createElementVNode as u, createVNode as d, withDirectives as p, withCtx as n, createTextVNode as i, vShow as
|
|
2
|
-
import { Plus as
|
|
1
|
+
import { defineComponent as e, ref as l, resolveComponent as a, createElementBlock as t, openBlock as o, Fragment as r, createElementVNode as u, createVNode as d, withDirectives as p, withCtx as n, createTextVNode as i, vShow as s, unref as c } from "vue";
|
|
2
|
+
import { Plus as b, Delete as f } from "@element-plus/icons";
|
|
3
3
|
import m from "./common-variable-bind.vue.js";
|
|
4
4
|
import { getUuidv4 as w } from "../../../utils/common-util.js";
|
|
5
5
|
import { usePageContextStore as g } from "../../../../../stores/page-store.js";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
import { getModelOptionsByFields as y } from "../../../utils/page-table-util.js";
|
|
7
|
+
const v = { style: { "text-align": "center", margin: "0px -8px", "padding-top": "4px", "padding-left": "2px" } }, T = e({ __name: "common-advanced-basic-showcondition", props: { configure: { type: Object, required: true }, title: { type: String, default: "显示条件" }, type: { type: String, required: false, default: "showConditions" }, tableConfigure: { type: Object, default: () => {
|
|
8
|
+
} } }, setup(e2) {
|
|
9
|
+
const T2 = g(), V = e2;
|
|
10
|
+
V.configure.props || (V.configure.props = { base: {} });
|
|
11
|
+
let h = null;
|
|
12
|
+
V.configure.props.base || (V.configure.props.base = {}), V.configure.props.base[V.type] || (V.configure.props.base[V.type] = []), h = V.configure.props.base[V.type];
|
|
13
|
+
const _ = l(null);
|
|
14
|
+
var k;
|
|
15
|
+
(k = V.tableConfigure) && (_.value = y(k.modelFields));
|
|
16
|
+
const N = l(300), C = l(false);
|
|
17
|
+
function U() {
|
|
13
18
|
let e3 = window.innerHeight - 140 - 176;
|
|
14
|
-
e3 > 500 ? e3 = 500 : e3 < 100 && (e3 = 100),
|
|
19
|
+
e3 > 500 ? e3 = 500 : e3 < 100 && (e3 = 100), N.value = e3, C.value = true;
|
|
15
20
|
}
|
|
16
|
-
function
|
|
21
|
+
function j(e3) {
|
|
17
22
|
let l2 = -1;
|
|
18
|
-
const a2 =
|
|
19
|
-
for (let t2 = 0; t2 < a2; t2++) if (
|
|
23
|
+
const a2 = h.length;
|
|
24
|
+
for (let t2 = 0; t2 < a2; t2++) if (h[t2].uuid == e3.uuid) {
|
|
20
25
|
l2 = t2;
|
|
21
26
|
break;
|
|
22
27
|
}
|
|
23
28
|
return l2;
|
|
24
29
|
}
|
|
25
|
-
function
|
|
30
|
+
function x(e3) {
|
|
26
31
|
let l2 = -1;
|
|
27
|
-
e3 && (l2 =
|
|
32
|
+
e3 && (l2 = j(e3));
|
|
28
33
|
const a2 = { uuid: w(), leftBracket: "", propName: "", operator: "", propValueType: "", rightBracket: "", joinSign: "", dataType: "" };
|
|
29
|
-
|
|
34
|
+
h.splice(l2 + 1, 0, a2);
|
|
30
35
|
}
|
|
31
|
-
const
|
|
32
|
-
function
|
|
33
|
-
|
|
36
|
+
const B = l({});
|
|
37
|
+
function L(e3) {
|
|
38
|
+
B.value = e3;
|
|
34
39
|
}
|
|
35
|
-
function
|
|
40
|
+
function O(e3, l2, a2) {
|
|
36
41
|
if ("propValue" == a2) l2.propValue = e3;
|
|
37
42
|
else {
|
|
38
43
|
l2.propName = e3;
|
|
@@ -42,7 +47,7 @@ const y = { style: { "text-align": "center", margin: "0px -8px", "padding-top":
|
|
|
42
47
|
if (l3.startsWith("page.")) ;
|
|
43
48
|
else if (l3.startsWith("data.")) {
|
|
44
49
|
l3 = l3.substring(5);
|
|
45
|
-
const e4 =
|
|
50
|
+
const e4 = T2.getModelField(l3);
|
|
46
51
|
a3 = e4 ? e4.dataType : null;
|
|
47
52
|
}
|
|
48
53
|
}
|
|
@@ -50,23 +55,23 @@ const y = { style: { "text-align": "center", margin: "0px -8px", "padding-top":
|
|
|
50
55
|
}
|
|
51
56
|
}
|
|
52
57
|
return (l2, w2) => {
|
|
53
|
-
const g2 = a("el-button"),
|
|
54
|
-
return o(), t(r, null, [u("div", null, [d(g2, { type: "primary", onClick:
|
|
55
|
-
let l4 =
|
|
58
|
+
const g2 = a("el-button"), y2 = a("el-text"), T3 = a("el-row"), V2 = a("Top"), k2 = a("el-icon"), N2 = a("Bottom"), B2 = a("el-table-column"), S = a("el-option"), I = a("el-select"), E = a("el-table"), q = a("el-dialog");
|
|
59
|
+
return o(), t(r, null, [u("div", null, [d(g2, { type: "primary", onClick: U }, { default: n(() => w2[1] || (w2[1] = [i("编辑")])), _: 1 }), p(d(y2, { type: "success" }, { default: n(() => w2[2] || (w2[2] = [i(" 已设置条件.")])), _: 1 }, 512), [[s, c(h) && c(h).length > 0]])]), d(q, { modelValue: C.value, "onUpdate:modelValue": w2[0] || (w2[0] = (e3) => C.value = e3), title: e2.title, width: "900" }, { default: n(() => [d(T3, { style: { "padding-bottom": "8px" } }, { default: n(() => [d(g2, { icon: c(b), plain: "", type: "primary", onClick: x }, { default: n(() => w2[3] || (w2[3] = [i(" 添加 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), d(E, { border: "", "highlight-current-row": "", onCurrentChange: L, "current-row-key": "uuid", "row-key": "uuid", data: c(h), style: { width: "100%" } }, { default: n(() => [d(B2, { label: "", width: "50" }, { default: n((e3) => [u("div", v, [d(k2, { size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
60
|
+
let l4 = j(e4);
|
|
56
61
|
if (l4 < 1) return;
|
|
57
|
-
const a2 =
|
|
62
|
+
const a2 = h;
|
|
58
63
|
[a2[l4 - 1], a2[l4]] = [a2[l4], a2[l4 - 1]];
|
|
59
|
-
}(e3.row) }, { default: n(() => [d(
|
|
60
|
-
let l4 =
|
|
61
|
-
if (-1 == l4 ||
|
|
62
|
-
const a2 =
|
|
64
|
+
}(e3.row) }, { default: n(() => [d(V2)]), _: 2 }, 1032, ["onClick"]), d(k2, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
65
|
+
let l4 = j(e4);
|
|
66
|
+
if (-1 == l4 || h.length == l4 + 1) return;
|
|
67
|
+
const a2 = h;
|
|
63
68
|
[a2[l4], a2[l4 + 1]] = [a2[l4 + 1], a2[l4]];
|
|
64
|
-
}(e3.row) }, { default: n(() => [d(
|
|
65
|
-
let l4 =
|
|
66
|
-
l4 > -1 &&
|
|
67
|
-
}(e3.row) }, { default: n(() => [d(
|
|
69
|
+
}(e3.row) }, { default: n(() => [d(N2)]), _: 2 }, 1032, ["onClick"])])]), _: 1 }), d(B2, { prop: "leftBracket", label: "(", width: "80" }, { default: n((e3) => [d(I, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l3) => e3.row.leftBracket = l3, clearable: "", placeholder: "请选择" }, { default: n(() => [d(S, { label: "", value: "" }), d(S, { label: "(", value: "(" }), d(S, { label: "((", value: "((" }), d(S, { label: "(((", value: "(((" }), d(S, { label: "((((", value: "((((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(B2, { prop: "propName", label: "字段名(*)", width: "150" }, { default: n((e3) => [d(m, { modelValue: e3.row.propName, paramTypes: ["data", "task", "page", "request"], "onUpdate:modelValue": (l3) => O(l3, e3.row, "propName") }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(B2, { prop: "operator", label: "操作符", width: "90" }, { default: n((e3) => [d(I, { modelValue: e3.row.operator, "onUpdate:modelValue": (l3) => e3.row.operator = l3, clearable: "", placeholder: "请选择" }, { default: n(() => [p(d(S, { label: "大于", value: "GT" }, null, 512), [[s, "int" == e3.row.dataType || "long" == e3.row.dataType || "float" == e3.row.dataType || "double" == e3.row.dataType]]), p(d(S, { label: "小于", value: "LT" }, null, 512), [[s, "int" == e3.row.dataType || "long" == e3.row.dataType || "float" == e3.row.dataType || "double" == e3.row.dataType]]), p(d(S, { label: "晚于", value: "GT" }, null, 512), [[s, "date" == e3.row.dataType || "datetime" == e3.row.dataType]]), p(d(S, { label: "早于", value: "LT" }, null, 512), [[s, "date" == e3.row.dataType || "datetime" == e3.row.dataType]]), d(S, { label: "等于", value: "EQ" }), p(d(S, { label: "不大于", value: "LET" }, null, 512), [[s, "int" == e3.row.dataType || "long" == e3.row.dataType || "float" == e3.row.dataType || "double" == e3.row.dataType]]), p(d(S, { label: "不小于", value: "GET" }, null, 512), [[s, "int" == e3.row.dataType || "long" == e3.row.dataType || "float" == e3.row.dataType || "double" == e3.row.dataType]]), p(d(S, { label: "不晚于", value: "LET" }, null, 512), [[s, "date" == e3.row.dataType || "datetime" == e3.row.dataType]]), p(d(S, { label: "不早于", value: "GET" }, null, 512), [[s, "date" == e3.row.dataType || "datetime" == e3.row.dataType]]), d(S, { label: "不等于", value: "NET" }), d(S, { label: "包含", value: "CONTAIN" }), d(S, { label: "不包含", value: "NOT_CONTAIN" }), d(S, { label: "等于Null", value: "IS_NULL" }), d(S, { label: "不等于Null", value: "IS_NOT_NULL" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(B2, { prop: "propValue", label: "值(*)", width: "150" }, { default: n((e3) => [d(m, { modelValue: e3.row.propValue, objModelOptions: _.value, "onUpdate:modelValue": (l3) => O(l3, e3.row, "propValue") }, null, 8, ["modelValue", "objModelOptions", "onUpdate:modelValue"])]), _: 1 }), d(B2, { prop: "rightBracket", label: ")", width: "80" }, { default: n((e3) => [d(I, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (l3) => e3.row.rightBracket = l3, placeholder: "请选择", clearable: "" }, { default: n(() => [d(S, { label: "", value: "" }), d(S, { label: ")", value: ")" }), d(S, { label: "))", value: "))" }), d(S, { label: ")))", value: ")))" }), d(S, { label: "))))", value: "))))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(B2, { prop: "joinSign", label: "并且/或者", width: "80" }, { default: n((e3) => [d(I, { modelValue: e3.row.joinSign, "onUpdate:modelValue": (l3) => e3.row.joinSign = l3, clearable: "", placeholder: "请选择" }, { default: n(() => [d(S, { label: "或者", value: "or" }), d(S, { label: "并且", value: "and" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(B2, { prop: "variableIsNull", label: "变量为空时", width: "120" }, { default: n((e3) => [d(I, { modelValue: e3.row.variableIsNull, "onUpdate:modelValue": (l3) => e3.row.variableIsNull = l3, clearable: "", placeholder: "请选择" }, { default: n(() => [d(S, { label: "Null", value: "null" }), d(S, { label: "忽略(1=1)", value: "ignore" }), d(S, { label: "不符合(1<>1)", value: "notequal" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(B2, { label: "操作", width: "60" }, { default: n((e3) => [d(k2, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px", "margin-left": "6px" }, onClick: (l3) => x(e3.row) }, { default: n(() => [d(c(b))]), _: 2 }, 1032, ["onClick"]), d(k2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
70
|
+
let l4 = j(e4);
|
|
71
|
+
l4 > -1 && h.splice(l4, 1);
|
|
72
|
+
}(e3.row) }, { default: n(() => [d(c(f))]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue", "title"])], 64);
|
|
68
73
|
};
|
|
69
74
|
} });
|
|
70
75
|
export {
|
|
71
|
-
|
|
76
|
+
T as default
|
|
72
77
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./composite-header.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const r = o(e, [["__scopeId", "data-v-
|
|
4
|
+
const r = o(e, [["__scopeId", "data-v-7d71eec4"]]);
|
|
5
5
|
export {
|
|
6
6
|
r as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./data-origin.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const t = r(o, [["__scopeId", "data-v-
|
|
4
|
+
const t = r(o, [["__scopeId", "data-v-a6394e9b"]]);
|
|
5
5
|
export {
|
|
6
6
|
t as default
|
|
7
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as e, ref as a, computed as l, resolveComponent as i, createBlock as o, openBlock as t, withCtx as n, createElementVNode as r, createVNode as u, createCommentVNode as s, withDirectives as d, renderSlot as p, createTextVNode as c, unref as g, vShow as f, createElementBlock as m, Fragment as v, renderList as b, normalizeClass as y, toDisplayString as V } from "vue";
|
|
2
|
-
import O from "../../form/common/dataorigin-input-table.
|
|
2
|
+
import O from "../../form/common/dataorigin-input-table.vue2.js";
|
|
3
3
|
import { Codemirror as _ } from "vue-codemirror";
|
|
4
4
|
import C from "../../workflow/component/combination.vue.js";
|
|
5
5
|
import S from "./return-set-table.vue.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, watch as a, onMounted as t, resolveComponent as o, createBlock as i, openBlock as r, withCtx as
|
|
1
|
+
import { defineComponent as e, ref as l, watch as a, onMounted as t, resolveComponent as o, createBlock as i, openBlock as r, withCtx as u, createVNode as n, createCommentVNode as s, createElementVNode as d, createElementBlock as p, Fragment as g, renderList as c, createTextVNode as f, unref as m } from "vue";
|
|
2
2
|
import { Codemirror as b } from "vue-codemirror";
|
|
3
3
|
import { Plus as V, Remove as h, Delete as _ } from "@element-plus/icons-vue";
|
|
4
4
|
import v from "../component/variate-select.vue.js";
|
|
@@ -10,7 +10,7 @@ import w from "../../common/common-select-table.vue.js";
|
|
|
10
10
|
import { Search as U, Close as k } from "@element-plus/icons";
|
|
11
11
|
import O from "../../common/state-button.vue.js";
|
|
12
12
|
import "super-page-runtime";
|
|
13
|
-
const N = { style: { padding: "8px 0px 0px 0px" } }, L = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, P = { style: { padding: "8px 0px 0px 0px" } },
|
|
13
|
+
const N = { style: { padding: "8px 0px 0px 0px" } }, L = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, P = { style: { padding: "8px 0px 0px 0px" } }, j = { style: { padding: "8px 0px 0px 0px" } }, F = { style: { padding: "8px 0px 0px 0px" } }, $ = { style: { padding: "8px 0px 0px 0px" } }, Q = { key: 0 }, E = { key: 1 }, K = { style: { display: "flex", width: "100%" } }, M = { style: { padding: "8px 0px 0px 0px" } }, R = e({ __name: "table-attr-advanced", props: { configure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => {
|
|
14
14
|
} } }, setup(e2) {
|
|
15
15
|
const R2 = e2, W = l(false), I = { tabSize: 4, lineNumbers: true, mode: "HTML", theme: "default", line: true, styleActiveLine: true, matchBrackets: true }, J = l(["compositeHeader", "amalgamated", "unfoldConent", "treeTable", "deleteLogic", "importSetting", "initialConfig", "otherSettings"]);
|
|
16
16
|
l([]);
|
|
@@ -58,17 +58,17 @@ const N = { style: { padding: "8px 0px 0px 0px" } }, L = { style: { padding: "8p
|
|
|
58
58
|
}), t(() => {
|
|
59
59
|
ee(R2.configure.props.otherSettings.tableSysCode ? R2.configure.props.otherSettings.tableSysCode : R2.pageDesign.systemCode, R2.configure.props.otherSettings.tableSysVersion ? R2.configure.props.otherSettings.tableSysVersion : R2.pageDesign.version, R2.configure.props.otherSettings.sourceDataTable);
|
|
60
60
|
}), R2.configure.props.otherSettings.fillTableData || (R2.configure.props.otherSettings.fillTableData = [{}]), R2.configure.props.otherSettings.fixedValueTableData || (R2.configure.props.otherSettings.fixedValueTableData = [{}]), (l2, a2) => {
|
|
61
|
-
const t2 = o("el-collapse-item"), x2 = o("el-form-item"), D2 = o("el-option"), T2 = o("el-select"), ee2 = o("el-button"), ie = o("el-radio"), re = o("el-radio-group"),
|
|
62
|
-
return r(), i(_e, { "label-width": "80px", size: "small" }, { default:
|
|
61
|
+
const t2 = o("el-collapse-item"), x2 = o("el-form-item"), D2 = o("el-option"), T2 = o("el-select"), ee2 = o("el-button"), ie = o("el-radio"), re = o("el-radio-group"), ue = o("el-input"), ne = o("el-icon"), se = o("el-table-column"), de = o("el-table"), pe = o("el-col"), ge = o("el-row"), ce = o("el-checkbox"), fe = o("el-checkbox-group"), me = o("el-divider"), be = o("el-input-number"), Ve = o("el-collapse"), he = o("el-dialog"), _e = o("el-form");
|
|
62
|
+
return r(), i(_e, { "label-width": "80px", size: "small" }, { default: u(() => [n(Ve, { modelValue: J.value, "onUpdate:modelValue": a2[23] || (a2[23] = (e3) => J.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [n(t2, { title: "组合表头", name: "compositeHeader", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", N, [n(S, { configure: e2.configure }, null, 8, ["configure"])])]), _: 1 }), n(t2, { title: "合并设置", name: "amalgamated", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", L, [n(x2, { label: "相同值时合并字段", class: "amb-design-attr-item-linefeed-two" }, { default: u(() => [n(v, { modelValue: e2.configure.props.highOrder.mergeField, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.props.highOrder.mergeField = l3), tableConfigure: e2.configure }, null, 8, ["modelValue", "tableConfigure"])]), _: 1 }), n(x2, { label: "自定义合并", class: "amb-design-attr-item" }, { default: u(() => [n(T2, { modelValue: e2.configure.props.highOrder.mergeDefined, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.props.highOrder.mergeDefined = l3), placeholder: "请选择" }, { default: u(() => [(r(true), p(g, null, c(e2.configure.events, (e3, l3) => (r(), i(D2, { key: l3, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(t2, { title: "展开行内容", name: "unfoldConent", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", z, [n(x2, { label: "展开内容", class: "amb-design-attr-item" }, { default: u(() => [n(ee2, { type: "primary", onClick: a2[2] || (a2[2] = (e3) => W.value = true) }, { default: u(() => a2[26] || (a2[26] = [f("全屏编辑")])), _: 1 })]), _: 1 }), n(m(b), { modelValue: e2.configure.props.dataOrigin.unfoldConent, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.dataOrigin.unfoldConent = l3), options: I, placeholder: "请输入" }, null, 8, ["modelValue"]), n(x2, { label: "默认展开", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.dataOrigin.defaultExpand, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.dataOrigin.defaultExpand = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[27] || (a2[27] = [f("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[28] || (a2[28] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(t2, { title: "树表格", name: "treeTable", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", P, [n(x2, { label: "启用树表格", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.dataOrigin.treeTable, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.dataOrigin.treeTable = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[29] || (a2[29] = [f("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[30] || (a2[30] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(x2, { required: "", label: "父级字段", class: "amb-design-attr-item" }, { default: u(() => [n(v, { modelValue: e2.configure.props.dataOrigin.rowKey, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.dataOrigin.rowKey = l3), tableConfigure: e2.configure }, null, 8, ["modelValue", "tableConfigure"])]), _: 1 }), e2.configure.props.dataOrigin.rowKey ? (r(), i(x2, { key: 0, label: "懒加载", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.dataOrigin.lazy, "onUpdate:modelValue": a2[7] || (a2[7] = (l3) => e2.configure.props.dataOrigin.lazy = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[31] || (a2[31] = [f("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[32] || (a2[32] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), e2.configure.props.dataOrigin.rowKey && !e2.configure.props.dataOrigin.lazy ? (r(), i(x2, { key: 1, label: "展开子节点", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.dataOrigin.defaultExpandAll, "onUpdate:modelValue": a2[8] || (a2[8] = (l3) => e2.configure.props.dataOrigin.defaultExpandAll = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[33] || (a2[33] = [f("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[34] || (a2[34] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), e2.configure.props.dataOrigin.rowKey ? (r(), i(x2, { key: 2, label: "树节点缩减", class: "amb-design-attr-item" }, { default: u(() => [n(ue, { modelValue: e2.configure.props.dataOrigin.indent, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.dataOrigin.indent = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), e2.configure.props.dataOrigin.treeTable ? (r(), i(x2, { key: 3, label: "关联父子节点选中状态", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.dataOrigin.checkStrictly, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.dataOrigin.checkStrictly = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[35] || (a2[35] = [f("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[36] || (a2[36] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true)])]), _: 1 }), n(t2, { title: "删除逻辑控制", name: "deleteLogic", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", j, [a2[39] || (a2[39] = d("span", null, "以下子表有记录时不能执行删除", -1)), n(de, { data: e2.configure.props.deleteLogicSetting, border: "", fit: "", "highlight-current-row": "" }, { default: u(() => [n(se, { label: "操作", align: "center", width: "50" }, { default: u((e3) => [n(ne, { onClick: le }, { default: u(() => [n(m(V))]), _: 1 }), n(ne, { style: { "margin-left": "5px" }, onClick: (l3) => {
|
|
63
63
|
return a3 = e3.$index, void (1 === R2.configure.props.deleteLogicSetting.length ? R2.configure.props.deleteLogicSetting[0].secondTable = "" : R2.configure.props.deleteLogicSetting = R2.configure.props.deleteLogicSetting.filter((e4, l4) => l4 != a3));
|
|
64
64
|
var a3;
|
|
65
|
-
} }, { default:
|
|
65
|
+
} }, { default: u(() => [n(m(h))]), _: 2 }, 1032, ["onClick"])]), _: 1 }), n(se, { label: "子表配置" }, { default: u((e3) => [n(T2, { modelValue: e3.row.secondTable, "onUpdate:modelValue": (l3) => e3.row.secondTable = l3, clearable: "", size: "default" }, { default: u(() => [(r(true), p(g, null, c(A.value, (e4) => (r(), i(D2, { key: e4, label: e4, value: e4 }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"]), n(x2, { label: "逻辑删除", title: "是否逻辑删除", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.base.isSafeDelete, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.isSafeDelete = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[37] || (a2[37] = [f("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[38] || (a2[38] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(t2, { title: "导入配置", name: "importSetting", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", F, [n(x2, { label: "重复处理", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.importSetting.listViewImportDuplicate, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.importSetting.listViewImportDuplicate = l3), class: "ml-4" }, { default: u(() => [n(ge, null, { default: u(() => [n(pe, { span: 12 }, { default: u(() => [n(ie, { value: "update" }, { default: u(() => a2[40] || (a2[40] = [f("更新数据")])), _: 1 })]), _: 1 }), n(pe, { span: 12 }, { default: u(() => [n(ie, { value: "skip" }, { default: u(() => a2[41] || (a2[41] = [f("跳过")])), _: 1 })]), _: 1 }), n(pe, { span: 12 }, { default: u(() => [n(ie, { value: "termination" }, { default: u(() => a2[42] || (a2[42] = [f("中止导入")])), _: 1 })]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(y, { configure: e2.configure }, null, 8, ["configure"])])]), _: 1 }), n(t2, { title: "初始化配置", name: "initialConfig", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", $, [n(x2, { label: "初始化子表", title: "初始化子表", class: "amb-design-attr-item" }, { default: u(() => [n(fe, { modelValue: e2.configure.props.otherSettings.timeToInitializeSubTable, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.otherSettings.timeToInitializeSubTable = l3) }, { default: u(() => [n(ce, { label: "新建表单时", value: "create" }), n(ce, { label: "子表无项目时", value: "noData" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(x2, { label: "移动端标题", title: "移动端行标题", class: "amb-design-attr-item" }, { default: u(() => [n(ue, { modelValue: e2.configure.props.otherSettings.mobileLineTitle, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.otherSettings.mobileLineTitle = l3) }, null, 8, ["modelValue"])]), _: 1 }), n(x2, { label: "数据来源", title: "子表内容数据来源", class: "amb-design-attr-item" }, { default: u(() => [n(T2, { modelValue: e2.configure.props.otherSettings.dataSources, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.otherSettings.dataSources = l3), clearable: "" }, { default: u(() => [n(D2, { label: "子表内容从其他数据表填充", value: "otherDataTable" }), n(D2, { label: "固定值", value: "fixedValue" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "fixedValue" === e2.configure.props.otherSettings.dataSources ? (r(), p("div", Q, [n(me, null, { default: u(() => a2[43] || (a2[43] = [f(" 固定值 ")])), _: 1 }), n(de, { data: e2.configure.props.otherSettings.fixedValueTableData, style: { width: "100%" } }, { default: u(() => [n(se, { width: "60", align: "center" }, { default: u((e3) => [n(ne, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => (e3.row, e3.$index, void R2.configure.props.otherSettings.fixedValueTableData.push({})) }, { default: u(() => [n(m(V))]), _: 2 }, 1032, ["onClick"]), n(ne, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => {
|
|
66
66
|
return e3.row, a3 = e3.$index, void (1 == R2.configure.props.otherSettings.fixedValueTableData.length ? (R2.configure.props.otherSettings.fixedValueTableData[0].sourcePropName = "", R2.configure.props.otherSettings.fixedValueTableData[0].optionGroupCode = "", R2.configure.props.otherSettings.fixedValueTableData[0].fixedValue = "") : R2.configure.props.otherSettings.fixedValueTableData.splice(a3, 1));
|
|
67
67
|
var a3;
|
|
68
|
-
} }, { default:
|
|
68
|
+
} }, { default: u(() => [n(m(_))]), _: 2 }, 1032, ["onClick"])]), _: 1 }), n(se, { prop: "label", label: "子表字段", width: "90", align: "center" }, { default: u((l3) => [n(T2, { modelValue: l3.row.sourcePropName, "onUpdate:modelValue": (e3) => l3.row.sourcePropName = e3, placeholder: "请选择" }, { default: u(() => [(r(true), p(g, null, c(e2.configure.modelFields, (e3, l4) => (r(), i(D2, { key: l4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(se, { prop: "value", label: "选项组编码", width: "90", align: "center" }, { default: u((e3) => [n(ue, { modelValue: e3.row.optionGroupCode, "onUpdate:modelValue": (l3) => e3.row.optionGroupCode = l3, size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(se, { prop: "value", label: "固定值", width: "90", align: "center" }, { default: u((e3) => [n(ue, { modelValue: e3.row.fixedValue, "onUpdate:modelValue": (l3) => e3.row.fixedValue = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"])])) : (r(), p("div", E, [n(me, null, { default: u(() => a2[44] || (a2[44] = [f(" 来源 ")])), _: 1 }), n(x2, { label: "数据表", title: "数据表", class: "amb-design-attr-item" }, { default: u(() => [n(ue, { modelValue: e2.configure.props.otherSettings.sourceDataTable, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.otherSettings.sourceDataTable = l3), title: e2.configure.props.otherSettings.sourceDataTable, clearable: "", readonly: "true" }, { append: u(() => [n(ee2, { icon: m(U), onClick: X, size: "small" }, null, 8, ["icon"]), n(ee2, { icon: m(k), onClick: Y, title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }), n(x2, { label: "排序", title: "排序", class: "amb-design-attr-item" }, { default: u(() => [d("div", K, [n(T2, { modelValue: e2.configure.props.otherSettings.sourceDataTableSortColumn, "onUpdate:modelValue": a2[17] || (a2[17] = (l3) => e2.configure.props.otherSettings.sourceDataTableSortColumn = l3), clearable: "", filterable: "" }, { default: u(() => [(r(true), p(g, null, c(q.value, (e3) => (r(), i(D2, { key: e3, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), n(T2, { modelValue: e2.configure.props.otherSettings.sourceDataTableSortOrder, "onUpdate:modelValue": a2[18] || (a2[18] = (l3) => e2.configure.props.otherSettings.sourceDataTableSortOrder = l3), style: { width: "120px", "margin-left": "10px" }, clearable: "" }, { default: u(() => [n(D2, { label: "升序", value: "asc" }), n(D2, { label: "降序", value: "desc" })]), _: 1 }, 8, ["modelValue"])])]), _: 1 }), n(x2, { label: "条件", class: "amb-design-attr-item" }, { default: u(() => [n(O, { onClick: a2[19] || (a2[19] = (e3) => H.value = true), conditionData: JSON.parse(e2.configure.props.otherSettings.sourceQueryTableData) }, null, 8, ["conditionData"])]), _: 1 }), n(me, null, { default: u(() => a2[45] || (a2[45] = [f(" 填充至 ")])), _: 1 }), n(x2, { label: "来源过滤", title: "来源过滤条件中对象变化时加载", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.otherSettings.isRealTimeChange, "onUpdate:modelValue": a2[20] || (a2[20] = (l3) => e2.configure.props.otherSettings.isRealTimeChange = l3), class: "ml-4", onChange: te }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[46] || (a2[46] = [f("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[47] || (a2[47] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(de, { data: e2.configure.props.otherSettings.fillTableData, style: { width: "100%" } }, { default: u(() => [n(se, { width: "60", align: "center" }, { default: u((e3) => [n(ne, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => (e3.row, e3.$index, void R2.configure.props.otherSettings.fillTableData.push({})) }, { default: u(() => [n(m(V))]), _: 2 }, 1032, ["onClick"]), n(ne, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => {
|
|
69
69
|
return e3.row, a3 = e3.$index, void (1 == R2.configure.props.otherSettings.fillTableData.length ? (R2.configure.props.otherSettings.fillTableData[0].sourcePropName = "", R2.configure.props.otherSettings.fillTableData[0].childPropName = "", R2.configure.props.otherSettings.fillTableData[0].defaultValue = "") : R2.configure.props.otherSettings.fillTableData.splice(a3, 1));
|
|
70
70
|
var a3;
|
|
71
|
-
} }, { default:
|
|
71
|
+
} }, { default: u(() => [n(m(_))]), _: 2 }, 1032, ["onClick"])]), _: 1 }), n(se, { prop: "label", label: "来源字段", width: "90", align: "center" }, { default: u((e3) => [n(T2, { modelValue: e3.row.sourcePropName, "onUpdate:modelValue": (l3) => e3.row.sourcePropName = l3, clearable: "", filterable: "" }, { default: u(() => [(r(true), p(g, null, c(q.value, (e4) => (r(), i(D2, { key: e4, label: e4.alias, value: e4.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(se, { prop: "value", label: "子表字段", width: "90", align: "center" }, { default: u((l3) => [n(T2, { modelValue: l3.row.childPropName, "onUpdate:modelValue": (e3) => l3.row.childPropName = e3, placeholder: "请选择" }, { default: u(() => [(r(true), p(g, null, c(e2.configure.modelFields, (e3, l4) => (r(), i(D2, { key: l4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(se, { prop: "value", label: "默认值", width: "90", align: "center" }, { default: u((e3) => [n(ue, { modelValue: e3.row.defaultValue, "onUpdate:modelValue": (l3) => e3.row.defaultValue = l3, size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"])]))])]), _: 1 }), n(t2, { title: "其他", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", M, [n(x2, { label: "数据权限", title: "数据权限限制", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.otherSettings.isWithDataPermission, "onUpdate:modelValue": a2[21] || (a2[21] = (l3) => e2.configure.props.otherSettings.isWithDataPermission = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[48] || (a2[48] = [f("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[49] || (a2[49] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(x2, { label: "记录最大数", title: "表格记录最大数量", class: "amb-design-attr-item" }, { default: u(() => [n(be, { modelValue: e2.configure.props.otherSettings.tableRecordMaxNum, "onUpdate:modelValue": a2[22] || (a2[22] = (l3) => e2.configure.props.otherSettings.tableRecordMaxNum = l3) }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(w, { ref_key: "selectTableDialog", ref: G, onSelectTable: Z, systemCode: e2.pageDesign.systemCode, systemVersion: e2.pageDesign.version }, null, 8, ["systemCode", "systemVersion"]), H.value ? (r(), i(C, { key: 0, list: e2.configure.props.otherSettings.sourceQueryTableData ? JSON.parse(e2.configure.props.otherSettings.sourceQueryTableData) : null, fieldNameList: q.value, fieldMap: B.value, dataFieldNameList: e2.pageDesign.modelFields, paramTypes: ["data", "page", "task", "context", "system", "request", "fixed"], onSave: ae, onClose: oe }, null, 8, ["list", "fieldNameList", "fieldMap", "dataFieldNameList"])) : s("", true)]), _: 1 }, 8, ["modelValue"]), n(he, { modelValue: W.value, "onUpdate:modelValue": a2[25] || (a2[25] = (e3) => W.value = e3), fullscreen: "" }, { default: u(() => [n(m(b), { modelValue: e2.configure.props.dataOrigin.unfoldConent, "onUpdate:modelValue": a2[24] || (a2[24] = (l3) => e2.configure.props.dataOrigin.unfoldConent = l3), options: I, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
72
72
|
};
|
|
73
73
|
} });
|
|
74
74
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, watch as l, resolveComponent as t, createBlock as o, openBlock as s, withCtx as u, createVNode as i, createElementVNode as
|
|
1
|
+
import { defineComponent as e, ref as a, watch as l, resolveComponent as t, createBlock as o, openBlock as s, withCtx as u, createVNode as i, createElementVNode as r, createElementBlock as d, Fragment as n, renderList as p, unref as m, createCommentVNode as g, createTextVNode as f } from "vue";
|
|
2
2
|
import { getTableSelectionConf as c, getTableIndexConf as b, getTableOperateConf as V, getFormComponentOptions as _ } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import v from "../component/data-origin.vue.js";
|
|
4
4
|
import h from "../../common/common-attr-size.vue.js";
|
|
@@ -51,7 +51,7 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, C = { style: { padding: "8p
|
|
|
51
51
|
}
|
|
52
52
|
}), (a2, l2) => {
|
|
53
53
|
const c2 = t("el-option"), b2 = t("el-select"), V2 = t("el-form-item"), j3 = t("el-input"), B = t("el-collapse-item"), L = t("el-radio"), q = t("el-radio-group"), H = t("el-switch"), I = t("el-checkbox"), R = t("el-checkbox-group"), F = t("el-collapse"), N = t("el-form");
|
|
54
|
-
return s(), o(N, { "label-width": "80px", size: "small" }, { default: u(() => [i(F, { modelValue: O.value, "onUpdate:modelValue": l2[37] || (l2[37] = (e3) => O.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(B, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", w, [i(V2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.name = a3), disabled: "", placeholder: "请选择" }, { default: u(() => [(s(true), r(n, null, p(m(_)(), (e3) => (s(), o(c2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), i(V2, { label: "自定义编码", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.code, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.code = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(s(), o(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), i(V2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.title, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.title = a3), title: e2.configure.tittle }, null, 8, ["modelValue", "title"])]), _: 1 }), i(V2, { label: "列表内容Url", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.urlToListData, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.urlToListData = a3) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "备注", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.remark, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.remark = a3), rows: 3, type: "textarea" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(v, { title: "数据", pageDesign: e2.pageDesign, configure: e2.configure, remote: false }, { bottom: u((a3) => [i(V2, { label: "行主键字段", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: a3.row.principalLinkage, "onUpdate:modelValue": (e3) => a3.row.principalLinkage = e3, placeholder: "Select" }, { default: u(() => [(s(true), r(n, null, p(e2.configure.modelFields, (e3, a4) => (s(), o(c2, { key: a4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)]), _: 1 }, 8, ["pageDesign", "configure"]), i(B, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", C, [i(V2, { label: "支持多选", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.selection, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.selection = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[38] || (l2[38] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[39] || (l2[39] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "显示序号", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.showIndex, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.showIndex = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[40] || (l2[40] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[41] || (l2[41] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.showIndex ? (s(), o(V2, { key: 0, label: "序号连续", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.serialNumberContinuous, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.base.serialNumberContinuous = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[42] || (l2[42] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[43] || (l2[43] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), i(V2, { label: "显示操作列", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.showOperation, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.showOperation = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[44] || (l2[44] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[45] || (l2[45] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.showOperation ? (s(), o(V2, { key: 1, label: "操作条件", class: "amb-design-attr-item" }, { default: u(() => [i(y, { paramTypes: ["data", "task", "page", "request"], data: e2.configure.props.base.showOperationCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": P }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), e2.configure.props.base.showOperation ? (s(), o(V2, { key: 2, label: "新增条件", class: "amb-design-attr-item" }, { default: u(() => [i(y, { paramTypes: ["data", "task", "page", "request", "row"], data: e2.configure.props.base.showAddBtnCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": T }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), e2.configure.props.base.showOperation ? (s(), o(V2, { key: 3, label: "删除条件", class: "amb-design-attr-item" }, { default: u(() => [i(y, { paramTypes: ["data", "task", "page", "request", "row"], data: e2.configure.props.base.showDeleteBtnCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": E }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), i(V2, { label: "显示效果", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.displayEffect, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.displayEffect = a3), class: "ml-4" }, { default: u(() => [i(L, { value: "default" }, { default: u(() => l2[46] || (l2[46] = [f("默认")])), _: 1 }), i(L, { value: "covered" }, { default: u(() => l2[47] || (l2[47] = [f("铺满")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "显示表头", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.showHeader, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.showHeader = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[48] || (l2[48] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[49] || (l2[49] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: u(() => [i(L, { value: "left" }, { default: u(() => l2[50] || (l2[50] = [f("居左")])), _: 1 }), i(L, { value: "center" }, { default: u(() => l2[51] || (l2[51] = [f("居中")])), _: 1 }), i(L, { value: "right" }, { default: u(() => l2[52] || (l2[52] = [f("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "内容对齐", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: u(() => [i(L, { value: "left" }, { default: u(() => l2[53] || (l2[53] = [f("居左")])), _: 1 }), i(L, { value: "center" }, { default: u(() => l2[54] || (l2[54] = [f("居中")])), _: 1 }), i(L, { value: "right" }, { default: u(() => l2[55] || (l2[55] = [f("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "锁住表头", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.immobilizationHeader, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.base.immobilizationHeader = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[56] || (l2[56] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[57] || (l2[57] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "锁住底部", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.immobilizationBottom, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.immobilizationBottom = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[58] || (l2[58] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[59] || (l2[59] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "纵向边框", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.border, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.base.border = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[60] || (l2[60] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[61] || (l2[61] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "带斑马纹", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.stripe, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.stripe = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[62] || (l2[62] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[63] || (l2[63] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "列宽自撑开", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.fit, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.fit = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[64] || (l2[64] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[65] || (l2[65] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "高亮当前行", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.highlightCurrentRow, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.highlightCurrentRow = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[66] || (l2[66] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[67] || (l2[67] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "是否换行", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.otherSettings.isBreakLine, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.otherSettings.isBreakLine = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[68] || (l2[68] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[69] || (l2[69] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "启用回车", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.otherSettings.isEnableEnterEvent, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.otherSettings.isEnableEnterEvent = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[70] || (l2[70] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[71] || (l2[71] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "可自定义", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.custom, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.base.custom = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[72] || (l2[72] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[73] || (l2[73] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "空数据文本", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.emptyText, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.base.emptyText = a3) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "合计方式", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.totalType, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.base.totalType = a3), class: "ml-4" }, { default: u(() => [i(L, { value: "no" }, { default: u(() => l2[74] || (l2[74] = [f("不合计")])), _: 1 }), i(L, { value: "current" }, { default: u(() => l2[75] || (l2[75] = [f("当前页")])), _: 1 }), i(L, { value: "all" }, { default: u(() => l2[76] || (l2[76] = [f("所有页")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "字段配置", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.customConfig, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.base.customConfig = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(B, { title: "查询设置", name: "querySetting", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", k, [i(V2, { label: "显示方式", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: e2.configure.props.base.popUp, "onUpdate:modelValue": l2[26] || (l2[26] = (a3) => e2.configure.props.base.popUp = a3), clearable: "", style: { width: "100%" } }, { default: u(() => [i(c2, { label: "弹出式", value: true }), i(c2, { label: "嵌入式", value: false })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "Label位置", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: e2.configure.props.base.queryLabelPosition, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.base.queryLabelPosition = a3), clearable: "" }, { default: u(() => [i(c2, { label: "左", value: "left" }), i(c2, { label: "右", value: "right" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(B, { title: "行设置", name: "editSetting", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", D, [i(V2, { label: "启用编辑", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.editable, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.base.editable = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "子表展开表单", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.showRowForm, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.base.showRowForm = a3), "active-text": "展开", "inactive-text": "不展开" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(B, { title: "列设置", name: "columnSetting", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", S, [i(V2, { label: "是否可以拖拽列", class: "amb-design-attr-item-linefeed-two" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.isDragColumn, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.base.isDragColumn = a3), "active-text": "是", "inactive-text": "否" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(B, { title: "分页设置", name: "paging", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", z, [i(V2, { label: "支持分页", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.subPaging, "onUpdate:modelValue": l2[31] || (l2[31] = (a3) => e2.configure.props.base.subPaging = a3) }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[77] || (l2[77] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[78] || (l2[78] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 0, label: "默认行数", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.pageSize, "onUpdate:modelValue": l2[32] || (l2[32] = (a3) => e2.configure.props.base.pageSize = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 1, label: "可选行数", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.pageSizes, "onUpdate:modelValue": l2[33] || (l2[33] = (a3) => e2.configure.props.base.pageSizes = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 2, label: "可选项", class: "amb-design-attr-item" }, { default: u(() => [i(R, { modelValue: e2.configure.props.base.layout, "onUpdate:modelValue": l2[34] || (l2[34] = (a3) => e2.configure.props.base.layout = a3) }, { default: u(() => [i(I, { label: "总条数", value: "total" }), i(I, { label: "每页大小选项列表", value: "sizes" }), i(I, { label: "上一页", value: "prev" }), i(I, { label: "跳转页码", value: "pager" }), i(I, { label: "下一页", value: "next" }), i(I, { label: "跳转指定页", value: "jumper" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 3, label: "总页数变量", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.pageCount, "onUpdate:modelValue": l2[35] || (l2[35] = (a3) => e2.configure.props.base.pageCount = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 4, label: "总条数变量", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[36] || (l2[36] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true)])]), _: 1 }), i(x, { configureProps: e2.configure.props }, null, 8, ["configureProps"]), i(h, { size: e2.configure.props.size, showMaxHeight: true, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
54
|
+
return s(), o(N, { "label-width": "80px", size: "small" }, { default: u(() => [i(F, { modelValue: O.value, "onUpdate:modelValue": l2[37] || (l2[37] = (e3) => O.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(B, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", w, [i(V2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.name = a3), disabled: "", placeholder: "请选择" }, { default: u(() => [(s(true), d(n, null, p(m(_)(), (e3) => (s(), o(c2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), i(V2, { label: "自定义编码", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.code, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.code = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(s(), o(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), i(V2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.title, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.title = a3), title: e2.configure.tittle }, null, 8, ["modelValue", "title"])]), _: 1 }), i(V2, { label: "列表内容Url", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.urlToListData, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.urlToListData = a3) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "备注", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.remark, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.remark = a3), rows: 3, type: "textarea" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(v, { title: "数据", pageDesign: e2.pageDesign, configure: e2.configure, remote: false }, { bottom: u((a3) => [i(V2, { label: "行主键字段", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: a3.row.principalLinkage, "onUpdate:modelValue": (e3) => a3.row.principalLinkage = e3, clearable: "", placeholder: "Select" }, { default: u(() => [(s(true), d(n, null, p(e2.configure.modelFields, (e3, a4) => (s(), o(c2, { key: a4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)]), _: 1 }, 8, ["pageDesign", "configure"]), i(B, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", C, [i(V2, { label: "支持多选", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.selection, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.selection = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[38] || (l2[38] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[39] || (l2[39] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "显示序号", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.showIndex, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.showIndex = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[40] || (l2[40] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[41] || (l2[41] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.showIndex ? (s(), o(V2, { key: 0, label: "序号连续", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.serialNumberContinuous, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.base.serialNumberContinuous = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[42] || (l2[42] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[43] || (l2[43] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), i(V2, { label: "显示操作列", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.showOperation, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.showOperation = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[44] || (l2[44] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[45] || (l2[45] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.showOperation ? (s(), o(V2, { key: 1, label: "操作条件", class: "amb-design-attr-item" }, { default: u(() => [i(y, { paramTypes: ["data", "task", "page", "request"], data: e2.configure.props.base.showOperationCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": P }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), e2.configure.props.base.showOperation ? (s(), o(V2, { key: 2, label: "新增条件", class: "amb-design-attr-item" }, { default: u(() => [i(y, { paramTypes: ["data", "task", "page", "request", "row"], data: e2.configure.props.base.showAddBtnCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": T }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), e2.configure.props.base.showOperation ? (s(), o(V2, { key: 3, label: "删除条件", class: "amb-design-attr-item" }, { default: u(() => [i(y, { paramTypes: ["data", "task", "page", "request", "row"], data: e2.configure.props.base.showDeleteBtnCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": E }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), i(V2, { label: "显示效果", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.displayEffect, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.displayEffect = a3), class: "ml-4" }, { default: u(() => [i(L, { value: "default" }, { default: u(() => l2[46] || (l2[46] = [f("默认")])), _: 1 }), i(L, { value: "covered" }, { default: u(() => l2[47] || (l2[47] = [f("铺满")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "显示表头", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.showHeader, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.showHeader = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[48] || (l2[48] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[49] || (l2[49] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: u(() => [i(L, { value: "left" }, { default: u(() => l2[50] || (l2[50] = [f("居左")])), _: 1 }), i(L, { value: "center" }, { default: u(() => l2[51] || (l2[51] = [f("居中")])), _: 1 }), i(L, { value: "right" }, { default: u(() => l2[52] || (l2[52] = [f("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "内容对齐", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: u(() => [i(L, { value: "left" }, { default: u(() => l2[53] || (l2[53] = [f("居左")])), _: 1 }), i(L, { value: "center" }, { default: u(() => l2[54] || (l2[54] = [f("居中")])), _: 1 }), i(L, { value: "right" }, { default: u(() => l2[55] || (l2[55] = [f("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "锁住表头", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.immobilizationHeader, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.base.immobilizationHeader = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[56] || (l2[56] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[57] || (l2[57] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "锁住底部", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.immobilizationBottom, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.immobilizationBottom = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[58] || (l2[58] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[59] || (l2[59] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "纵向边框", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.border, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.base.border = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[60] || (l2[60] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[61] || (l2[61] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "带斑马纹", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.stripe, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.stripe = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[62] || (l2[62] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[63] || (l2[63] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "列宽自撑开", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.fit, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.fit = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[64] || (l2[64] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[65] || (l2[65] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "高亮当前行", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.highlightCurrentRow, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.highlightCurrentRow = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[66] || (l2[66] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[67] || (l2[67] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "是否换行", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.otherSettings.isBreakLine, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.otherSettings.isBreakLine = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[68] || (l2[68] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[69] || (l2[69] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "启用回车", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.otherSettings.isEnableEnterEvent, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.otherSettings.isEnableEnterEvent = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[70] || (l2[70] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[71] || (l2[71] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "可自定义", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.custom, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.base.custom = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[72] || (l2[72] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[73] || (l2[73] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "空数据文本", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.emptyText, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.base.emptyText = a3) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "合计方式", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.totalType, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.base.totalType = a3), class: "ml-4" }, { default: u(() => [i(L, { value: "no" }, { default: u(() => l2[74] || (l2[74] = [f("不合计")])), _: 1 }), i(L, { value: "current" }, { default: u(() => l2[75] || (l2[75] = [f("当前页")])), _: 1 }), i(L, { value: "all" }, { default: u(() => l2[76] || (l2[76] = [f("所有页")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "字段配置", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.customConfig, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.base.customConfig = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(B, { title: "查询设置", name: "querySetting", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", k, [i(V2, { label: "显示方式", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: e2.configure.props.base.popUp, "onUpdate:modelValue": l2[26] || (l2[26] = (a3) => e2.configure.props.base.popUp = a3), clearable: "", style: { width: "100%" } }, { default: u(() => [i(c2, { label: "弹出式", value: true }), i(c2, { label: "嵌入式", value: false })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "Label位置", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: e2.configure.props.base.queryLabelPosition, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.base.queryLabelPosition = a3), clearable: "" }, { default: u(() => [i(c2, { label: "左", value: "left" }), i(c2, { label: "右", value: "right" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(B, { title: "行设置", name: "editSetting", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", D, [i(V2, { label: "启用编辑", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.editable, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.base.editable = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "子表展开表单", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.showRowForm, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.base.showRowForm = a3), "active-text": "展开", "inactive-text": "不展开" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(B, { title: "列设置", name: "columnSetting", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", S, [i(V2, { label: "是否可以拖拽列", class: "amb-design-attr-item-linefeed-two" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.isDragColumn, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.base.isDragColumn = a3), "active-text": "是", "inactive-text": "否" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(B, { title: "分页设置", name: "paging", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", z, [i(V2, { label: "支持分页", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.subPaging, "onUpdate:modelValue": l2[31] || (l2[31] = (a3) => e2.configure.props.base.subPaging = a3) }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[77] || (l2[77] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[78] || (l2[78] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 0, label: "默认行数", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.pageSize, "onUpdate:modelValue": l2[32] || (l2[32] = (a3) => e2.configure.props.base.pageSize = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 1, label: "可选行数", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.pageSizes, "onUpdate:modelValue": l2[33] || (l2[33] = (a3) => e2.configure.props.base.pageSizes = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 2, label: "可选项", class: "amb-design-attr-item" }, { default: u(() => [i(R, { modelValue: e2.configure.props.base.layout, "onUpdate:modelValue": l2[34] || (l2[34] = (a3) => e2.configure.props.base.layout = a3) }, { default: u(() => [i(I, { label: "总条数", value: "total" }), i(I, { label: "每页大小选项列表", value: "sizes" }), i(I, { label: "上一页", value: "prev" }), i(I, { label: "跳转页码", value: "pager" }), i(I, { label: "下一页", value: "next" }), i(I, { label: "跳转指定页", value: "jumper" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 3, label: "总页数变量", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.pageCount, "onUpdate:modelValue": l2[35] || (l2[35] = (a3) => e2.configure.props.base.pageCount = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 4, label: "总条数变量", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[36] || (l2[36] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true)])]), _: 1 }), i(x, { configureProps: e2.configure.props }, null, 8, ["configureProps"]), i(h, { size: e2.configure.props.size, showMaxHeight: true, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
55
55
|
};
|
|
56
56
|
} });
|
|
57
57
|
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 v, normalizeClass as y } 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 v = { class: "dialog-footer" }, c = e({ __name: "dataorigin-input-table", props: { modelValue: { type: String, default: "" } }, emits: ["update:modelValue"], setup(e2, { emit: c2 }) {
|
|
4
|
-
const f = e2, g = l(f.modelValue), V = c2, 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 S() {
|
|
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 w(e3) {
|
|
14
|
-
_.value = e3;
|
|
15
|
-
}
|
|
16
|
-
function y() {
|
|
17
|
-
b.value = true;
|
|
18
|
-
}
|
|
19
|
-
return a(() => f.modelValue, (e3) => {
|
|
20
|
-
g.value = e3;
|
|
21
|
-
}), (e3, l2) => {
|
|
22
|
-
const a2 = t("el-icon"), c3 = t("el-input"), f2 = t("el-table-column"), V2 = t("el-table"), _2 = t("el-button"), A = t("el-dialog");
|
|
23
|
-
return d(), o(u, null, [n(c3, { modelValue: g.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => g.value = e4), placeholder: "请选择", onClick: y }, { suffix: i(() => [n(a2, { onClick: y }, { 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", v, [n(_2, { onClick: l2[1] || (l2[1] = (e4) => b.value = false) }, { default: i(() => l2[3] || (l2[3] = [r("取消")])), _: 1 }), n(_2, { type: "primary", onClick: S }, { default: i(() => l2[4] || (l2[4] = [r(" 确定 ")])), _: 1 })])]), default: i(() => [n(V2, { data: h, style: { width: "100%" }, onSelectionChange: w }, { default: i(() => [n(f2, { type: "selection", width: "55" }), n(f2, { prop: "date", label: "Date", width: "180" }), n(f2, { prop: "name", label: "Name", width: "180" }), n(f2, { 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 v = { class: "dialog-footer" }, c = e({ __name: "dataorigin-input-table", props: { modelValue: { type: String, default: "" } }, emits: ["update:modelValue"], setup(e2, { emit: c2 }) {
|
|
4
|
+
const f = e2, g = l(f.modelValue), V = c2, 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 S() {
|
|
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 w(e3) {
|
|
14
|
+
_.value = e3;
|
|
15
|
+
}
|
|
16
|
+
function y() {
|
|
17
|
+
b.value = true;
|
|
18
|
+
}
|
|
19
|
+
return a(() => f.modelValue, (e3) => {
|
|
20
|
+
g.value = e3;
|
|
21
|
+
}), (e3, l2) => {
|
|
22
|
+
const a2 = t("el-icon"), c3 = t("el-input"), f2 = t("el-table-column"), V2 = t("el-table"), _2 = t("el-button"), A = t("el-dialog");
|
|
23
|
+
return d(), o(u, null, [n(c3, { modelValue: g.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => g.value = e4), placeholder: "请选择", onClick: y }, { suffix: i(() => [n(a2, { onClick: y }, { 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", v, [n(_2, { onClick: l2[1] || (l2[1] = (e4) => b.value = false) }, { default: i(() => l2[3] || (l2[3] = [r("取消")])), _: 1 }), n(_2, { type: "primary", onClick: S }, { default: i(() => l2[4] || (l2[4] = [r(" 确定 ")])), _: 1 })])]), default: i(() => [n(V2, { data: h, style: { width: "100%" }, onSelectionChange: w }, { default: i(() => [n(f2, { type: "selection", width: "55" }), n(f2, { prop: "date", label: "Date", width: "180" }), n(f2, { prop: "name", label: "Name", width: "180" }), n(f2, { prop: "address", label: "Address" })]), _: 1 })]), _: 1 }, 8, ["modelValue"])], 64);
|
|
24
|
+
};
|
|
25
|
+
} });
|
|
2
26
|
export {
|
|
3
|
-
|
|
27
|
+
c as default
|
|
4
28
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, resolveComponent as l, createElementBlock as a, openBlock as n, createVNode as o, withDirectives as t, withCtx as
|
|
1
|
+
import { defineComponent as e, resolveComponent as l, createElementBlock as a, openBlock as n, createVNode as o, withDirectives as t, withCtx as u, createTextVNode as i, unref as p, vShow as r } from "vue";
|
|
2
2
|
import { Plus as c, Delete as s } from "@element-plus/icons-vue";
|
|
3
3
|
import { getUuidv4 as d } from "../../../../utils/common-util.js";
|
|
4
4
|
import m from "../../common/common-variable-bind.vue.js";
|
|
@@ -20,16 +20,16 @@ const g = e({ __name: "linkpage-page-callback", props: { linkPage: {} }, setup(e
|
|
|
20
20
|
g2.linkPage.valueMappings.splice(l2 + 1, 0, a2);
|
|
21
21
|
}
|
|
22
22
|
return g2.linkPage.valueMappings || (g2.linkPage.valueMappings = []), 0 == g2.linkPage.valueMappings.length && f(null), (e3, d2) => {
|
|
23
|
-
const v = l("el-divider"), b = l("el-checkbox"), P = l("el-form-item"), _ = l("el-checkbox-group"), V = l("el-input"),
|
|
24
|
-
return n(), a("div", null, [o(v, null, { default:
|
|
23
|
+
const v = l("el-divider"), b = l("el-checkbox"), P = l("el-form-item"), _ = l("el-checkbox-group"), V = l("el-input"), M = l("el-table-column"), h = l("el-icon"), w = l("el-table");
|
|
24
|
+
return n(), a("div", null, [o(v, null, { default: u(() => d2[1] || (d2[1] = [i("赋值回调")])), _: 1 }), o(_, { modelValue: e3.linkPage.callbackTypes, "onUpdate:modelValue": d2[0] || (d2[0] = (l2) => e3.linkPage.callbackTypes = l2) }, { default: u(() => [o(P, { class: "amb-design-attr-item" }, { label: u(() => [o(b, { value: "paramSet" }, { default: u(() => d2[2] || (d2[2] = [i("回调设值")])), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"]), t(o(w, { data: e3.linkPage.valueMappings, style: { "margin-top": "-10px" } }, { default: u(() => [o(M, { prop: "source", label: "源数据" }, { default: u((e4) => [o(V, { modelValue: e4.row.source, "onUpdate:modelValue": (l2) => e4.row.source = l2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), o(M, { prop: "target", label: "设置到" }, { default: u((e4) => [o(m, { modelValue: e4.row.target, paramTypes: ["page", "data"], "onUpdate:modelValue": (l2) => {
|
|
25
25
|
return a2 = l2, n2 = e4.row, o2 = "target", void (n2 && (n2[o2] = a2));
|
|
26
26
|
var a2, n2, o2;
|
|
27
|
-
} }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), o(
|
|
27
|
+
} }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), o(M, { label: "操作", width: "60" }, { default: u((e4) => [o(h, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l2) => f(e4.row) }, { default: u(() => [o(p(c))]), _: 2 }, 1032, ["onClick"]), o(h, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l2) => function(e5) {
|
|
28
28
|
let l3 = k(e5);
|
|
29
29
|
l3 > -1 && (g2.linkPage.valueMappings.splice(l3, 1), 0 == g2.linkPage.valueMappings.length && setTimeout(function() {
|
|
30
30
|
f(null);
|
|
31
31
|
}, 10));
|
|
32
|
-
}(e4.row) }, { default:
|
|
32
|
+
}(e4.row) }, { default: u(() => [o(p(s))]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), [[r, e3.linkPage.callbackTypes && e3.linkPage.callbackTypes.includes("paramSet")]])]);
|
|
33
33
|
};
|
|
34
34
|
} });
|
|
35
35
|
export {
|