super-page-designer 2.3.23-design1 → 2.3.24-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 +1 -1
- package/dist/es/components/design/utils/page-table-util.js +2 -2
- package/dist/es/components/design/views/assemblys/common/common-variable-bind-option.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +68 -69
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +21 -24
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +60 -62
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +29 -32
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-design.vue2.js +20 -20
- package/dist/es/style.css +3 -3
- package/package.json +4 -4
|
@@ -45,7 +45,7 @@ import M from "../../../assets/images/chart/chart-scatter.png.js";
|
|
|
45
45
|
import G from "../../../assets/images/form/form-custom.png.js";
|
|
46
46
|
import K from "../../../assets/images/data/barcode.png.js";
|
|
47
47
|
import $ from "../../../assets/images/workflow/workflow-history-img.png.js";
|
|
48
|
-
const B = { uuid: "", name: "", props: { base: { name: "操作", prop: "operation", columnWidth: 150, sortable: false, displayOrder: 3, visible: true, alignTitle: "center", alignContent: "center", listColumnFixed: "right" }, size: {}, editLine: {},
|
|
48
|
+
const B = { uuid: "", name: "", props: { base: { name: "操作", prop: "operation", columnWidth: 150, sortable: false, displayOrder: 3, visible: true, alignTitle: "center", alignContent: "center", listColumnFixed: "right" }, size: {}, editLine: {}, scan: {}, preSuffix: {}, verification: {}, dataOrigin: { sortField: [{ name: "", type: "" }], staticState: [{ label: "选项1", vaule: 1 }], displayQuantity: 20 }, defaultValue: {}, inParameter: {}, title: {}, definition: {}, uploadConfig: {}, singleWidth: {}, suffixModule: {}, querySetting: {}, formatting: { type: "", suffixModule: { jumpPageAdditional: [], icon: "" } } }, events: [{ name: "show", label: "列表显示", tip: "列表显示回调方法" }, { name: "hidden", label: "列表隐藏", tip: "列表隐藏回调方法" }], style: { titleFont: {}, contentFont: {}, width: {}, background: {}, conentPadding: {}, tittlePadding: {}, border: {}, shadow: {}, tittleClass: "" } }, J = { uuid: "", name: "", props: { base: { name: "序号", prop: "$index", columnWidth: 80, sortable: true, visible: true, displayOrder: 1, alignTitle: "center", alignContent: "center" }, format: {}, size: {}, editLine: {}, scan: {}, preSuffix: {}, verification: {}, dataOrigin: { sortField: [{ name: "", type: "" }], staticState: [{ label: "选项1", vaule: 1 }], displayQuantity: 20 }, defaultValue: {}, inParameter: {}, title: {}, definition: {}, uploadConfig: {}, singleWidth: {}, suffixModule: {}, querySetting: {}, formatting: { type: "", suffixModule: { jumpPageAdditional: [], icon: "" } } }, events: [{ name: "show", label: "列表显示", tip: "列表显示回调方法" }, { name: "hidden", label: "列表隐藏", tip: "列表隐藏回调方法" }], style: { titleFont: {}, contentFont: {}, width: {}, background: {}, tableCell: [{ type: "", model: "" }], conentPadding: {}, tittlePadding: {}, border: {}, shadow: {}, tittleClass: "" } }, X = { uuid: "", name: "", props: { base: { name: "复选框组件", prop: "$selection", columnWidth: 100, sortable: true, visible: true, displayOrder: 0, alignTitle: "center", alignContent: "center" }, size: {}, editLine: {}, scan: {}, preSuffix: {}, verification: {}, dataOrigin: { sortField: [{ name: "", type: "" }], staticState: [{ label: "选项1", vaule: 1 }], displayQuantity: 20 }, defaultValue: {}, inParameter: {}, title: {}, definition: {}, uploadConfig: {}, singleWidth: {}, suffixModule: {}, querySetting: {}, formatting: { type: "", suffixModule: { jumpPageAdditional: [], icon: "" } } }, events: [{ name: "show", label: "列表显示", tip: "列表显示回调方法" }, { name: "hidden", label: "列表隐藏", tip: "列表隐藏回调方法" }], style: { titleFont: {}, contentFont: {}, width: {}, background: {}, conentPadding: {}, tittlePadding: {}, border: {}, shadow: {}, tittleClass: "" } };
|
|
49
49
|
function Y(e2) {
|
|
50
50
|
let a2 = t(e2);
|
|
51
51
|
return a2.uuid = i(), a2;
|
|
@@ -163,7 +163,7 @@ function g(e2) {
|
|
|
163
163
|
return null;
|
|
164
164
|
}
|
|
165
165
|
function b(e2) {
|
|
166
|
-
var _a, _b, _c, _d, _e, _f
|
|
166
|
+
var _a, _b, _c, _d, _e, _f;
|
|
167
167
|
let t2 = {};
|
|
168
168
|
if ("select" === e2.name) {
|
|
169
169
|
const r2 = e2.props.base, a2 = r2.allowCreate, o2 = r2.clearable;
|
|
@@ -173,7 +173,7 @@ function b(e2) {
|
|
|
173
173
|
const r2 = !!((_a = e2.props.scan) == null ? void 0 : _a.enable), a2 = (_b = e2.props.scan) == null ? void 0 : _b.ruleList;
|
|
174
174
|
t2.scanEnable = r2, t2.scanRuleList = a2;
|
|
175
175
|
} else "custom" === e2.name ? t2.customParams = e2.props.parameter : "datePicker" === e2.name ? (t2.format = e2.props.base.format, t2.valueFormat = e2.props.base.valueFormat) : "dept-tree" === e2.name && (t2.limitFilterColumn = e2.props.base.limitFilterColumn, t2.deptScope = e2.props.base.deptScope, t2.deptScopeField = e2.props.base.deptScopeField, t2.deptScopeCodes = e2.props.base.deptScopeDepts);
|
|
176
|
-
return ((_c = e2.style) == null ? void 0 : _c.cellStyle) && (t2.cellStyle = e2.style.cellStyle), ((_d = e2.style) == null ? void 0 : _d.titleStyle) && (t2.titleStyle = e2.style.titleStyle), ((_f = (_e = e2.props) == null ? void 0 : _e.base) == null ? void 0 : _f.editConditions) && e2.props.base.editConditions.length > 0 && (t2.editConditions = e2.props.base.editConditions),
|
|
176
|
+
return ((_c = e2.style) == null ? void 0 : _c.cellStyle) && (t2.cellStyle = e2.style.cellStyle), ((_d = e2.style) == null ? void 0 : _d.titleStyle) && (t2.titleStyle = e2.style.titleStyle), ((_f = (_e = e2.props) == null ? void 0 : _e.base) == null ? void 0 : _f.editConditions) && e2.props.base.editConditions.length > 0 && (t2.editConditions = e2.props.base.editConditions), t2 ? JSON.stringify(t2) : null;
|
|
177
177
|
}
|
|
178
178
|
function y(e2) {
|
|
179
179
|
var _a, _b, _c;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = [{ value: "data", label: "数据模型" }, { value: "page", label: "页面变量" }, { value: "task", label: "
|
|
1
|
+
const e = [{ value: "data", label: "数据模型" }, { value: "page", label: "页面变量" }, { value: "task", label: "任务变量" }, { value: "context", label: "环境变量" }, { value: "system", label: "系统参数" }, { value: "request", label: "请求参数" }, { value: "params", label: "方法参数" }, { value: "fixed", label: "固定值" }, { value: "row", label: "列模型" }], a = [{ value: "currentTime", label: "当前时间" }, { value: "currentDate", label: "当前日期" }, { value: "currentTransactorId", label: "当前用户ID" }, { value: "currentTransactor", label: "当前用户登录名" }, { value: "currentTransactorName", label: "当前用户姓名" }, { value: "currentTransactorNameEng", label: "当前用户姓名(英文)" }, { value: "currentUserEmail", label: "当前用户邮箱" }, { value: "currentUserTelephone", label: "当前用户手机号" }, { value: "currentTransactorMainDepartmentId", label: "当前用户部门ID" }, { value: "currentTransactorMainDepartmentCode", label: "当前用户部门编码" }, { value: "currentTransactorMainDepartment", label: "当前用户部门名称" }, { value: "currentBranchId", label: "所属分支ID" }, { value: "currentBranchName", label: "所属分支名称" }, { value: "currentBranchCode", label: "所属分支编码" }, { value: "currentCompanyCode", label: "所属租户编码" }, { value: "currentYear", label: "当前年" }, { value: "currentMonth", label: "当前月" }], l = [{ value: "id", label: "任务ID" }, { value: "nodeId", label: "环节编码" }, { value: "name", label: "环节名称" }, { value: "transactor", label: "办理人登录名" }, { value: "transactorName", label: "办理人姓名" }, { value: "transactorId", label: "办理人ID" }, { value: "transactorNameEng", label: "办理人英文名" }, { value: "sourceTrustor", label: "原始委托人登录名", title: "比如:A委托给B,B委托给C,任务本来是给A的,B和C生成的委托任务“原始委托人”都为A" }, { value: "sourceTrustorName", label: "原始委托人姓名", title: "比如:A委托给B,B委托给C,任务本来是给A的,B和C生成的委托任务“原始委托人”都为A" }, { value: "sourceTrustorId", label: "原始委托人ID", title: "比如:A委托给B,B委托给C,任务本来是给A的,B和C生成的委托任务“原始委托人”都为A" }, { value: "title", label: "环节标题" }, { value: "active", label: "任务状态" }, { value: "trustor", label: "直接委托人登录名", title: "比如:A委托给B,B委托给C,任务本来是给A的,C生成的委托任务“直接委托人”为B" }, { value: "trustorName", label: "直接委托人姓名", title: "比如:A委托给B,B委托给C,任务本来是给A的,C生成的委托任务“直接委托人”为B" }, { value: "trustorId", label: "直接委托人ID", title: "比如:A委托给B,B委托给C,任务本来是给A的,C生成的委托任务“直接委托人”为B" }, { value: "sourceAssigner", label: "原始指派人登录名", title: "记录最初是谁指派的任务" }, { value: "sourceAssignerName", label: "原始指派人姓名", title: "记录最初是谁指派的任务" }, { value: "sourceAssignerId", label: "原始指派人ID", title: "记录最初是谁指派的任务" }, { value: "assigner", label: "指派人登录名", title: "记录是谁指派的任务" }, { value: "assignerName", label: "指派人姓名", title: "记录是谁指派的任务" }, { value: "assignerId", label: "指派人ID", title: "记录是谁指派的任务" }, { value: "instanceCreator", label: "流程发起人登录名" }, { value: "instanceCreatorName", label: "流程发起人姓名" }, { value: "processCode", label: "流程编码" }, { value: "groupName", label: "流程名称" }, { value: "processingMode", label: "任务办理方式", title: "EDIT 编辑式,APPROVE 审批式,COUNTERSIGN 会签式,TYPE_SIGNOFF 签收式,VOTE投票式,TYPE_READ 阅" }, { value: "isMoreTransactor", label: "是否需要所有办理人均办理" }, { value: "isDeptTask", label: "是否是部门任务" }, { value: "isDrawTask", label: "是否是领取的任务" }, { value: "transactDate", label: "任务办理时间" }, { value: "deptTransactor", label: "部门任务时部门编码" }, { value: "deptTransactorName", label: "部门任务时部门名称" }, { value: "deptTransactorId", label: "部门任务时部门ID" }, { value: "businessData", label: "业务单据信息" }, { value: "previousTaskId", label: "上一环节任务ID" }];
|
|
2
2
|
function r(a2, l2) {
|
|
3
3
|
return a2 && a2.length > 0 ? e.filter((e2) => l2 && "params" == e2.value || a2.includes(e2.value)) : l2 ? e : e.filter((e2) => "params" != e2.value);
|
|
4
4
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./common-variable-bind.vue3.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const r = e(o, [["__scopeId", "data-v-
|
|
4
|
+
const r = e(o, [["__scopeId", "data-v-b16110ab"]]);
|
|
5
5
|
export {
|
|
6
6
|
r as default
|
|
7
7
|
};
|
|
@@ -131,7 +131,7 @@ const R = { key: 0 }, T = { style: { "margin-top": "10px", "font-size": "10px",
|
|
|
131
131
|
"0" != e4.symbolNum ? le.value = e4.value + e4.symbol + e4.symbolNum + e4.symbolUnit : le.value = e4.value;
|
|
132
132
|
} else le.value = e4.value;
|
|
133
133
|
H.value = "${" + ee.value + "." + le.value + "}", W("update:modelValue", H.value, e4.alias), de();
|
|
134
|
-
}(e3.row) }, { default: v(() => [...a2[9] || (a2[9] = [y(" 选择 ", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 }), d(z2, { label: "Date", prop: "label" }, { default: v((e3) => ["context" == ee.value && "range" == e3.row.type ? (r(), s("div", D, [d(u2, { size: "small", modelValue: e3.row.symbolNum, "onUpdate:modelValue": (l3) => e3.row.symbolNum = l3, placeholder: "", style: { width: "35px", "margin-left": "4px" } }, null, 8, ["modelValue", "onUpdate:modelValue"]), d(U2, { size: "small", style: { "margin-left": "4px", width: "50px" }, modelValue: e3.row.symbolUnit, "onUpdate:modelValue": (l3) => e3.row.symbolUnit = l3, placeholder: "" }, { default: v(() => [d(j2, { label: "天", value: "d" }), d(j2, { label: "周", value: "w" }), d(j2, { label: "月", value: "m" }), d(j2, { label: "年", value: "y" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"]), d(U2, { size: "small", style: { "margin-left": "4px", width: "50px" }, modelValue: e3.row.symbol, "onUpdate:modelValue": (l3) => e3.row.symbol = l3, placeholder: "" }, { default: v(() => [d(j2, { label: "前", value: "-" }), d(j2, { label: "后", value: "+" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])])) : h("", true), "data" == ee.value || "obj" == ee.value || "row" == ee.value ? (r(), s("span", { key: 1, title: e3.row.label + " " + e3.row.value }, p(e3.row.label + " " + e3.row.value), 9, P)) : (r(), s("span", { key: 2, title: e3.row.label }, p(e3.row.label), 9, B))]), _: 1 })]), _: 1 }, 8, ["height", "data"]), m("div", S, "总计:" + p(me.value.length), 1)]), _: 1 })) : (r(), i(V2, { key: 0, span: 16 }, { default: v(() => [d(M2, { description: "请选择类型", "image-size": 40 })]), _: 1 }))]), _: 1 }, 512)]), _: 1 }, 8, ["visible"]));
|
|
134
|
+
}(e3.row) }, { default: v(() => [...a2[9] || (a2[9] = [y(" 选择 ", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 }), d(z2, { label: "Date", prop: "label" }, { default: v((e3) => ["context" == ee.value && "range" == e3.row.type ? (r(), s("div", D, [d(u2, { size: "small", modelValue: e3.row.symbolNum, "onUpdate:modelValue": (l3) => e3.row.symbolNum = l3, placeholder: "", style: { width: "35px", "margin-left": "4px" } }, null, 8, ["modelValue", "onUpdate:modelValue"]), d(U2, { size: "small", style: { "margin-left": "4px", width: "50px" }, modelValue: e3.row.symbolUnit, "onUpdate:modelValue": (l3) => e3.row.symbolUnit = l3, placeholder: "" }, { default: v(() => [d(j2, { label: "天", value: "d" }), d(j2, { label: "周", value: "w" }), d(j2, { label: "月", value: "m" }), d(j2, { label: "年", value: "y" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"]), d(U2, { size: "small", style: { "margin-left": "4px", width: "50px" }, modelValue: e3.row.symbol, "onUpdate:modelValue": (l3) => e3.row.symbol = l3, placeholder: "" }, { default: v(() => [d(j2, { label: "前", value: "-" }), d(j2, { label: "后", value: "+" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])])) : h("", true), "data" == ee.value || "obj" == ee.value || "row" == ee.value || "task" == ee.value ? (r(), s("span", { key: 1, title: e3.row.label + " " + e3.row.value + (e3.row.title ? " 说明:" + e3.row.title : "") }, p(e3.row.label + " " + e3.row.value), 9, P)) : (r(), s("span", { key: 2, title: e3.row.label }, p(e3.row.label), 9, B))]), _: 1 })]), _: 1 }, 8, ["height", "data"]), m("div", S, "总计:" + p(me.value.length), 1)]), _: 1 })) : (r(), i(V2, { key: 0, span: 16 }, { default: v(() => [d(M2, { description: "请选择类型", "image-size": 40 })]), _: 1 }))]), _: 1 }, 512)]), _: 1 }, 8, ["visible"]));
|
|
135
135
|
};
|
|
136
136
|
} });
|
|
137
137
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from "./data-origin.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import o from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const r = o(e, [["__scopeId", "data-v-e95dace8"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
r as default
|
|
7
7
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, computed as l, resolveComponent as i, createBlock as
|
|
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
2
|
import O from "../../form/common/dataorigin-input-table.vue2.js";
|
|
3
3
|
import { Codemirror as _ } from "vue-codemirror";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
4
|
+
import C from "../../workflow/component/combination.vue.js";
|
|
5
|
+
import S from "./return-set-table.vue.js";
|
|
6
6
|
import k from "./column-config.vue.js";
|
|
7
7
|
import T from "../../common/common-select-table.vue.js";
|
|
8
8
|
import { Close as F, Search as D } from "@element-plus/icons";
|
|
@@ -13,110 +13,109 @@ import j from "../../common/state-button.vue.js";
|
|
|
13
13
|
import L from "../../form/common/data-origin-service-in.vue.js";
|
|
14
14
|
import x from "../../common/page-permission-select.vue.js";
|
|
15
15
|
import { queryServiceReturnFields as U } from "../../../../utils/page-service-util.js";
|
|
16
|
-
import { ElLoading as z
|
|
17
|
-
import { tableField as
|
|
18
|
-
const
|
|
16
|
+
import { ElLoading as z } from "element-plus";
|
|
17
|
+
import { tableField as M } from "../../../../../../stores/table-store.js";
|
|
18
|
+
const w = { style: { padding: "8px 0px 0px 0px" } }, G = ["onClick"], Q = { style: { float: "left" } }, q = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, B = { style: { float: "left" } }, R = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, $ = { style: { float: "left" } }, A = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, I = { style: { float: "left" } }, E = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, H = e({ __name: "data-origin", props: { configure: { type: Object, default: () => {
|
|
19
19
|
} }, remote: { type: Boolean, default: true }, pageDesign: { type: Object, default: () => {
|
|
20
|
-
} } },
|
|
21
|
-
const
|
|
22
|
-
|
|
23
|
-
const
|
|
24
|
-
function
|
|
25
|
-
|
|
20
|
+
} } }, setup(e2) {
|
|
21
|
+
const H2 = e2, J = M(), K = { tabSize: 4, lineNumbers: true, mode: "application/json", theme: "default", line: true, styleActiveLine: true, matchBrackets: true }, P = a(false), W = a(false), X = a(false), Y = a(null), Z = a(""), ee = a(false), ae = a(null), le = H2.configure.props.dataOrigin, ie = H2.pageDesign.pageType;
|
|
22
|
+
ie && "form" === ie && (ae.value = H2.pageDesign.modelFields);
|
|
23
|
+
const oe = a([]), te = l(() => oe.value.filter((e3) => "array" == e3.type || "any" == e3.type || !e3.type));
|
|
24
|
+
function ne(e3) {
|
|
25
|
+
H2.configure.props.dataOrigin.sqlFilterCondition = e3;
|
|
26
26
|
}
|
|
27
|
-
function
|
|
28
|
-
|
|
27
|
+
function re() {
|
|
28
|
+
ee.value = false;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
|
|
30
|
+
function se(e3) {
|
|
31
|
+
H2.configure.props.dataOrigin.defaultQueryCriteria = e3;
|
|
32
32
|
}
|
|
33
|
-
|
|
34
|
-
let
|
|
35
|
-
function
|
|
36
|
-
|
|
33
|
+
le.service || (le.service = {});
|
|
34
|
+
let ue = a([]), de = a(false), pe = a(null);
|
|
35
|
+
function ce({ columns: e3, modelFieldsMap: a2 }) {
|
|
36
|
+
_e();
|
|
37
37
|
const l2 = z.service({ lock: true, text: "Loading", background: "rgba(0, 0, 0, 0.7)" });
|
|
38
|
-
|
|
38
|
+
de.value && (H2.configure.tableSysCode = pe ? pe.value.systemCode : null, H2.configure.tableSysVersion = pe ? pe.value.systemVersion : null, H2.configure.props.dataOrigin.tableName = pe ? pe.value.name : null, H2.configure.props.dataOrigin.alias = pe ? pe.value.alias : null, H2.configure.modelFieldsMap = a2, H2.configure.modelFields = ue.value, de.value = false, pe.value = null, ue.value = []), h.$emit("reloadTable-" + H2.configure.uuid, e3), l2.close();
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
|
|
40
|
+
function ge() {
|
|
41
|
+
Y.value.openDialog();
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
|
|
43
|
+
function fe() {
|
|
44
|
+
H2.configure.props.dataOrigin.tableName = "", H2.configure.props.dataOrigin.alias = "", H2.configure.modelFields = [];
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
let a2 =
|
|
48
|
-
a2 += "_", a2 +=
|
|
46
|
+
function me(e3) {
|
|
47
|
+
let a2 = H2.configure.tableSysCode ? H2.configure.tableSysCode : "";
|
|
48
|
+
a2 += "_", a2 += H2.configure.tableSysVersion ? H2.configure.tableSysVersion : "", a2 += "_", a2 += H2.configure.props.dataOrigin.tableName ? H2.configure.props.dataOrigin.tableName : "";
|
|
49
49
|
let l2 = e3.systemCode ? e3.systemCode : "";
|
|
50
|
-
if (l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "",
|
|
50
|
+
if (l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 !== a2) {
|
|
51
51
|
const a3 = z.service({ lock: true, text: "Loading", background: "rgba(0, 0, 0, 0.7)" });
|
|
52
|
-
|
|
53
|
-
const l3 = e3.systemCode ? e3.systemCode :
|
|
52
|
+
pe.value = e3;
|
|
53
|
+
const l3 = e3.systemCode ? e3.systemCode : H2.pageDesign.systemCode, i2 = e3.systemVersion ? e3.systemVersion : H2.pageDesign.version;
|
|
54
54
|
N(l3, i2, e3.name).then((e4) => {
|
|
55
|
-
|
|
55
|
+
de.value = true, ue.value = e4, J.addFieldList(e4), P.value = true, a3.close();
|
|
56
56
|
});
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
|
|
61
|
-
const e4 =
|
|
62
|
-
if (
|
|
63
|
-
if (
|
|
64
|
-
U(
|
|
65
|
-
|
|
66
|
-
if (!
|
|
59
|
+
function ve(e3, a2, l2, i2) {
|
|
60
|
+
le.service.id, le.service.simpleCode = a2, le.service.id = i2, le.service.name = l2, function() {
|
|
61
|
+
const e4 = le.service.id;
|
|
62
|
+
if (ye == e4) return;
|
|
63
|
+
if (ye = e4, !e4) return H2.configure.serviceFields = [], oe.value = [], void (H2.configure.serviceDataField = null);
|
|
64
|
+
U(le.service.simpleCode).then((e5) => {
|
|
65
|
+
H2.configure.serviceFields = e5, oe.value = e5, function() {
|
|
66
|
+
if (!H2.configure.serviceDataField) return;
|
|
67
67
|
let e6 = false;
|
|
68
|
-
if (
|
|
69
|
-
for (let a3 of
|
|
68
|
+
if (oe.value) {
|
|
69
|
+
for (let a3 of oe.value) if (a3.value == H2.configure.serviceDataField) {
|
|
70
70
|
e6 = true;
|
|
71
71
|
break;
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
e6 || (
|
|
74
|
+
e6 || (H2.configure.serviceDataField = null);
|
|
75
75
|
}();
|
|
76
76
|
});
|
|
77
77
|
}();
|
|
78
78
|
}
|
|
79
79
|
!function() {
|
|
80
|
-
const e3 =
|
|
80
|
+
const e3 = H2.pageDesign.systemCode, a2 = H2.pageDesign.systemVersion, l2 = { name: H2.configure.props.dataOrigin.tableName };
|
|
81
81
|
N(e3, a2, l2.name).then((e4) => {
|
|
82
|
-
|
|
82
|
+
ue.value = e4, J.addFieldList(e4);
|
|
83
83
|
});
|
|
84
84
|
}();
|
|
85
|
-
let
|
|
86
|
-
function
|
|
87
|
-
|
|
85
|
+
let ye = null;
|
|
86
|
+
function be(e3) {
|
|
87
|
+
H2.configure.props.dataOrigin.returnSetList = e3, Ve();
|
|
88
88
|
}
|
|
89
|
-
function
|
|
90
|
-
|
|
89
|
+
function Ve() {
|
|
90
|
+
X.value = false;
|
|
91
91
|
}
|
|
92
|
-
function
|
|
93
|
-
|
|
92
|
+
function Oe(e3) {
|
|
93
|
+
H2.configure.props.dataOrigin.returnSetList = H2.configure.props.dataOrigin.returnSetList.filter((a2) => a2 != e3);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
96
|
-
|
|
95
|
+
function _e() {
|
|
96
|
+
P.value = false;
|
|
97
97
|
}
|
|
98
|
-
function
|
|
99
|
-
|
|
98
|
+
function Ce() {
|
|
99
|
+
W.value = false;
|
|
100
100
|
}
|
|
101
|
-
function
|
|
102
|
-
|
|
103
|
-
((_a = P.configure.props.dataOrigin.sortField) == null ? void 0 : _a.length) >= 6 ? M.warning("最多添加6个排序字段") : (P.configure.props.dataOrigin.sortField.push({ name: "", type: "" }), le.value = "");
|
|
101
|
+
function Se() {
|
|
102
|
+
H2.configure.props.dataOrigin.sortField.push({ name: "", type: "" }), Z.value = "";
|
|
104
103
|
}
|
|
105
|
-
function
|
|
106
|
-
|
|
104
|
+
function ke() {
|
|
105
|
+
H2.configure.props.dataOrigin.sortField.splice(Z, 1);
|
|
107
106
|
}
|
|
108
107
|
return (a2, l2) => {
|
|
109
|
-
const h2 = i("el-radio"), U2 = i("el-radio-group"), z2 = i("el-form-item"), M2 = i("el-button"),
|
|
110
|
-
return
|
|
111
|
-
const e4 =
|
|
108
|
+
const h2 = i("el-radio"), U2 = i("el-radio-group"), z2 = i("el-form-item"), M2 = i("el-button"), J2 = i("el-input"), ie2 = i("el-option"), oe2 = i("el-select"), pe2 = i("el-collapse-item");
|
|
109
|
+
return t(), o(pe2, { title: "数据", name: "dataOrigin", class: "amb-design-attr-group-header" }, { default: n(() => [r("div", w, [s(z2, { label: "初始化查询", class: "amb-design-attr-item" }, { default: n(() => [s(U2, { modelValue: e2.configure.props.dataOrigin.initializationQuery, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.props.dataOrigin.initializationQuery = a3), class: "ml-4" }, { default: n(() => [s(h2, { value: true }, { default: n(() => [...l2[17] || (l2[17] = [c("是", -1)])]), _: 1 }), s(h2, { value: false }, { default: n(() => [...l2[18] || (l2[18] = [c("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(z2, { label: "数据来源", class: "amb-design-attr-item" }, { default: n(() => [s(U2, { modelValue: e2.configure.props.dataOrigin.optionValueSetType, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.props.dataOrigin.optionValueSetType = a3) }, { default: n(() => [s(h2, { value: "dataTable" }, { default: n(() => [...l2[19] || (l2[19] = [c("数据表/视图", -1)])]), _: 1 }), s(h2, { value: "service" }, { default: n(() => [...l2[20] || (l2[20] = [c("服务", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "static" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(g(_), { key: 0, modelValue: e2.configure.props.dataOrigin.json, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.props.dataOrigin.json = a3), options: K, style: { "margin-bottom": "8px" }, placeholder: "请输入" }, null, 8, ["modelValue"])) : u("", true), d(s(z2, { label: "选项组名", class: "amb-design-attr-item" }, { default: n(() => [s(O, { modelValue: e2.configure.props.dataOrigin.optionGroup, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.dataOrigin.optionGroup = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "optionGroup" === e2.configure.props.dataOrigin.optionValueSetType]]), d(s(z2, { label: "选项值绑定", class: "amb-design-attr-item" }, { default: n(() => [s(O, { modelValue: e2.configure.props.dataOrigin.optionValue, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.dataOrigin.optionValue = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "optionGroup" === e2.configure.props.dataOrigin.optionValueSetType]]), d(s(z2, { label: "选项名绑定", class: "amb-design-attr-item" }, { default: n(() => [s(O, { modelValue: e2.configure.props.dataOrigin.optionName, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.dataOrigin.optionName = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "optionGroup" === e2.configure.props.dataOrigin.optionValueSetType]]), d(s(z2, { label: "数据表视图", class: "amb-design-attr-item" }, { default: n(() => [s(J2, { modelValue: e2.configure.props.dataOrigin.tableName, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.dataOrigin.tableName = a3), title: e2.configure.props.dataOrigin.tableName, onClick: ge, clearable: "", readonly: "true" }, { prepend: n(() => [s(M2, { type: "default", icon: g(D), onClick: ge, size: "small" }, null, 8, ["icon"])]), append: n(() => [s(M2, { type: "default", icon: g(F), onClick: fe, title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }, 512), [[f, "dataTable" === e2.configure.props.dataOrigin.optionValueSetType]]), "dataTable" === e2.configure.props.dataOrigin.optionValueSetType && e2.configure.props.dataOrigin.tableName ? (t(), o(z2, { key: 1, label: "快捷设置", class: "amb-design-attr-item" }, { default: n(() => [s(M2, { type: "primary", onClick: l2[7] || (l2[7] = (e3) => function() {
|
|
110
|
+
const e4 = H2.configure.tableSysCode ? H2.configure.tableSysCode : H2.pageDesign.systemCode, a3 = H2.configure.tableSysVersion ? H2.configure.tableSysVersion : H2.pageDesign.systemVersion, l3 = H2.configure.props.dataOrigin.tableName;
|
|
112
111
|
N(e4, a3, l3).then((e5) => {
|
|
113
|
-
|
|
112
|
+
ue.value = e5, P.value = true;
|
|
114
113
|
});
|
|
115
|
-
}()) }, { default: n(() => [...l2[21] || (l2[21] = [c("编辑", -1)])]), _: 1 })]), _: 1 })) : u("", true), "dataTable" === e2.configure.props.dataOrigin.optionValueSetType ? (
|
|
116
|
-
|
|
117
|
-
}(l3), style: { "margin-top": "10px" }, class:
|
|
114
|
+
}()) }, { default: n(() => [...l2[21] || (l2[21] = [c("编辑", -1)])]), _: 1 })]), _: 1 })) : u("", true), "dataTable" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 2, label: "编辑排序", class: "amb-design-attr-item" }, { default: n(() => [s(M2, { type: "primary", onClick: Se }, { default: n(() => [...l2[22] || (l2[22] = [c("添加", -1)])]), _: 1 }), s(M2, { type: "default", onClick: ke }, { default: n(() => [...l2[23] || (l2[23] = [c("删除", -1)])]), _: 1 }), (t(true), m(v, null, y(e2.configure.props.dataOrigin.sortField, (a3, l3) => (t(), m("div", { key: l3, onClick: (e3) => function(e4) {
|
|
115
|
+
Z.value = e4;
|
|
116
|
+
}(l3), style: { "margin-top": "10px" }, class: b(Z.value === l3 ? "amb-design-attr-item-inline seleteSort" : "amb-design-attr-item-inline") }, [s(oe2, { modelValue: a3.name, "onUpdate:modelValue": (e3) => a3.name = e3, placeholder: "请选择" }, { default: n(() => [(t(true), m(v, null, y(e2.configure.modelFields, (e3, a4) => (t(), o(ie2, { key: a4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"]), s(oe2, { modelValue: a3.type, "onUpdate:modelValue": (e3) => a3.type = e3, style: { "margin-left": "10px" }, placeholder: "请选择" }, { default: n(() => [s(ie2, { label: "升序", value: "asc" }), s(ie2, { label: "降序", value: "desc" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])], 10, G))), 128))]), _: 1 })) : u("", true), d(s(z2, { label: "服务名", class: "amb-design-attr-item" }, { default: n(() => [s(x, { pageDesign: e2.pageDesign, rowObj: g(le).service, onlyService: "", "onUpdate:modelValue": l2[8] || (l2[8] = (e3, a3, l3, i2) => ve(0, a3, l3, i2)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }, 512), [[f, "service" === e2.configure.props.dataOrigin.optionValueSetType]]), "service" === e2.configure.props.dataOrigin.optionValueSetType && e2.configure.props.dataOrigin.serveName ? (t(), o(z2, { key: 3, label: "快捷设置", class: "amb-design-attr-item" }, { default: n(() => [s(M2, { type: "primary", onClick: l2[9] || (l2[9] = (e3) => P.value = true) }, { default: n(() => [...l2[24] || (l2[24] = [c("编辑", -1)])]), _: 1 })]), _: 1 })) : u("", true), d(s(z2, { label: "模糊查询", class: "amb-design-attr-item" }, { default: n(() => [s(U2, { modelValue: e2.configure.props.dataOrigin.remote, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.dataOrigin.remote = a3), class: "ml-4" }, { default: n(() => [s(h2, { value: false }, { default: n(() => [...l2[25] || (l2[25] = [c("否", -1)])]), _: 1 }), s(h2, { value: true }, { default: n(() => [...l2[26] || (l2[26] = [c("是", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[f, e2.remote && ("dataTable" === e2.configure.props.dataOrigin.optionValueSetType || "service" === e2.configure.props.dataOrigin.optionValueSetType)]]), "service" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 4, label: "datas", class: "amb-design-attr-item" }, { default: n(() => [s(oe2, { modelValue: e2.configure.props.dataOrigin.service.datas, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.dataOrigin.service.datas = a3), filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(t(true), m(v, null, y(te.value, (e3, a3) => (t(), o(ie2, { key: a3, label: e3.label, value: e3.value }, { default: n(() => [r("span", Q, V(e3.label), 1), r("span", q, V(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : u("", true), "service" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 5, label: "总页数", class: "amb-design-attr-item" }, { default: n(() => [s(oe2, { modelValue: e2.configure.props.dataOrigin.service.pageCount, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.dataOrigin.service.pageCount = a3), filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(t(true), m(v, null, y(te.value, (e3, a3) => (t(), o(ie2, { key: a3, label: e3.label, value: e3.value }, { default: n(() => [r("span", B, V(e3.label), 1), r("span", R, V(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : u("", true), "service" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 6, label: "总条数", class: "amb-design-attr-item" }, { default: n(() => [s(oe2, { modelValue: e2.configure.props.dataOrigin.service.total, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.dataOrigin.service.total = a3), filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(t(true), m(v, null, y(te.value, (e3, a3) => (t(), o(ie2, { key: a3, label: e3.label, value: e3.value }, { default: n(() => [r("span", $, V(e3.label), 1), r("span", A, V(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : u("", true), "service" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 7, label: "页码", class: "amb-design-attr-item" }, { default: n(() => [s(oe2, { modelValue: e2.configure.props.dataOrigin.service.pager, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.dataOrigin.service.pager = a3), filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(t(true), m(v, null, y(te.value, (e3, a3) => (t(), o(ie2, { key: a3, label: e3.label, value: e3.value }, { default: n(() => [r("span", I, V(e3.label), 1), r("span", E, V(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : u("", true), "dataTable" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 8, label: "查询条件", class: "amb-design-attr-item" }, { default: n(() => [s(j, { onClick: l2[15] || (l2[15] = (e3) => ee.value = true), conditionData: e2.configure.props.dataOrigin.defaultQueryCriteria }, null, 8, ["conditionData"])]), _: 1 })) : u("", true), "dataTable" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 9, label: "过滤条件", class: "amb-design-attr-item" }, { default: n(() => [s(j, { onClick: l2[16] || (l2[16] = (e3) => W.value = true), conditionData: e2.configure.props.dataOrigin.sqlFilterCondition }, null, 8, ["conditionData"])]), _: 1 })) : u("", true), p(a2.$slots, "bottom", { row: e2.configure.props.dataOrigin }, void 0, true), d(s(L, { ref: "dataOriginServiceInRef", dataOrigin: g(le) }, null, 8, ["dataOrigin"]), [[f, "service" == e2.configure.props.dataOrigin.optionValueSetType]])]), s(T, { ref_key: "selectTableDialog", ref: Y, onSelectTable: me, systemCode: e2.pageDesign.systemCode, systemVersion: e2.pageDesign.systemVersion }, null, 8, ["systemCode", "systemVersion"]), X.value ? (t(), o(S, { key: 0, returnSetList: e2.configure.props.dataOrigin.returnSetList, onSave: be, onClose: Ve, onRemove: Oe }, null, 8, ["returnSetList"])) : u("", true), W.value ? (t(), o(C, { key: 1, list: e2.configure.props.dataOrigin.sqlFilterCondition, fieldNameList: e2.configure.modelFields, fieldMap: e2.configure.modelFieldsMap, dataFieldNameList: ae.value, onSave: ne, onClose: Ce }, null, 8, ["list", "fieldNameList", "fieldMap", "dataFieldNameList"])) : u("", true), ee.value ? (t(), o(C, { key: 2, list: e2.configure.props.dataOrigin.defaultQueryCriteria, fieldNameList: e2.configure.modelFields, fieldMap: e2.configure.modelFieldsMap, dataFieldNameList: ae.value, onClose: re, onSave: se }, null, 8, ["list", "fieldNameList", "fieldMap", "dataFieldNameList"])) : u("", true), P.value ? (t(), o(k, { key: 3, configure: e2.configure, modelFields: g(ue), pageDesign: e2.pageDesign, isChangeTable: g(de), onSetConfigure: ce, onClose: _e }, null, 8, ["configure", "modelFields", "pageDesign", "isChangeTable"])) : u("", true)]), _: 3 });
|
|
118
117
|
};
|
|
119
118
|
} });
|
|
120
119
|
export {
|
|
121
|
-
|
|
120
|
+
H as default
|
|
122
121
|
};
|
|
@@ -13,50 +13,47 @@ import "../../../../../../stores/statistics-table-store.js";
|
|
|
13
13
|
import "../../../../utils/eventBus.js";
|
|
14
14
|
import U from "../../common/common-function-code.vue.js";
|
|
15
15
|
import y from "../../chart/statistical-table/component/table-showcondition.vue.js";
|
|
16
|
-
const w = { style: { padding: "8px 0px 0px 0px" } }, C = { style: { padding: "8px 0px 0px 0px" } },
|
|
17
|
-
const
|
|
18
|
-
function T(e3) {
|
|
19
|
-
z2.configure.props.base.showOperationCondition = e3.data;
|
|
20
|
-
}
|
|
16
|
+
const w = { style: { padding: "8px 0px 0px 0px" } }, C = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8px 0px 0px 0px" } }, D = { style: { padding: "8px 0px 0px 0px" } }, E = { style: { padding: "8px 0px 0px 0px" } }, S = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, j = e({ __name: "table-attr-base", props: { pageDesign: { type: Object, default: () => ({ props: {} }) }, configure: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
|
|
17
|
+
const j2 = e2, O = a(["base", "appearance", "querySetting", "editSetting", "columnSetting", "paging", "dataOrigin", "linkage", "attrSize"]);
|
|
21
18
|
function P(e3) {
|
|
22
|
-
|
|
19
|
+
j2.configure.props.base.showOperationCondition = e3.data;
|
|
23
20
|
}
|
|
24
|
-
function
|
|
25
|
-
|
|
21
|
+
function T(e3) {
|
|
22
|
+
j2.configure.props.base.showAddBtnCondition = e3.data;
|
|
26
23
|
}
|
|
27
|
-
function
|
|
28
|
-
|
|
24
|
+
function B(e3) {
|
|
25
|
+
j2.configure.props.base.showDeleteBtnCondition = e3.data;
|
|
29
26
|
}
|
|
30
|
-
return
|
|
27
|
+
return j2.configure.verification || (j2.configure.verification = {}), void 0 !== j2.configure.props.base.isDragColumn && null !== j2.configure.props.base.isDragColumn || (j2.configure.props.base.isDragColumn = true), l(() => j2.configure.props.base.selection, (e3) => {
|
|
31
28
|
if (e3) {
|
|
32
29
|
let e4 = c();
|
|
33
|
-
|
|
34
|
-
} else "$selection" ===
|
|
35
|
-
}), l(() =>
|
|
30
|
+
j2.configure.items.splice(0, 0, e4);
|
|
31
|
+
} else "$selection" === j2.configure.items[0].props.base.prop && j2.configure.items.splice(0, 1);
|
|
32
|
+
}), l(() => j2.configure.props.base.showIndex, (e3) => {
|
|
36
33
|
if (e3) {
|
|
37
34
|
let e4 = b();
|
|
38
|
-
"$selection" ===
|
|
35
|
+
"$selection" === j2.configure.items[0].props.base.prop ? j2.configure.items.splice(1, 0, e4) : j2.configure.items.splice(0, 0, e4);
|
|
39
36
|
} else {
|
|
40
37
|
let e4 = null;
|
|
41
|
-
|
|
38
|
+
j2.configure.items.forEach((a2, l2) => {
|
|
42
39
|
"$index" === a2.props.base.prop && (e4 = l2);
|
|
43
|
-
}), null != e4 &&
|
|
40
|
+
}), null != e4 && j2.configure.items.splice(e4, 1);
|
|
44
41
|
}
|
|
45
|
-
}), l(() =>
|
|
42
|
+
}), l(() => j2.configure.props.base.showOperation, (e3) => {
|
|
46
43
|
if (e3) {
|
|
47
44
|
let e4 = V();
|
|
48
|
-
|
|
45
|
+
j2.configure.items.push(e4);
|
|
49
46
|
} else {
|
|
50
47
|
let e4 = null;
|
|
51
|
-
|
|
48
|
+
j2.configure.items.forEach((a2, l2) => {
|
|
52
49
|
"operation" === a2.props.base.prop && (e4 = l2);
|
|
53
|
-
}), null != e4 &&
|
|
50
|
+
}), null != e4 && j2.configure.items.splice(e4, 1);
|
|
54
51
|
}
|
|
55
52
|
}), (a2, l2) => {
|
|
56
|
-
const c2 = t("el-option"), b2 = t("el-select"), V2 = t("el-form-item"),
|
|
57
|
-
return u(), o($, { "label-width": "80px", size: "small" }, { default: s(() => [i(N, { modelValue: j.value, "onUpdate:modelValue": l2[44] || (l2[44] = (e3) => j.value = e3), style: { "margin-top": "6px" } }, { default: s(() => [i(I, { 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(z3, { 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(z3, { 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(z3, { 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(z3, { 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(z3, { 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(q, { 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(L, { value: "default" }, { default: s(() => [...l2[45] || (l2[45] = [f("普通", -1)])]), _: 1 }), i(L, { value: "hidden" }, { default: s(() => [...l2[46] || (l2[46] = [f("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(v, { title: "数据", pageDesign: e2.pageDesign, configure: e2.configure, remote: false, onTableSelected: H }, { 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))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)]), _: 1 }, 8, ["pageDesign", "configure"]), i(I, { 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(q, { 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(L, { value: true }, { default: s(() => [...l2[47] || (l2[47] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[48] || (l2[48] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "支持多选", class: "amb-design-attr-item" }, { default: s(() => [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: s(() => [i(L, { value: true }, { default: s(() => [...l2[49] || (l2[49] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[50] || (l2[50] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "显示序号", class: "amb-design-attr-item" }, { default: s(() => [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: s(() => [i(L, { value: true }, { default: s(() => [...l2[51] || (l2[51] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[52] || (l2[52] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.showIndex ? (u(), o(V2, { key: 0, label: "序号连续", class: "amb-design-attr-item" }, { default: s(() => [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: s(() => [i(L, { value: true }, { default: s(() => [...l2[53] || (l2[53] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[54] || (l2[54] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), i(V2, { label: "显示操作列", class: "amb-design-attr-item" }, { default: s(() => [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: s(() => [i(L, { value: true }, { default: s(() => [...l2[55] || (l2[55] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[56] || (l2[56] = [f("否", -1)])]), _: 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": T }, 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": P }, 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": B }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), i(V2, { label: "显示效果", class: "amb-design-attr-item" }, { default: s(() => [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: s(() => [i(L, { value: "default" }, { default: s(() => [...l2[57] || (l2[57] = [f("默认", -1)])]), _: 1 }), i(L, { value: "covered" }, { default: s(() => [...l2[58] || (l2[58] = [f("铺满", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "显示表头", class: "amb-design-attr-item" }, { default: s(() => [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: s(() => [i(L, { value: true }, { default: s(() => [...l2[59] || (l2[59] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[60] || (l2[60] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: s(() => [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: s(() => [i(L, { value: "left" }, { default: s(() => [...l2[61] || (l2[61] = [f("居左", -1)])]), _: 1 }), i(L, { value: "center" }, { default: s(() => [...l2[62] || (l2[62] = [f("居中", -1)])]), _: 1 }), i(L, { value: "right" }, { default: s(() => [...l2[63] || (l2[63] = [f("居右", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "内容对齐", class: "amb-design-attr-item" }, { default: s(() => [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: s(() => [i(L, { value: "left" }, { default: s(() => [...l2[64] || (l2[64] = [f("居左", -1)])]), _: 1 }), i(L, { value: "center" }, { default: s(() => [...l2[65] || (l2[65] = [f("居中", -1)])]), _: 1 }), i(L, { value: "right" }, { default: s(() => [...l2[66] || (l2[66] = [f("居右", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "文本溢出", class: "amb-design-attr-item" }, { default: s(() => [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: s(() => [i(L, { value: "hidden" }, { default: s(() => [...l2[67] || (l2[67] = [f("隐藏", -1)])]), _: 1 }), i(L, { value: "newline" }, { default: s(() => [...l2[68] || (l2[68] = [f("换行", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "锁住表头", class: "amb-design-attr-item" }, { default: s(() => [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: s(() => [i(L, { value: true }, { default: s(() => [...l2[69] || (l2[69] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[70] || (l2[70] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "锁住底部", class: "amb-design-attr-item" }, { default: s(() => [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: s(() => [i(L, { value: true }, { default: s(() => [...l2[71] || (l2[71] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[72] || (l2[72] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "纵向边框", class: "amb-design-attr-item" }, { default: s(() => [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: s(() => [i(L, { value: true }, { default: s(() => [...l2[73] || (l2[73] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[74] || (l2[74] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "带斑马纹", class: "amb-design-attr-item" }, { default: s(() => [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: s(() => [i(L, { value: true }, { default: s(() => [...l2[75] || (l2[75] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[76] || (l2[76] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "列宽自撑开", class: "amb-design-attr-item" }, { default: s(() => [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: s(() => [i(L, { value: true }, { default: s(() => [...l2[77] || (l2[77] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[78] || (l2[78] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "高亮当前行", class: "amb-design-attr-item" }, { default: s(() => [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: s(() => [i(L, { value: true }, { default: s(() => [...l2[79] || (l2[79] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[80] || (l2[80] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "悬停tooltip", class: "amb-design-attr-item" }, { default: s(() => [i(q, { modelValue: e2.configure.props.otherSettings.showOverflowTooltip, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.otherSettings.showOverflowTooltip = a3), class: "ml-4" }, { default: s(() => [i(L, { value: true }, { default: s(() => [...l2[81] || (l2[81] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[82] || (l2[82] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "启用回车", class: "amb-design-attr-item" }, { default: s(() => [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: s(() => [i(L, { value: true }, { default: s(() => [...l2[83] || (l2[83] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[84] || (l2[84] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "可自定义", class: "amb-design-attr-item" }, { default: s(() => [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: s(() => [i(L, { value: true }, { default: s(() => [...l2[85] || (l2[85] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[86] || (l2[86] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "空数据文本", class: "amb-design-attr-item" }, { default: s(() => [i(z3, { 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(q, { 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(L, { value: "no" }, { default: s(() => [...l2[87] || (l2[87] = [f("不合计", -1)])]), _: 1 }), i(L, { value: "current" }, { default: s(() => [...l2[88] || (l2[88] = [f("当前页", -1)])]), _: 1 }), i(L, { value: "all" }, { default: s(() => [...l2[89] || (l2[89] = [f("所有页", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "字段配置", class: "amb-design-attr-item" }, { default: s(() => [i(R, { 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(I, { title: "查询设置", name: "querySetting", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", D, [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(I, { title: "行设置", name: "editSetting", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", k, [i(V2, { label: "启用编辑", class: "amb-design-attr-item" }, { default: s(() => [i(R, { 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 }), e2.pageDesign.pageType && "form" === e2.pageDesign.pageType ? (u(), o(V2, { key: 0, label: "所有行默认编辑", class: "amb-design-attr-item" }, { default: s(() => [i(R, { modelValue: e2.configure.props.base.allEditable, "onUpdate:modelValue": l2[33] || (l2[33] = (a3) => e2.configure.props.base.allEditable = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), i(V2, { label: "单元格编辑", class: "amb-design-attr-item" }, { default: s(() => [i(R, { modelValue: e2.configure.props.base.columnEditable, "onUpdate:modelValue": l2[34] || (l2[34] = (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(R, { modelValue: e2.configure.props.base.showRowForm, "onUpdate:modelValue": l2[35] || (l2[35] = (a3) => e2.configure.props.base.showRowForm = a3), "active-text": "展开", "inactive-text": "不展开" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(I, { title: "列设置", name: "columnSetting", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", E, [i(V2, { label: "是否可以拖拽列", class: "amb-design-attr-item-linefeed-two" }, { default: s(() => [i(R, { modelValue: e2.configure.props.base.isDragColumn, "onUpdate:modelValue": l2[36] || (l2[36] = (a3) => e2.configure.props.base.isDragColumn = a3), "active-text": "是", "inactive-text": "否" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(I, { title: "分页设置", name: "paging", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", S, [i(V2, { label: "支持分页", class: "amb-design-attr-item" }, { default: s(() => [i(q, { modelValue: e2.configure.props.base.subPaging, "onUpdate:modelValue": l2[37] || (l2[37] = (a3) => e2.configure.props.base.subPaging = a3) }, { default: s(() => [i(L, { value: true }, { default: s(() => [...l2[90] || (l2[90] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[91] || (l2[91] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.subPaging ? (u(), o(V2, { key: 0, label: "默认行数", class: "amb-design-attr-item" }, { default: s(() => [i(z3, { modelValue: e2.configure.props.base.pageSize, "onUpdate:modelValue": l2[38] || (l2[38] = (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(z3, { modelValue: e2.configure.props.base.pageSizes, "onUpdate:modelValue": l2[39] || (l2[39] = (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(M, { modelValue: e2.configure.props.base.layout, "onUpdate:modelValue": l2[40] || (l2[40] = (a3) => e2.configure.props.base.layout = a3) }, { default: s(() => [i(F, { label: "总条数", value: "total" }), i(F, { label: "每页大小选项列表", value: "sizes" }), i(F, { label: "上一页", value: "prev" }), i(F, { label: "跳转页码", value: "pager" }), i(F, { label: "下一页", value: "next" }), i(F, { 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(z3, { modelValue: e2.configure.props.base.pageCount, "onUpdate:modelValue": l2[41] || (l2[41] = (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(z3, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[42] || (l2[42] = (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(I, { title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", O, [e2.pageDesign.props.activeWorkflow ? g("", true) : (u(), o(V2, { key: 0, class: "amb-design-attr-item", "label-width": "0" }, { default: s(() => [i(F, { modelValue: e2.configure.verification.notEmpty, "onUpdate:modelValue": l2[43] || (l2[43] = (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"), L = 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[44] || (l2[44] = (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(L, { value: "default" }, { default: s(() => [...l2[45] || (l2[45] = [f("普通", -1)])]), _: 1 }), i(L, { value: "hidden" }, { default: s(() => [...l2[46] || (l2[46] = [f("隐藏", -1)])]), _: 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))]), _: 1 }, 8, ["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(L, { value: true }, { default: s(() => [...l2[47] || (l2[47] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[48] || (l2[48] = [f("否", -1)])]), _: 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(L, { value: true }, { default: s(() => [...l2[49] || (l2[49] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[50] || (l2[50] = [f("否", -1)])]), _: 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(L, { value: true }, { default: s(() => [...l2[51] || (l2[51] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[52] || (l2[52] = [f("否", -1)])]), _: 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(L, { value: true }, { default: s(() => [...l2[53] || (l2[53] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[54] || (l2[54] = [f("否", -1)])]), _: 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(L, { value: true }, { default: s(() => [...l2[55] || (l2[55] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[56] || (l2[56] = [f("否", -1)])]), _: 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": T }, 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": B }, 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(L, { value: "default" }, { default: s(() => [...l2[57] || (l2[57] = [f("默认", -1)])]), _: 1 }), i(L, { value: "covered" }, { default: s(() => [...l2[58] || (l2[58] = [f("铺满", -1)])]), _: 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(L, { value: true }, { default: s(() => [...l2[59] || (l2[59] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[60] || (l2[60] = [f("否", -1)])]), _: 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(L, { value: "left" }, { default: s(() => [...l2[61] || (l2[61] = [f("居左", -1)])]), _: 1 }), i(L, { value: "center" }, { default: s(() => [...l2[62] || (l2[62] = [f("居中", -1)])]), _: 1 }), i(L, { value: "right" }, { default: s(() => [...l2[63] || (l2[63] = [f("居右", -1)])]), _: 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(L, { value: "left" }, { default: s(() => [...l2[64] || (l2[64] = [f("居左", -1)])]), _: 1 }), i(L, { value: "center" }, { default: s(() => [...l2[65] || (l2[65] = [f("居中", -1)])]), _: 1 }), i(L, { value: "right" }, { default: s(() => [...l2[66] || (l2[66] = [f("居右", -1)])]), _: 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(L, { value: "hidden" }, { default: s(() => [...l2[67] || (l2[67] = [f("隐藏", -1)])]), _: 1 }), i(L, { value: "newline" }, { default: s(() => [...l2[68] || (l2[68] = [f("换行", -1)])]), _: 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(L, { value: true }, { default: s(() => [...l2[69] || (l2[69] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[70] || (l2[70] = [f("否", -1)])]), _: 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(L, { value: true }, { default: s(() => [...l2[71] || (l2[71] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[72] || (l2[72] = [f("否", -1)])]), _: 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(L, { value: true }, { default: s(() => [...l2[73] || (l2[73] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[74] || (l2[74] = [f("否", -1)])]), _: 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(L, { value: true }, { default: s(() => [...l2[75] || (l2[75] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[76] || (l2[76] = [f("否", -1)])]), _: 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(L, { value: true }, { default: s(() => [...l2[77] || (l2[77] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[78] || (l2[78] = [f("否", -1)])]), _: 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(L, { value: true }, { default: s(() => [...l2[79] || (l2[79] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[80] || (l2[80] = [f("否", -1)])]), _: 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(L, { value: true }, { default: s(() => [...l2[81] || (l2[81] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[82] || (l2[82] = [f("否", -1)])]), _: 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(L, { value: true }, { default: s(() => [...l2[83] || (l2[83] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[84] || (l2[84] = [f("否", -1)])]), _: 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(L, { value: true }, { default: s(() => [...l2[85] || (l2[85] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[86] || (l2[86] = [f("否", -1)])]), _: 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(L, { value: "no" }, { default: s(() => [...l2[87] || (l2[87] = [f("不合计", -1)])]), _: 1 }), i(L, { value: "current" }, { default: s(() => [...l2[88] || (l2[88] = [f("当前页", -1)])]), _: 1 }), i(L, { value: "all" }, { default: s(() => [...l2[89] || (l2[89] = [f("所有页", -1)])]), _: 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 }), e2.pageDesign.pageType && "form" === e2.pageDesign.pageType ? (u(), o(V2, { key: 0, label: "所有行默认编辑", class: "amb-design-attr-item" }, { default: s(() => [i(I, { modelValue: e2.configure.props.base.allEditable, "onUpdate:modelValue": l2[33] || (l2[33] = (a3) => e2.configure.props.base.allEditable = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), i(V2, { label: "单元格编辑", class: "amb-design-attr-item" }, { default: s(() => [i(I, { modelValue: e2.configure.props.base.columnEditable, "onUpdate:modelValue": l2[34] || (l2[34] = (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[35] || (l2[35] = (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", E, [i(V2, { label: "是否可以拖拽列", class: "amb-design-attr-item-linefeed-two" }, { default: s(() => [i(I, { modelValue: e2.configure.props.base.isDragColumn, "onUpdate:modelValue": l2[36] || (l2[36] = (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", S, [i(V2, { label: "支持分页", class: "amb-design-attr-item" }, { default: s(() => [i(H, { modelValue: e2.configure.props.base.subPaging, "onUpdate:modelValue": l2[37] || (l2[37] = (a3) => e2.configure.props.base.subPaging = a3) }, { default: s(() => [i(L, { value: true }, { default: s(() => [...l2[90] || (l2[90] = [f("是", -1)])]), _: 1 }), i(L, { value: false }, { default: s(() => [...l2[91] || (l2[91] = [f("否", -1)])]), _: 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[38] || (l2[38] = (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[39] || (l2[39] = (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[40] || (l2[40] = (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[41] || (l2[41] = (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[42] || (l2[42] = (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", z, [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[43] || (l2[43] = (a3) => e2.configure.verification.notEmpty = a3), label: "子表不能为空" }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
58
55
|
};
|
|
59
56
|
} });
|
|
60
57
|
export {
|
|
61
|
-
|
|
58
|
+
j as default
|
|
62
59
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./tablecolumn-attr-base.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const a = e(t, [["__scopeId", "data-v-
|
|
4
|
+
const a = e(t, [["__scopeId", "data-v-d787d262"]]);
|
|
5
5
|
export {
|
|
6
6
|
a as default
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, onMounted as l, resolveComponent as o, createBlock as
|
|
2
|
-
import { Setting as y, Search as
|
|
3
|
-
import { getListComponentOptions as
|
|
1
|
+
import { defineComponent as e, ref as a, onMounted as l, resolveComponent as o, createBlock as n, openBlock as t, withCtx as i, createVNode as u, createCommentVNode as r, createElementVNode as s, createTextVNode as p, unref as d, withDirectives as m, createElementBlock as c, Fragment as f, renderList as g, vShow as b } from "vue";
|
|
2
|
+
import { Setting as y, Search as C } from "@element-plus/icons-vue";
|
|
3
|
+
import { getListComponentOptions as v } from "../../../../utils/assemblys-config.js";
|
|
4
4
|
import V from "../component/querySetting.vue.js";
|
|
5
5
|
import _ from "../../form/common/data-origin.vue.js";
|
|
6
6
|
import D from "../../common/common-variable-bind.vue.js";
|
|
@@ -10,115 +10,113 @@ import T from "../../../../utils/eventBus.js";
|
|
|
10
10
|
import S from "../component/variate-select.vue.js";
|
|
11
11
|
import "@element-plus/icons";
|
|
12
12
|
import "agilebuilder-ui/src/utils/request";
|
|
13
|
-
import { queryTableFields as k, tableResetConfigIndo as
|
|
14
|
-
import { usePageContextStore as
|
|
13
|
+
import { queryTableFields as k, tableResetConfigIndo as j } from "../../../../utils/page-table-util.js";
|
|
14
|
+
import { usePageContextStore as N } from "../../../../../../stores/page-store.js";
|
|
15
15
|
import "element-plus";
|
|
16
16
|
/* empty css */
|
|
17
|
-
import
|
|
17
|
+
import q from "../../common/common-i18n-key-input.vue.js";
|
|
18
18
|
import w from "../../common/common-function-code.vue.js";
|
|
19
19
|
import L from "../../common/common-select-table.vue.js";
|
|
20
20
|
import F from "./tablecolumn-dynamic-column.vue.js";
|
|
21
21
|
import H from "../component/table-column-format.vue.js";
|
|
22
|
-
const M = { style: { padding: "8px 0px 0px 0px" } }, E = { class: "amb-design-attr-item-inline" }, O = { style: { padding: "8px 0px 0px 0px" } }, G = { style: { padding: "8px 0px 0px 0px" } }, A = { style: { padding: "8px 0px 0px 0px" } }, $ = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, B =
|
|
23
|
-
const
|
|
24
|
-
P2.configure.props.querySettings || (P2.configure.props.querySettings = {});
|
|
25
|
-
const R = a(["base", "editLine", "formatting", "querySettings", "appearance", "verification", "userDefined", "dataOrigin", "columnModel"]), W = a(null), I = a(null), Q = a(null), J = a([]), K = P2.tableConfigure.props.groupHeaders, X = a(null), Y = j(), Z = a(false);
|
|
22
|
+
const M = { style: { padding: "8px 0px 0px 0px" } }, E = { class: "amb-design-attr-item-inline" }, O = { style: { padding: "8px 0px 0px 0px" } }, G = { style: { padding: "8px 0px 0px 0px" } }, A = { style: { padding: "8px 0px 0px 0px" } }, $ = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, B = e({ __name: "tablecolumn-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, tableConfigure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
|
|
23
|
+
const B2 = e2, P = a(["base", "editLine", "formatting", "appearance", "verification", "userDefined", "dataOrigin", "columnModel"]), R = a(null), W = a(null), I = a(null), Q = a([]), J = B2.tableConfigure.props.groupHeaders, K = a(null), X = N(), Y = a(false);
|
|
26
24
|
l(() => {
|
|
27
25
|
var _a;
|
|
28
|
-
"dynamicColumnSelect" === ((_a =
|
|
26
|
+
"dynamicColumnSelect" === ((_a = B2.configure.props.base) == null ? void 0 : _a.prop) && B2.configure.props.dynamicColumnData && B2.configure.props.dynamicColumnData.tableName && (Z.value, ee({ name: B2.configure.props.dynamicColumnData.tableName, alias: B2.configure.props.dynamicColumnData.tableAlias }));
|
|
29
27
|
}), function() {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
28
|
+
B2.configure.props.verification.type && ("text" === B2.configure.props.verification.type && (B2.configure.props.verification.typ = "string"), "int" === B2.configure.props.verification.type && (B2.configure.props.verification.typ = "integer"));
|
|
29
|
+
B2.configure.props.format || (B2.configure.props.format = {});
|
|
30
|
+
B2.configure.props.base && "operation" === B2.configure.props.base.prop ? Y.value = true : Y.value = false;
|
|
31
|
+
B2.configure.props.dynamicColumnData || (B2.configure.props.dynamicColumnData = {});
|
|
32
|
+
B2.configure.props.dynamicColumnData.selectCondition || (B2.configure.props.dynamicColumnData.selectCondition = []);
|
|
33
|
+
B2.configure.props.dynamicColumnData.updateCondition || (B2.configure.props.dynamicColumnData.updateCondition = []);
|
|
34
|
+
B2.configure.props.dynamicColumnData.columnModelTable || (B2.configure.props.dynamicColumnData.columnModelTable = []);
|
|
37
35
|
}();
|
|
38
|
-
const
|
|
39
|
-
function
|
|
40
|
-
if ("masterTable" ==
|
|
41
|
-
let a2 =
|
|
42
|
-
a2 += "_", a2 +=
|
|
36
|
+
const Z = a("");
|
|
37
|
+
function ee(e3) {
|
|
38
|
+
if ("masterTable" == Z.value) {
|
|
39
|
+
let a2 = B2.configure.props.dynamicColumnData.dataTableCode ? B2.configure.props.dynamicColumnData.dataTableCode : "";
|
|
40
|
+
a2 += "_", a2 += B2.configure.props.dynamicColumnData.tableSysVersion ? B2.configure.props.dynamicColumnData.tableSysVersion : "", a2 += "_", a2 += B2.configure.props.dynamicColumnData.tableName ? B2.configure.props.dynamicColumnData.tableName : "";
|
|
43
41
|
let l2 = e3.systemCode ? e3.systemCode : "";
|
|
44
|
-
l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != a2 && (
|
|
45
|
-
const e4 =
|
|
42
|
+
l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != a2 && (B2.configure.props.dynamicColumnData.dataTableCode = e3.systemCode, B2.configure.props.dynamicColumnData.tableSysVersion = e3.systemVersion, B2.configure.props.dynamicColumnData.tableName = e3.name, B2.configure.props.dynamicColumnData.tableAlias = e3.alias, function() {
|
|
43
|
+
const e4 = B2.configure.props.dynamicColumnData.dataTableCode ? B2.configure.props.dynamicColumnData.dataTableCode : X.pageContext.systemCode, a3 = B2.configure.props.dynamicColumnData.tableSysVersion ? B2.configure.props.dynamicColumnData.tableSysVersion : X.pageContext.systemVersion, l3 = B2.configure.props.dynamicColumnData.tableName;
|
|
46
44
|
if (!l3) return;
|
|
47
45
|
k(e4, a3, l3).then((e5) => {
|
|
48
|
-
|
|
46
|
+
Q.value = e5, I.value.changeTableFields(e5);
|
|
49
47
|
}).catch((e5) => {
|
|
50
48
|
});
|
|
51
49
|
}());
|
|
52
50
|
} else {
|
|
53
|
-
let a2 =
|
|
54
|
-
a2 += "_", a2 +=
|
|
51
|
+
let a2 = B2.configure.props.dynamicColumnData.settingDataTableCode ? B2.configure.props.dynamicColumnData.settingDataTableCode : "";
|
|
52
|
+
a2 += "_", a2 += B2.configure.props.dynamicColumnData.settingDataSysVersion ? B2.configure.props.dynamicColumnData.settingDataSysVersion : "", a2 += "_", a2 += B2.configure.props.dynamicColumnData.settingDataName ? B2.configure.props.dynamicColumnData.settingDataName : "";
|
|
55
53
|
let l2 = e3.systemCode ? e3.systemCode : "";
|
|
56
|
-
l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != a2 && (
|
|
57
|
-
const e4 =
|
|
54
|
+
l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != a2 && (B2.configure.props.dynamicColumnData.settingDataTableCode = e3.systemCode, B2.configure.props.dynamicColumnData.settingDataSysVersion = e3.systemVersion, B2.configure.props.dynamicColumnData.settingDataName = e3.name, B2.configure.props.dynamicColumnData.settingDataAlias = e3.alias, function() {
|
|
55
|
+
const e4 = B2.configure.props.dynamicColumnData.settingDataTableCode ? B2.configure.props.dynamicColumnData.settingDataTableCode : X.pageContext.systemCode, a3 = B2.configure.props.dynamicColumnData.settingDataSysVersion ? B2.configure.props.dynamicColumnData.settingDataSysVersion : X.pageContext.systemVersion, l3 = B2.configure.props.dynamicColumnData.settingDataName;
|
|
58
56
|
if (!l3) return;
|
|
59
57
|
k(e4, a3, l3).then((e5) => {
|
|
60
|
-
|
|
58
|
+
ae.value = e5, I.value.changeTableFields(e5), R.value.changeTableFields(e5), W.value.changeTableFields(e5);
|
|
61
59
|
}).catch((e5) => {
|
|
62
60
|
});
|
|
63
61
|
}());
|
|
64
62
|
}
|
|
65
63
|
}
|
|
66
|
-
let
|
|
67
|
-
const
|
|
68
|
-
function
|
|
69
|
-
|
|
64
|
+
let ae = a([]);
|
|
65
|
+
const le = a(false);
|
|
66
|
+
function oe() {
|
|
67
|
+
le.value = false;
|
|
70
68
|
}
|
|
71
69
|
function ne(e3) {
|
|
72
|
-
|
|
70
|
+
B2.configure.props.querySetting = e3;
|
|
71
|
+
}
|
|
72
|
+
function te(e3) {
|
|
73
|
+
e3 ? B2.tableConfigure.props.base.editable = true : B2.configure.name = "";
|
|
73
74
|
}
|
|
74
75
|
function ie(e3) {
|
|
75
|
-
|
|
76
|
+
j(B2.configure, e3);
|
|
76
77
|
}
|
|
77
78
|
function ue(e3) {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
const a2 = P2.configure.uuid;
|
|
82
|
-
if (P2.tableConfigure.props.base.isEnableGroupHeader) if (e3 && P2.tableConfigure.props.base.isEnableGroupHeader) {
|
|
83
|
-
const e4 = K.filter((e5) => e5.columnUuid === a2);
|
|
79
|
+
const a2 = B2.configure.uuid;
|
|
80
|
+
if (B2.tableConfigure.props.base.isEnableGroupHeader) if (e3 && B2.tableConfigure.props.base.isEnableGroupHeader) {
|
|
81
|
+
const e4 = J.filter((e5) => e5.columnUuid === a2);
|
|
84
82
|
if (!e4 || 0 === e4.length) {
|
|
85
|
-
let e5 = { uuid: U(), columnUuid: a2, titleText:
|
|
86
|
-
x(null, e5,
|
|
83
|
+
let e5 = { uuid: U(), columnUuid: a2, titleText: B2.configure.props.base.name, isLeaf: true };
|
|
84
|
+
x(null, e5, J), J.push(e5);
|
|
87
85
|
}
|
|
88
|
-
} else
|
|
89
|
-
else T.$emit("setHiddenColumsUuid", { uuid:
|
|
86
|
+
} else B2.tableConfigure.props.base.isEnableGroupHeader && h(J, a2);
|
|
87
|
+
else T.$emit("setHiddenColumsUuid", { uuid: B2.configure.uuid, name: B2.configure.props.base.name, value: e3 });
|
|
90
88
|
}
|
|
91
|
-
function
|
|
92
|
-
|
|
89
|
+
function re(e3) {
|
|
90
|
+
B2.configure.props.base.defaultValue = e3;
|
|
91
|
+
}
|
|
92
|
+
function se() {
|
|
93
|
+
T.$emit("reloadTable-" + B2.tableConfigure.uuid);
|
|
93
94
|
}
|
|
94
|
-
function pe() {
|
|
95
|
-
|
|
95
|
+
function pe(e3) {
|
|
96
|
+
me(B2.tableConfigure.props.groupHeaders);
|
|
96
97
|
}
|
|
97
98
|
function de(e3) {
|
|
98
|
-
|
|
99
|
+
me(B2.tableConfigure.props.groupHeaders);
|
|
99
100
|
}
|
|
100
101
|
function me(e3) {
|
|
101
|
-
|
|
102
|
-
}
|
|
103
|
-
function ce(e3) {
|
|
104
|
-
if (P2.tableConfigure.props.base.isEnableGroupHeader) {
|
|
102
|
+
if (B2.tableConfigure.props.base.isEnableGroupHeader) {
|
|
105
103
|
e3.forEach((e4) => {
|
|
106
104
|
});
|
|
107
105
|
for (let a2 = 0; a2 < e3.length; a2++) {
|
|
108
106
|
const l2 = e3[a2];
|
|
109
|
-
if (l2.columnUuid ===
|
|
110
|
-
l2.titleText =
|
|
107
|
+
if (l2.columnUuid === B2.configure.uuid) {
|
|
108
|
+
l2.titleText = B2.configure.props.base.name, l2.prop = B2.configure.props.base.prop;
|
|
111
109
|
break;
|
|
112
110
|
}
|
|
113
|
-
l2.children && l2.children.length > 0 &&
|
|
111
|
+
l2.children && l2.children.length > 0 && me(l2.children);
|
|
114
112
|
}
|
|
115
113
|
}
|
|
116
114
|
}
|
|
117
115
|
return (a2, l2) => {
|
|
118
|
-
const x2 = o("el-input"), h2 = o("el-form-item"), U2 = o("el-radio"), T2 = o("el-radio-group"), k2 = o("el-switch"),
|
|
119
|
-
return n(), t(fe, { "label-width": "80px", size: "small" }, { default: i(() => [u(ce2, { modelValue: R.value, "onUpdate:modelValue": l2[34] || (l2[34] = (e3) => R.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [u(W2, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", M, [u(h2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: i(() => [u(x2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), Z.value ? r("", true) : (n(), t(h2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: i(() => [u(S, { showDynamicColumn: true, showPlaceholder: true, prop: e2.configure.props.base.prop, "onUpdate:prop": l2[1] || (l2[1] = (a3) => e2.configure.props.base.prop = a3), propType: e2.configure.props.base.propType, "onUpdate:propType": l2[2] || (l2[2] = (a3) => e2.configure.props.base.propType = a3), tableConfigure: e2.tableConfigure, onChange: me }, null, 8, ["prop", "propType", "tableConfigure"])]), _: 1 })), u(h2, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [u(N, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.name = a3), onChange: de, disabled: "$index" === e2.configure.props.base.prop || "$selection" === e2.configure.props.base.prop }, null, 8, ["modelValue", "disabled"])]), _: 1 }), u(h2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: i(() => [u(w, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), u(h2, { label: "显示顺序", class: "amb-design-attr-item" }, { default: i(() => [u(x2, { modelValue: e2.configure.props.base.displayOrder, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.displayOrder = a3), modelModifiers: { number: true }, onBlur: pe, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), Z.value ? r("", true) : (n(), t(h2, { key: 1, label: "是否显示 ", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.visible, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.visible = a3), class: "ml-4", onChange: re }, { default: i(() => [u(U2, { value: true }, { default: i(() => [...l2[35] || (l2[35] = [p("是", -1)])]), _: 1 }), u(U2, { value: false }, { default: i(() => [...l2[36] || (l2[36] = [p("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(h2, { key: 2, label: "是否导出", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.exportable, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.exportable = a3) }, null, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(h2, { key: 3, label: "查询设置", class: "amb-design-attr-item" }, { default: i(() => [s("div", E, [u(j2, { modelValue: e2.configure.props.base.querySettingName, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.querySettingName = a3) }, { default: i(() => [u(q2, { label: "不查询", value: "no" }), u(q2, { label: "普通查询", value: "normal" }), u(q2, { label: "高级查询", value: "advanced" })]), _: 1 }, 8, ["modelValue"]), "normal" === e2.configure.props.base.querySettingName || "advanced" === e2.configure.props.base.querySettingName ? (n(), t(P3, { key: 0, style: { "margin-left": "10px" }, onClick: l2[8] || (l2[8] = (e3) => oe.value = true) }, { default: i(() => [u(d(y))]), _: 1 })) : r("", true)])]), _: 1 })), Z.value || "normal" !== e2.configure.props.base.querySettingName && "advanced" !== e2.configure.props.base.querySettingName || "STRING" !== e2.configure.props.base.propType ? r("", true) : (n(), t(h2, { key: 4, label: "匹配方式", class: "amb-design-attr-item" }, { default: i(() => [u(j2, { modelValue: e2.configure.props.base.queryMatching, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.queryMatching = a3), clearable: "" }, { default: i(() => [u(q2, { label: "全匹配", value: "all" }), u(q2, { label: "左匹配", value: "left" }), u(q2, { label: "右匹配", value: "right" }), u(q2, { label: "精确查询", value: "exactQuery" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(h2, { key: 5, label: "是否合计", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(h2, { key: 6, label: "是否筛选", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.filterable, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.filterable = a3) }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 }), Z.value || "dynamicColumnSelect" == e2.configure.props.base.prop ? r("", true) : (n(), t(_, { key: 0, configure: e2.configure, isTable: true, isDynamicColumn: "dynamicColumnSelect" === e2.configure.props.base.prop, remote: true }, null, 8, ["configure", "isDynamicColumn"])), u(F, { operationColumn: Z.value, configure: e2.configure, tableConfigure: e2.tableConfigure, pageDesign: e2.pageDesign }, null, 8, ["operationColumn", "configure", "tableConfigure", "pageDesign"]), Z.value ? r("", true) : (n(), t(W2, { key: 1, title: "行编辑设置", name: "editLine", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", O, [u(h2, { label: "是否编辑", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { onChange: ie, modelValue: e2.configure.props.editLine.editable, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.editLine.editable = a3) }, null, 8, ["modelValue"])]), _: 1 }), u(h2, { label: "默认值", class: "amb-design-attr-item" }, { default: i(() => [u(D, { modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": se }, null, 8, ["modelValue"])]), _: 1 }), e2.configure.props.editLine.editable ? (n(), t(h2, { key: 0, label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [u(j2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.name = a3), placeholder: "请选择", onChange: ue }, { default: i(() => [(n(true), c(f, null, g(d(C)(), (e3) => (n(), t(q2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), m(u(h2, { label: "文件uuid", class: "amb-design-attr-item" }, { default: i(() => [u(S, { prop: e2.configure.props.format.fileUuid, "onUpdate:prop": l2[14] || (l2[14] = (a3) => e2.configure.props.format.fileUuid = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "file-upload" === e2.configure.name]]), m(u(h2, { label: "自定义控件名称", class: "amb-design-attr-item" }, { default: i(() => [u(x2, { modelValue: e2.configure.props.base.customComponent, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.customComponent = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "custom" === e2.configure.name]])])]), _: 1 })), u(W2, { title: "查询设置", name: "querySettings", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", G, [u(h2, { label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [u(j2, { modelValue: e2.configure.props.querySettings.componentType, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.querySettings.componentType = a3), placeholder: "请选择" }, { default: i(() => [(n(true), c(f, null, g(d(C)(), (e3) => (n(), t(q2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), m(u(h2, { label: "自定义控件名称", class: "amb-design-attr-item" }, { default: i(() => [u(x2, { modelValue: e2.configure.props.querySettings.customComponent, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.querySettings.customComponent = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.querySettings.componentType && "custom" === e2.configure.props.querySettings.componentType]])])]), _: 1 }), Z.value ? r("", true) : (n(), t(W2, { key: 2, title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", A, [u(H, { configure: e2.configure, pageDesign: e2.pageDesign, tableConfigure: e2.tableConfigure }, null, 8, ["configure", "pageDesign", "tableConfigure"])])]), _: 1 })), u(W2, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", $, [u(h2, { label: "固定列", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.listColumnFixed, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.listColumnFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => [...l2[37] || (l2[37] = [p("否", -1)])]), _: 1 }), u(U2, { value: "left" }, { default: i(() => [...l2[38] || (l2[38] = [p("居左", -1)])]), _: 1 }), u(U2, { value: "right" }, { default: i(() => [...l2[39] || (l2[39] = [p("居右", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), Z.value ? r("", true) : (n(), t(h2, { key: 0, label: "是否排序", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.sortable, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.sortable = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: true }, { default: i(() => [...l2[40] || (l2[40] = [p("是", -1)])]), _: 1 }), u(U2, { value: false }, { default: i(() => [...l2[41] || (l2[41] = [p("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), u(h2, { label: "列宽", class: "amb-design-attr-item" }, { default: i(() => [u(I2, { style: { width: "100%" }, modelValue: e2.configure.props.base.columnWidth, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.columnWidth = a3), precision: 1 }, null, 8, ["modelValue"])]), _: 1 }), u(h2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => [...l2[42] || (l2[42] = [p("居左", -1)])]), _: 1 }), u(U2, { value: "center" }, { default: i(() => [...l2[43] || (l2[43] = [p("居中", -1)])]), _: 1 }), u(U2, { value: "right" }, { default: i(() => [...l2[44] || (l2[44] = [p("居右", -1)])]), _: 1 }), u(J2, { content: "清除" }, { default: i(() => [u(P3, { size: "10px", style: { cursor: "pointer" }, onClick: l2[21] || (l2[21] = (a3) => e2.configure.props.base.alignTitle = null) }, { default: i(() => [u(Q2)]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(h2, { label: "内容对齐", class: "amb-design-attr-item-linefeed-two" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => [...l2[45] || (l2[45] = [p("居左", -1)])]), _: 1 }), u(U2, { value: "center" }, { default: i(() => [...l2[46] || (l2[46] = [p("居中", -1)])]), _: 1 }), u(U2, { value: "right" }, { default: i(() => [...l2[47] || (l2[47] = [p("居右", -1)])]), _: 1 }), u(J2, { content: "清除" }, { default: i(() => [u(P3, { size: "10px", style: { cursor: "pointer" }, onClick: l2[23] || (l2[23] = (a3) => e2.configure.props.base.alignContent = null) }, { default: i(() => [u(Q2)]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), !Z.value && e2.configure.props.editLine.editable ? (n(), t(W2, { key: 3, title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", z, [u(h2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(K2, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.verification.required = a3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), u(Y2, { modelValue: e2.configure.props.verification.type, "onUpdate:modelValue": l2[26] || (l2[26] = (a3) => e2.configure.props.verification.type = a3) }, { default: i(() => [u(h2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(K2, { label: "文本", value: "string" }), u(K2, { label: "整形", value: "integer" }), u(K2, { label: "数字", value: "number" })]), _: 1 }), u(h2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(K2, { label: "日期", value: "date" }), u(K2, { label: "小数", value: "float" }), u(K2, { label: "布尔", value: "boolean" })]), _: 1 }), u(h2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(K2, { label: "邮件", value: "email" }), u(K2, { label: "网址", value: "url" })]), _: 1 }), u(h2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(K2, { label: "单精度", value: "float" }), u(K2, { label: "十六进制", value: "hex" })]), _: 1 })]), _: 1 }, 8, ["modelValue"]), u(h2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(ee2, { span: 8 }, { default: i(() => [u(K2, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.verification.verifyRegex = a3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), u(ee2, { span: 14 }, { default: i(() => [u(x2, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.verification.regex = a3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(h2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(ee2, { span: 8 }, { default: i(() => [u(K2, { label: "自定义", value: "custom" })]), _: 1 }), u(ee2, { span: 14 }, { default: i(() => [u(le2, { type: "default" }, { default: i(() => [...l2[48] || (l2[48] = [p("自定义逻辑", -1)])]), _: 1 }), u(le2, { type: "default", icon: d(v), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })) : r("", true), Z.value ? r("", true) : (n(), t(W2, { key: 4, title: "用户自定义", name: "userDefined", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", B, [u(h2, { label: "可自定义", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.defined, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.definition.defined = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => [...l2[49] || (l2[49] = [p("否", -1)])]), _: 1 }), u(U2, { value: true }, { default: i(() => [...l2[50] || (l2[50] = [p("是", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(h2, { label: "自定义导出", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedExport, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.definition.definedExport = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => [...l2[51] || (l2[51] = [p("否", -1)])]), _: 1 }), u(U2, { value: true }, { default: i(() => [...l2[52] || (l2[52] = [p("是", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(h2, { label: "自定义合并", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedMerge, "onUpdate:modelValue": l2[31] || (l2[31] = (a3) => e2.configure.props.definition.definedMerge = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => [...l2[53] || (l2[53] = [p("否", -1)])]), _: 1 }), u(U2, { value: true }, { default: i(() => [...l2[54] || (l2[54] = [p("是", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(h2, { label: "自定义位置", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedPosition, "onUpdate:modelValue": l2[32] || (l2[32] = (a3) => e2.configure.props.definition.definedPosition = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => [...l2[55] || (l2[55] = [p("否", -1)])]), _: 1 }), u(U2, { value: true }, { default: i(() => [...l2[56] || (l2[56] = [p("是", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(h2, { label: "自定义冻结", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedFixed, "onUpdate:modelValue": l2[33] || (l2[33] = (a3) => e2.configure.props.definition.definedFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => [...l2[57] || (l2[57] = [p("否", -1)])]), _: 1 }), u(U2, { value: true }, { default: i(() => [...l2[58] || (l2[58] = [p("是", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })), oe.value ? (n(), t(V, { key: 5, querySetting: e2.configure.props.querySetting, onAdd: ne, onClose: te }, null, 8, ["querySetting"])) : r("", true), u(L, { ref_key: "selectTableDialog", ref: X, onSelectTable: ae, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
116
|
+
const x2 = o("el-input"), h2 = o("el-form-item"), U2 = o("el-radio"), T2 = o("el-radio-group"), k2 = o("el-switch"), j2 = o("el-option"), N2 = o("el-select"), B3 = o("el-icon"), R2 = o("el-collapse-item"), W2 = o("el-input-number"), I2 = o("CloseBold"), Q2 = o("el-tooltip"), J2 = o("el-checkbox"), X2 = o("el-checkbox-group"), Z2 = o("el-col"), ae2 = o("el-button"), me2 = o("el-collapse"), ce = o("el-form");
|
|
117
|
+
return t(), n(ce, { "label-width": "80px", size: "small" }, { default: i(() => [u(me2, { modelValue: P.value, "onUpdate:modelValue": l2[32] || (l2[32] = (e3) => P.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [u(R2, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", M, [u(h2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: i(() => [u(x2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), Y.value ? r("", true) : (t(), n(h2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: i(() => [u(S, { showDynamicColumn: true, showPlaceholder: true, prop: e2.configure.props.base.prop, "onUpdate:prop": l2[1] || (l2[1] = (a3) => e2.configure.props.base.prop = a3), propType: e2.configure.props.base.propType, "onUpdate:propType": l2[2] || (l2[2] = (a3) => e2.configure.props.base.propType = a3), tableConfigure: e2.tableConfigure, onChange: de }, null, 8, ["prop", "propType", "tableConfigure"])]), _: 1 })), u(h2, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [u(q, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.name = a3), onChange: pe, disabled: "$index" === e2.configure.props.base.prop || "$selection" === e2.configure.props.base.prop }, null, 8, ["modelValue", "disabled"])]), _: 1 }), u(h2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: i(() => [u(w, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), u(h2, { label: "显示顺序", class: "amb-design-attr-item" }, { default: i(() => [u(x2, { modelValue: e2.configure.props.base.displayOrder, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.displayOrder = a3), modelModifiers: { number: true }, onBlur: se, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), Y.value ? r("", true) : (t(), n(h2, { key: 1, label: "是否显示 ", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.visible, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.visible = a3), class: "ml-4", onChange: ue }, { default: i(() => [u(U2, { value: true }, { default: i(() => [...l2[33] || (l2[33] = [p("是", -1)])]), _: 1 }), u(U2, { value: false }, { default: i(() => [...l2[34] || (l2[34] = [p("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Y.value ? r("", true) : (t(), n(h2, { key: 2, label: "是否导出", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.exportable, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.exportable = a3) }, null, 8, ["modelValue"])]), _: 1 })), Y.value ? r("", true) : (t(), n(h2, { key: 3, label: "查询设置", class: "amb-design-attr-item" }, { default: i(() => [s("div", E, [u(N2, { modelValue: e2.configure.props.base.querySettingName, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.querySettingName = a3) }, { default: i(() => [u(j2, { label: "不查询", value: "no" }), u(j2, { label: "普通查询", value: "normal" }), u(j2, { label: "高级查询", value: "advanced" })]), _: 1 }, 8, ["modelValue"]), "normal" === e2.configure.props.base.querySettingName || "advanced" === e2.configure.props.base.querySettingName ? (t(), n(B3, { key: 0, style: { "margin-left": "10px" }, onClick: l2[8] || (l2[8] = (e3) => le.value = true) }, { default: i(() => [u(d(y))]), _: 1 })) : r("", true)])]), _: 1 })), Y.value || "normal" !== e2.configure.props.base.querySettingName && "advanced" !== e2.configure.props.base.querySettingName || "STRING" !== e2.configure.props.base.propType ? r("", true) : (t(), n(h2, { key: 4, label: "匹配方式", class: "amb-design-attr-item" }, { default: i(() => [u(N2, { modelValue: e2.configure.props.base.queryMatching, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.queryMatching = a3), clearable: "" }, { default: i(() => [u(j2, { label: "全匹配", value: "all" }), u(j2, { label: "左匹配", value: "left" }), u(j2, { label: "右匹配", value: "right" }), u(j2, { label: "精确查询", value: "exactQuery" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Y.value ? r("", true) : (t(), n(h2, { key: 5, label: "是否合计", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })), Y.value ? r("", true) : (t(), n(h2, { key: 6, label: "是否筛选", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.filterable, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.filterable = a3) }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 }), Y.value || "dynamicColumnSelect" == e2.configure.props.base.prop ? r("", true) : (t(), n(_, { key: 0, configure: e2.configure, isTable: true, isDynamicColumn: "dynamicColumnSelect" === e2.configure.props.base.prop, remote: true }, null, 8, ["configure", "isDynamicColumn"])), u(F, { operationColumn: Y.value, configure: e2.configure, tableConfigure: e2.tableConfigure, pageDesign: e2.pageDesign }, null, 8, ["operationColumn", "configure", "tableConfigure", "pageDesign"]), Y.value ? r("", true) : (t(), n(R2, { key: 1, title: "行编辑设置", name: "editLine", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", O, [u(h2, { label: "是否编辑", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { onChange: te, modelValue: e2.configure.props.editLine.editable, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.editLine.editable = a3) }, null, 8, ["modelValue"])]), _: 1 }), u(h2, { label: "默认值", class: "amb-design-attr-item" }, { default: i(() => [u(D, { modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": re }, null, 8, ["modelValue"])]), _: 1 }), e2.configure.props.editLine.editable ? (t(), n(h2, { key: 0, label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [u(N2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.name = a3), placeholder: "请选择", onChange: ie }, { default: i(() => [(t(true), c(f, null, g(d(v)(), (e3) => (t(), n(j2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), m(u(h2, { label: "文件uuid", class: "amb-design-attr-item" }, { default: i(() => [u(S, { prop: e2.configure.props.format.fileUuid, "onUpdate:prop": l2[14] || (l2[14] = (a3) => e2.configure.props.format.fileUuid = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "file-upload" === e2.configure.name]]), m(u(h2, { label: "自定义控件名称", class: "amb-design-attr-item" }, { default: i(() => [u(x2, { modelValue: e2.configure.props.base.customComponent, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.customComponent = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "custom" === e2.configure.name]])])]), _: 1 })), Y.value ? r("", true) : (t(), n(R2, { key: 2, title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", G, [u(H, { configure: e2.configure, pageDesign: e2.pageDesign, tableConfigure: e2.tableConfigure }, null, 8, ["configure", "pageDesign", "tableConfigure"])])]), _: 1 })), u(R2, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", A, [u(h2, { label: "固定列", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.listColumnFixed, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.base.listColumnFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => [...l2[35] || (l2[35] = [p("否", -1)])]), _: 1 }), u(U2, { value: "left" }, { default: i(() => [...l2[36] || (l2[36] = [p("居左", -1)])]), _: 1 }), u(U2, { value: "right" }, { default: i(() => [...l2[37] || (l2[37] = [p("居右", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), Y.value ? r("", true) : (t(), n(h2, { key: 0, label: "是否排序", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.sortable, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.sortable = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: true }, { default: i(() => [...l2[38] || (l2[38] = [p("是", -1)])]), _: 1 }), u(U2, { value: false }, { default: i(() => [...l2[39] || (l2[39] = [p("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), u(h2, { label: "列宽", class: "amb-design-attr-item" }, { default: i(() => [u(W2, { style: { width: "100%" }, modelValue: e2.configure.props.base.columnWidth, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.columnWidth = a3), precision: 1 }, null, 8, ["modelValue"])]), _: 1 }), u(h2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => [...l2[40] || (l2[40] = [p("居左", -1)])]), _: 1 }), u(U2, { value: "center" }, { default: i(() => [...l2[41] || (l2[41] = [p("居中", -1)])]), _: 1 }), u(U2, { value: "right" }, { default: i(() => [...l2[42] || (l2[42] = [p("居右", -1)])]), _: 1 }), u(Q2, { content: "清除" }, { default: i(() => [u(B3, { size: "10px", style: { cursor: "pointer" }, onClick: l2[19] || (l2[19] = (a3) => e2.configure.props.base.alignTitle = null) }, { default: i(() => [u(I2)]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(h2, { label: "内容对齐", class: "amb-design-attr-item-linefeed-two" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => [...l2[43] || (l2[43] = [p("居左", -1)])]), _: 1 }), u(U2, { value: "center" }, { default: i(() => [...l2[44] || (l2[44] = [p("居中", -1)])]), _: 1 }), u(U2, { value: "right" }, { default: i(() => [...l2[45] || (l2[45] = [p("居右", -1)])]), _: 1 }), u(Q2, { content: "清除" }, { default: i(() => [u(B3, { size: "10px", style: { cursor: "pointer" }, onClick: l2[21] || (l2[21] = (a3) => e2.configure.props.base.alignContent = null) }, { default: i(() => [u(I2)]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), !Y.value && e2.configure.props.editLine.editable ? (t(), n(R2, { key: 3, title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", $, [u(h2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.verification.required = a3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), u(X2, { modelValue: e2.configure.props.verification.type, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.verification.type = a3) }, { default: i(() => [u(h2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "文本", value: "string" }), u(J2, { label: "整形", value: "integer" }), u(J2, { label: "数字", value: "number" })]), _: 1 }), u(h2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "日期", value: "date" }), u(J2, { label: "小数", value: "float" }), u(J2, { label: "布尔", value: "boolean" })]), _: 1 }), u(h2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "邮件", value: "email" }), u(J2, { label: "网址", value: "url" })]), _: 1 }), u(h2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "单精度", value: "float" }), u(J2, { label: "十六进制", value: "hex" })]), _: 1 })]), _: 1 }, 8, ["modelValue"]), u(h2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(Z2, { span: 8 }, { default: i(() => [u(J2, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.verification.verifyRegex = a3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), u(Z2, { span: 14 }, { default: i(() => [u(x2, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": l2[26] || (l2[26] = (a3) => e2.configure.props.verification.regex = a3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(h2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(Z2, { span: 8 }, { default: i(() => [u(J2, { label: "自定义", value: "custom" })]), _: 1 }), u(Z2, { span: 14 }, { default: i(() => [u(ae2, { type: "default" }, { default: i(() => [...l2[46] || (l2[46] = [p("自定义逻辑", -1)])]), _: 1 }), u(ae2, { type: "default", icon: d(C), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })) : r("", true), Y.value ? r("", true) : (t(), n(R2, { key: 4, title: "用户自定义", name: "userDefined", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", z, [u(h2, { label: "可自定义", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.defined, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.definition.defined = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => [...l2[47] || (l2[47] = [p("否", -1)])]), _: 1 }), u(U2, { value: true }, { default: i(() => [...l2[48] || (l2[48] = [p("是", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(h2, { label: "自定义导出", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedExport, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.definition.definedExport = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => [...l2[49] || (l2[49] = [p("否", -1)])]), _: 1 }), u(U2, { value: true }, { default: i(() => [...l2[50] || (l2[50] = [p("是", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(h2, { label: "自定义合并", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedMerge, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.definition.definedMerge = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => [...l2[51] || (l2[51] = [p("否", -1)])]), _: 1 }), u(U2, { value: true }, { default: i(() => [...l2[52] || (l2[52] = [p("是", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(h2, { label: "自定义位置", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedPosition, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.definition.definedPosition = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => [...l2[53] || (l2[53] = [p("否", -1)])]), _: 1 }), u(U2, { value: true }, { default: i(() => [...l2[54] || (l2[54] = [p("是", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(h2, { label: "自定义冻结", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedFixed, "onUpdate:modelValue": l2[31] || (l2[31] = (a3) => e2.configure.props.definition.definedFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => [...l2[55] || (l2[55] = [p("否", -1)])]), _: 1 }), u(U2, { value: true }, { default: i(() => [...l2[56] || (l2[56] = [p("是", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })), le.value ? (t(), n(V, { key: 5, querySetting: e2.configure.props.querySetting, onAdd: ne, onClose: oe }, null, 8, ["querySetting"])) : r("", true), u(L, { ref_key: "selectTableDialog", ref: K, onSelectTable: ee, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
120
118
|
};
|
|
121
119
|
} });
|
|
122
120
|
export {
|
|
123
|
-
|
|
121
|
+
B as default
|
|
124
122
|
};
|
|
@@ -1,48 +1,45 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as t, withCtx as u, createVNode as i, withDirectives as s, createCommentVNode as
|
|
1
|
+
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as t, withCtx as u, createVNode as i, withDirectives as s, createCommentVNode as d, createElementVNode as r, createElementBlock as p, Fragment as n, renderList as m, unref as f, createTextVNode as c, vShow as b } from "vue";
|
|
2
2
|
import { Search as g } from "@element-plus/icons-vue";
|
|
3
3
|
import { getFormComponentOptions as V } from "../../../../utils/assemblys-config.js";
|
|
4
|
-
import { componentNameChange as
|
|
5
|
-
import
|
|
4
|
+
import { componentNameChange as v } from "../../../../utils/form-design-util.js";
|
|
5
|
+
import _ from "../../common/common-attr-size.vue.js";
|
|
6
6
|
import y from "../../common/common-variable-bind.vue.js";
|
|
7
7
|
import h from "./depttree-autoset.vue.js";
|
|
8
|
-
import { OrganizationInput as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { usePageContextStore as
|
|
13
|
-
import { getModelOptionsByFields as
|
|
14
|
-
const
|
|
15
|
-
} }, default: () => ({ props: {} }) }, emits: ["changeAssembly"], setup(e2, { emit:
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
const
|
|
19
|
-
var
|
|
20
|
-
function
|
|
21
|
-
|
|
8
|
+
import { OrganizationInput as S } from "agilebuilder-ui";
|
|
9
|
+
import U from "../../common/common-function-code.vue.js";
|
|
10
|
+
import x from "../common/title-suffix.vue.js";
|
|
11
|
+
import k from "../../common/common-i18n-key-input.vue.js";
|
|
12
|
+
import { usePageContextStore as j } from "../../../../../../stores/page-store.js";
|
|
13
|
+
import { getModelOptionsByFields as w } from "../../../../utils/page-table-util.js";
|
|
14
|
+
const T = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, C = { style: { padding: "8px 0px 0px 0px" } }, D = e({ __name: "depttree-attr-base", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => {
|
|
15
|
+
} }, default: () => ({ props: {} }) }, emits: ["changeAssembly"], setup(e2, { emit: D2 }) {
|
|
16
|
+
const W = j(), F = e2, M = l(F.configure.name), O = D2, q = l(["base"]), L = l(false);
|
|
17
|
+
F.configure.isTable && (L.value = true);
|
|
18
|
+
const A = l(null), B = W.pageContext;
|
|
19
|
+
var E;
|
|
20
|
+
function G(e3) {
|
|
21
|
+
v(F.configure, e3, O);
|
|
22
22
|
}
|
|
23
|
-
function
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
function H(e3) {
|
|
27
|
-
z.configure.props.base.defaultValue = e3;
|
|
23
|
+
function H(e3, l2) {
|
|
24
|
+
F.configure.props.base.prop = e3, l2 && (F.configure.props.base.title = l2);
|
|
28
25
|
}
|
|
29
26
|
function I(e3) {
|
|
30
|
-
|
|
27
|
+
F.configure.props.base.defaultValue = e3;
|
|
31
28
|
}
|
|
32
|
-
function J(e3
|
|
33
|
-
|
|
29
|
+
function J(e3) {
|
|
30
|
+
F.configure.props.base.deptScopeField = e3;
|
|
34
31
|
}
|
|
35
|
-
function K(e3) {
|
|
36
|
-
|
|
32
|
+
function K(e3, l2) {
|
|
33
|
+
F.configure.props.base.deptScopeDepts = l2;
|
|
37
34
|
}
|
|
38
35
|
function N(e3) {
|
|
39
|
-
"
|
|
36
|
+
"depts" === e3 && (F.configure.props.base.limitFilterColumn = null);
|
|
40
37
|
}
|
|
41
|
-
return (
|
|
42
|
-
const
|
|
43
|
-
return t(), o(Z, { "label-width": "80px", size: "small" }, { default: u(() => [i(Y, { modelValue: O.value, "onUpdate:modelValue": _2[18] || (_2[18] = (e3) => O.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(B2, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", j, [i(W3, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(M2, { modelValue: D.value, "onUpdate:modelValue": _2[0] || (_2[0] = (e3) => D.value = e3), onChange: E, placeholder: "请选择" }, { default: u(() => [(t(true), p(n, null, m(f(V)(), (e3) => (t(), o(k2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W3, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(C2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": _2[1] || (_2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), i(W3, { label: "结构树类型", class: "amb-design-attr-item" }, { default: u(() => [i(M2, { modelValue: e2.configure.props.base.treeType, "onUpdate:modelValue": _2[2] || (_2[2] = (l3) => e2.configure.props.base.treeType = l3), placeholder: "请选择" }, { default: u(() => [i(k2, { label: "部门人员树", value: "DeptUserTree" }), i(k2, { label: "工作组人员树", value: "WgUserTree" }), i(k2, { label: "部门树", value: "DeptTree" }), i(k2, { label: "工作组树", value: "WgTree" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), q.value ? r("", true) : (t(), o(W3, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": G }, null, 8, ["modelValue"]))]), _: 1 })), i(W3, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": H }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), q.value ? r("", true) : (t(), o(W3, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(w, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), q.value ? r("", true) : (t(), o(W3, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(F2, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": _2[3] || (_2[3] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(z2, { value: true }, { default: u(() => [..._2[19] || (_2[19] = [c("显示", -1)])]), _: 1 }), i(z2, { value: false }, { default: u(() => [..._2[20] || (_2[20] = [c("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(W3, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(U, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": _2[4] || (_2[4] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(W3, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(A2, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": _2[5] || (_2[5] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(W3, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(F2, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": _2[6] || (_2[6] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(z2, { value: "block" }, { default: u(() => [..._2[21] || (_2[21] = [c("换行", -1)])]), _: 1 }), i(z2, { value: "inline" }, { default: u(() => [..._2[22] || (_2[22] = [c("不换行", -1)])]), _: 1 }), i(z2, { value: "omit" }, { default: u(() => [..._2[23] || (_2[23] = [c("省略号", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(W3, { label: "文本框类型", title: "文本框显示类型", class: "amb-design-attr-item" }, { default: u(() => [i(F2, { modelValue: e2.configure.props.base.inputShowWay, "onUpdate:modelValue": _2[7] || (_2[7] = (l3) => e2.configure.props.base.inputShowWay = l3), class: "ml-4", onChange: N }, { default: u(() => [i(z2, { value: "default" }, { default: u(() => [..._2[24] || (_2[24] = [c("默认", -1)])]), _: 1 }), i(z2, { value: "textarea" }, { default: u(() => [..._2[25] || (_2[25] = [c("文本域", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "textarea" === e2.configure.props.base.inputShowWay ? (t(), p(n, { key: 3 }, [i(W3, { label: "最小行数", title: "文本域最小行数", class: "amb-design-attr-item" }, { default: u(() => [i(A2, { modelValue: e2.configure.props.base.textareaMinRow, "onUpdate:modelValue": _2[8] || (_2[8] = (l3) => e2.configure.props.base.textareaMinRow = l3), style: { width: "100%" }, min: 1, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(W3, { label: "最大行数", title: "文本域最大行数", class: "amb-design-attr-item" }, { default: u(() => [i(A2, { modelValue: e2.configure.props.base.textareaMaxRow, "onUpdate:modelValue": _2[9] || (_2[9] = (l3) => e2.configure.props.base.textareaMaxRow = l3), style: { width: "100%" }, min: e2.configure.props.base.textareaMinRow ? e2.configure.props.base.textareaMinRow : 1, placeholder: "请输入" }, null, 8, ["modelValue", "min"])]), _: 1 })], 64)) : r("", true), i(W3, { label: "多选", class: "amb-design-attr-item" }, { default: u(() => [i(F2, { modelValue: e2.configure.props.base.treeMultiple, "onUpdate:modelValue": _2[10] || (_2[10] = (l3) => e2.configure.props.base.treeMultiple = l3), class: "ml-4" }, { default: u(() => [i(z2, { value: true }, { default: u(() => [..._2[26] || (_2[26] = [c("是", -1)])]), _: 1 }), i(z2, { value: false }, { default: u(() => [..._2[27] || (_2[27] = [c("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(i(W3, { label: "分隔符", class: "amb-design-attr-item" }, { default: u(() => [i(C2, { modelValue: e2.configure.props.base.separator, "onUpdate:modelValue": _2[11] || (_2[11] = (l3) => e2.configure.props.base.separator = l3), placeholder: "," }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.treeMultiple]]), i(W3, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [i(F2, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": _2[12] || (_2[12] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: u(() => [i(z2, { value: "large" }, { default: u(() => [..._2[28] || (_2[28] = [c("大", -1)])]), _: 1 }), i(z2, { value: "default" }, { default: u(() => [..._2[29] || (_2[29] = [c("中", -1)])]), _: 1 }), i(z2, { value: "small" }, { default: u(() => [..._2[30] || (_2[30] = [c("小", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W3, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(F2, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": _2[13] || (_2[13] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(z2, { value: "default" }, { default: u(() => [..._2[31] || (_2[31] = [c("普通", -1)])]), _: 1 }), i(z2, { value: "disabled" }, { default: u(() => [..._2[32] || (_2[32] = [c("禁用", -1)])]), _: 1 }), i(z2, { value: "hidden" }, { default: u(() => [..._2[33] || (_2[33] = [c("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(B2, { title: "限定部门", name: "deptScopes", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", T, [i(F2, { modelValue: e2.configure.props.base.deptScope, "onUpdate:modelValue": _2[15] || (_2[15] = (l3) => e2.configure.props.base.deptScope = l3), onChange: K }, { default: u(() => [i(W3, { class: "amb-design-attr-item" }, { label: u(() => [i(z2, { value: "field" }, { default: u(() => [..._2[34] || (_2[34] = [c("指定变量", -1)])]), _: 1 })]), default: u(() => [i(y, { showLabel: "field" != e2.configure.props.base.deptScope, objModelOptions: L.value, modelValue: e2.configure.props.base.deptScopeField, "onUpdate:modelValue": I }, null, 8, ["showLabel", "objModelOptions", "modelValue"])]), _: 1 }), i(W3, { class: "amb-design-attr-item" }, { label: u(() => [i(z2, { value: "depts" }, { default: u(() => [..._2[35] || (_2[35] = [c("固定部门", -1)])]), _: 1 })]), default: u(() => [i(f(x), { disabled: "depts" != e2.configure.props.base.deptScope, multiple: true, treeType: "DeptTree", value: e2.configure.props.base.deptScopeDepts, "onUpdate:value": _2[14] || (_2[14] = (l3) => e2.configure.props.base.deptScopeDepts = l3), models: e2.configure.props.base, fields: [{ type: "code", model: "deptScopeCodes" }], size: "small", placeholder: "请选择", separator: ",", onSetValue: J }, null, 8, ["disabled", "value", "models"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), "field" === e2.configure.props.base.deptScope ? (t(), o(W3, { key: 0, label: "筛选字段", class: "amb-design-attr-item" }, { default: u(() => [i(M2, { modelValue: e2.configure.props.base.limitFilterColumn, "onUpdate:modelValue": _2[16] || (_2[16] = (l3) => e2.configure.props.base.limitFilterColumn = l3), clearable: "", placeholder: "请选择" }, { default: u(() => [i(k2, { key: "id", label: "id", value: "id" }), i(k2, { key: "code", label: "编码", value: "code" }), i(k2, { key: "name", label: "名称", value: "name" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true)])]), _: 1 }), (t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"])), s(i(S, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (t(), o(B2, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [d("div", R, [i(W3, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(P, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": _2[17] || (_2[17] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(W3, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(Q, { span: 8 }, { default: u(() => [i(P, { label: "自定义", value: "custom" })]), _: 1 }), i(Q, { span: 14 }, { default: u(() => [i(X, { type: "default" }, { default: u(() => [..._2[36] || (_2[36] = [c("自定义逻辑", -1)])]), _: 1 }), i(X, { type: "default", icon: f(g), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), q.value ? r("", true) : (t(), o(v, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
38
|
+
return (E = B.currentTableConfig) && (A.value = w(E.modelFields)), (l2, v2) => {
|
|
39
|
+
const j2 = a("el-option"), w2 = a("el-select"), D3 = a("el-form-item"), W2 = a("el-input"), F2 = a("el-radio"), O2 = a("el-radio-group"), B2 = a("el-input-number"), E2 = a("el-collapse-item"), P = a("el-checkbox"), Q = a("el-col"), R = a("el-button"), X = a("el-collapse"), Y = a("el-form");
|
|
40
|
+
return t(), o(Y, { "label-width": "80px", size: "small" }, { default: u(() => [i(X, { modelValue: q.value, "onUpdate:modelValue": v2[15] || (v2[15] = (e3) => q.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(E2, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", T, [i(D3, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: M.value, "onUpdate:modelValue": v2[0] || (v2[0] = (e3) => M.value = e3), onChange: G, placeholder: "请选择" }, { default: u(() => [(t(true), p(n, null, m(f(V)(), (e3) => (t(), o(j2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(D3, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(W2, { 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 }), i(D3, { label: "结构树类型", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: e2.configure.props.base.treeType, "onUpdate:modelValue": v2[2] || (v2[2] = (l3) => e2.configure.props.base.treeType = l3), placeholder: "请选择" }, { default: u(() => [i(j2, { label: "部门人员树", value: "DeptUserTree" }), i(j2, { label: "工作组人员树", value: "WgUserTree" }), i(j2, { label: "部门树", value: "DeptTree" }), i(j2, { label: "工作组树", value: "WgTree" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), L.value ? d("", true) : (t(), o(D3, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": H }, null, 8, ["modelValue"]))]), _: 1 })), i(D3, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": I }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), L.value ? d("", true) : (t(), o(D3, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), L.value ? d("", true) : (t(), o(D3, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(O2, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": v2[3] || (v2[3] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(F2, { value: true }, { default: u(() => [...v2[16] || (v2[16] = [c("显示", -1)])]), _: 1 }), i(F2, { value: false }, { default: u(() => [...v2[17] || (v2[17] = [c("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(D3, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(k, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": v2[4] || (v2[4] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(D3, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B2, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": v2[5] || (v2[5] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(D3, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(O2, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": v2[6] || (v2[6] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(F2, { value: "block" }, { default: u(() => [...v2[18] || (v2[18] = [c("换行", -1)])]), _: 1 }), i(F2, { value: "inline" }, { default: u(() => [...v2[19] || (v2[19] = [c("不换行", -1)])]), _: 1 }), i(F2, { value: "omit" }, { default: u(() => [...v2[20] || (v2[20] = [c("省略号", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(D3, { label: "多选", class: "amb-design-attr-item" }, { default: u(() => [i(O2, { modelValue: e2.configure.props.base.treeMultiple, "onUpdate:modelValue": v2[7] || (v2[7] = (l3) => e2.configure.props.base.treeMultiple = l3), class: "ml-4" }, { default: u(() => [i(F2, { value: true }, { default: u(() => [...v2[21] || (v2[21] = [c("是", -1)])]), _: 1 }), i(F2, { value: false }, { default: u(() => [...v2[22] || (v2[22] = [c("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(i(D3, { label: "分隔符", class: "amb-design-attr-item" }, { default: u(() => [i(W2, { modelValue: e2.configure.props.base.separator, "onUpdate:modelValue": v2[8] || (v2[8] = (l3) => e2.configure.props.base.separator = l3), placeholder: "," }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.treeMultiple]]), i(D3, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [i(O2, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": v2[9] || (v2[9] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: u(() => [i(F2, { value: "large" }, { default: u(() => [...v2[23] || (v2[23] = [c("大", -1)])]), _: 1 }), i(F2, { value: "default" }, { default: u(() => [...v2[24] || (v2[24] = [c("中", -1)])]), _: 1 }), i(F2, { value: "small" }, { default: u(() => [...v2[25] || (v2[25] = [c("小", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(D3, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(O2, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": v2[10] || (v2[10] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(F2, { value: "default" }, { default: u(() => [...v2[26] || (v2[26] = [c("普通", -1)])]), _: 1 }), i(F2, { value: "disabled" }, { default: u(() => [...v2[27] || (v2[27] = [c("禁用", -1)])]), _: 1 }), i(F2, { value: "hidden" }, { default: u(() => [...v2[28] || (v2[28] = [c("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(E2, { title: "限定部门", name: "deptScopes", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", z, [i(O2, { modelValue: e2.configure.props.base.deptScope, "onUpdate:modelValue": v2[12] || (v2[12] = (l3) => e2.configure.props.base.deptScope = l3), onChange: N }, { default: u(() => [i(D3, { class: "amb-design-attr-item" }, { label: u(() => [i(F2, { value: "field" }, { default: u(() => [...v2[29] || (v2[29] = [c("指定变量", -1)])]), _: 1 })]), default: u(() => [i(y, { showLabel: "field" != e2.configure.props.base.deptScope, objModelOptions: A.value, modelValue: e2.configure.props.base.deptScopeField, "onUpdate:modelValue": J }, null, 8, ["showLabel", "objModelOptions", "modelValue"])]), _: 1 }), i(D3, { class: "amb-design-attr-item" }, { label: u(() => [i(F2, { value: "depts" }, { default: u(() => [...v2[30] || (v2[30] = [c("固定部门", -1)])]), _: 1 })]), default: u(() => [i(f(S), { disabled: "depts" != e2.configure.props.base.deptScope, multiple: true, treeType: "DeptTree", value: e2.configure.props.base.deptScopeDepts, "onUpdate:value": v2[11] || (v2[11] = (l3) => e2.configure.props.base.deptScopeDepts = l3), models: e2.configure.props.base, fields: [{ type: "code", model: "deptScopeCodes" }], size: "small", placeholder: "请选择", separator: ",", onSetValue: K }, null, 8, ["disabled", "value", "models"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), "field" === e2.configure.props.base.deptScope ? (t(), o(D3, { key: 0, label: "筛选字段", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: e2.configure.props.base.limitFilterColumn, "onUpdate:modelValue": v2[13] || (v2[13] = (l3) => e2.configure.props.base.limitFilterColumn = l3), clearable: "", placeholder: "请选择" }, { default: u(() => [i(j2, { key: "id", label: "id", value: "id" }), i(j2, { key: "code", label: "编码", value: "code" }), i(j2, { key: "name", label: "名称", value: "name" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : d("", true)])]), _: 1 }), (t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"])), s(i(x, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (t(), o(E2, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [r("div", C, [i(D3, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(P, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": v2[14] || (v2[14] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(D3, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(Q, { span: 8 }, { default: u(() => [i(P, { label: "自定义", value: "custom" })]), _: 1 }), i(Q, { span: 14 }, { default: u(() => [i(R, { type: "default" }, { default: u(() => [...v2[31] || (v2[31] = [c("自定义逻辑", -1)])]), _: 1 }), i(R, { type: "default", icon: f(g), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), L.value ? d("", true) : (t(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
44
41
|
};
|
|
45
42
|
} });
|
|
46
43
|
export {
|
|
47
|
-
|
|
44
|
+
D as default
|
|
48
45
|
};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, watch as l, resolveComponent as i, createBlock as
|
|
1
|
+
import { defineComponent as e, ref as t, watch as l, resolveComponent as i, createBlock as r, openBlock as o, normalizeStyle as u, normalizeClass as a, withCtx as p, createVNode as s, unref as n, createElementBlock as d, createCommentVNode as c, Fragment as m, createTextVNode as f, toDisplayString as v } from "vue";
|
|
2
2
|
import { caculateDetailComponentStyle as g, caculateComponentProps as y } from "../../../../utils/form-design-util.js";
|
|
3
3
|
import { OrganizationInput as S } from "agilebuilder-ui";
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
function
|
|
10
|
-
|
|
4
|
+
import b from "../common/title-suffix-element.vue.js";
|
|
5
|
+
const h = e({ __name: "depttree-design", props: { pageDesign: {}, configure: {} }, setup(e2) {
|
|
6
|
+
const h2 = e2;
|
|
7
|
+
h2.configure.runtime || (h2.configure.runtime = {});
|
|
8
|
+
const F = t({ value: void 0 }), T = t({}), C = t(""), x = t({}), z = t({}), k = t({});
|
|
9
|
+
function j(e3, t2) {
|
|
10
|
+
F.value = t2;
|
|
11
11
|
}
|
|
12
|
-
return l(
|
|
13
|
-
g(
|
|
14
|
-
}, { immediate: true }), l(
|
|
15
|
-
y(
|
|
16
|
-
let e3 =
|
|
12
|
+
return l(h2.configure.style, () => {
|
|
13
|
+
g(h2.configure, T, C, x), h2.configure.runtime.style = T.value, h2.configure.runtime.class = C.value, h2.configure.runtime.headerStyle = x.value;
|
|
14
|
+
}, { immediate: true }), l(h2.configure.props, () => {
|
|
15
|
+
y(h2.configure, z, k), function() {
|
|
16
|
+
let e3 = h2.configure.props ? h2.configure.props : {};
|
|
17
17
|
const t2 = e3.base ? e3.base : {}, l2 = {};
|
|
18
|
-
l2.treeType = t2.treeType ? t2.treeType : "DeptUserTree", l2.size = t2.size, l2.state = t2.state, l2.multiple = t2.treeMultiple, l2.separator = t2.separator ? t2.separator : ",", t2.deptScope && (l2.deptScope = t2.deptScope), "field" == t2.deptScope && t2.deptScopeField && (l2.deptScopeField = t2.deptScopeField), "depts" == t2.deptScope && t2.deptScopeCodes && (l2.deptScopeCodes = t2.deptScopeCodes), t2.limitFilterColumn && (l2.limitFilterColumn = t2.limitFilterColumn)
|
|
19
|
-
const i2 = t2.otherFieldSets ? t2.otherFieldSets : [],
|
|
18
|
+
l2.treeType = t2.treeType ? t2.treeType : "DeptUserTree", l2.size = t2.size, l2.state = t2.state, l2.multiple = t2.treeMultiple, l2.separator = t2.separator ? t2.separator : ",", t2.deptScope && (l2.deptScope = t2.deptScope), "field" == t2.deptScope && t2.deptScopeField && (l2.deptScopeField = t2.deptScopeField), "depts" == t2.deptScope && t2.deptScopeCodes && (l2.deptScopeCodes = t2.deptScopeCodes), t2.limitFilterColumn && (l2.limitFilterColumn = t2.limitFilterColumn);
|
|
19
|
+
const i2 = t2.otherFieldSets ? t2.otherFieldSets : [], r2 = [];
|
|
20
20
|
for (let e4 of i2) if (e4.source && e4.target) {
|
|
21
21
|
let t3 = e4.target;
|
|
22
|
-
|
|
22
|
+
r2.push({ type: e4.source, model: t3 });
|
|
23
23
|
}
|
|
24
|
-
l2.autoSetFields =
|
|
25
|
-
}(),
|
|
24
|
+
l2.autoSetFields = r2, Object.assign(z.value, l2);
|
|
25
|
+
}(), h2.configure.runtime.props = z.value, h2.configure.runtime.titleExceedStyle = k.value;
|
|
26
26
|
}, { immediate: true }), (t2, l2) => {
|
|
27
27
|
const g2 = i("el-form-item");
|
|
28
|
-
return
|
|
28
|
+
return o(), r(g2, { required: z.value.required, class: a([C.value, "remove-formLabel-formContent-blankStyle"]), "label-width": z.value.labelWidth, style: u(T.value) }, { label: p(() => [z.value.tittleShow ? (o(), d("div", { key: 0, style: u({ ...x.value, ...k.value, "padding-right": "12px" }) }, [z.value.prefixType ? (o(), r(b, { key: 0, configure: e2.configure }, null, 8, ["configure"])) : (o(), d(m, { key: 1 }, [f(v(z.value.title), 1)], 64))], 4)) : c("", true)]), default: p(() => [s(n(S), { multiple: z.value.multiple, treeType: z.value.treeType, size: z.value.size, value: F.value.value, "onUpdate:value": l2[0] || (l2[0] = (e3) => F.value.value = e3), models: F.value, openTree: false, fields: [], placeholder: "请选择", separator: ",", onSetValue: j }, null, 8, ["multiple", "treeType", "size", "value", "models"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
29
29
|
};
|
|
30
30
|
} });
|
|
31
31
|
export {
|
|
32
|
-
|
|
32
|
+
h as default
|
|
33
33
|
};
|
package/dist/es/style.css
CHANGED
|
@@ -855,7 +855,7 @@ fieldset.amb-design-item-selected {
|
|
|
855
855
|
align-items: center; /* 子元素在交叉轴(垂直方向)上居中对齐 */
|
|
856
856
|
}
|
|
857
857
|
|
|
858
|
-
[data-v-
|
|
858
|
+
[data-v-b16110ab] .el-cascader-menu {
|
|
859
859
|
min-width: 120px !important;
|
|
860
860
|
}
|
|
861
861
|
|
|
@@ -11010,7 +11010,7 @@ li[data-v-ee345ad2] {
|
|
|
11010
11010
|
color: #7b7b7b;
|
|
11011
11011
|
}
|
|
11012
11012
|
|
|
11013
|
-
.seleteSort[data-v-
|
|
11013
|
+
.seleteSort[data-v-e95dace8] {
|
|
11014
11014
|
border-radius: 5px;
|
|
11015
11015
|
border: 1px solid rgba(88, 147, 239);
|
|
11016
11016
|
}
|
|
@@ -11061,7 +11061,7 @@ li[data-v-d06d5717] {
|
|
|
11061
11061
|
width: 100%
|
|
11062
11062
|
}
|
|
11063
11063
|
|
|
11064
|
-
.seleteSort[data-v-
|
|
11064
|
+
.seleteSort[data-v-d787d262] {
|
|
11065
11065
|
border-radius: 5px;
|
|
11066
11066
|
border: 1px solid rgba(88, 147, 239);
|
|
11067
11067
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "super-page-designer",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.24-design1",
|
|
4
4
|
"description": "AgileBuilder super page designer",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/es/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
30
30
|
"@vueuse/core": "^10.9.0",
|
|
31
31
|
"agilebuilder-private-libs": "1.0.26",
|
|
32
|
-
"agilebuilder-ui": "1.1.
|
|
32
|
+
"agilebuilder-ui": "1.1.72",
|
|
33
33
|
"echarts": "^5.5.0",
|
|
34
34
|
"element-plus": "^2.6.1",
|
|
35
35
|
"font-awesome": "^4.7.0",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"pinia": "^2.1.7",
|
|
41
41
|
"qrcode": "^1.5.3",
|
|
42
42
|
"quill": "^2.0.1",
|
|
43
|
-
"service-flow-designer": "2.3.
|
|
44
|
-
"super-page-runtime": "2.3.
|
|
43
|
+
"service-flow-designer": "2.3.24-flow1",
|
|
44
|
+
"super-page-runtime": "2.3.24",
|
|
45
45
|
"uuid": "^9.0.1",
|
|
46
46
|
"vite": "^5.1.6",
|
|
47
47
|
"vite-plugin-node-stdlib-browser": "^0.2.1",
|