super-page-designer 2.3.7-design2 → 2.3.8-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/views/assemblys/chart/common/common-style-grid.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/attr-style.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/tablecolumn-attr-base.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +78 -46
- 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/hyperlink-mult-config.vue.js +13 -16
- package/package.json +3 -3
- /package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue3.js → common-variable-bind.vue2.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as e, resolveComponent as l, createBlock as o, openBlock as a, withCtx as d, createElementVNode as
|
|
1
|
+
import { defineComponent as e, resolveComponent as l, createBlock as o, openBlock as a, withCtx as d, createElementVNode as t, createVNode as i, withDirectives as r, vShow as n } from "vue";
|
|
2
2
|
const u = { style: { padding: "8px 0px 0px 0px" } }, g = e({ __name: "common-style-grid", props: { configure: { type: Object, required: true } }, setup: (e2) => (g2, m) => {
|
|
3
|
-
const p = l("el-color-picker"), s = l("el-form-item"), f = l("el-input-
|
|
4
|
-
return a(), o(
|
|
3
|
+
const p = l("el-color-picker"), s = l("el-form-item"), f = l("el-input"), c = l("el-switch"), y = l("el-input-number"), V = l("el-collapse-item");
|
|
4
|
+
return a(), o(V, { title: "网格", name: "styleGrid", class: "amb-design-attr-group-header" }, { default: d(() => [t("div", u, [i(s, { label: "背景颜色", style: { "margin-top": "4px" } }, { default: d(() => [i(p, { modelValue: e2.configure.style.gridBackgroundColor, "onUpdate:modelValue": m[0] || (m[0] = (l2) => e2.configure.style.gridBackgroundColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), i(s, { label: "上边距", style: { "margin-top": "-10px" } }, { default: d(() => [i(f, { modelValue: e2.configure.style.gridPaddingTop, "onUpdate:modelValue": m[1] || (m[1] = (l2) => e2.configure.style.gridPaddingTop = l2), clearable: "" }, null, 8, ["modelValue"])]), _: 1 }), i(s, { label: "右边距", style: { "margin-top": "-10px" } }, { default: d(() => [i(f, { modelValue: e2.configure.style.gridPaddingRight, "onUpdate:modelValue": m[2] || (m[2] = (l2) => e2.configure.style.gridPaddingRight = l2), clearable: "" }, null, 8, ["modelValue"])]), _: 1 }), i(s, { label: "下边距", style: { "margin-top": "-10px" } }, { default: d(() => [i(f, { modelValue: e2.configure.style.gridPaddingBottom, "onUpdate:modelValue": m[3] || (m[3] = (l2) => e2.configure.style.gridPaddingBottom = l2), clearable: "" }, null, 8, ["modelValue"])]), _: 1 }), i(s, { label: "左边距", style: { "margin-top": "-10px" } }, { default: d(() => [i(f, { modelValue: e2.configure.style.gridPaddingLeft, "onUpdate:modelValue": m[4] || (m[4] = (l2) => e2.configure.style.gridPaddingLeft = l2), clearable: "" }, null, 8, ["modelValue"])]), _: 1 }), i(s, { label: "显示边框", style: { "margin-top": "-10px" } }, { default: d(() => [i(c, { modelValue: e2.configure.style.enableGridLine, "onUpdate:modelValue": m[5] || (m[5] = (l2) => e2.configure.style.enableGridLine = l2) }, null, 8, ["modelValue"])]), _: 1 }), r(i(s, { label: "边框颜色", style: { "margin-top": "-10px" } }, { default: d(() => [i(p, { modelValue: e2.configure.style.gridLineColor, "onUpdate:modelValue": m[6] || (m[6] = (l2) => e2.configure.style.gridLineColor = l2) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.enableGridLine]]), r(i(s, { label: "边框线宽", style: { "margin-top": "-10px" } }, { default: d(() => [i(y, { modelValue: e2.configure.style.gridLineWidth, "onUpdate:modelValue": m[7] || (m[7] = (l2) => e2.configure.style.gridLineWidth = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.enableGridLine]]), i(s, { label: "阴影", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: d(() => [i(p, { modelValue: e2.configure.style.gridShadowColor, "onUpdate:modelValue": m[8] || (m[8] = (l2) => e2.configure.style.gridShadowColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), r(i(s, { label: "阴影模糊", style: { "margin-top": "15px" } }, { default: d(() => [i(y, { modelValue: e2.configure.style.gridShadowBlur, "onUpdate:modelValue": m[9] || (m[9] = (l2) => e2.configure.style.gridShadowBlur = l2), min: 0, max: 20 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.gridShadowColor]]), r(i(s, { label: "水平偏移", style: { "margin-top": "-10px" } }, { default: d(() => [i(y, { modelValue: e2.configure.style.gridShadowX, "onUpdate:modelValue": m[10] || (m[10] = (l2) => e2.configure.style.gridShadowX = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.gridShadowColor]]), r(i(s, { label: "垂直偏移", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: d(() => [i(y, { modelValue: e2.configure.style.gridShadowY, "onUpdate:modelValue": m[11] || (m[11] = (l2) => e2.configure.style.gridShadowY = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.gridShadowColor]])])]), _: 1 });
|
|
5
5
|
} });
|
|
6
6
|
export {
|
|
7
7
|
g as default
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createElementBlock as o, openBlock as u, Fragment as r, createElementVNode as d, createVNode as
|
|
1
|
+
import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createElementBlock as o, openBlock as u, Fragment as r, createElementVNode as d, createVNode as n, withCtx as p, createTextVNode as i, unref as s, createBlock as c, createCommentVNode as m } from "vue";
|
|
2
2
|
import { Plus as b, Delete as f } from "@element-plus/icons";
|
|
3
3
|
import v from "../../../common/common-variable-bind.vue.js";
|
|
4
|
-
import { isNumberType as g, isDateOrTimeType as
|
|
4
|
+
import { isNumberType as g, isDateOrTimeType as w, getUuidv4 as y } from "../../../../../utils/common-util.js";
|
|
5
5
|
import { usePageContextStore as h } from "../../../../../../../stores/page-store.js";
|
|
6
6
|
import { statisticsTable as V } from "../../../../../../../stores/statistics-table-store.js";
|
|
7
7
|
import { getModelOptionsByFields as T, getTableConfigByTableUuid as k } from "../../../../../utils/page-table-util.js";
|
|
@@ -39,7 +39,7 @@ const _ = { style: { "text-align": "center", margin: "0px -8px", "padding-top":
|
|
|
39
39
|
function G(e3) {
|
|
40
40
|
let l2 = -1;
|
|
41
41
|
e3 && (l2 = A(e3));
|
|
42
|
-
const a2 = { uuid:
|
|
42
|
+
const a2 = { uuid: y(), leftBracket: "", propName: "", operator: "", propValueType: "", rightBracket: "", joinSign: "", dataType: "" };
|
|
43
43
|
B.value.splice(l2 + 1, 0, a2);
|
|
44
44
|
}
|
|
45
45
|
D(j.tableConfigure), a(() => B.value, (e3) => {
|
|
@@ -63,21 +63,21 @@ const _ = { style: { "text-align": "center", margin: "0px -8px", "padding-top":
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
return (l2, a2) => {
|
|
66
|
-
const
|
|
67
|
-
return u(), o(r, null, [d("div", null, [
|
|
66
|
+
const y2 = t("el-button"), h2 = t("el-row"), V2 = t("Top"), T2 = t("el-icon"), k2 = t("Bottom"), N3 = t("el-table-column"), C2 = t("el-option"), O2 = t("el-select"), j2 = t("el-table"), U2 = t("el-dialog");
|
|
67
|
+
return u(), o(r, null, [d("div", null, [n(y2, { type: "primary", onClick: z }, { default: p(() => a2[1] || (a2[1] = [i("编辑")])), _: 1 })]), n(U2, { modelValue: L.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => L.value = e3), title: e2.title, width: "900", "append-to-body": "" }, { default: p(() => [n(h2, { style: { "padding-bottom": "8px" } }, { default: p(() => [n(y2, { icon: s(b), plain: "", type: "primary", onClick: G }, { default: p(() => a2[2] || (a2[2] = [i(" 添加 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), n(j2, { "row-key": "uuid", border: "", "highlight-current-row": "", onCurrentChange: q, data: B.value, style: { width: "100%" } }, { default: p(() => [n(N3, { label: "", width: "50" }, { default: p((e3) => [d("div", _, [n(T2, { size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
68
68
|
let l4 = A(e4);
|
|
69
69
|
if (l4 < 1) return;
|
|
70
70
|
const a3 = B.value;
|
|
71
71
|
[a3[l4 - 1], a3[l4]] = [a3[l4], a3[l4 - 1]];
|
|
72
|
-
}(e3.row) }, { default:
|
|
72
|
+
}(e3.row) }, { default: p(() => [n(V2)]), _: 2 }, 1032, ["onClick"]), n(T2, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
73
73
|
let l4 = A(e4);
|
|
74
74
|
if (-1 == l4 || B.value.length == l4 + 1) return;
|
|
75
75
|
const a3 = B.value;
|
|
76
76
|
[a3[l4], a3[l4 + 1]] = [a3[l4 + 1], a3[l4]];
|
|
77
|
-
}(e3.row) }, { default:
|
|
77
|
+
}(e3.row) }, { default: p(() => [n(k2)]), _: 2 }, 1032, ["onClick"])])]), _: 1 }), n(N3, { prop: "leftBracket", label: "(", width: "80" }, { default: p((e3) => [n(O2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l3) => e3.row.leftBracket = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [n(C2, { label: "", value: "" }), n(C2, { label: "(", value: "(" }), n(C2, { label: "((", value: "((" }), n(C2, { label: "(((", value: "(((" }), n(C2, { label: "((((", value: "((((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(N3, { prop: "propName", label: "字段名(*)", width: "150" }, { default: p((e3) => [n(v, { modelValue: e3.row.propName, dataModelOptions: S.value, objModelOptions: E.value, "onUpdate:modelValue": (l3) => F(l3, e3.row, "propName") }, null, 8, ["modelValue", "dataModelOptions", "objModelOptions", "onUpdate:modelValue"])]), _: 1 }), n(N3, { prop: "operator", label: "操作符", width: "90" }, { default: p((e3) => [n(O2, { modelValue: e3.row.operator, "onUpdate:modelValue": (l3) => e3.row.operator = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [n(C2, { label: "等于", value: "EQ" }), n(C2, { label: "不等于", value: "NET" }), s(g)(e3.row.dataType) ? (u(), c(C2, { key: 0, label: "大于", value: "GT" })) : m("", true), s(g)(e3.row.dataType) ? (u(), c(C2, { key: 1, label: "小于", value: "LT" })) : m("", true), s(w)(e3.row.dataType) ? (u(), c(C2, { key: 2, label: "晚于", value: "GT" })) : m("", true), s(w)(e3.row.dataType) ? (u(), c(C2, { key: 3, label: "早于", value: "LT" })) : m("", true), s(w)(e3.row.dataType) ? (u(), c(C2, { key: 4, label: "不晚于", value: "LET" })) : m("", true), s(w)(e3.row.dataType) ? (u(), c(C2, { key: 5, label: "不早于", value: "GET" })) : m("", true), s(g)(e3.row.dataType) ? (u(), c(C2, { key: 6, label: "小于等于", value: "LET" })) : m("", true), s(g)(e3.row.dataType) ? (u(), c(C2, { key: 7, label: "大于等于", value: "GET" })) : m("", true), n(C2, { label: "包含", value: "CONTAIN" }), n(C2, { label: "不包含", value: "NOT_CONTAIN" }), n(C2, { label: "等于Null", value: "IS_NULL" }), n(C2, { label: "不等于Null", value: "IS_NOT_NULL" }), n(C2, { label: "in", value: "IN" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(N3, { prop: "propValue", label: "值(*)", width: "150" }, { default: p((l3) => [n(v, { modelValue: l3.row.propValue, dataModelOptions: S.value, objModelOptions: E.value, paramTypes: e2.paramTypes, "onUpdate:modelValue": (e3) => F(e3, l3.row, "propValue") }, null, 8, ["modelValue", "dataModelOptions", "objModelOptions", "paramTypes", "onUpdate:modelValue"])]), _: 1 }), n(N3, { prop: "rightBracket", label: ")", width: "80" }, { default: p((e3) => [n(O2, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (l3) => e3.row.rightBracket = l3, placeholder: "请选择", clearable: "" }, { default: p(() => [n(C2, { label: "", value: "" }), n(C2, { label: ")", value: ")" }), n(C2, { label: "))", value: "))" }), n(C2, { label: ")))", value: ")))" }), n(C2, { label: "))))", value: "))))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(N3, { prop: "joinSign", label: "并且/或者", width: "80" }, { default: p((e3) => [n(O2, { modelValue: e3.row.joinSign, "onUpdate:modelValue": (l3) => e3.row.joinSign = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [n(C2, { label: "或者", value: "or" }), n(C2, { label: "并且", value: "and" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(N3, { prop: "variableIsNull", label: "变量为空时", width: "120" }, { default: p((e3) => [n(O2, { modelValue: e3.row.variableIsNull, "onUpdate:modelValue": (l3) => e3.row.variableIsNull = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [n(C2, { label: "Null", value: "null" }), n(C2, { label: "忽略(1=1)", value: "ignore" }), n(C2, { label: "不符合(1<>1)", value: "notequal" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(N3, { label: "操作", width: "60" }, { default: p((e3) => [n(T2, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px", "margin-left": "6px" }, onClick: (l3) => G(e3.row) }, { default: p(() => [n(s(b))]), _: 2 }, 1032, ["onClick"]), n(T2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
78
78
|
let l4 = A(e4);
|
|
79
79
|
l4 > -1 && B.value.splice(l4, 1);
|
|
80
|
-
}(e3.row) }, { default:
|
|
80
|
+
}(e3.row) }, { default: p(() => [n(s(f))]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue", "title"])], 64);
|
|
81
81
|
};
|
|
82
82
|
} });
|
|
83
83
|
export {
|
|
@@ -19,7 +19,7 @@ const y = o({ __name: "attr-style", props: { configure: { type: Object, default:
|
|
|
19
19
|
}
|
|
20
20
|
return (y3, b) => {
|
|
21
21
|
const k = e("el-collapse-item");
|
|
22
|
-
return t(), n(r, null, [i(k, { title: "标题", name: "tableHeader", class: "amb-design-attr-group-header" }, { default: s(() => [i(d, { configure: o2.configure, showField: true, data: o2.configure.style.titleStyle, pageDesign: o2.pageDesign, onDataChange: w }, null, 8, ["configure", "data", "pageDesign"])]), _: 1 }), i(k, { title: "内容", name: "rowBackgroundColor", class: "amb-design-attr-group-header" }, { default: s(() => [i(d, { paramTypes: ["data", "task", "page", "request", "row"], configure: o2.configure, showCondition: true, data: o2.configure.style.rowStyle, pageDesign: o2.pageDesign, onDataChange: h }, null, 8, ["configure", "data", "pageDesign"])]), _: 1 }), i(l, { configure: o2.configure }, null, 8, ["configure"]), o2.blankOption.showMargin ? (t(), a(c, { key: 0, configure: o2.configure }, null, 8, ["configure"])) : u("", true), o2.blankOption.showPadding ? (t(), a(g, { key: 1, configure: o2.configure }, null, 8, ["configure"])) : u("", true), o2.blankOption.showBorder ? (t(), a(m, { key: 2, configure: o2.configure }, null, 8, ["configure"])) : u("", true), o2.blankOption.showShadow ? (t(), a(f, { key: 3, configure: o2.configure }, null, 8, ["configure"])) : u("", true), o2.blankOption.showCustom ? (t(), a(p, { key: 4, configure: o2.configure }, null, 8, ["configure"])) : u("", true)], 64);
|
|
22
|
+
return t(), n(r, null, [i(k, { title: "标题", name: "tableHeader", class: "amb-design-attr-group-header" }, { default: s(() => [i(d, { configure: o2.configure, showField: true, data: o2.configure.style.titleStyle, pageDesign: o2.pageDesign, onDataChange: w }, null, 8, ["configure", "data", "pageDesign"])]), _: 1 }), i(k, { title: "内容", name: "rowBackgroundColor", class: "amb-design-attr-group-header" }, { default: s(() => [i(d, { paramTypes: ["data", "task", "page", "request", "fixed", "row"], configure: o2.configure, showCondition: true, data: o2.configure.style.rowStyle, pageDesign: o2.pageDesign, onDataChange: h }, null, 8, ["configure", "data", "pageDesign"])]), _: 1 }), i(l, { configure: o2.configure }, null, 8, ["configure"]), o2.blankOption.showMargin ? (t(), a(c, { key: 0, configure: o2.configure }, null, 8, ["configure"])) : u("", true), o2.blankOption.showPadding ? (t(), a(g, { key: 1, configure: o2.configure }, null, 8, ["configure"])) : u("", true), o2.blankOption.showBorder ? (t(), a(m, { key: 2, configure: o2.configure }, null, 8, ["configure"])) : u("", true), o2.blankOption.showShadow ? (t(), a(f, { key: 3, configure: o2.configure }, null, 8, ["configure"])) : u("", true), o2.blankOption.showCustom ? (t(), a(p, { key: 4, configure: o2.configure }, null, 8, ["configure"])) : u("", true)], 64);
|
|
23
23
|
};
|
|
24
24
|
} });
|
|
25
25
|
export {
|
|
@@ -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 s, createCommentVNode as u, withDirectives as d, renderSlot as p, createTextVNode as c, unref as g, vShow as f, createElementBlock as m, Fragment as v, renderList as y, normalizeClass as b, 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";
|
|
@@ -11,17 +11,17 @@ import T from "../component/variate-select.vue.js";
|
|
|
11
11
|
import "@element-plus/icons";
|
|
12
12
|
import "agilebuilder-ui/src/utils/request";
|
|
13
13
|
import { queryTableFields as S, tableResetConfigIndo as H } from "../../../../utils/page-table-util.js";
|
|
14
|
+
import { usePageContextStore as N } from "../../../../../../stores/page-store.js";
|
|
14
15
|
import "element-plus";
|
|
15
16
|
/* empty css */
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import { usePageContextStore as F } from "../../../../../../stores/page-store.js";
|
|
17
|
+
import j from "../../common/common-i18n-key-input.vue.js";
|
|
18
|
+
import w from "../../form/common/hyperlink-mult-config.vue.js";
|
|
19
|
+
import q from "../../common/common-function-code.vue.js";
|
|
20
|
+
import F from "../../common/common-select-table.vue.js";
|
|
21
21
|
import L from "../component/formatting-icon-label.vue.js";
|
|
22
22
|
import M from "./tablecolumn-dynamic-column.vue.js";
|
|
23
23
|
const E = { style: { padding: "8px 0px 0px 0px" } }, P = { class: "amb-design-attr-item-inline" }, A = { style: { padding: "8px 0px 0px 0px" } }, O = { style: { padding: "8px 0px 0px 0px" } }, $ = { style: { padding: "8px 0px 0px 0px" } }, G = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, R = e({ __name: "tablecolumn-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, tableConfigure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
|
|
24
|
-
const R2 = e2, B = a(["base", "editLine", "formatting", "appearance", "verification", "userDefined", "dataOrigin", "columnModel"]), I = a(null), W = a(null), Q = a(null), J = a([]), K = R2.tableConfigure.props.groupHeaders, X = a(null), Y =
|
|
24
|
+
const R2 = e2, B = a(["base", "editLine", "formatting", "appearance", "verification", "userDefined", "dataOrigin", "columnModel"]), I = a(null), W = a(null), Q = a(null), J = a([]), K = R2.tableConfigure.props.groupHeaders, X = a(null), Y = N(), Z = a(false);
|
|
25
25
|
l(() => {
|
|
26
26
|
var _a;
|
|
27
27
|
"dynamicColumnSelect" === ((_a = R2.configure.props.base) == null ? void 0 : _a.prop) && R2.configure.props.dynamicColumnData && R2.configure.props.dynamicColumnData.tableName && (ee.value, ae({ name: R2.configure.props.dynamicColumnData.tableName, alias: R2.configure.props.dynamicColumnData.tableAlias }));
|
|
@@ -114,8 +114,8 @@ const E = { style: { padding: "8px 0px 0px 0px" } }, P = { class: "amb-design-at
|
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
return (a2, l2) => {
|
|
117
|
-
const D2 = o("el-input"), x2 = o("el-form-item"), U2 = o("el-radio"), k2 = o("el-radio-group"), S2 = o("el-switch"), H2 = o("el-option"),
|
|
118
|
-
return n(), t(le2, { "label-width": "80px", size: "small" }, { default: i(() => [u(ee2, { modelValue: B.value, "onUpdate:modelValue": l2[48] || (l2[48] = (e3) => B.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [u(I2, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", E, [u(x2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: i(() => [u(T, { showDynamicColumn: true, showPlaceholder: true, prop: e2.configure.props.base.prop, "onUpdate:prop": l2[1] || (l2[1] = (a3) => e2.configure.props.base.prop = a3), propType: e2.configure.props.base.propType, "onUpdate:propType": l2[2] || (l2[2] = (a3) => e2.configure.props.base.propType = a3), tableConfigure: e2.tableConfigure, onChange: de }, null, 8, ["prop", "propType", "tableConfigure"])]), _: 1 })), u(x2, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [u(N, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.name = a3), onChange: me, disabled: "$index" === e2.configure.props.base.prop || "$selection" === e2.configure.props.base.prop }, null, 8, ["modelValue", "disabled"])]), _: 1 }), u(x2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: i(() => [u(w, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), u(x2, { label: "显示顺序", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.base.displayOrder, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.displayOrder = a3), modelModifiers: { number: true }, onBlur: pe, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 1, label: "是否显示 ", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.visible, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.visible = a3), class: "ml-4", onChange: re }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[49] || (l2[49] = [p("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[50] || (l2[50] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 2, label: "是否导出", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.exportable, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.exportable = a3) }, null, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 3, label: "查询设置", class: "amb-design-attr-item" }, { default: i(() => [s("div", P, [u(F2, { modelValue: e2.configure.props.base.querySettingName, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.querySettingName = a3) }, { default: i(() => [u(H2, { label: "不查询", value: "no" }), u(H2, { label: "普通查询", value: "normal" }), u(H2, { label: "高级查询", value: "advanced" })]), _: 1 }, 8, ["modelValue"]), "normal" === e2.configure.props.base.querySettingName || "advanced" === e2.configure.props.base.querySettingName ? (n(), t(R3, { key: 0, style: { "margin-left": "10px" }, onClick: l2[8] || (l2[8] = (e3) => oe.value = true) }, { default: i(() => [u(m(y))]), _: 1 })) : r("", true)])]), _: 1 })), Z.value || "normal" !== e2.configure.props.base.querySettingName && "advanced" !== e2.configure.props.base.querySettingName || "STRING" !== e2.configure.props.base.propType ? r("", true) : (n(), t(x2, { key: 4, label: "匹配方式", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.base.queryMatching, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.queryMatching = a3), clearable: "" }, { default: i(() => [u(H2, { label: "全匹配", value: "all" }), u(H2, { label: "左匹配", value: "left" }), u(H2, { label: "右匹配", value: "right" }), u(H2, { label: "精确查询", value: "exactQuery" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 5, label: "是否合计", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 6, label: "是否筛选", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.filterable, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.filterable = a3) }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 }), Z.value || "dynamicColumnSelect" == e2.configure.props.base.prop ? r("", true) : (n(), t(_, { key: 0, configure: e2.configure, isTable: true, isDynamicColumn: "dynamicColumnSelect" === e2.configure.props.base.prop, remote: true }, null, 8, ["configure", "isDynamicColumn"])), u(M, { operationColumn: Z.value, configure: e2.configure, tableConfigure: e2.tableConfigure, pageDesign: e2.pageDesign }, null, 8, ["operationColumn", "configure", "tableConfigure", "pageDesign"]), Z.value ? r("", true) : (n(), t(I2, { key: 1, title: "行编辑设置", name: "editLine", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", A, [u(x2, { label: "是否编辑", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { onChange: ie, modelValue: e2.configure.props.editLine.editable, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.editLine.editable = a3) }, null, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "默认值", class: "amb-design-attr-item" }, { default: i(() => [u(h, { modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": se }, null, 8, ["modelValue"])]), _: 1 }), e2.configure.props.editLine.editable ? (n(), t(x2, { key: 0, label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.name = a3), placeholder: "请选择", onChange: ue }, { default: i(() => [(n(true), f(c, null, g(m(V)(), (e3) => (n(), t(H2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), d(u(x2, { label: "文件uuid", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.fileUuid, "onUpdate:prop": l2[14] || (l2[14] = (a3) => e2.configure.props.format.fileUuid = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "file-upload" === e2.configure.name]]), d(u(x2, { label: "自定义控件名称", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.base.customComponent, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.customComponent = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "custom" === e2.configure.name]])])]), _: 1 })), Z.value ? r("", true) : (n(), t(I2, { key: 2, title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", O, [u(x2, { label: "格式化分类", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.type, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.format.type = a3), clearable: "", placeholder: "请选择" }, { default: i(() => [u(H2, { label: "数值", value: "number" }), u(H2, { label: "货币", value: "currency" }), u(H2, { label: "日期", value: "date" }), u(H2, { label: "时间", value: "time" }), u(H2, { label: "百分比", value: "percent" }), u(H2, { label: "自定义控件", value: "customControl" }), u(H2, { label: "超链接", value: "hyperlinks" }), u(H2, { label: "图标/标签", value: "icon" }), u(H2, { label: "附件控件", value: "files" }), u(H2, { label: "富文本", value: "richEditor" }), u(H2, { label: "脱敏组件", value: "secretInfo" }), u(H2, { label: "自定义方法", value: "custom" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "number" === e2.configure.props.format.type || "currency" === e2.configure.props.format.type || "percent" === e2.configure.props.format.type ? (n(), t(x2, { key: 0, label: "小数位数", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.decimalDigit, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.format.decimalDigit = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 1, label: "科学计数", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.scientific, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.format.scientific = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type && e2.configure.props.format.scientific ? (n(), t(x2, { key: 2, label: "计数位数", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.scientificNum, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.format.scientificNum = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 3, label: "千位分隔符", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.thousandsSeparator, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.format.thousandsSeparator = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 4, label: "数值符号", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.symbol, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.format.symbol = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "currency" === e2.configure.props.format.type ? (n(), t(x2, { key: 5, label: "货币符号", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.currencySymbol, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.format.currencySymbol = a3), placeholder: "Select" }, { default: i(() => [u(H2, { label: "$", value: "$" }), u(H2, { label: "¥", value: "¥" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "date" === e2.configure.props.format.type ? (n(), t(x2, { key: 6, label: "日期类型", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.dataType, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.format.dataType = a3), placeholder: "Select" }, { default: i(() => [u(H2, { label: "yyyy-m-d", value: "yyyy-m-d" }), u(H2, { label: "yyyy-m-d hh:mm:ss", value: "yyyy-m-d hh:mm:ss" }), u(H2, { label: "yyyy-m", value: "yyyy-m" }), u(H2, { label: "m-d", value: "m-d" }), u(H2, { label: "yyyy", value: "yyyy" }), u(H2, { label: "yyyy年m月d日", value: "yyyy年m月d日" }), u(H2, { label: "yyyy年m月d日hh时mm分ss秒", value: "yyyy年m月d日hh时mm分ss秒" }), u(H2, { label: "yyyy年m月", value: "yyyy年m月" }), u(H2, { label: "m月d日", value: "m月d日" }), u(H2, { label: "ww", value: "ww" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "time" === e2.configure.props.format.type ? (n(), t(x2, { key: 7, label: "时间类型", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.timeType, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.format.timeType = a3), placeholder: "Select" }, { default: i(() => [u(H2, { label: "HH:mm", value: "HH:mm" }), u(H2, { label: "HH:mm:ss", value: "HH:mm:ss" }), u(H2, { label: "HH时mm分", value: "HH时mm分" }), u(H2, { label: "HH时mm分ss秒", value: "HH时mm分ss秒" }), u(H2, { label: "hh:mm", value: "hh:mm" }), u(H2, { label: "hh:mm:ss", value: "hh:mm:ss" }), u(H2, { label: "hh时mm分", value: "hh时mm分" }), u(H2, { label: "hh时mm分ss秒", value: "hh时mm分ss秒" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "customControl" === e2.configure.props.format.type ? (n(), t(x2, { key: 8, label: "自定义控件", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.format.customControl = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "hyperlinks" === e2.configure.props.format.type ? (n(), t(j, { key: 9, pageDesign: e2.pageDesign, linkPage: e2.configure.props.linkPage, "onUpdate:linkPage": l2[26] || (l2[26] = (a3) => e2.configure.props.linkPage = a3), tableConfigure: e2.tableConfigure, isDialog: false }, null, 8, ["pageDesign", "linkPage", "tableConfigure"])) : r("", true), "icon" === e2.configure.props.format.type ? (n(), t(L, { key: 10, setting: e2.configure.props.format }, null, 8, ["setting"])) : r("", true), "custom" === e2.configure.props.format.type ? (n(), t(x2, { key: 11, label: "自定义方法", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.format.customControl = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 12, label: "是否多选", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.multiple, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.format.multiple = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 13, label: "文件类型", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.accept, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.format.accept = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 14, label: "文件限制(M)", class: "amb-design-attr-item" }, { default: i(() => [u(W2, { modelValue: e2.configure.props.format.limitFileSize, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.format.limitFileSize = a3), min: 1 }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type && e2.configure.props.format.multiple ? (n(), t(x2, { key: 15, label: "选择数据表" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.childAnnexDataTableCode, "onUpdate:modelValue": l2[31] || (l2[31] = (a3) => e2.configure.props.format.childAnnexDataTableCode = a3), onClick: a2.openSelectDataTable, clearable: "" }, { append: i(() => [u(Q2, { type: "default", icon: m(v), onClick: a2.openSelectDataTable }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "onClick"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 16, label: "展示名字段", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.showName, "onUpdate:prop": l2[32] || (l2[32] = (a3) => e2.configure.props.format.showName = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 17, label: "服务器字段", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.serverName, "onUpdate:prop": l2[33] || (l2[33] = (a3) => e2.configure.props.format.serverName = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : r("", true)])]), _: 1 })), u(I2, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", $, [u(x2, { label: "固定列", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.listColumnFixed, "onUpdate:modelValue": l2[34] || (l2[34] = (a3) => e2.configure.props.base.listColumnFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[51] || (l2[51] = [p("否")])), _: 1 }), u(U2, { value: "left" }, { default: i(() => l2[52] || (l2[52] = [p("居左")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[53] || (l2[53] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 0, label: "是否排序", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.sortable, "onUpdate:modelValue": l2[35] || (l2[35] = (a3) => e2.configure.props.base.sortable = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[54] || (l2[54] = [p("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[55] || (l2[55] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), u(x2, { label: "列宽", class: "amb-design-attr-item" }, { default: i(() => [u(W2, { style: { width: "100%" }, modelValue: e2.configure.props.base.columnWidth, "onUpdate:modelValue": l2[36] || (l2[36] = (a3) => e2.configure.props.base.columnWidth = a3), precision: 1 }, null, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[37] || (l2[37] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[56] || (l2[56] = [p("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[57] || (l2[57] = [p("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[58] || (l2[58] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "内容对齐", class: "amb-design-attr-item-linefeed-two" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[38] || (l2[38] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[59] || (l2[59] = [p("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[60] || (l2[60] = [p("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[61] || (l2[61] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), !Z.value && e2.configure.props.editLine.editable ? (n(), t(I2, { key: 3, title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", G, [u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": l2[39] || (l2[39] = (a3) => e2.configure.props.verification.required = a3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), u(K2, { modelValue: e2.configure.props.verification.type, "onUpdate:modelValue": l2[40] || (l2[40] = (a3) => e2.configure.props.verification.type = a3) }, { default: i(() => [u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "文本", value: "string" }), u(J2, { label: "整形", value: "integer" }), u(J2, { label: "数字", value: "number" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "日期", value: "date" }), u(J2, { label: "小数", value: "float" }), u(J2, { label: "布尔", value: "boolean" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "邮件", value: "email" }), u(J2, { label: "网址", value: "url" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "单精度", value: "float" }), u(J2, { label: "十六进制", value: "hex" })]), _: 1 })]), _: 1 }, 8, ["modelValue"]), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(Y2, { span: 8 }, { default: i(() => [u(J2, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": l2[41] || (l2[41] = (a3) => e2.configure.props.verification.verifyRegex = a3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), u(Y2, { span: 14 }, { default: i(() => [u(D2, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": l2[42] || (l2[42] = (a3) => e2.configure.props.verification.regex = a3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(Y2, { span: 8 }, { default: i(() => [u(J2, { label: "自定义", value: "custom" })]), _: 1 }), u(Y2, { span: 14 }, { default: i(() => [u(Q2, { type: "default" }, { default: i(() => l2[62] || (l2[62] = [p("自定义逻辑")])), _: 1 }), u(Q2, { type: "default", icon: m(v), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })) : r("", true), Z.value ? r("", true) : (n(), t(I2, { key: 4, title: "用户自定义", name: "userDefined", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", z, [u(x2, { label: "可自定义", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.defined, "onUpdate:modelValue": l2[43] || (l2[43] = (a3) => e2.configure.props.definition.defined = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[63] || (l2[63] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[64] || (l2[64] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义导出", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedExport, "onUpdate:modelValue": l2[44] || (l2[44] = (a3) => e2.configure.props.definition.definedExport = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[65] || (l2[65] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[66] || (l2[66] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义合并", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedMerge, "onUpdate:modelValue": l2[45] || (l2[45] = (a3) => e2.configure.props.definition.definedMerge = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[67] || (l2[67] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[68] || (l2[68] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义位置", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedPosition, "onUpdate:modelValue": l2[46] || (l2[46] = (a3) => e2.configure.props.definition.definedPosition = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[69] || (l2[69] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[70] || (l2[70] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义冻结", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedFixed, "onUpdate:modelValue": l2[47] || (l2[47] = (a3) => e2.configure.props.definition.definedFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[71] || (l2[71] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[72] || (l2[72] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })), oe.value ? (n(), t(C, { key: 5, querySetting: e2.configure.props.querySetting, onAdd: ne, onClose: te }, null, 8, ["querySetting"])) : r("", true), u(q, { ref_key: "selectTableDialog", ref: X, onSelectTable: ae, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
117
|
+
const D2 = o("el-input"), x2 = o("el-form-item"), U2 = o("el-radio"), k2 = o("el-radio-group"), S2 = o("el-switch"), H2 = o("el-option"), N2 = o("el-select"), R3 = o("el-icon"), I2 = o("el-collapse-item"), W2 = o("el-input-number"), Q2 = o("el-button"), J2 = o("el-checkbox"), K2 = o("el-checkbox-group"), Y2 = o("el-col"), ee2 = o("el-collapse"), le2 = o("el-form");
|
|
118
|
+
return n(), t(le2, { "label-width": "80px", size: "small" }, { default: i(() => [u(ee2, { modelValue: B.value, "onUpdate:modelValue": l2[48] || (l2[48] = (e3) => B.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [u(I2, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", E, [u(x2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: i(() => [u(T, { showDynamicColumn: true, showPlaceholder: true, prop: e2.configure.props.base.prop, "onUpdate:prop": l2[1] || (l2[1] = (a3) => e2.configure.props.base.prop = a3), propType: e2.configure.props.base.propType, "onUpdate:propType": l2[2] || (l2[2] = (a3) => e2.configure.props.base.propType = a3), tableConfigure: e2.tableConfigure, onChange: de }, null, 8, ["prop", "propType", "tableConfigure"])]), _: 1 })), u(x2, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [u(j, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.name = a3), onChange: me, disabled: "$index" === e2.configure.props.base.prop || "$selection" === e2.configure.props.base.prop }, null, 8, ["modelValue", "disabled"])]), _: 1 }), u(x2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: i(() => [u(q, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), u(x2, { label: "显示顺序", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.base.displayOrder, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.displayOrder = a3), modelModifiers: { number: true }, onBlur: pe, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 1, label: "是否显示 ", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.visible, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.visible = a3), class: "ml-4", onChange: re }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[49] || (l2[49] = [p("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[50] || (l2[50] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 2, label: "是否导出", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.exportable, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.exportable = a3) }, null, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 3, label: "查询设置", class: "amb-design-attr-item" }, { default: i(() => [s("div", P, [u(N2, { modelValue: e2.configure.props.base.querySettingName, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.querySettingName = a3) }, { default: i(() => [u(H2, { label: "不查询", value: "no" }), u(H2, { label: "普通查询", value: "normal" }), u(H2, { label: "高级查询", value: "advanced" })]), _: 1 }, 8, ["modelValue"]), "normal" === e2.configure.props.base.querySettingName || "advanced" === e2.configure.props.base.querySettingName ? (n(), t(R3, { key: 0, style: { "margin-left": "10px" }, onClick: l2[8] || (l2[8] = (e3) => oe.value = true) }, { default: i(() => [u(m(y))]), _: 1 })) : r("", true)])]), _: 1 })), Z.value || "normal" !== e2.configure.props.base.querySettingName && "advanced" !== e2.configure.props.base.querySettingName || "STRING" !== e2.configure.props.base.propType ? r("", true) : (n(), t(x2, { key: 4, label: "匹配方式", class: "amb-design-attr-item" }, { default: i(() => [u(N2, { modelValue: e2.configure.props.base.queryMatching, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.queryMatching = a3), clearable: "" }, { default: i(() => [u(H2, { label: "全匹配", value: "all" }), u(H2, { label: "左匹配", value: "left" }), u(H2, { label: "右匹配", value: "right" }), u(H2, { label: "精确查询", value: "exactQuery" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 5, label: "是否合计", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 6, label: "是否筛选", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.filterable, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.filterable = a3) }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 }), Z.value || "dynamicColumnSelect" == e2.configure.props.base.prop ? r("", true) : (n(), t(_, { key: 0, configure: e2.configure, isTable: true, isDynamicColumn: "dynamicColumnSelect" === e2.configure.props.base.prop, remote: true }, null, 8, ["configure", "isDynamicColumn"])), u(M, { operationColumn: Z.value, configure: e2.configure, tableConfigure: e2.tableConfigure, pageDesign: e2.pageDesign }, null, 8, ["operationColumn", "configure", "tableConfigure", "pageDesign"]), Z.value ? r("", true) : (n(), t(I2, { key: 1, title: "行编辑设置", name: "editLine", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", A, [u(x2, { label: "是否编辑", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { onChange: ie, modelValue: e2.configure.props.editLine.editable, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.editLine.editable = a3) }, null, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "默认值", class: "amb-design-attr-item" }, { default: i(() => [u(h, { modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": se }, null, 8, ["modelValue"])]), _: 1 }), e2.configure.props.editLine.editable ? (n(), t(x2, { key: 0, label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [u(N2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.name = a3), placeholder: "请选择", onChange: ue }, { default: i(() => [(n(true), f(c, null, g(m(V)(), (e3) => (n(), t(H2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), d(u(x2, { label: "文件uuid", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.fileUuid, "onUpdate:prop": l2[14] || (l2[14] = (a3) => e2.configure.props.format.fileUuid = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "file-upload" === e2.configure.name]]), d(u(x2, { label: "自定义控件名称", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.base.customComponent, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.customComponent = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "custom" === e2.configure.name]])])]), _: 1 })), Z.value ? r("", true) : (n(), t(I2, { key: 2, title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", O, [u(x2, { label: "格式化分类", class: "amb-design-attr-item" }, { default: i(() => [u(N2, { modelValue: e2.configure.props.format.type, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.format.type = a3), clearable: "", placeholder: "请选择" }, { default: i(() => [u(H2, { label: "数值", value: "number" }), u(H2, { label: "货币", value: "currency" }), u(H2, { label: "日期", value: "date" }), u(H2, { label: "时间", value: "time" }), u(H2, { label: "百分比", value: "percent" }), u(H2, { label: "自定义控件", value: "customControl" }), u(H2, { label: "超链接", value: "hyperlinks" }), u(H2, { label: "图标/标签", value: "icon" }), u(H2, { label: "附件控件", value: "files" }), u(H2, { label: "富文本", value: "richEditor" }), u(H2, { label: "脱敏组件", value: "secretInfo" }), u(H2, { label: "自定义方法", value: "custom" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "number" === e2.configure.props.format.type || "currency" === e2.configure.props.format.type || "percent" === e2.configure.props.format.type ? (n(), t(x2, { key: 0, label: "小数位数", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.decimalDigit, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.format.decimalDigit = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 1, label: "科学计数", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.scientific, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.format.scientific = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type && e2.configure.props.format.scientific ? (n(), t(x2, { key: 2, label: "计数位数", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.scientificNum, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.format.scientificNum = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 3, label: "千位分隔符", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.thousandsSeparator, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.format.thousandsSeparator = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 4, label: "数值符号", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.symbol, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.format.symbol = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "currency" === e2.configure.props.format.type ? (n(), t(x2, { key: 5, label: "货币符号", class: "amb-design-attr-item" }, { default: i(() => [u(N2, { modelValue: e2.configure.props.format.currencySymbol, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.format.currencySymbol = a3), placeholder: "Select" }, { default: i(() => [u(H2, { label: "$", value: "$" }), u(H2, { label: "¥", value: "¥" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "date" === e2.configure.props.format.type ? (n(), t(x2, { key: 6, label: "日期类型", class: "amb-design-attr-item" }, { default: i(() => [u(N2, { modelValue: e2.configure.props.format.dataType, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.format.dataType = a3), placeholder: "Select" }, { default: i(() => [u(H2, { label: "yyyy-m-d", value: "yyyy-m-d" }), u(H2, { label: "yyyy-m-d hh:mm:ss", value: "yyyy-m-d hh:mm:ss" }), u(H2, { label: "yyyy-m", value: "yyyy-m" }), u(H2, { label: "m-d", value: "m-d" }), u(H2, { label: "yyyy", value: "yyyy" }), u(H2, { label: "yyyy年m月d日", value: "yyyy年m月d日" }), u(H2, { label: "yyyy年m月d日hh时mm分ss秒", value: "yyyy年m月d日hh时mm分ss秒" }), u(H2, { label: "yyyy年m月", value: "yyyy年m月" }), u(H2, { label: "m月d日", value: "m月d日" }), u(H2, { label: "ww", value: "ww" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "time" === e2.configure.props.format.type ? (n(), t(x2, { key: 7, label: "时间类型", class: "amb-design-attr-item" }, { default: i(() => [u(N2, { modelValue: e2.configure.props.format.timeType, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.format.timeType = a3), placeholder: "Select" }, { default: i(() => [u(H2, { label: "HH:mm", value: "HH:mm" }), u(H2, { label: "HH:mm:ss", value: "HH:mm:ss" }), u(H2, { label: "HH时mm分", value: "HH时mm分" }), u(H2, { label: "HH时mm分ss秒", value: "HH时mm分ss秒" }), u(H2, { label: "hh:mm", value: "hh:mm" }), u(H2, { label: "hh:mm:ss", value: "hh:mm:ss" }), u(H2, { label: "hh时mm分", value: "hh时mm分" }), u(H2, { label: "hh时mm分ss秒", value: "hh时mm分ss秒" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "customControl" === e2.configure.props.format.type ? (n(), t(x2, { key: 8, label: "自定义控件", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.format.customControl = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "hyperlinks" === e2.configure.props.format.type ? (n(), t(w, { key: 9, pageDesign: e2.pageDesign, linkPage: e2.configure.props.linkPage, "onUpdate:linkPage": l2[26] || (l2[26] = (a3) => e2.configure.props.linkPage = a3), tableConfigure: e2.tableConfigure, isDialog: false }, null, 8, ["pageDesign", "linkPage", "tableConfigure"])) : r("", true), "icon" === e2.configure.props.format.type ? (n(), t(L, { key: 10, setting: e2.configure.props.format }, null, 8, ["setting"])) : r("", true), "custom" === e2.configure.props.format.type ? (n(), t(x2, { key: 11, label: "自定义方法", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.format.customControl = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 12, label: "是否多选", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.multiple, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.format.multiple = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 13, label: "文件类型", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.accept, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.format.accept = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 14, label: "文件限制(M)", class: "amb-design-attr-item" }, { default: i(() => [u(W2, { modelValue: e2.configure.props.format.limitFileSize, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.format.limitFileSize = a3), min: 1 }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type && e2.configure.props.format.multiple ? (n(), t(x2, { key: 15, label: "选择数据表" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.childAnnexDataTableCode, "onUpdate:modelValue": l2[31] || (l2[31] = (a3) => e2.configure.props.format.childAnnexDataTableCode = a3), onClick: a2.openSelectDataTable, clearable: "" }, { append: i(() => [u(Q2, { type: "default", icon: m(v), onClick: a2.openSelectDataTable }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "onClick"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 16, label: "展示名字段", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.showName, "onUpdate:prop": l2[32] || (l2[32] = (a3) => e2.configure.props.format.showName = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 17, label: "服务器字段", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.serverName, "onUpdate:prop": l2[33] || (l2[33] = (a3) => e2.configure.props.format.serverName = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : r("", true)])]), _: 1 })), u(I2, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", $, [u(x2, { label: "固定列", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.listColumnFixed, "onUpdate:modelValue": l2[34] || (l2[34] = (a3) => e2.configure.props.base.listColumnFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[51] || (l2[51] = [p("否")])), _: 1 }), u(U2, { value: "left" }, { default: i(() => l2[52] || (l2[52] = [p("居左")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[53] || (l2[53] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 0, label: "是否排序", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.sortable, "onUpdate:modelValue": l2[35] || (l2[35] = (a3) => e2.configure.props.base.sortable = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[54] || (l2[54] = [p("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[55] || (l2[55] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), u(x2, { label: "列宽", class: "amb-design-attr-item" }, { default: i(() => [u(W2, { style: { width: "100%" }, modelValue: e2.configure.props.base.columnWidth, "onUpdate:modelValue": l2[36] || (l2[36] = (a3) => e2.configure.props.base.columnWidth = a3), precision: 1 }, null, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[37] || (l2[37] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[56] || (l2[56] = [p("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[57] || (l2[57] = [p("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[58] || (l2[58] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "内容对齐", class: "amb-design-attr-item-linefeed-two" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[38] || (l2[38] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[59] || (l2[59] = [p("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[60] || (l2[60] = [p("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[61] || (l2[61] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), !Z.value && e2.configure.props.editLine.editable ? (n(), t(I2, { key: 3, title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", G, [u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": l2[39] || (l2[39] = (a3) => e2.configure.props.verification.required = a3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), u(K2, { modelValue: e2.configure.props.verification.type, "onUpdate:modelValue": l2[40] || (l2[40] = (a3) => e2.configure.props.verification.type = a3) }, { default: i(() => [u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "文本", value: "string" }), u(J2, { label: "整形", value: "integer" }), u(J2, { label: "数字", value: "number" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "日期", value: "date" }), u(J2, { label: "小数", value: "float" }), u(J2, { label: "布尔", value: "boolean" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "邮件", value: "email" }), u(J2, { label: "网址", value: "url" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "单精度", value: "float" }), u(J2, { label: "十六进制", value: "hex" })]), _: 1 })]), _: 1 }, 8, ["modelValue"]), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(Y2, { span: 8 }, { default: i(() => [u(J2, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": l2[41] || (l2[41] = (a3) => e2.configure.props.verification.verifyRegex = a3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), u(Y2, { span: 14 }, { default: i(() => [u(D2, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": l2[42] || (l2[42] = (a3) => e2.configure.props.verification.regex = a3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(Y2, { span: 8 }, { default: i(() => [u(J2, { label: "自定义", value: "custom" })]), _: 1 }), u(Y2, { span: 14 }, { default: i(() => [u(Q2, { type: "default" }, { default: i(() => l2[62] || (l2[62] = [p("自定义逻辑")])), _: 1 }), u(Q2, { type: "default", icon: m(v), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })) : r("", true), Z.value ? r("", true) : (n(), t(I2, { key: 4, title: "用户自定义", name: "userDefined", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", z, [u(x2, { label: "可自定义", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.defined, "onUpdate:modelValue": l2[43] || (l2[43] = (a3) => e2.configure.props.definition.defined = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[63] || (l2[63] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[64] || (l2[64] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义导出", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedExport, "onUpdate:modelValue": l2[44] || (l2[44] = (a3) => e2.configure.props.definition.definedExport = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[65] || (l2[65] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[66] || (l2[66] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义合并", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedMerge, "onUpdate:modelValue": l2[45] || (l2[45] = (a3) => e2.configure.props.definition.definedMerge = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[67] || (l2[67] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[68] || (l2[68] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义位置", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedPosition, "onUpdate:modelValue": l2[46] || (l2[46] = (a3) => e2.configure.props.definition.definedPosition = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[69] || (l2[69] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[70] || (l2[70] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义冻结", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedFixed, "onUpdate:modelValue": l2[47] || (l2[47] = (a3) => e2.configure.props.definition.definedFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[71] || (l2[71] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[72] || (l2[72] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })), oe.value ? (n(), t(C, { key: 5, querySetting: e2.configure.props.querySetting, onAdd: ne, onClose: te }, null, 8, ["querySetting"])) : r("", true), u(F, { ref_key: "selectTableDialog", ref: X, onSelectTable: ae, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
119
119
|
};
|
|
120
120
|
} });
|
|
121
121
|
export {
|
|
@@ -1,52 +1,84 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Plus as
|
|
3
|
-
import
|
|
4
|
-
import { getUuidv4 as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
1
|
+
import { defineComponent as e, ref as l, resolveComponent as a, createElementBlock as t, openBlock as o, Fragment as u, createElementVNode as r, createVNode as d, withDirectives as n, withCtx as p, createTextVNode as i, toDisplayString as s, vShow as m, unref as T } from "vue";
|
|
2
|
+
import { Plus as c, Delete as f } from "@element-plus/icons";
|
|
3
|
+
import b from "../../common/common-variable-bind.vue.js";
|
|
4
|
+
import { getUuidv4 as v } from "../../../../utils/common-util.js";
|
|
5
|
+
import { usePageContextStore as y } from "../../../../../../stores/page-store.js";
|
|
6
|
+
import { getModelOptionsByFields as w, getTableConfigByTableUuid as g } from "../../../../utils/page-table-util.js";
|
|
7
|
+
const h = { class: "dialog-footer" }, V = e({ __name: "condition", props: { list: { type: Array, default: () => [] }, title: String, buttonText: { type: String, default: "编辑" }, paramTypes: { type: Array, default: () => ["data", "task", "page", "request", "row", "context", "fixed"] }, tableConfigure: { type: Object, default: () => {
|
|
8
|
+
} } }, setup(e2, { expose: V2 }) {
|
|
9
|
+
const _ = y(), E = e2, N = l([]);
|
|
10
|
+
let O;
|
|
11
|
+
E.list && (N.value = E.list);
|
|
12
|
+
const U = _.pageContext, L = U ? U.pageType : null;
|
|
13
|
+
!L || "form" !== L && "list" !== L || (O = U.modelFields);
|
|
14
|
+
const k = l(null);
|
|
15
|
+
O && O.length > 0 && (k.value = w(O));
|
|
16
|
+
const C = l(null);
|
|
17
|
+
function I(e3) {
|
|
18
|
+
e3 && (C.value = w(e3.modelFields));
|
|
19
|
+
}
|
|
20
|
+
I(E.tableConfigure);
|
|
21
|
+
const B = l(false), A = l({});
|
|
22
|
+
function G() {
|
|
23
|
+
var _a;
|
|
24
|
+
I(g(U, null, E.tableConfigure)), R((_a = E.tableConfigure) == null ? void 0 : _a.modelFields), B.value = true;
|
|
25
|
+
}
|
|
26
|
+
function j() {
|
|
27
|
+
N.value && N.value.length > 0 && N.value.splice(N.value.length - 1, 1);
|
|
28
|
+
}
|
|
29
|
+
function x(e3) {
|
|
30
|
+
A.value = e3;
|
|
31
|
+
}
|
|
32
|
+
function F() {
|
|
33
|
+
N.value.push({ uuid: v(), leftBracket: "", propName: "", operator: "", propValueType: "", rightBracket: "", joinSign: "", dataType: "" });
|
|
34
|
+
}
|
|
35
|
+
function M(e3) {
|
|
36
|
+
let l2 = -1;
|
|
37
|
+
const a2 = E.list.length;
|
|
38
|
+
for (let t2 = 0; t2 < a2; t2++) if (N.value[t2].uuid == e3.uuid) {
|
|
39
|
+
l2 = t2;
|
|
23
40
|
break;
|
|
24
41
|
}
|
|
25
|
-
return
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
|
|
42
|
+
return l2;
|
|
43
|
+
}
|
|
44
|
+
function D(e3, l2, a2) {
|
|
45
|
+
if ("propValue" == a2) l2.propValue = e3;
|
|
46
|
+
else {
|
|
47
|
+
l2.propName = e3;
|
|
48
|
+
let a3 = "";
|
|
49
|
+
if (e3 && e3.startsWith("${")) {
|
|
50
|
+
let l3 = e3.substring(2, e3.length - 1);
|
|
51
|
+
if (l3.startsWith("page.")) ;
|
|
52
|
+
else if (l3.startsWith("data.")) {
|
|
53
|
+
l3 = l3.substring(5);
|
|
54
|
+
const e4 = _.getModelField(l3);
|
|
55
|
+
a3 = e4 ? e4.dataType : null;
|
|
56
|
+
} else if (l3.startsWith("row.")) {
|
|
57
|
+
const e4 = l3.substring(l3.indexOf(".") + 1), t2 = S.value.filter((l4) => l4.name === e4 || l4.dbColumnName === e4);
|
|
58
|
+
a3 = t2 && t2.length > 0 ? t2[0].dataType : "TEXT";
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
l2.dataType = a3;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
const S = l([]);
|
|
65
|
+
function R(e3) {
|
|
66
|
+
S.value = e3 || [];
|
|
67
|
+
}
|
|
68
|
+
return V2({ changeTableFields: R }), (l2, v2) => {
|
|
69
|
+
const y2 = a("el-button"), w2 = a("el-text"), g2 = a("el-row"), V3 = a("Top"), _2 = a("el-icon"), E2 = a("Bottom"), O2 = a("el-table-column"), U2 = a("el-option"), L2 = a("el-select"), I2 = a("el-table"), A2 = a("el-dialog");
|
|
70
|
+
return o(), t(u, null, [r("div", null, [d(y2, { type: "primary", onClick: v2[0] || (v2[0] = (e3) => G()) }, { default: p(() => [i(s(e2.buttonText), 1)]), _: 1 }), n(d(w2, { type: "success" }, { default: p(() => v2[4] || (v2[4] = [i(" 已设置条件.")])), _: 1 }, 512), [[m, e2.list && e2.list.length > 0]])]), d(A2, { "append-to-body": "", modelValue: B.value, "onUpdate:modelValue": v2[3] || (v2[3] = (e3) => B.value = e3), title: e2.title, width: "840" }, { footer: p(() => [r("div", h, [d(y2, { type: "default", onClick: v2[1] || (v2[1] = (e3) => B.value = false) }, { default: p(() => v2[7] || (v2[7] = [i("取消")])), _: 1 }), d(y2, { type: "primary", onClick: v2[2] || (v2[2] = (e3) => B.value = false) }, { default: p(() => v2[8] || (v2[8] = [i(" 确定 ")])), _: 1 })])]), default: p(() => [d(g2, { style: { "padding-bottom": "8px" } }, { default: p(() => [d(y2, { icon: T(c), plain: "", type: "primary", onClick: F }, { default: p(() => v2[5] || (v2[5] = [i(" 添加 ")])), _: 1 }, 8, ["icon"]), d(y2, { icon: T(f), plain: "", type: "primary", onClick: j }, { default: p(() => v2[6] || (v2[6] = [i(" 删除 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), d(I2, { border: "", "highlight-current-row": "", onCurrentChange: x, data: N.value, style: { width: "100%" } }, { default: p(() => [d(O2, { width: "36" }, { default: p((e3) => [d(_2, { size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
71
|
+
let l4 = M(e4);
|
|
72
|
+
if (l4 < 1) return;
|
|
73
|
+
const a2 = N.value;
|
|
74
|
+
[a2[l4 - 1], a2[l4]] = [a2[l4], a2[l4 - 1]];
|
|
75
|
+
}(e3.row) }, { default: p(() => [d(V3)]), _: 2 }, 1032, ["onClick"]), d(_2, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
76
|
+
let l4 = M(e4);
|
|
77
|
+
const a2 = N.value;
|
|
78
|
+
-1 != l4 && a2.length != l4 + 1 && ([a2[l4], a2[l4 + 1]] = [a2[l4 + 1], a2[l4]]);
|
|
79
|
+
}(e3.row) }, { default: p(() => [d(E2)]), _: 2 }, 1032, ["onClick"])]), _: 1 }), d(O2, { prop: "leftBracket", label: "(", width: "80" }, { default: p((e3) => [d(L2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l3) => e3.row.leftBracket = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [d(U2, { label: "", value: "" }), d(U2, { label: "(", value: "(" }), d(U2, { label: "((", value: "((" }), d(U2, { label: "(((", value: "(((" }), d(U2, { label: "((((", value: "((((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(O2, { prop: "propName", label: "字段名(*)", width: "150" }, { default: p((l3) => [d(b, { modelValue: l3.row.propName, dataModelOptions: k.value, objModelOptions: C.value, paramTypes: e2.paramTypes, "onUpdate:modelValue": (e3) => D(e3, l3.row, "propName") }, null, 8, ["modelValue", "dataModelOptions", "objModelOptions", "paramTypes", "onUpdate:modelValue"])]), _: 1 }), d(O2, { prop: "operator", label: "操作符", width: "90" }, { default: p((e3) => [d(L2, { modelValue: e3.row.operator, "onUpdate:modelValue": (l3) => e3.row.operator = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [n(d(U2, { label: "大于", value: "GT" }, null, 512), [[m, "INTEGER" == e3.row.dataType || "LONG" == e3.row.dataType || "FLOAT" == e3.row.dataType || "DOUBLE" == e3.row.dataType]]), n(d(U2, { label: "小于", value: "LT" }, null, 512), [[m, "INTEGER" == e3.row.dataType || "LONG" == e3.row.dataType || "FLOAT" == e3.row.dataType || "DOUBLE" == e3.row.dataType]]), n(d(U2, { label: "晚于", value: "GT" }, null, 512), [[m, "DATE" == e3.row.dataType || "TIME" == e3.row.dataType]]), n(d(U2, { label: "早于", value: "LT" }, null, 512), [[m, "DATE" == e3.row.dataType || "TIME" == e3.row.dataType]]), d(U2, { label: "等于", value: "EQ" }), n(d(U2, { label: "不大于", value: "LET" }, null, 512), [[m, "INTEGER" == e3.row.dataType || "LONG" == e3.row.dataType || "FLOAT" == e3.row.dataType || "DOUBLE" == e3.row.dataType]]), n(d(U2, { label: "不小于", value: "GET" }, null, 512), [[m, "INTEGER" == e3.row.dataType || "LONG" == e3.row.dataType || "FLOAT" == e3.row.dataType || "DOUBLE" == e3.row.dataType]]), n(d(U2, { label: "不晚于", value: "LET" }, null, 512), [[m, "DATE" == e3.row.dataType || "TIME" == e3.row.dataType]]), n(d(U2, { label: "不早于", value: "GET" }, null, 512), [[m, "DATE" == e3.row.dataType || "TIME" == e3.row.dataType]]), d(U2, { label: "不等于", value: "NET" }), n(d(U2, { label: "包含", value: "CONTAIN" }, null, 512), [[m, "TEXT" == e3.row.dataType]]), n(d(U2, { label: "不包含", value: "NOT_CONTAIN" }, null, 512), [[m, "TEXT" == e3.row.dataType]]), d(U2, { label: "等于Null", value: "IS_NULL" }), d(U2, { label: "不等于Null", value: "IS_NOT_NULL" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(O2, { prop: "propValue", label: "值(*)", width: "150" }, { default: p((e3) => [d(b, { modelValue: e3.row.propValue, "onUpdate:modelValue": (l3) => D(l3, e3.row, "propValue") }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(O2, { prop: "rightBracket", label: ")", width: "80" }, { default: p((e3) => [d(L2, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (l3) => e3.row.rightBracket = l3, placeholder: "请选择", clearable: "" }, { default: p(() => [d(U2, { label: "", value: "" }), d(U2, { label: ")", value: ")" }), d(U2, { label: "))", value: "))" }), d(U2, { label: ")))", value: ")))" }), d(U2, { label: "))))", value: "))))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(O2, { prop: "joinSign", label: "并且/或者", width: "80" }, { default: p((e3) => [d(L2, { modelValue: e3.row.joinSign, "onUpdate:modelValue": (l3) => e3.row.joinSign = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [d(U2, { label: "或者", value: "or" }), d(U2, { label: "并且", value: "and" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(O2, { prop: "variableIsNull", label: "变量为空时", width: "130" }, { default: p((e3) => [d(L2, { modelValue: e3.row.variableIsNull, "onUpdate:modelValue": (l3) => e3.row.variableIsNull = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [d(U2, { label: "Null", value: "null" }), d(U2, { label: "忽略(1=1)", value: "ignore" }), d(U2, { label: "不符合(1<>1)", value: "notequal" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue", "title"])], 64);
|
|
48
80
|
};
|
|
49
81
|
} });
|
|
50
82
|
export {
|
|
51
|
-
|
|
83
|
+
V as default
|
|
52
84
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as t, createBlock as o, openBlock as u, withCtx as i, createElementVNode as n, createVNode as s, createCommentVNode as d, withDirectives as r, unref as m, createElementBlock as p, Fragment as c, renderList as b, createTextVNode as f, vShow as y, normalizeClass as v } from "vue";
|
|
2
|
-
import V from "./dataorigin-input-table.
|
|
2
|
+
import V from "./dataorigin-input-table.vue2.js";
|
|
3
3
|
import g from "./condition.vue.js";
|
|
4
4
|
import S from "./row-ul-li.vue.js";
|
|
5
5
|
import "uuid";
|
|
@@ -1,28 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Search as p } from "@element-plus/icons-vue";
|
|
3
|
-
const f = { class: "dialog-footer" }, v = e({ __name: "dataorigin-input-table", props: { modelValue: { type: String, default: "" } }, emits: ["update:modelValue"], setup(e2, { emit: v2 }) {
|
|
4
|
-
const c = e2, g = l(c.modelValue), V = v2, h = [{ id: 1, date: "2016-05-03", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 2, date: "2016-05-02", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 3, date: "2016-05-04", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 4, date: "2016-05-01", name: "Tom", address: "No. 189, Grove St, Los Angeles" }], b = l(false), _ = l([]);
|
|
5
|
-
function y() {
|
|
6
|
-
if (_.value.length > 0) {
|
|
7
|
-
let e3 = "";
|
|
8
|
-
_.value.forEach((l2) => {
|
|
9
|
-
e3 = e3 + l2.name + ",";
|
|
10
|
-
}), e3 = e3.substring(0, e3.length - 1), V("update:modelValue", e3), b.value = false;
|
|
11
|
-
} else b.value = false;
|
|
12
|
-
}
|
|
13
|
-
function S(e3) {
|
|
14
|
-
_.value = e3;
|
|
15
|
-
}
|
|
16
|
-
function w() {
|
|
17
|
-
b.value = true;
|
|
18
|
-
}
|
|
19
|
-
return a(() => c.modelValue, (e3) => {
|
|
20
|
-
g.value = e3;
|
|
21
|
-
}), (e3, l2) => {
|
|
22
|
-
const a2 = t("el-icon"), v3 = t("el-input"), c2 = t("el-table-column"), V2 = t("el-table"), _2 = t("el-button"), A = t("el-dialog");
|
|
23
|
-
return d(), o(u, null, [n(v3, { modelValue: g.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => g.value = e4), placeholder: "请选择", onClick: w }, { suffix: i(() => [n(a2, { onClick: w }, { default: i(() => [n(s(p))]), _: 1 })]), _: 1 }, 8, ["modelValue"]), n(A, { modelValue: b.value, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => b.value = e4), title: "Tips", width: "500" }, { footer: i(() => [m("div", f, [n(_2, { type: "default", onClick: l2[1] || (l2[1] = (e4) => b.value = false) }, { default: i(() => l2[3] || (l2[3] = [r("取消")])), _: 1 }), n(_2, { type: "primary", onClick: y }, { default: i(() => l2[4] || (l2[4] = [r(" 确定 ")])), _: 1 })])]), default: i(() => [n(V2, { data: h, style: { width: "100%" }, onSelectionChange: S }, { default: i(() => [n(c2, { type: "selection", width: "55" }), n(c2, { prop: "date", label: "Date", width: "180" }), n(c2, { prop: "name", label: "Name", width: "180" }), n(c2, { prop: "address", label: "Address" })]), _: 1 })]), _: 1 }, 8, ["modelValue"])], 64);
|
|
24
|
-
};
|
|
25
|
-
} });
|
|
1
|
+
import t from "./dataorigin-input-table.vue2.js";
|
|
26
2
|
export {
|
|
27
|
-
|
|
3
|
+
t as default
|
|
28
4
|
};
|
package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js
CHANGED
|
@@ -1,4 +1,28 @@
|
|
|
1
|
-
import t from "
|
|
1
|
+
import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createElementBlock as o, openBlock as d, Fragment as u, createVNode as n, withCtx as i, unref as s, createElementVNode as m, createTextVNode as r } from "vue";
|
|
2
|
+
import { Search as p } from "@element-plus/icons-vue";
|
|
3
|
+
const f = { class: "dialog-footer" }, v = e({ __name: "dataorigin-input-table", props: { modelValue: { type: String, default: "" } }, emits: ["update:modelValue"], setup(e2, { emit: v2 }) {
|
|
4
|
+
const c = e2, g = l(c.modelValue), V = v2, h = [{ id: 1, date: "2016-05-03", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 2, date: "2016-05-02", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 3, date: "2016-05-04", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 4, date: "2016-05-01", name: "Tom", address: "No. 189, Grove St, Los Angeles" }], b = l(false), _ = l([]);
|
|
5
|
+
function y() {
|
|
6
|
+
if (_.value.length > 0) {
|
|
7
|
+
let e3 = "";
|
|
8
|
+
_.value.forEach((l2) => {
|
|
9
|
+
e3 = e3 + l2.name + ",";
|
|
10
|
+
}), e3 = e3.substring(0, e3.length - 1), V("update:modelValue", e3), b.value = false;
|
|
11
|
+
} else b.value = false;
|
|
12
|
+
}
|
|
13
|
+
function S(e3) {
|
|
14
|
+
_.value = e3;
|
|
15
|
+
}
|
|
16
|
+
function w() {
|
|
17
|
+
b.value = true;
|
|
18
|
+
}
|
|
19
|
+
return a(() => c.modelValue, (e3) => {
|
|
20
|
+
g.value = e3;
|
|
21
|
+
}), (e3, l2) => {
|
|
22
|
+
const a2 = t("el-icon"), v3 = t("el-input"), c2 = t("el-table-column"), V2 = t("el-table"), _2 = t("el-button"), A = t("el-dialog");
|
|
23
|
+
return d(), o(u, null, [n(v3, { modelValue: g.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => g.value = e4), placeholder: "请选择", onClick: w }, { suffix: i(() => [n(a2, { onClick: w }, { default: i(() => [n(s(p))]), _: 1 })]), _: 1 }, 8, ["modelValue"]), n(A, { modelValue: b.value, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => b.value = e4), title: "Tips", width: "500" }, { footer: i(() => [m("div", f, [n(_2, { type: "default", onClick: l2[1] || (l2[1] = (e4) => b.value = false) }, { default: i(() => l2[3] || (l2[3] = [r("取消")])), _: 1 }), n(_2, { type: "primary", onClick: y }, { default: i(() => l2[4] || (l2[4] = [r(" 确定 ")])), _: 1 })])]), default: i(() => [n(V2, { data: h, style: { width: "100%" }, onSelectionChange: S }, { default: i(() => [n(c2, { type: "selection", width: "55" }), n(c2, { prop: "date", label: "Date", width: "180" }), n(c2, { prop: "name", label: "Name", width: "180" }), n(c2, { prop: "address", label: "Address" })]), _: 1 })]), _: 1 }, 8, ["modelValue"])], 64);
|
|
24
|
+
};
|
|
25
|
+
} });
|
|
2
26
|
export {
|
|
3
|
-
|
|
27
|
+
v as default
|
|
4
28
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, nextTick as a, resolveComponent as
|
|
1
|
+
import { defineComponent as e, ref as l, nextTick as a, resolveComponent as n, createElementBlock as i, openBlock as t, Fragment as o, createBlock as u, createCommentVNode as g, createVNode as d, withCtx as p, createTextVNode as r, toDisplayString as s, renderList as m, unref as c, createElementVNode as f } from "vue";
|
|
2
2
|
import k from "./suffixmodule.vue.js";
|
|
3
3
|
import P from "./condition.vue.js";
|
|
4
4
|
import { getCustomFuncs as y } from "../../../../utils/page-event-util.js";
|
|
@@ -10,35 +10,32 @@ const v = { class: "dialog-footer" }, C = e({ __name: "hyperlink-mult-config", p
|
|
|
10
10
|
x("update:linkPage", [e3]);
|
|
11
11
|
}
|
|
12
12
|
} else x("update:linkPage", []);
|
|
13
|
-
function
|
|
13
|
+
function $() {
|
|
14
14
|
h.linkPage || x("update:linkPage", []), h.linkPage.push({ jumpConditionType: "none", conditions: [], customFunc: "", jumpPageSetting: {} });
|
|
15
15
|
}
|
|
16
|
-
function
|
|
17
|
-
_.value = e3, b.value = true
|
|
16
|
+
function T(e3) {
|
|
17
|
+
_.value = e3, b.value = true;
|
|
18
18
|
}
|
|
19
19
|
function V(e3) {
|
|
20
|
-
j.value.changeTableFields(h.tableConfigure.modelFields);
|
|
21
|
-
}
|
|
22
|
-
function D(e3) {
|
|
23
20
|
e3();
|
|
24
21
|
}
|
|
25
22
|
return a(() => {
|
|
26
23
|
S.value = true;
|
|
27
24
|
}), (e3, l2) => {
|
|
28
|
-
const a2 =
|
|
29
|
-
return t(),
|
|
25
|
+
const a2 = n("el-button"), C3 = n("el-link"), x2 = n("el-tooltip"), D = n("el-table-column"), z = n("Plus"), U = n("el-icon"), w = n("Delete"), F = n("el-table"), B = n("el-radio"), N = n("el-radio-group"), A = n("el-form-item"), J = n("el-option"), O = n("el-select"), R = n("el-dialog");
|
|
26
|
+
return t(), i(o, null, [S.value ? (t(), u(F, { key: 0, data: e3.linkPage, style: { width: "100%" } }, { default: p(() => [d(D, { prop: "value", label: "链接页面", align: "center" }, { default: p((n2) => {
|
|
30
27
|
var _a, _b, _c, _d;
|
|
31
|
-
return [((_a = e3.linkPage[
|
|
28
|
+
return [((_a = e3.linkPage[n2.$index].jumpPageSetting) == null ? void 0 : _a.jumpPageUrl) ? "page" === ((_b = e3.linkPage[n2.$index].jumpPageSetting) == null ? void 0 : _b.linkType) ? (t(), u(C3, { key: 1, type: "primary", onClick: (e4) => T(n2.$index) }, { default: p(() => {
|
|
32
29
|
var _a2;
|
|
33
|
-
return [r(s((_a2 = e3.linkPage[
|
|
34
|
-
}), _: 2 }, 1032, ["onClick"])) : "url" === ((_c = e3.linkPage[
|
|
30
|
+
return [r(s((_a2 = e3.linkPage[n2.$index].jumpPageSetting) == null ? void 0 : _a2.jumpPageName), 1)];
|
|
31
|
+
}), _: 2 }, 1032, ["onClick"])) : "url" === ((_c = e3.linkPage[n2.$index].jumpPageSetting) == null ? void 0 : _c.linkType) ? (t(), u(x2, { key: 2, class: "box-item", content: (_d = e3.linkPage[n2.$index].jumpPageSetting) == null ? void 0 : _d.jumpPageUrl }, { default: p(() => [d(C3, { type: "primary", onClick: (e4) => T(n2.$index) }, { default: p(() => {
|
|
35
32
|
var _a2;
|
|
36
|
-
return [r(s((_a2 = e3.linkPage[
|
|
37
|
-
}), _: 2 }, 1032, ["onClick"])]), _: 2 }, 1032, ["content"])) : g("", true) : (t(), u(a2, { key: 0, type: "primary", onClick: (e4) =>
|
|
38
|
-
}), _: 1 }), d(
|
|
33
|
+
return [r(s((_a2 = e3.linkPage[n2.$index].jumpPageSetting) == null ? void 0 : _a2.jumpPageUrl), 1)];
|
|
34
|
+
}), _: 2 }, 1032, ["onClick"])]), _: 2 }, 1032, ["content"])) : g("", true) : (t(), u(a2, { key: 0, type: "primary", onClick: (e4) => T(n2.$index) }, { default: p(() => l2[5] || (l2[5] = [r(" 设置 ")])), _: 2 }, 1032, ["onClick"]))];
|
|
35
|
+
}), _: 1 }), d(D, { label: "操作", align: "center" }, { header: p(() => [d(U, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold" }, onClick: $ }, { default: p(() => [d(z)]), _: 1 })]), default: p((e4) => [d(U, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => {
|
|
39
36
|
return e4.row, a3 = e4.$index, void h.linkPage.splice(a3, 1);
|
|
40
37
|
var a3;
|
|
41
|
-
} }, { default: p(() => [d(w)]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])) : g("", true), d(
|
|
38
|
+
} }, { default: p(() => [d(w)]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])) : g("", true), d(R, { "append-to-body": "", modelValue: b.value, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => b.value = e4), title: "链接配置", width: "500", "before-close": V, "destroy-on-close": "" }, { footer: p(() => [f("div", v, [d(a2, { type: "default", onClick: l2[2] || (l2[2] = (e4) => b.value = false) }, { default: p(() => l2[9] || (l2[9] = [r("取消")])), _: 1 }), d(a2, { type: "primary", onClick: l2[3] || (l2[3] = (e4) => b.value = false) }, { default: p(() => l2[10] || (l2[10] = [r(" 确定 ")])), _: 1 })])]), default: p(() => [d(A, { label: "跳转条件", class: "amb-design-attr-item" }, { default: p(() => [d(N, { modelValue: e3.linkPage[_.value].jumpConditionType, "onUpdate:modelValue": l2[0] || (l2[0] = (l3) => e3.linkPage[_.value].jumpConditionType = l3), onChange: e3.jumpConditionTypeChange }, { default: p(() => [d(B, { value: "none", size: "small" }, { default: p(() => l2[6] || (l2[6] = [r("无")])), _: 1 }), d(B, { value: "config", size: "small" }, { default: p(() => l2[7] || (l2[7] = [r("配置条件")])), _: 1 }), d(B, { value: "customFunc", size: "small" }, { default: p(() => l2[8] || (l2[8] = [r("自定义条件")])), _: 1 })]), _: 1 }, 8, ["modelValue", "onChange"])]), _: 1 }), d(A, { class: "amb-design-attr-item" }, { default: p(() => ["config" === e3.linkPage[_.value].jumpConditionType ? (t(), u(P, { key: 0, title: "跳转条件", buttonText: "设置条件", list: e3.linkPage[_.value].conditions, tableConfigure: e3.tableConfigure, ref_key: "conditionRef", ref: j }, null, 8, ["list", "tableConfigure"])) : "customFunc" === e3.linkPage[_.value].jumpConditionType ? (t(), u(O, { key: 1, modelValue: e3.linkPage[_.value].customFunc, "onUpdate:modelValue": l2[1] || (l2[1] = (l3) => e3.linkPage[_.value].customFunc = l3), clearable: "", size: "small", placeholder: "请选择" }, { default: p(() => [(t(true), i(o, null, m(c(y)(), (e4) => (t(), u(J, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])) : g("", true)]), _: 1 }), d(k, { pageDesign: e3.pageDesign, configure: e3.linkPage[_.value].jumpPageSetting, tableConfigure: e3.tableConfigure, showDisplayConditions: false, isDialog: true }, null, 8, ["pageDesign", "configure", "tableConfigure"])]), _: 1 }, 8, ["modelValue"])], 64);
|
|
42
39
|
};
|
|
43
40
|
} });
|
|
44
41
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "super-page-designer",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.8-design1",
|
|
4
4
|
"description": "AgileBuilder super page designer",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/es/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
30
30
|
"@vueuse/core": "^10.9.0",
|
|
31
31
|
"agilebuilder-private-libs": "1.0.26",
|
|
32
|
-
"agilebuilder-ui": "1.1.
|
|
32
|
+
"agilebuilder-ui": "1.1.44",
|
|
33
33
|
"echarts": "^5.5.0",
|
|
34
34
|
"element-plus": "^2.6.1",
|
|
35
35
|
"font-awesome": "^4.7.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"qrcode": "^1.5.3",
|
|
42
42
|
"quill": "^2.0.1",
|
|
43
43
|
"service-flow-designer": "2.3.7-flow1",
|
|
44
|
-
"super-page-runtime": "2.3.
|
|
44
|
+
"super-page-runtime": "2.3.8",
|
|
45
45
|
"uuid": "^9.0.1",
|
|
46
46
|
"vite": "^5.1.6",
|
|
47
47
|
"vite-plugin-node-stdlib-browser": "^0.2.1",
|