super-page-designer 2.3.13-sit4-design1 → 2.3.14-sit1-design1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/design/utils/assemblys-config.js +66 -56
- package/dist/es/components/design/utils/form-design-util.js +1 -1
- package/dist/es/components/design/utils/page-table-util.js +2 -2
- package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +10 -10
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-bind-default-value.vue.js +7 -0
- package/dist/es/components/design/views/assemblys/common/common-bind-default-value.vue2.js +27 -0
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +16 -18
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +26 -2
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +2 -26
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +14 -16
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js +21 -21
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +25 -27
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +16 -18
- package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +15 -17
- package/dist/es/components/design/views/assemblys/object-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/object-design.vue3.js +87 -97
- package/dist/es/components/design/views/assemblys/page/page-attr-permissions.vue.js +37 -37
- package/dist/es/components/design/views/assemblys/workflow/component/condition-dialog.vue.js +28 -0
- package/dist/es/components/design/views/assemblys/workflow/component/condition-dialog.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/workflow/component/journal-set-dialog.vue.js +7 -0
- package/dist/es/components/design/views/assemblys/workflow/component/journal-set-dialog.vue2.js +33 -0
- package/dist/es/components/design/views/assemblys/workflow/component/set-dialog.vue.js +28 -0
- package/dist/es/components/design/views/assemblys/workflow/component/set-dialog.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-advanced.vue.js +68 -0
- package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-advanced.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-event.vue.js +14 -0
- package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-event.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr.vue.js +4 -0
- package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr.vue2.js +15 -0
- package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-design.vue.js +4 -0
- package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-design.vue2.js +28 -0
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +13 -11
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +8 -18
- package/dist/es/style.css +18 -3
- package/package.json +4 -4
- /package/dist/es/components/design/views/assemblys/button/component/{journal-set-dialog.vue2.js → journal-set-dialog.vue3.js} +0 -0
|
@@ -201,7 +201,7 @@ function T(e2, t2) {
|
|
|
201
201
|
if ("wfRemark" === t2) {
|
|
202
202
|
return ["copyTask"].includes(e2);
|
|
203
203
|
}
|
|
204
|
-
return ["submitTask", "approve", "refuse", "readed", "agreement", "oppose", "kiken"].includes(e2);
|
|
204
|
+
return ["submitTask", "approve", "refuse", "readed", "agreement", "oppose", "kiken", "returnToPreviousTask", "returnTaskTo", "endInstance", "extractWorkflow"].includes(e2);
|
|
205
205
|
}
|
|
206
206
|
function C(e2) {
|
|
207
207
|
const t2 = {};
|
|
@@ -9,7 +9,7 @@ function n(t2, r2, a2) {
|
|
|
9
9
|
return o2 += "?tableName=" + (a2 || ""), e.get(o2);
|
|
10
10
|
}
|
|
11
11
|
function s(t2) {
|
|
12
|
-
|
|
12
|
+
return t2 ? e.get(window.$vueApp.config.globalProperties.baseAPI + "/mms/sub-data-tables/tables/" + t2) : Promise.resolve([]);
|
|
13
13
|
}
|
|
14
14
|
function p(e2, r2) {
|
|
15
15
|
const o2 = JSON.stringify(e2), i2 = JSON.parse(o2);
|
|
@@ -158,7 +158,7 @@ function d(e2) {
|
|
|
158
158
|
if ("file-upload" === e2.name) {
|
|
159
159
|
const t2 = y(e2.props.base.prop), r2 = y(e2.props.format ? e2.props.format.fileUuid : null);
|
|
160
160
|
let a2 = {};
|
|
161
|
-
return t2 && (a2.showNameData = { name: t2, dbName: t2.toUpperCase() }), r2 && (a2.serverNameData = { name: r2, dbName: r2.toUpperCase() }), e2.props.uploadConfig && (e2.props.uploadConfig.multiple ? a2.multiple = true : a2.multiple = false, e2.props.uploadConfig.accept ? a2.accept = e2.props.uploadConfig.accept : a2.accept = null, e2.props.uploadConfig.limitFileSize ? a2.limitFileSize = e2.props.uploadConfig.limitFileSize : a2.limitFileSize = null, e2.props.uploadConfig.openCameraOrChoosePhoto ? a2.openCameraOrChoosePhoto = e2.props.uploadConfig.openCameraOrChoosePhoto : a2.openCameraOrChoosePhoto = null, e2.props.watermark
|
|
161
|
+
return t2 && (a2.showNameData = { name: t2, dbName: t2.toUpperCase() }), r2 && (a2.serverNameData = { name: r2, dbName: r2.toUpperCase() }), e2.props.uploadConfig && (e2.props.uploadConfig.multiple ? a2.multiple = true : a2.multiple = false, e2.props.uploadConfig.accept ? a2.accept = e2.props.uploadConfig.accept : a2.accept = null, e2.props.uploadConfig.limitFileSize ? a2.limitFileSize = e2.props.uploadConfig.limitFileSize : a2.limitFileSize = null, e2.props.uploadConfig.openCameraOrChoosePhoto ? a2.openCameraOrChoosePhoto = e2.props.uploadConfig.openCameraOrChoosePhoto : a2.openCameraOrChoosePhoto = null, e2.props.watermark ? (a2.watermark = {}, ((_a = e2.props.watermark) == null ? void 0 : _a.isShowWatermark) ? a2.watermark.isShowWatermark = true : a2.watermark.isShowWatermark = false, ((_b = e2.props.watermark) == null ? void 0 : _b.content) ? a2.watermark.content = e2.props.watermark.content : a2.watermark.content = null) : a2.watermark = {}), JSON.stringify(a2);
|
|
162
162
|
}
|
|
163
163
|
return null;
|
|
164
164
|
}
|
|
@@ -5,19 +5,19 @@ import { getCustomFuncs as v } from "../../../../../utils/page-event-util.js";
|
|
|
5
5
|
import { getUuidv4 as b } from "../../../../../utils/common-util.js";
|
|
6
6
|
import { getTableConfigByTableUuid as w } from "../../../../../utils/page-table-util.js";
|
|
7
7
|
const y = e({ __name: "link-table", props: { data: { type: Array, default: () => [] }, pageDesign: { type: Object, default: () => {
|
|
8
|
-
} }, paramTypes: { type: Array, default: () => ["data", "task", "page", "request"] }, configure: { type: Object, default: () => null }, tableConfigure: { type: Object, default: () => null } }, emits: ["dataChange"], setup(e2, { emit: y2 }) {
|
|
8
|
+
} }, paramTypes: { type: Array, default: () => ["data", "task", "page", "system", "request", "context", "fixed", "row"] }, configure: { type: Object, default: () => null }, tableConfigure: { type: Object, default: () => null } }, emits: ["dataChange"], setup(e2, { emit: y2 }) {
|
|
9
9
|
const C = e2, h = y2, k = l([]);
|
|
10
10
|
C.data && (k.value = C.data);
|
|
11
11
|
const _ = l(false), D = l(C.tableConfigure);
|
|
12
12
|
function j(e3, l2) {
|
|
13
13
|
k.value.splice(l2 + 1, 0, { uuid: b(), showCondition: [], eventCallBack: "", style: {}, linkPage: {} });
|
|
14
14
|
}
|
|
15
|
-
const
|
|
15
|
+
const x = l({}), V = l(0);
|
|
16
16
|
function z(e3, l2) {
|
|
17
|
-
D.value = w(C.pageDesign, C.configure),
|
|
17
|
+
D.value = w(C.pageDesign, C.configure), x.value = e3, _.value = true, V.value = l2;
|
|
18
18
|
}
|
|
19
19
|
function P() {
|
|
20
|
-
k.value[
|
|
20
|
+
k.value[V.value].linkPage = x.value, _.value = false;
|
|
21
21
|
}
|
|
22
22
|
function T(e3) {
|
|
23
23
|
e3.row && (e3.row.showCondition = e3.data);
|
|
@@ -25,13 +25,13 @@ const y = e({ __name: "link-table", props: { data: { type: Array, default: () =>
|
|
|
25
25
|
return a(() => k.value, (e3) => {
|
|
26
26
|
e3.length > 0 ? h("dataChange", k.value) : h("dataChange", null);
|
|
27
27
|
}, { deep: true }), (l2, a2) => {
|
|
28
|
-
const b2 = t("el-table-column"), w2 = t("el-option"), y3 = t("el-select"), C2 = t("el-button"), h2 = t("Plus"),
|
|
29
|
-
return u(), o(n, null, [i(F, { data: k.value, style: { width: "100%" }, "row-key": "uuid" }, { default: s(() => [i(b2, { label: "条件", width: "55", align: "center" }, { default: s((l3) => [i(f, { paramTypes: e2.paramTypes, data: l3.row.showCondition, pageDesign: e2.pageDesign, row: l3.row, tableConfigure: D.value, configure: e2.configure, "onUpdate:data": T }, null, 8, ["paramTypes", "data", "pageDesign", "row", "tableConfigure", "configure"])]), _: 1 }), i(b2, { label: "自定义条件", align: "center" }, { default: s((e3) => [i(y3, { modelValue: e3.row.scopeFunc, "onUpdate:modelValue": (l3) => e3.row.scopeFunc = l3, clearable: "", title: e3.row.scopeFunc, size: "small", placeholder: "请选择" }, { default: s(() => [(u(true), o(n, null, p(c(v)(), (e4) => (u(), r(w2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title"])]), _: 1 }), i(b2, { prop: "value", label: "链接", width: "55", align: "center" }, { default: s((e3) => [i(C2, { type: "primary", onClick: (l3) => z(e3.row.linkPage, e3.$index) }, { default: s(() => a2[2] || (a2[2] = [g("设置")])), _: 2 }, 1032, ["onClick"])]), _: 1 }), i(b2, { label: "操作", align: "center" }, { header: s(() => [i(
|
|
28
|
+
const b2 = t("el-table-column"), w2 = t("el-option"), y3 = t("el-select"), C2 = t("el-button"), h2 = t("Plus"), V2 = t("el-icon"), U = t("Delete"), F = t("el-table"), O = t("el-dialog");
|
|
29
|
+
return u(), o(n, null, [i(F, { data: k.value, style: { width: "100%" }, "row-key": "uuid" }, { default: s(() => [i(b2, { label: "条件", width: "55", align: "center" }, { default: s((l3) => [i(f, { paramTypes: e2.paramTypes, data: l3.row.showCondition, pageDesign: e2.pageDesign, row: l3.row, tableConfigure: D.value, configure: e2.configure, "onUpdate:data": T }, null, 8, ["paramTypes", "data", "pageDesign", "row", "tableConfigure", "configure"])]), _: 1 }), i(b2, { label: "自定义条件", align: "center" }, { default: s((e3) => [i(y3, { modelValue: e3.row.scopeFunc, "onUpdate:modelValue": (l3) => e3.row.scopeFunc = l3, clearable: "", title: e3.row.scopeFunc, size: "small", placeholder: "请选择" }, { default: s(() => [(u(true), o(n, null, p(c(v)(), (e4) => (u(), r(w2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title"])]), _: 1 }), i(b2, { prop: "value", label: "链接", width: "55", align: "center" }, { default: s((e3) => [i(C2, { type: "primary", onClick: (l3) => z(e3.row.linkPage, e3.$index) }, { default: s(() => a2[2] || (a2[2] = [g("设置")])), _: 2 }, 1032, ["onClick"])]), _: 1 }), i(b2, { label: "操作", align: "center" }, { header: s(() => [i(V2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: a2[0] || (a2[0] = (e3) => {
|
|
30
30
|
k.value && 0 !== k.value.length ? j(0, k.value.length - 1) : (k.value = [], j(0, -1));
|
|
31
|
-
}) }, { default: s(() => [i(h2)]), _: 1 })]), default: s((e3) => [i(
|
|
31
|
+
}) }, { default: s(() => [i(h2)]), _: 1 })]), default: s((e3) => [i(V2, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => j(e3.row, e3.$index) }, { default: s(() => [i(h2)]), _: 2 }, 1032, ["onClick"]), i(V2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => {
|
|
32
32
|
return e3.row, a3 = e3.$index, void k.value.splice(a3, 1);
|
|
33
33
|
var a3;
|
|
34
|
-
} }, { default: s(() => [i(U)]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), _.value ? (u(), r(O, { key: 0, modelValue: _.value, "onUpdate:modelValue": a2[1] || (a2[1] = (e3) => _.value = e3), title: "超链接设置", "before-close": P, width: "900", "append-to-body": "" }, { default: s(() => [i(m, { isDialog: true, configure:
|
|
34
|
+
} }, { default: s(() => [i(U)]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), _.value ? (u(), r(O, { key: 0, modelValue: _.value, "onUpdate:modelValue": a2[1] || (a2[1] = (e3) => _.value = e3), title: "超链接设置", "before-close": P, width: "900", "append-to-body": "" }, { default: s(() => [i(m, { isDialog: true, configure: x.value, pageDesign: e2.pageDesign, tableConfigure: D.value }, null, 8, ["configure", "pageDesign", "tableConfigure"])]), _: 1 }, 8, ["modelValue"])) : d("", true)], 64);
|
|
35
35
|
};
|
|
36
36
|
} });
|
|
37
37
|
export {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createBlock as o, openBlock as n, withCtx as i, createCommentVNode as r, createVNode as u, createElementBlock as d, Fragment as
|
|
1
|
+
import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createBlock as o, openBlock as n, withCtx as i, createCommentVNode as r, createVNode as u, createElementBlock as d, Fragment as s, renderList as p, unref as c } from "vue";
|
|
2
2
|
import f from "./table-showcondition.vue.js";
|
|
3
3
|
import g from "./font-style-dialog.vue.js";
|
|
4
4
|
import { getCustomFuncs as m } from "../../../../../utils/page-event-util.js";
|
|
5
|
-
const
|
|
6
|
-
} }, data: { type: Array, default: () => [] }, showField: { type: Boolean, default: false }, showCondition: { type: Boolean, default: false }, paramTypes: { type: Array, default: () => ["data", "task", "page", "request", "row"] }, pageDesign: { type: Object, default: () => {
|
|
7
|
-
} } }, emits: ["dataChange"], setup(e2, { emit:
|
|
8
|
-
const
|
|
5
|
+
const y = e({ __name: "style-table", props: { configure: { type: Object, default: () => {
|
|
6
|
+
} }, data: { type: Array, default: () => [] }, showField: { type: Boolean, default: false }, showCondition: { type: Boolean, default: false }, paramTypes: { type: Array, default: () => ["data", "task", "page", "system", "request", "context", "fixed", "row"] }, pageDesign: { type: Object, default: () => {
|
|
7
|
+
} } }, emits: ["dataChange"], setup(e2, { emit: y2 }) {
|
|
8
|
+
const w = e2, b = y2, h = l([]);
|
|
9
9
|
function v(e3, l2) {
|
|
10
10
|
(null == l2 || l2 < 0) && (l2 = h.value.length), h.value.splice(l2 + 1, 0, { matchingCondition: [], eventCallBack: "", style: {} });
|
|
11
11
|
}
|
|
12
12
|
function C(e3) {
|
|
13
13
|
e3.row && (e3.row.matchingCondition = e3.data);
|
|
14
14
|
}
|
|
15
|
-
return
|
|
15
|
+
return w.data && Array.isArray(w.data) && (h.value = w.data), h.value && 0 != h.value.length || h.value.push({ matchingCondition: [], eventCallBack: "", style: {} }), a(() => h.value, (e3) => {
|
|
16
16
|
b("dataChange", h.value);
|
|
17
17
|
}, { deep: true }), (l2, a2) => {
|
|
18
|
-
const
|
|
19
|
-
return n(), o(
|
|
18
|
+
const y3 = t("el-table-column"), w2 = t("el-option"), b2 = t("el-select"), k = t("Plus"), _ = t("el-icon"), x = t("Delete"), V = t("el-table");
|
|
19
|
+
return n(), o(V, { data: h.value, style: { width: "100%" } }, { default: i(() => [e2.showCondition ? (n(), o(y3, { key: 0, label: "条件", width: "55", align: "center" }, { default: i((l3) => [u(f, { paramTypes: e2.paramTypes, title: "匹配条件/生效条件", row: l3.row, data: l3.row.matchingCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": C }, null, 8, ["paramTypes", "row", "data", "pageDesign", "tableConfigure"])]), _: 1 })) : r("", true), e2.showField ? (n(), o(y3, { key: 1, label: "字段", align: "center" }, { default: i((l3) => [u(b2, { modelValue: l3.row.field, "onUpdate:modelValue": (e3) => l3.row.field = e3, multiple: "", "allow-create": "", filterable: "", placeholder: "请选择" }, { default: i(() => [(n(true), d(s, null, p(e2.configure.items, (e3, l4) => (n(), o(w2, { key: e3.uuid, label: e3.props.base.name, value: e3.props.base.prop }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 })) : r("", true), u(y3, { label: "自定义条件", align: "center" }, { default: i((e3) => [u(b2, { modelValue: e3.row.scopeFunc, "onUpdate:modelValue": (l3) => e3.row.scopeFunc = l3, clearable: "", title: e3.row.scopeFunc, size: "small", placeholder: "请选择" }, { default: i(() => [(n(true), d(s, null, p(c(m)(), (e4) => (n(), o(w2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title"])]), _: 1 }), u(y3, { label: "样式", width: "55", align: "center" }, { default: i((e3) => [(n(), o(g, { key: e3.$index, data: e3.row, "onUpdate:data": (l3) => e3.row = l3 }, null, 8, ["data", "onUpdate:data"]))]), _: 1 }), u(y3, { label: "操作", align: "center" }, { header: i((e3) => [u(_, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: a2[0] || (a2[0] = (e4) => v(0, null)) }, { default: i(() => [u(k)]), _: 1 })]), default: i((e3) => [u(_, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => v(e3.row, e3.$index) }, { default: i(() => [u(k)]), _: 2 }, 1032, ["onClick"]), u(_, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => {
|
|
20
20
|
return e3.row, a3 = e3.$index, void h.value.splice(a3, 1);
|
|
21
21
|
var a3;
|
|
22
|
-
} }, { default: i(() => [u(
|
|
22
|
+
} }, { default: i(() => [u(x)]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
23
23
|
};
|
|
24
24
|
} });
|
|
25
25
|
export {
|
|
26
|
-
|
|
26
|
+
y as default
|
|
27
27
|
};
|
|
@@ -5,7 +5,7 @@ import { isNumberType as g, isDateOrTimeType as w, getUuidv4 as y } from "../../
|
|
|
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";
|
|
8
|
-
const _ = { style: { "text-align": "center", margin: "0px -8px", "padding-top": "4px", "padding-left": "2px" } }, N = e({ __name: "table-showcondition", props: { data: { type: Array, required: true, default: () => [] }, title: { type: String, default: "显示条件" }, paramTypes: { type: Array, default: () => ["data", "task", "page", "
|
|
8
|
+
const _ = { style: { "text-align": "center", margin: "0px -8px", "padding-top": "4px", "padding-left": "2px" } }, N = e({ __name: "table-showcondition", props: { data: { type: Array, required: true, default: () => [] }, title: { type: String, default: "显示条件" }, paramTypes: { type: Array, default: () => ["data", "task", "page", "system", "request", "context", "fixed", "row"] }, configure: { type: Object, default: () => {
|
|
9
9
|
} }, tableConfigure: { type: Object, default: () => {
|
|
10
10
|
} }, pageDesign: { type: Object, default: () => {
|
|
11
11
|
} }, row: { type: Object, default: () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./statisticalTable-attr-base.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import a from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const e = a(t, [["__scopeId", "data-v-
|
|
4
|
+
const e = a(t, [["__scopeId", "data-v-b223cd1a"]]);
|
|
5
5
|
export {
|
|
6
6
|
e as default
|
|
7
7
|
};
|
|
@@ -58,7 +58,7 @@ const O = { style: { padding: "8px 0px 0px 0px" } }, F = { style: { padding: "8p
|
|
|
58
58
|
}
|
|
59
59
|
return (l2, U2) => {
|
|
60
60
|
const z2 = a("el-option"), q2 = a("el-select"), K = a("el-form-item"), Q = a("el-input"), X = a("el-radio"), Y = a("el-radio-group"), Z = a("el-collapse-item"), ee = a("el-switch"), le = a("el-input-number"), ae = a("el-color-picker"), oe = a("el-divider"), te = a("el-col"), re = a("el-icon"), ue = a("el-tooltip"), se = a("el-checkbox"), pe = a("el-table-column"), me = a("Plus"), ne = a("Delete"), de = a("Top"), ie = a("Bottom"), fe = a("el-table"), ce = a("el-collapse"), ge = a("el-form");
|
|
61
|
-
return t(), o(ge, { "label-width": "80px", size: "small" }, { default: r(() => [u(ce, { modelValue: P.value, "onUpdate:modelValue": U2[10] || (U2[10] = (e3) => P.value = e3), style: { "margin-top": "6px" } }, { default: r(() => [u(Z, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: r(() => [s("div", O, [u(K, { label: "组件类型", class: "amb-design-attr-item" }, { default: r(() => [u(q2, { modelValue: e2.configure.name, "onUpdate:modelValue": U2[0] || (U2[0] = (l3) => e2.configure.name = l3), disabled: "", placeholder: "请选择" }, { default: r(() => [(t(true), p(m, null, n(d(g)(), (e3) => (t(), o(z2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(K, { label: "唯一编码", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: e2.configure.uuid, "onUpdate:modelValue": U2[1] || (U2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), u(K, { label: "自定义编码", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: e2.configure.code, "onUpdate:modelValue": U2[2] || (U2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), u(K, { label: "绑定权限", class: "amb-design-attr-item" }, { default: r(() => [(t(), o(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), u(K, { label: "标题", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: e2.configure.title, "onUpdate:modelValue": U2[3] || (U2[3] = (l3) => e2.configure.title = l3), title: e2.configure.tittle }, null, 8, ["modelValue", "title"])]), _: 1 }), u(K, { label: "是否导出", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: e2.configure.exportable, "onUpdate:modelValue": U2[4] || (U2[4] = (l3) => e2.configure.exportable = l3), class: "ml-4" }, { default: r(() => [u(X, { value: true }, { default: r(() => U2[11] || (U2[11] = [i("是")])), _: 1 }), u(X, { value: false }, { default: r(() => U2[12] || (U2[12] = [i("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), u(V, { title: "数据", pageDesign: e2.pageDesign, sourceFields: N.value, configure: e2.configure, remote: false, onBindVariableChange: A, onServiceFieldChange: G }, null, 8, ["pageDesign", "sourceFields", "configure"]), u(h, { configureProps: e2.configure.props }, null, 8, ["configureProps"]), u(Z, { title: "列模型", name: "columnModel", class: "amb-design-attr-group-header" }, { default: r(() => [s("div", F, [u(fe, { data: e2.configure.items, style: { width: "100%", "margin-bottom": "8px" }, "row-key": "uuid", stripe: "", onExpandChange: B, "expand-row-keys": W.value }, { default: r(() => [u(pe, { type: "expand", width: "35" }, { default: r((l3) => [u(K, { class: "amb-design-attr-item" }, { label: r(() => U2[13] || (U2[13] = [i(" 显示条件 ")])), default: r(() => [u($, { paramTypes: ["data", "task", "page", "request", "fixed"], data: l3.row.showCondition, pageDesign: e2.pageDesign, configure: e2.configure, row: l3.row, "onUpdate:data": L }, null, 8, ["data", "pageDesign", "configure", "row"])]), _: 2 }, 1024), u(K, { class: "amb-design-attr-item", "label-position": "top" }, { label: r(() => U2[14] || (U2[14] = [i(" 数据公式 ")])), default: r(() => [u(Q, { modelValue: l3.row.formula, "onUpdate:modelValue": (e3) => l3.row.formula = e3, type: "textarea", size: "small", placeholder: "请选择" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "格式化分类", class: "amb-design-attr-item" }, { default: r(() => [u(q2, { onChange: (e3) => {
|
|
61
|
+
return t(), o(ge, { "label-width": "80px", size: "small" }, { default: r(() => [u(ce, { modelValue: P.value, "onUpdate:modelValue": U2[10] || (U2[10] = (e3) => P.value = e3), style: { "margin-top": "6px" } }, { default: r(() => [u(Z, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: r(() => [s("div", O, [u(K, { label: "组件类型", class: "amb-design-attr-item" }, { default: r(() => [u(q2, { modelValue: e2.configure.name, "onUpdate:modelValue": U2[0] || (U2[0] = (l3) => e2.configure.name = l3), disabled: "", placeholder: "请选择" }, { default: r(() => [(t(true), p(m, null, n(d(g)(), (e3) => (t(), o(z2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(K, { label: "唯一编码", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: e2.configure.uuid, "onUpdate:modelValue": U2[1] || (U2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), u(K, { label: "自定义编码", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: e2.configure.code, "onUpdate:modelValue": U2[2] || (U2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), u(K, { label: "绑定权限", class: "amb-design-attr-item" }, { default: r(() => [(t(), o(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), u(K, { label: "标题", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: e2.configure.title, "onUpdate:modelValue": U2[3] || (U2[3] = (l3) => e2.configure.title = l3), title: e2.configure.tittle }, null, 8, ["modelValue", "title"])]), _: 1 }), u(K, { label: "是否导出", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: e2.configure.exportable, "onUpdate:modelValue": U2[4] || (U2[4] = (l3) => e2.configure.exportable = l3), class: "ml-4" }, { default: r(() => [u(X, { value: true }, { default: r(() => U2[11] || (U2[11] = [i("是")])), _: 1 }), u(X, { value: false }, { default: r(() => U2[12] || (U2[12] = [i("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), u(V, { title: "数据", pageDesign: e2.pageDesign, sourceFields: N.value, configure: e2.configure, remote: false, onBindVariableChange: A, onServiceFieldChange: G }, null, 8, ["pageDesign", "sourceFields", "configure"]), u(h, { configureProps: e2.configure.props }, null, 8, ["configureProps"]), u(Z, { title: "列模型", name: "columnModel", class: "amb-design-attr-group-header" }, { default: r(() => [s("div", F, [u(fe, { data: e2.configure.items, style: { width: "100%", "margin-bottom": "8px" }, "row-key": "uuid", stripe: "", onExpandChange: B, "expand-row-keys": W.value }, { default: r(() => [u(pe, { type: "expand", width: "35" }, { default: r((l3) => [u(K, { class: "amb-design-attr-item" }, { label: r(() => U2[13] || (U2[13] = [i(" 显示条件 ")])), default: r(() => [u($, { paramTypes: ["data", "task", "page", "system", "request", "context", "fixed"], data: l3.row.showCondition, pageDesign: e2.pageDesign, configure: e2.configure, row: l3.row, "onUpdate:data": L }, null, 8, ["data", "pageDesign", "configure", "row"])]), _: 2 }, 1024), u(K, { class: "amb-design-attr-item", "label-position": "top" }, { label: r(() => U2[14] || (U2[14] = [i(" 数据公式 ")])), default: r(() => [u(Q, { modelValue: l3.row.formula, "onUpdate:modelValue": (e3) => l3.row.formula = e3, type: "textarea", size: "small", placeholder: "请选择" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "格式化分类", class: "amb-design-attr-item" }, { default: r(() => [u(q2, { onChange: (e3) => {
|
|
62
62
|
return a2 = e3, o2 = l3.$index, void (a2 && (I2.configure.items[o2].props.format = { type: a2 }));
|
|
63
63
|
var a2, o2;
|
|
64
64
|
}, modelValue: l3.row.props.format.type, "onUpdate:modelValue": (e3) => l3.row.props.format.type = e3, clearable: "", placeholder: "请选择" }, { default: r(() => [u(z2, { label: "数值", value: "number" }), u(z2, { label: "货币", value: "currency" }), u(z2, { label: "百分比", value: "percent" }), u(z2, { label: "图标/标签", value: "icon" }), u(z2, { label: "进度条控件", value: "progress" }), u(z2, { label: "自定义控件", value: "customControl" }), u(z2, { label: "自定义方法", value: "custom" })]), _: 2 }, 1032, ["onChange", "modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), l3.row.props.format && "number" === l3.row.props.format.type || "currency" === l3.row.props.format.type || "percent" === l3.row.props.format.type ? (t(), o(K, { key: 0, label: "小数位数", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: l3.row.props.format.decimalDigit, "onUpdate:modelValue": (e3) => l3.row.props.format.decimalDigit = e3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), l3.row.props.format && "number" === l3.row.props.format.type ? (t(), o(K, { key: 1, label: "科学计数", class: "amb-design-attr-item" }, { default: r(() => [u(ee, { modelValue: l3.row.props.format.scientific, "onUpdate:modelValue": (e3) => l3.row.props.format.scientific = e3, "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), l3.row.props.format && "number" === l3.row.props.format.type && l3.row.props.format.scientific ? (t(), o(K, { key: 2, label: "计数位数", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: l3.row.props.format.scientificNum, "onUpdate:modelValue": (e3) => l3.row.props.format.scientificNum = e3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), l3.row.props.format && "number" === l3.row.props.format.type ? (t(), o(K, { key: 3, label: "千位分隔符", class: "amb-design-attr-item" }, { default: r(() => [u(ee, { modelValue: l3.row.props.format.thousandsSeparator, "onUpdate:modelValue": (e3) => l3.row.props.format.thousandsSeparator = e3, "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), l3.row.props.format && "number" === l3.row.props.format.type ? (t(), o(K, { key: 4, label: "数值符号", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: l3.row.props.format.symbol, "onUpdate:modelValue": (e3) => l3.row.props.format.symbol = e3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), l3.row.props.format && "currency" === l3.row.props.format.type ? (t(), o(K, { key: 5, label: "货币符号", class: "amb-design-attr-item" }, { default: r(() => [u(q2, { modelValue: l3.row.props.format.currencySymbol, "onUpdate:modelValue": (e3) => l3.row.props.format.currencySymbol = e3, placeholder: "Select" }, { default: r(() => [u(z2, { label: "$", value: "$" }), u(z2, { label: "¥", value: "¥" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), l3.row.props.format && "customControl" === l3.row.props.format.type ? (t(), o(K, { key: 6, label: "自定义控件", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: l3.row.props.format.customControl, "onUpdate:modelValue": (e3) => l3.row.props.format.customControl = e3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), l3.row.props.format && "icon" === l3.row.props.format.type ? (t(), o(D, { key: 7, setting: l3.row.props.format, "show-event": false }, null, 8, ["setting"])) : f("", true), l3.row.props.format && "custom" === l3.row.props.format.type ? (t(), o(K, { key: 8, label: "自定义方法", class: "amb-design-attr-item" }, { default: r(() => [u(q2, { modelValue: l3.row.props.format.customFunc, "onUpdate:modelValue": (e3) => l3.row.props.format.customFunc = e3, clearable: "" }, { default: r(() => [(t(true), p(m, null, n(d(j)(), (e3) => (t(), o(z2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), l3.row.props.format && "progress" === l3.row.props.format.type ? (t(), p(m, { key: 9 }, [u(K, { label: "进度条高度", class: "amb-design-attr-item" }, { default: r(() => [u(le, { modelValue: l3.row.props.format.strokeWidth, "onUpdate:modelValue": (e3) => l3.row.props.format.strokeWidth = e3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "最大值", class: "amb-design-attr-item" }, { default: r(() => [u(le, { modelValue: l3.row.props.format.max, "onUpdate:modelValue": (e3) => l3.row.props.format.max = e3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "进度条类型", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.format.progressType, "onUpdate:modelValue": (e3) => l3.row.props.format.progressType = e3, class: "ml-4" }, { default: r(() => [u(X, { value: "line" }, { default: r(() => U2[15] || (U2[15] = [i("line")])), _: 1 }), u(X, { value: "circle" }, { default: r(() => U2[16] || (U2[16] = [i("circle")])), _: 1 }), u(X, { value: "dashboard" }, { default: r(() => U2[17] || (U2[17] = [i("dashboard")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "显示文字", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.format.showText, "onUpdate:modelValue": (e3) => l3.row.props.format.showText = e3, class: "ml-4" }, { default: r(() => [u(X, { value: true }, { default: r(() => U2[18] || (U2[18] = [i("是")])), _: 1 }), u(X, { value: false }, { default: r(() => U2[19] || (U2[19] = [i("否")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), "line" === l3.row.props.format.progressType ? (t(), o(K, { key: 0, label: "文本内显", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.format.textInside, "onUpdate:modelValue": (e3) => l3.row.props.format.textInside = e3, class: "ml-4" }, { default: r(() => [u(X, { value: true }, { default: r(() => U2[20] || (U2[20] = [i("是")])), _: 1 }), u(X, { value: false }, { default: r(() => U2[21] || (U2[21] = [i("否")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), u(K, { label: "进度条状态", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.format.status, "onUpdate:modelValue": (e3) => l3.row.props.format.status = e3, class: "ml-4" }, { default: r(() => [u(X, { value: null }, { default: r(() => U2[22] || (U2[22] = [i("无")])), _: 1 }), u(X, { value: "success" }, { default: r(() => U2[23] || (U2[23] = [i("success")])), _: 1 }), u(X, { value: "warning" }, { default: r(() => U2[24] || (U2[24] = [i("warning")])), _: 1 }), u(X, { value: "exception" }, { default: r(() => U2[25] || (U2[25] = [i("exception")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "自定义颜色", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.format.colorType, "onUpdate:modelValue": (e3) => l3.row.props.format.colorType = e3, class: "ml-4" }, { default: r(() => [u(X, { value: "default" }, { default: r(() => U2[26] || (U2[26] = [i("默认")])), _: 1 }), u(X, { value: "custom" }, { default: r(() => U2[27] || (U2[27] = [i("指定颜色")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), "custom" === l3.row.props.format.colorType ? (t(), o(K, { key: 1, label: "颜色" }, { default: r(() => [u(ae, { modelValue: l3.row.props.format.color, "onUpdate:modelValue": (e3) => l3.row.props.format.color = e3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true)], 64)) : f("", true), u(oe, null, { default: r(() => U2[28] || (U2[28] = [i("列属性")])), _: 1 }), u(K, { label: "列宽", class: "amb-design-attr-item" }, { default: r(() => [u(le, { modelValue: l3.row.props.base.width, "onUpdate:modelValue": (e3) => l3.row.props.base.width = e3, class: "mx-4", min: 0, "controls-position": "right" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "标题对齐", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.base.headerAlign, "onUpdate:modelValue": (e3) => l3.row.props.base.headerAlign = e3, class: "ml-4" }, { default: r(() => [u(X, { value: "left" }, { default: r(() => U2[29] || (U2[29] = [i("居左")])), _: 1 }), u(X, { value: "center" }, { default: r(() => U2[30] || (U2[30] = [i("居中")])), _: 1 }), u(X, { value: "right" }, { default: r(() => U2[31] || (U2[31] = [i("居右")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "内容对齐", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.base.align, "onUpdate:modelValue": (e3) => l3.row.props.base.align = e3, class: "ml-4" }, { default: r(() => [u(X, { value: "left" }, { default: r(() => U2[32] || (U2[32] = [i("居左")])), _: 1 }), u(X, { value: "center" }, { default: r(() => U2[33] || (U2[33] = [i("居中")])), _: 1 }), u(X, { value: "right" }, { default: r(() => U2[34] || (U2[34] = [i("居右")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "固定列", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.base.fixed, "onUpdate:modelValue": (e3) => l3.row.props.base.fixed = e3, class: "ml-4" }, { default: r(() => [u(X, { value: false }, { default: r(() => U2[35] || (U2[35] = [i("否")])), _: 1 }), u(X, { value: "left" }, { default: r(() => U2[36] || (U2[36] = [i("居左")])), _: 1 }), u(X, { value: "right" }, { default: r(() => U2[37] || (U2[37] = [i("居右")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "可排序", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.base.sortable, "onUpdate:modelValue": (e3) => l3.row.props.base.sortable = e3, class: "ml-4" }, { default: r(() => [u(X, { value: true }, { default: r(() => U2[38] || (U2[38] = [i("是")])), _: 1 }), u(X, { value: false }, { default: r(() => U2[39] || (U2[39] = [i("否")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "汇总列", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.base.collectColumn, "onUpdate:modelValue": (e3) => l3.row.props.base.collectColumn = e3, onChange: (e3) => {
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { defineComponent as e, ref as l, resolveComponent as a, createElementBlock as u, openBlock as o, Fragment as n, createElementVNode as i, createBlock as r, createVNode as t, withCtx as s, unref as p, renderList as f } from "vue";
|
|
2
|
+
import d from "./common-variable-bind.vue.js";
|
|
3
|
+
import { Plus as c, Delete as m } from "@element-plus/icons-vue";
|
|
4
|
+
const b = { class: "bind-variable-item" }, g = e({ __name: "common-bind-default-value", props: { configure: { type: Object, required: true }, isRange: { type: Boolean, default: false }, defaultValueProp: { type: String, default: "defaultValue" }, moreDefaultValueProp: { type: String, default: "moreDefaultValue" }, propPath: { type: String, default: "" } }, setup(e2) {
|
|
5
|
+
const g2 = e2, V = l(JSON.parse(JSON.stringify(g2.configure.props.base.moreDefaultValue ? g2.configure.props.base.moreDefaultValue : [])));
|
|
6
|
+
function v(e3) {
|
|
7
|
+
g2.configure.props.base[g2.defaultValueProp] = e3;
|
|
8
|
+
}
|
|
9
|
+
function y() {
|
|
10
|
+
V.value.push(null);
|
|
11
|
+
}
|
|
12
|
+
function R() {
|
|
13
|
+
const e3 = V.value.filter((e4) => null != e4 && "" !== e4);
|
|
14
|
+
g2.configure.props.base[g2.moreDefaultValueProp] = e3;
|
|
15
|
+
}
|
|
16
|
+
return (l2, g3) => {
|
|
17
|
+
const k = a("el-icon");
|
|
18
|
+
return o(), u(n, null, [i("div", b, [(o(), r(d, { isTable: e2.configure.isTable, key: e2.configure.uuid, isRange: e2.isRange, modelValue: e2.configure.props.base[e2.defaultValueProp], "onUpdate:modelValue": v }, null, 8, ["isTable", "isRange", "modelValue"])), t(k, { onClick: y }, { default: s(() => [t(p(c))]), _: 1 })]), (o(true), u(n, null, f(V.value, (l3, a2) => (o(), u("div", { style: {}, class: "bind-variable-item bind-variable-item-more", key: a2 }, [(o(), r(d, { isTable: e2.configure.isTable, key: e2.configure.uuid, isRange: e2.isRange, placeholder: "补充默认值" + (a2 + 1), modelValue: l3, "onUpdate:modelValue": (e3) => function(e4, l4) {
|
|
19
|
+
V.value[l4] = e4, R();
|
|
20
|
+
}(e3, a2) }, null, 8, ["isTable", "isRange", "placeholder", "modelValue", "onUpdate:modelValue"])), t(k, { onClick: (e3) => function(e4) {
|
|
21
|
+
V.value.splice(e4, 1), R();
|
|
22
|
+
}(a2) }, { default: s(() => [t(p(m))]), _: 2 }, 1032, ["onClick"])]))), 128))], 64);
|
|
23
|
+
};
|
|
24
|
+
} });
|
|
25
|
+
export {
|
|
26
|
+
g as default
|
|
27
|
+
};
|
|
@@ -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.vue.js";
|
|
3
3
|
import { Codemirror as _ } from "vue-codemirror";
|
|
4
4
|
import C from "../../workflow/component/combination.vue.js";
|
|
5
5
|
import S from "./return-set-table.vue.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, watch as l, resolveComponent as t, createBlock as o, openBlock as
|
|
1
|
+
import { defineComponent as e, ref as a, watch as l, resolveComponent as t, createBlock as o, openBlock as u, withCtx as s, createVNode as i, createElementVNode as d, createElementBlock as n, Fragment as r, renderList as p, unref as m, createTextVNode as f, createCommentVNode as g } from "vue";
|
|
2
2
|
import { getTableSelectionConf as c, getTableIndexConf as b, getTableOperateConf as V, getFormComponentOptions as _ } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import v from "../component/data-origin.vue.js";
|
|
4
4
|
import h from "../../common/common-attr-size.vue.js";
|
|
@@ -18,10 +18,10 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, C = { style: { padding: "8p
|
|
|
18
18
|
function P(e3) {
|
|
19
19
|
j2.configure.props.base.showOperationCondition = e3.data;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function B(e3) {
|
|
22
22
|
j2.configure.props.base.showAddBtnCondition = e3.data;
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function L(e3) {
|
|
25
25
|
j2.configure.props.base.showDeleteBtnCondition = e3.data;
|
|
26
26
|
}
|
|
27
27
|
return j2.configure.verification || (j2.configure.verification = {}), l(() => j2.configure.props.base.selection, (e3) => {
|
|
@@ -50,8 +50,8 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, C = { style: { padding: "8p
|
|
|
50
50
|
}), null != e4 && j2.configure.items.splice(e4, 1);
|
|
51
51
|
}
|
|
52
52
|
}), (a2, l2) => {
|
|
53
|
-
const c2 = t("el-option"), b2 = t("el-select"), V2 = t("el-form-item"), j3 = t("el-input"),
|
|
54
|
-
return s(), o(N, { "label-width": "80px", size: "small" }, { default: u(() => [i(M, { modelValue: O.value, "onUpdate:modelValue": l2[43] || (l2[43] = (e3) => O.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(H, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", w, [i(V2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.name = a3), disabled: "", placeholder: "请选择" }, { default: u(() => [(s(true), n(r, null, p(m(_)(), (e3) => (s(), o(c2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), i(V2, { label: "自定义编码", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.code, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.code = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(s(), o(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), i(V2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.title, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.title = a3), title: e2.configure.tittle }, null, 8, ["modelValue", "title"])]), _: 1 }), i(V2, { label: "列表内容Url", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.urlToListData, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.urlToListData = a3) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "备注", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.remark, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.remark = a3), rows: 3, type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: u(() => [i(L, { value: "default" }, { default: u(() => l2[44] || (l2[44] = [f("普通")])), _: 1 }), i(L, { value: "hidden" }, { default: u(() => l2[45] || (l2[45] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(v, { title: "数据", pageDesign: e2.pageDesign, configure: e2.configure, remote: false }, { bottom: u((a3) => [i(V2, { label: "行主键字段", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: a3.row.principalLinkage, "onUpdate:modelValue": (e3) => a3.row.principalLinkage = e3, clearable: "", placeholder: "Select" }, { default: u(() => [(s(true), n(r, null, p(e2.configure.modelFields, (e3, a4) => (s(), o(c2, { key: a4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)]), _: 1 }, 8, ["pageDesign", "configure"]), i(H, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", C, [i(V2, { label: "移动端卡片", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.isMobileCard, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.isMobileCard = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[46] || (l2[46] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[47] || (l2[47] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "支持多选", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.selection, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.base.selection = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[48] || (l2[48] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[49] || (l2[49] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "显示序号", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.showIndex, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.showIndex = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[50] || (l2[50] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[51] || (l2[51] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.showIndex ? (s(), o(V2, { key: 0, label: "序号连续", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.serialNumberContinuous, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.serialNumberContinuous = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[52] || (l2[52] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[53] || (l2[53] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), i(V2, { label: "显示操作列", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.showOperation, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.showOperation = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[54] || (l2[54] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[55] || (l2[55] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.showOperation ? (s(), o(V2, { key: 1, label: "操作条件", class: "amb-design-attr-item" }, { default: u(() => [i(y, { paramTypes: ["data", "task", "page", "request"], data: e2.configure.props.base.showOperationCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": P }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), e2.configure.props.base.showOperation ? (s(), o(V2, { key: 2, label: "新增条件", class: "amb-design-attr-item" }, { default: u(() => [i(y, { paramTypes: ["data", "task", "page", "request", "row"], data: e2.configure.props.base.showAddBtnCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": T }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), e2.configure.props.base.showOperation ? (s(), o(V2, { key: 3, label: "删除条件", class: "amb-design-attr-item" }, { default: u(() => [i(y, { paramTypes: ["data", "task", "page", "request", "row"], data: e2.configure.props.base.showDeleteBtnCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": B }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), i(V2, { label: "显示效果", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.displayEffect, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.base.displayEffect = a3), class: "ml-4" }, { default: u(() => [i(L, { value: "default" }, { default: u(() => l2[56] || (l2[56] = [f("默认")])), _: 1 }), i(L, { value: "covered" }, { default: u(() => l2[57] || (l2[57] = [f("铺满")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "显示表头", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.showHeader, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.base.showHeader = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[58] || (l2[58] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[59] || (l2[59] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: u(() => [i(L, { value: "left" }, { default: u(() => l2[60] || (l2[60] = [f("居左")])), _: 1 }), i(L, { value: "center" }, { default: u(() => l2[61] || (l2[61] = [f("居中")])), _: 1 }), i(L, { value: "right" }, { default: u(() => l2[62] || (l2[62] = [f("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "内容对齐", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: u(() => [i(L, { value: "left" }, { default: u(() => l2[63] || (l2[63] = [f("居左")])), _: 1 }), i(L, { value: "center" }, { default: u(() => l2[64] || (l2[64] = [f("居中")])), _: 1 }), i(L, { value: "right" }, { default: u(() => l2[65] || (l2[65] = [f("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "文本溢出", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.textOverflow, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.base.textOverflow = a3), class: "ml-4" }, { default: u(() => [i(L, { value: "hidden" }, { default: u(() => l2[66] || (l2[66] = [f("隐藏")])), _: 1 }), i(L, { value: "newline" }, { default: u(() => l2[67] || (l2[67] = [f("换行")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "锁住表头", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.immobilizationHeader, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.immobilizationHeader = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[68] || (l2[68] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[69] || (l2[69] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "锁住底部", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.immobilizationBottom, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.immobilizationBottom = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[70] || (l2[70] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[71] || (l2[71] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "纵向边框", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.border, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.border = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[72] || (l2[72] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[73] || (l2[73] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "带斑马纹", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.stripe, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.stripe = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[74] || (l2[74] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[75] || (l2[75] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "列宽自撑开", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.fit, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.base.fit = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[76] || (l2[76] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[77] || (l2[77] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "高亮当前行", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.highlightCurrentRow, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.base.highlightCurrentRow = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[78] || (l2[78] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[79] || (l2[79] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "是否换行", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.otherSettings.isBreakLine, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.otherSettings.isBreakLine = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[80] || (l2[80] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[81] || (l2[81] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "启用回车", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.otherSettings.isEnableEnterEvent, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.otherSettings.isEnableEnterEvent = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[82] || (l2[82] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[83] || (l2[83] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "可自定义", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.custom, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.base.custom = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[84] || (l2[84] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[85] || (l2[85] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "空数据文本", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.emptyText, "onUpdate:modelValue": l2[26] || (l2[26] = (a3) => e2.configure.props.base.emptyText = a3) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "合计方式", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.totalType, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.base.totalType = a3), class: "ml-4" }, { default: u(() => [i(L, { value: "no" }, { default: u(() => l2[86] || (l2[86] = [f("不合计")])), _: 1 }), i(L, { value: "current" }, { default: u(() => l2[87] || (l2[87] = [f("当前页")])), _: 1 }), i(L, { value: "all" }, { default: u(() => l2[88] || (l2[88] = [f("所有页")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "字段配置", class: "amb-design-attr-item" }, { default: u(() => [i(I, { modelValue: e2.configure.props.base.customConfig, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.base.customConfig = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(H, { title: "查询设置", name: "querySetting", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", k, [i(V2, { label: "显示方式", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: e2.configure.props.base.popUp, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.base.popUp = a3), clearable: "", style: { width: "100%" } }, { default: u(() => [i(c2, { label: "弹出式", value: true }), i(c2, { label: "嵌入式", value: false })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "Label位置", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: e2.configure.props.base.queryLabelPosition, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.base.queryLabelPosition = a3), clearable: "" }, { default: u(() => [i(c2, { label: "左", value: "left" }), i(c2, { label: "右", value: "right" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(H, { title: "行设置", name: "editSetting", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", D, [i(V2, { label: "启用编辑", class: "amb-design-attr-item" }, { default: u(() => [i(I, { modelValue: e2.configure.props.base.editable, "onUpdate:modelValue": l2[31] || (l2[31] = (a3) => e2.configure.props.base.editable = a3), "active-text": "使用", "inactive-text": "不使用", onChange: l2[32] || (l2[32] = (a3) => e2.configure.props.base.columnEditable = false) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "单元格编辑", class: "amb-design-attr-item" }, { default: u(() => [i(I, { modelValue: e2.configure.props.base.columnEditable, "onUpdate:modelValue": l2[33] || (l2[33] = (a3) => e2.configure.props.base.columnEditable = a3), disabled: !e2.configure.props.base.editable, "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue", "disabled"])]), _: 1 }), i(V2, { label: "子表展开表单", class: "amb-design-attr-item" }, { default: u(() => [i(I, { modelValue: e2.configure.props.base.showRowForm, "onUpdate:modelValue": l2[34] || (l2[34] = (a3) => e2.configure.props.base.showRowForm = a3), "active-text": "展开", "inactive-text": "不展开" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(H, { title: "列设置", name: "columnSetting", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", S, [i(V2, { label: "是否可以拖拽列", class: "amb-design-attr-item-linefeed-two" }, { default: u(() => [i(I, { modelValue: e2.configure.props.base.isDragColumn, "onUpdate:modelValue": l2[35] || (l2[35] = (a3) => e2.configure.props.base.isDragColumn = a3), "active-text": "是", "inactive-text": "否" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(H, { title: "分页设置", name: "paging", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", z, [i(V2, { label: "支持分页", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.subPaging, "onUpdate:modelValue": l2[36] || (l2[36] = (a3) => e2.configure.props.base.subPaging = a3) }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[89] || (l2[89] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[90] || (l2[90] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 0, label: "默认行数", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.pageSize, "onUpdate:modelValue": l2[37] || (l2[37] = (a3) => e2.configure.props.base.pageSize = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 1, label: "可选行数", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.pageSizes, "onUpdate:modelValue": l2[38] || (l2[38] = (a3) => e2.configure.props.base.pageSizes = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 2, label: "可选项", class: "amb-design-attr-item" }, { default: u(() => [i(F, { modelValue: e2.configure.props.base.layout, "onUpdate:modelValue": l2[39] || (l2[39] = (a3) => e2.configure.props.base.layout = a3) }, { default: u(() => [i(R, { label: "总条数", value: "total" }), i(R, { label: "每页大小选项列表", value: "sizes" }), i(R, { label: "上一页", value: "prev" }), i(R, { label: "跳转页码", value: "pager" }), i(R, { label: "下一页", value: "next" }), i(R, { label: "跳转指定页", value: "jumper" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 3, label: "总页数变量", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.pageCount, "onUpdate:modelValue": l2[40] || (l2[40] = (a3) => e2.configure.props.base.pageCount = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 4, label: "总条数变量", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[41] || (l2[41] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true)])]), _: 1 }), i(x, { configureProps: e2.configure.props }, null, 8, ["configureProps"]), i(h, { size: e2.configure.props.size, showMaxHeight: true, showCalcHeight: true, isHeightOffset: "" }, null, 8, ["size"]), i(H, { title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", E, [e2.pageDesign.props.activeWorkflow ? g("", true) : (s(), o(V2, { key: 0, class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(R, { modelValue: e2.configure.verification.notEmpty, "onUpdate:modelValue": l2[42] || (l2[42] = (a3) => e2.configure.verification.notEmpty = a3), label: "子表不能为空" }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
53
|
+
const c2 = t("el-option"), b2 = t("el-select"), V2 = t("el-form-item"), j3 = t("el-input"), T = t("el-radio"), H = t("el-radio-group"), q = t("el-collapse-item"), I = t("el-switch"), R = t("el-checkbox"), F = t("el-checkbox-group"), M = t("el-collapse"), N = t("el-form");
|
|
54
|
+
return u(), o(N, { "label-width": "80px", size: "small" }, { default: s(() => [i(M, { modelValue: O.value, "onUpdate:modelValue": l2[43] || (l2[43] = (e3) => O.value = e3), style: { "margin-top": "6px" } }, { default: s(() => [i(q, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", w, [i(V2, { label: "组件类型", class: "amb-design-attr-item" }, { default: s(() => [i(b2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.name = a3), disabled: "", placeholder: "请选择" }, { default: s(() => [(u(true), n(r, null, p(m(_)(), (e3) => (u(), o(c2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), i(V2, { label: "自定义编码", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.code, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.code = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: s(() => [(u(), o(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), i(V2, { label: "标题", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.title, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.title = a3), title: e2.configure.tittle }, null, 8, ["modelValue", "title"])]), _: 1 }), i(V2, { label: "列表内容Url", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.props.base.urlToListData, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.urlToListData = a3) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "备注", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.props.base.remark, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.remark = a3), rows: 3, type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "状态", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: s(() => [i(T, { value: "default" }, { default: s(() => l2[44] || (l2[44] = [f("普通")])), _: 1 }), i(T, { value: "hidden" }, { default: s(() => l2[45] || (l2[45] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(v, { title: "数据", pageDesign: e2.pageDesign, configure: e2.configure, remote: false }, { bottom: s((a3) => [i(V2, { label: "行主键字段", class: "amb-design-attr-item" }, { default: s(() => [i(b2, { modelValue: a3.row.principalLinkage, "onUpdate:modelValue": (e3) => a3.row.principalLinkage = e3, clearable: "", placeholder: "Select" }, { default: s(() => [(u(true), n(r, null, p(e2.configure.modelFields, (e3, a4) => (u(), o(c2, { key: a4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)]), _: 1 }, 8, ["pageDesign", "configure"]), i(q, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", C, [i(V2, { label: "移动端卡片", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.isMobileCard, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.isMobileCard = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[46] || (l2[46] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[47] || (l2[47] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "支持多选", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.selection, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.base.selection = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[48] || (l2[48] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[49] || (l2[49] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "显示序号", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.showIndex, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.showIndex = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[50] || (l2[50] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[51] || (l2[51] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.showIndex ? (u(), o(V2, { key: 0, label: "序号连续", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.serialNumberContinuous, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.serialNumberContinuous = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[52] || (l2[52] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[53] || (l2[53] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), i(V2, { label: "显示操作列", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.showOperation, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.showOperation = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[54] || (l2[54] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[55] || (l2[55] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.showOperation ? (u(), o(V2, { key: 1, label: "操作条件", class: "amb-design-attr-item" }, { default: s(() => [i(y, { data: e2.configure.props.base.showOperationCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": P }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), e2.configure.props.base.showOperation ? (u(), o(V2, { key: 2, label: "新增条件", class: "amb-design-attr-item" }, { default: s(() => [i(y, { data: e2.configure.props.base.showAddBtnCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": B }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), e2.configure.props.base.showOperation ? (u(), o(V2, { key: 3, label: "删除条件", class: "amb-design-attr-item" }, { default: s(() => [i(y, { data: e2.configure.props.base.showDeleteBtnCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": L }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), i(V2, { label: "显示效果", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.displayEffect, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.base.displayEffect = a3), class: "ml-4" }, { default: s(() => [i(T, { value: "default" }, { default: s(() => l2[56] || (l2[56] = [f("默认")])), _: 1 }), i(T, { value: "covered" }, { default: s(() => l2[57] || (l2[57] = [f("铺满")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "显示表头", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.showHeader, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.base.showHeader = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[58] || (l2[58] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[59] || (l2[59] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: s(() => [i(T, { value: "left" }, { default: s(() => l2[60] || (l2[60] = [f("居左")])), _: 1 }), i(T, { value: "center" }, { default: s(() => l2[61] || (l2[61] = [f("居中")])), _: 1 }), i(T, { value: "right" }, { default: s(() => l2[62] || (l2[62] = [f("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "内容对齐", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: s(() => [i(T, { value: "left" }, { default: s(() => l2[63] || (l2[63] = [f("居左")])), _: 1 }), i(T, { value: "center" }, { default: s(() => l2[64] || (l2[64] = [f("居中")])), _: 1 }), i(T, { value: "right" }, { default: s(() => l2[65] || (l2[65] = [f("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "文本溢出", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.textOverflow, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.base.textOverflow = a3), class: "ml-4" }, { default: s(() => [i(T, { value: "hidden" }, { default: s(() => l2[66] || (l2[66] = [f("隐藏")])), _: 1 }), i(T, { value: "newline" }, { default: s(() => l2[67] || (l2[67] = [f("换行")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "锁住表头", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.immobilizationHeader, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.immobilizationHeader = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[68] || (l2[68] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[69] || (l2[69] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "锁住底部", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.immobilizationBottom, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.immobilizationBottom = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[70] || (l2[70] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[71] || (l2[71] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "纵向边框", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.border, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.border = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[72] || (l2[72] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[73] || (l2[73] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "带斑马纹", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.stripe, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.stripe = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[74] || (l2[74] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[75] || (l2[75] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "列宽自撑开", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.fit, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.base.fit = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[76] || (l2[76] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[77] || (l2[77] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "高亮当前行", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.highlightCurrentRow, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.base.highlightCurrentRow = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[78] || (l2[78] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[79] || (l2[79] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "是否换行", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.otherSettings.isBreakLine, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.otherSettings.isBreakLine = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[80] || (l2[80] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[81] || (l2[81] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "启用回车", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.otherSettings.isEnableEnterEvent, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.otherSettings.isEnableEnterEvent = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[82] || (l2[82] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[83] || (l2[83] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "可自定义", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.custom, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.base.custom = a3), class: "ml-4" }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[84] || (l2[84] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[85] || (l2[85] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "空数据文本", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.props.base.emptyText, "onUpdate:modelValue": l2[26] || (l2[26] = (a3) => e2.configure.props.base.emptyText = a3) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "合计方式", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.totalType, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.base.totalType = a3), class: "ml-4" }, { default: s(() => [i(T, { value: "no" }, { default: s(() => l2[86] || (l2[86] = [f("不合计")])), _: 1 }), i(T, { value: "current" }, { default: s(() => l2[87] || (l2[87] = [f("当前页")])), _: 1 }), i(T, { value: "all" }, { default: s(() => l2[88] || (l2[88] = [f("所有页")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "字段配置", class: "amb-design-attr-item" }, { default: s(() => [i(I, { modelValue: e2.configure.props.base.customConfig, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.base.customConfig = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "查询设置", name: "querySetting", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", k, [i(V2, { label: "显示方式", class: "amb-design-attr-item" }, { default: s(() => [i(b2, { modelValue: e2.configure.props.base.popUp, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.base.popUp = a3), clearable: "", style: { width: "100%" } }, { default: s(() => [i(c2, { label: "弹出式", value: true }), i(c2, { label: "嵌入式", value: false })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "Label位置", class: "amb-design-attr-item" }, { default: s(() => [i(b2, { modelValue: e2.configure.props.base.queryLabelPosition, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.base.queryLabelPosition = a3), clearable: "" }, { default: s(() => [i(c2, { label: "左", value: "left" }), i(c2, { label: "右", value: "right" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "行设置", name: "editSetting", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", D, [i(V2, { label: "启用编辑", class: "amb-design-attr-item" }, { default: s(() => [i(I, { modelValue: e2.configure.props.base.editable, "onUpdate:modelValue": l2[31] || (l2[31] = (a3) => e2.configure.props.base.editable = a3), "active-text": "使用", "inactive-text": "不使用", onChange: l2[32] || (l2[32] = (a3) => e2.configure.props.base.columnEditable = false) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "单元格编辑", class: "amb-design-attr-item" }, { default: s(() => [i(I, { modelValue: e2.configure.props.base.columnEditable, "onUpdate:modelValue": l2[33] || (l2[33] = (a3) => e2.configure.props.base.columnEditable = a3), disabled: !e2.configure.props.base.editable, "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue", "disabled"])]), _: 1 }), i(V2, { label: "子表展开表单", class: "amb-design-attr-item" }, { default: s(() => [i(I, { modelValue: e2.configure.props.base.showRowForm, "onUpdate:modelValue": l2[34] || (l2[34] = (a3) => e2.configure.props.base.showRowForm = a3), "active-text": "展开", "inactive-text": "不展开" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "列设置", name: "columnSetting", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", S, [i(V2, { label: "是否可以拖拽列", class: "amb-design-attr-item-linefeed-two" }, { default: s(() => [i(I, { modelValue: e2.configure.props.base.isDragColumn, "onUpdate:modelValue": l2[35] || (l2[35] = (a3) => e2.configure.props.base.isDragColumn = a3), "active-text": "是", "inactive-text": "否" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "分页设置", name: "paging", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", z, [i(V2, { label: "支持分页", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.subPaging, "onUpdate:modelValue": l2[36] || (l2[36] = (a3) => e2.configure.props.base.subPaging = a3) }, { default: s(() => [i(T, { value: true }, { default: s(() => l2[89] || (l2[89] = [f("是")])), _: 1 }), i(T, { value: false }, { default: s(() => l2[90] || (l2[90] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.subPaging ? (u(), o(V2, { key: 0, label: "默认行数", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.props.base.pageSize, "onUpdate:modelValue": l2[37] || (l2[37] = (a3) => e2.configure.props.base.pageSize = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (u(), o(V2, { key: 1, label: "可选行数", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.props.base.pageSizes, "onUpdate:modelValue": l2[38] || (l2[38] = (a3) => e2.configure.props.base.pageSizes = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (u(), o(V2, { key: 2, label: "可选项", class: "amb-design-attr-item" }, { default: s(() => [i(F, { modelValue: e2.configure.props.base.layout, "onUpdate:modelValue": l2[39] || (l2[39] = (a3) => e2.configure.props.base.layout = a3) }, { default: s(() => [i(R, { label: "总条数", value: "total" }), i(R, { label: "每页大小选项列表", value: "sizes" }), i(R, { label: "上一页", value: "prev" }), i(R, { label: "跳转页码", value: "pager" }), i(R, { label: "下一页", value: "next" }), i(R, { label: "跳转指定页", value: "jumper" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (u(), o(V2, { key: 3, label: "总页数变量", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.props.base.pageCount, "onUpdate:modelValue": l2[40] || (l2[40] = (a3) => e2.configure.props.base.pageCount = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (u(), o(V2, { key: 4, label: "总条数变量", class: "amb-design-attr-item" }, { default: s(() => [i(j3, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[41] || (l2[41] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true)])]), _: 1 }), i(x, { configureProps: e2.configure.props }, null, 8, ["configureProps"]), i(h, { size: e2.configure.props.size, showMaxHeight: true, showCalcHeight: true, isHeightOffset: "" }, null, 8, ["size"]), i(q, { title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", E, [e2.pageDesign.props.activeWorkflow ? g("", true) : (u(), o(V2, { key: 0, class: "amb-design-attr-item", "label-width": "0" }, { default: s(() => [i(R, { modelValue: e2.configure.verification.notEmpty, "onUpdate:modelValue": l2[42] || (l2[42] = (a3) => e2.configure.verification.notEmpty = a3), label: "子表不能为空" }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
55
55
|
};
|
|
56
56
|
} });
|
|
57
57
|
export {
|
|
@@ -1,32 +1,30 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as u, withCtx as t, createVNode as i, createCommentVNode as
|
|
1
|
+
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as u, withCtx as t, createVNode as i, createCommentVNode as r, createElementVNode as s, withDirectives as n, createElementBlock as d, Fragment as m, renderList as p, unref as f, createTextVNode as c, vShow as g } from "vue";
|
|
2
2
|
import { getFormComponentOptions as b } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import { componentNameChange as v } from "../../../../utils/form-design-util.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
4
|
+
import _ from "../../common/common-attr-size.vue.js";
|
|
5
|
+
import V from "../common/data-origin.vue.js";
|
|
6
6
|
import y from "../common/data-linkage.vue.js";
|
|
7
7
|
import h from "../../common/common-variable-bind.vue.js";
|
|
8
8
|
import k from "../../common/common-function-code.vue.js";
|
|
9
9
|
import x from "../common/verification-custom.vue.js";
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
function P(e3) {
|
|
20
|
-
z.configure.props.base.defaultValue = e3;
|
|
10
|
+
import j from "../../common/common-i18n-key-input.vue.js";
|
|
11
|
+
import w from "../../common/common-bind-default-value.vue.js";
|
|
12
|
+
const U = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, S = e({ __name: "checkbox-attr-base", props: { configure: { type: Object, required: true }, default: () => ({ props: {} }), pageDesign: { type: Object, default: () => {
|
|
13
|
+
} } }, emits: ["changeAssembly"], setup(e2, { emit: S2 }) {
|
|
14
|
+
const T = e2, W = S2, D = l(["base"]), q = l(false);
|
|
15
|
+
T.configure.isTable && (q.value = true);
|
|
16
|
+
const O = l(T.configure.name);
|
|
17
|
+
function P(e3, l2) {
|
|
18
|
+
T.configure.props.base.prop = e3, l2 && (T.configure.props.base.title = l2);
|
|
21
19
|
}
|
|
22
20
|
function A(e3) {
|
|
23
|
-
v(
|
|
21
|
+
v(T.configure, e3, W);
|
|
24
22
|
}
|
|
25
23
|
return (l2, v2) => {
|
|
26
|
-
const
|
|
27
|
-
return u(), o(J, { "label-width": "80px", size: "small" }, { default: t(() => [i(I, { modelValue:
|
|
24
|
+
const S3 = a("el-option"), T2 = a("el-select"), W2 = a("el-form-item"), C = a("el-input"), B = a("el-radio"), E = a("el-radio-group"), F = a("el-input-number"), G = a("el-collapse-item"), H = a("el-checkbox"), I = a("el-collapse"), J = a("el-form");
|
|
25
|
+
return u(), o(J, { "label-width": "80px", size: "small" }, { default: t(() => [i(I, { modelValue: D.value, "onUpdate:modelValue": v2[9] || (v2[9] = (e3) => D.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(G, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [s("div", U, [i(W2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(T2, { modelValue: O.value, "onUpdate:modelValue": v2[0] || (v2[0] = (e3) => O.value = e3), onChange: A, placeholder: "请选择" }, { default: t(() => [(u(true), d(m, null, p(f(b)(), (e3) => (u(), o(S3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.uuid, "onUpdate:modelValue": v2[1] || (v2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), q.value ? r("", true) : (u(), o(W2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": P }, null, 8, ["isTable", "modelValue"]))]), _: 1 })), i(W2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [i(w, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), q.value ? r("", true) : (u(), o(W2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), q.value ? r("", true) : (u(), o(W2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": v2[2] || (v2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(B, { value: true }, { default: t(() => v2[10] || (v2[10] = [c("显示")])), _: 1 }), i(B, { value: false }, { default: t(() => v2[11] || (v2[11] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(i(W2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(j, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": v2[3] || (v2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(i(W2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": v2[4] || (v2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(i(W2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": v2[5] || (v2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "block" }, { default: t(() => v2[12] || (v2[12] = [c("换行")])), _: 1 }), i(B, { value: "inline" }, { default: t(() => v2[13] || (v2[13] = [c("不换行")])), _: 1 }), i(B, { value: "omit" }, { default: t(() => v2[14] || (v2[14] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(W2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": v2[6] || (v2[6] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "large" }, { default: t(() => v2[15] || (v2[15] = [c("大")])), _: 1 }), i(B, { value: "default" }, { default: t(() => v2[16] || (v2[16] = [c("中")])), _: 1 }), i(B, { value: "small" }, { default: t(() => v2[17] || (v2[17] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": v2[7] || (v2[7] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "default" }, { default: t(() => v2[18] || (v2[18] = [c("普通")])), _: 1 }), i(B, { value: "disabled" }, { default: t(() => v2[19] || (v2[19] = [c("禁用")])), _: 1 }), i(B, { value: "readonly" }, { default: t(() => v2[20] || (v2[20] = [c("只读")])), _: 1 }), i(B, { value: "hidden" }, { default: t(() => v2[21] || (v2[21] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), q.value ? r("", true) : (u(), o(V, { key: e2.configure.uuid, configure: e2.configure, remote: true }, null, 8, ["configure"])), (u(), o(y, { key: e2.configure.uuid, configureProps: e2.configure.props }, null, 8, ["configureProps"])), (u(), o(G, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [s("div", z, [i(W2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(H, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": v2[8] || (v2[8] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(W2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(x, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 })), q.value ? r("", true) : (u(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
28
26
|
};
|
|
29
27
|
} });
|
|
30
28
|
export {
|
|
31
|
-
|
|
29
|
+
S as default
|
|
32
30
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as t, createBlock as o, openBlock as u, withCtx as i, createElementVNode as n, createVNode as s, createCommentVNode as d, withDirectives as r, unref as m, createElementBlock as p, Fragment as c, renderList as b, createTextVNode as f, vShow as y, normalizeClass as v } from "vue";
|
|
2
|
-
import V from "./dataorigin-input-table.
|
|
2
|
+
import V from "./dataorigin-input-table.vue.js";
|
|
3
3
|
import g from "./condition.vue.js";
|
|
4
4
|
import S from "./row-ul-li.vue.js";
|
|
5
5
|
import "uuid";
|
|
@@ -1,4 +1,28 @@
|
|
|
1
|
-
import t from "
|
|
1
|
+
import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createElementBlock as o, openBlock as d, Fragment as u, createVNode as n, withCtx as i, unref as s, createElementVNode as m, createTextVNode as r } from "vue";
|
|
2
|
+
import { Search as p } from "@element-plus/icons-vue";
|
|
3
|
+
const f = { class: "dialog-footer" }, v = e({ __name: "dataorigin-input-table", props: { modelValue: { type: String, default: "" } }, emits: ["update:modelValue"], setup(e2, { emit: v2 }) {
|
|
4
|
+
const c = e2, g = l(c.modelValue), V = v2, h = [{ id: 1, date: "2016-05-03", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 2, date: "2016-05-02", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 3, date: "2016-05-04", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 4, date: "2016-05-01", name: "Tom", address: "No. 189, Grove St, Los Angeles" }], b = l(false), _ = l([]);
|
|
5
|
+
function y() {
|
|
6
|
+
if (_.value.length > 0) {
|
|
7
|
+
let e3 = "";
|
|
8
|
+
_.value.forEach((l2) => {
|
|
9
|
+
e3 = e3 + l2.name + ",";
|
|
10
|
+
}), e3 = e3.substring(0, e3.length - 1), V("update:modelValue", e3), b.value = false;
|
|
11
|
+
} else b.value = false;
|
|
12
|
+
}
|
|
13
|
+
function S(e3) {
|
|
14
|
+
_.value = e3;
|
|
15
|
+
}
|
|
16
|
+
function w() {
|
|
17
|
+
b.value = true;
|
|
18
|
+
}
|
|
19
|
+
return a(() => c.modelValue, (e3) => {
|
|
20
|
+
g.value = e3;
|
|
21
|
+
}), (e3, l2) => {
|
|
22
|
+
const a2 = t("el-icon"), v3 = t("el-input"), c2 = t("el-table-column"), V2 = t("el-table"), _2 = t("el-button"), A = t("el-dialog");
|
|
23
|
+
return d(), o(u, null, [n(v3, { modelValue: g.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => g.value = e4), placeholder: "请选择", onClick: w }, { suffix: i(() => [n(a2, { onClick: w }, { default: i(() => [n(s(p))]), _: 1 })]), _: 1 }, 8, ["modelValue"]), n(A, { modelValue: b.value, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => b.value = e4), title: "Tips", width: "500" }, { footer: i(() => [m("div", f, [n(_2, { type: "default", onClick: l2[1] || (l2[1] = (e4) => b.value = false) }, { default: i(() => l2[3] || (l2[3] = [r("取消")])), _: 1 }), n(_2, { type: "primary", onClick: y }, { default: i(() => l2[4] || (l2[4] = [r(" 确定 ")])), _: 1 })])]), default: i(() => [n(V2, { data: h, style: { width: "100%" }, onSelectionChange: S }, { default: i(() => [n(c2, { type: "selection", width: "55" }), n(c2, { prop: "date", label: "Date", width: "180" }), n(c2, { prop: "name", label: "Name", width: "180" }), n(c2, { prop: "address", label: "Address" })]), _: 1 })]), _: 1 }, 8, ["modelValue"])], 64);
|
|
24
|
+
};
|
|
25
|
+
} });
|
|
2
26
|
export {
|
|
3
|
-
|
|
27
|
+
v as default
|
|
4
28
|
};
|
package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js
CHANGED
|
@@ -1,28 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Search as p } from "@element-plus/icons-vue";
|
|
3
|
-
const f = { class: "dialog-footer" }, v = e({ __name: "dataorigin-input-table", props: { modelValue: { type: String, default: "" } }, emits: ["update:modelValue"], setup(e2, { emit: v2 }) {
|
|
4
|
-
const c = e2, g = l(c.modelValue), V = v2, h = [{ id: 1, date: "2016-05-03", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 2, date: "2016-05-02", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 3, date: "2016-05-04", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 4, date: "2016-05-01", name: "Tom", address: "No. 189, Grove St, Los Angeles" }], b = l(false), _ = l([]);
|
|
5
|
-
function y() {
|
|
6
|
-
if (_.value.length > 0) {
|
|
7
|
-
let e3 = "";
|
|
8
|
-
_.value.forEach((l2) => {
|
|
9
|
-
e3 = e3 + l2.name + ",";
|
|
10
|
-
}), e3 = e3.substring(0, e3.length - 1), V("update:modelValue", e3), b.value = false;
|
|
11
|
-
} else b.value = false;
|
|
12
|
-
}
|
|
13
|
-
function S(e3) {
|
|
14
|
-
_.value = e3;
|
|
15
|
-
}
|
|
16
|
-
function w() {
|
|
17
|
-
b.value = true;
|
|
18
|
-
}
|
|
19
|
-
return a(() => c.modelValue, (e3) => {
|
|
20
|
-
g.value = e3;
|
|
21
|
-
}), (e3, l2) => {
|
|
22
|
-
const a2 = t("el-icon"), v3 = t("el-input"), c2 = t("el-table-column"), V2 = t("el-table"), _2 = t("el-button"), A = t("el-dialog");
|
|
23
|
-
return d(), o(u, null, [n(v3, { modelValue: g.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => g.value = e4), placeholder: "请选择", onClick: w }, { suffix: i(() => [n(a2, { onClick: w }, { default: i(() => [n(s(p))]), _: 1 })]), _: 1 }, 8, ["modelValue"]), n(A, { modelValue: b.value, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => b.value = e4), title: "Tips", width: "500" }, { footer: i(() => [m("div", f, [n(_2, { type: "default", onClick: l2[1] || (l2[1] = (e4) => b.value = false) }, { default: i(() => l2[3] || (l2[3] = [r("取消")])), _: 1 }), n(_2, { type: "primary", onClick: y }, { default: i(() => l2[4] || (l2[4] = [r(" 确定 ")])), _: 1 })])]), default: i(() => [n(V2, { data: h, style: { width: "100%" }, onSelectionChange: S }, { default: i(() => [n(c2, { type: "selection", width: "55" }), n(c2, { prop: "date", label: "Date", width: "180" }), n(c2, { prop: "name", label: "Name", width: "180" }), n(c2, { prop: "address", label: "Address" })]), _: 1 })]), _: 1 }, 8, ["modelValue"])], 64);
|
|
24
|
-
};
|
|
25
|
-
} });
|
|
1
|
+
import t from "./dataorigin-input-table.vue.js";
|
|
26
2
|
export {
|
|
27
|
-
|
|
3
|
+
t as default
|
|
28
4
|
};
|