super-page-designer 2.3.24-design1 → 2.3.25-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.
@@ -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: {}, 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: "" } };
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: {}, querySettings: {}, 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, _g;
167
167
  let t2 = {};
168
168
  if ("select" === e2.name) {
169
169
  const r2 = e2.props.base, a2 = r2.allowCreate, o2 = r2.clearable;
@@ -172,8 +172,8 @@ function b(e2) {
172
172
  } else if ("input-text" === e2.name) {
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
- } 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), t2 ? JSON.stringify(t2) : null;
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, "textarea" === e2.props.base.inputShowWay && (t2.inputShowWay = e2.props.base.inputShowWay, t2.autosize = { minRows: e2.props.base.textareaMinRow, maxRows: e2.props.base.textareaMaxRow }));
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), ((_g = e2.props) == null ? void 0 : _g.querySettings) && (t2.querySettings = e2.props.querySettings), t2 ? JSON.stringify(t2) : null;
177
177
  }
178
178
  function y(e2) {
179
179
  var _a, _b, _c;
@@ -275,7 +275,7 @@ function w(e2) {
275
275
  t2.push({ value: e3.dbColumnName, label: e3.alias, alias: e3.alias, dataType: e3.dataType });
276
276
  }), t2;
277
277
  }
278
- function V(e2, t2, r2) {
278
+ function x(e2, t2, r2) {
279
279
  var _a;
280
280
  const a2 = e2 ? e2.pageType : null;
281
281
  let o2, n2;
@@ -284,7 +284,7 @@ function V(e2, t2, r2) {
284
284
  export {
285
285
  v as changeFeieldToMap,
286
286
  w as getModelOptionsByFields,
287
- V as getTableConfigByTableUuid,
287
+ x as getTableConfigByTableUuid,
288
288
  N as getTableNameByTableUuid,
289
289
  p as querySublist,
290
290
  s as queryTableFields,
@@ -1,7 +1,7 @@
1
- import e from "./data-origin.vue2.js";
1
+ import o from "./data-origin.vue2.js";
2
2
  /* empty css */
3
- import o from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = o(e, [["__scopeId", "data-v-e95dace8"]]);
3
+ import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const t = r(o, [["__scopeId", "data-v-3cc805ce"]]);
5
5
  export {
6
- r as default
6
+ t as default
7
7
  };
@@ -1,8 +1,8 @@
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";
1
+ import { defineComponent as e, ref as a, computed as l, resolveComponent as i, createBlock as t, openBlock as o, 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 m, createElementBlock as f, Fragment as v, renderList as b, normalizeClass as y, 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 C from "../../workflow/component/combination.vue.js";
5
- import S from "./return-set-table.vue.js";
4
+ import S from "../../workflow/component/combination.vue.js";
5
+ import C 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,109 +13,110 @@ 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 } 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: () => {
16
+ import { ElLoading as z, ElMessage as M } from "element-plus";
17
+ import { tableField as w } from "../../../../../../stores/table-store.js";
18
+ const G = { style: { padding: "8px 0px 0px 0px" } }, Q = ["onClick"], q = { style: { float: "left" } }, B = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, R = { style: { float: "left" } }, $ = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, A = { style: { float: "left" } }, I = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, E = { style: { float: "left" } }, H = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, J = e({ __name: "data-origin", props: { configure: { type: Object, default: () => {
19
19
  } }, remote: { type: Boolean, default: true }, pageDesign: { type: Object, default: () => {
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;
20
+ } } }, emits: ["tableSelected"], setup(e2, { emit: J2 }) {
21
+ const K = J2, P = e2, W = w(), X = { tabSize: 4, lineNumbers: true, mode: "application/json", theme: "default", line: true, styleActiveLine: true, matchBrackets: true }, Y = a(false), Z = a(false), ee = a(false), ae = a(null), le = a(""), ie = a(false), te = a(null), oe = P.configure.props.dataOrigin, ne = P.pageDesign.pageType;
22
+ ne && "form" === ne && (te.value = P.pageDesign.modelFields);
23
+ const re = a([]), se = l(() => re.value.filter((e3) => "array" == e3.type || "any" == e3.type || !e3.type));
24
+ function ue(e3) {
25
+ P.configure.props.dataOrigin.sqlFilterCondition = e3;
26
26
  }
27
- function re() {
28
- ee.value = false;
27
+ function de() {
28
+ ie.value = false;
29
29
  }
30
- function se(e3) {
31
- H2.configure.props.dataOrigin.defaultQueryCriteria = e3;
30
+ function pe(e3) {
31
+ P.configure.props.dataOrigin.defaultQueryCriteria = e3;
32
32
  }
33
- le.service || (le.service = {});
34
- let ue = a([]), de = a(false), pe = a(null);
35
- function ce({ columns: e3, modelFieldsMap: a2 }) {
36
- _e();
33
+ oe.service || (oe.service = {});
34
+ let ce = a([]), ge = a(false), me = a(null);
35
+ function fe({ columns: e3, modelFieldsMap: a2 }) {
36
+ ke();
37
37
  const l2 = z.service({ lock: true, text: "Loading", background: "rgba(0, 0, 0, 0.7)" });
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();
38
+ ge.value && (P.configure.tableSysCode = me ? me.value.systemCode : null, P.configure.tableSysVersion = me ? me.value.systemVersion : null, P.configure.props.dataOrigin.tableName = me ? me.value.name : null, P.configure.props.dataOrigin.alias = me ? me.value.alias : null, P.configure.modelFieldsMap = a2, P.configure.modelFields = ce.value, ge.value = false, me.value = null, ce.value = []), h.$emit("reloadTable-" + P.configure.uuid, e3), l2.close();
39
39
  }
40
- function ge() {
41
- Y.value.openDialog();
40
+ function ve() {
41
+ ae.value.openDialog();
42
42
  }
43
- function fe() {
44
- H2.configure.props.dataOrigin.tableName = "", H2.configure.props.dataOrigin.alias = "", H2.configure.modelFields = [];
43
+ function be() {
44
+ P.configure.props.dataOrigin.tableName = "", P.configure.props.dataOrigin.alias = "", P.configure.modelFields = [];
45
45
  }
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 : "";
46
+ function ye(e3) {
47
+ let a2 = P.configure.tableSysCode ? P.configure.tableSysCode : "";
48
+ a2 += "_", a2 += P.configure.tableSysVersion ? P.configure.tableSysVersion : "", a2 += "_", a2 += P.configure.props.dataOrigin.tableName ? P.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 : "", l2 !== a2) {
50
+ if (l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", K("tableSelected", e3), l2 !== a2) {
51
51
  const a3 = z.service({ lock: true, text: "Loading", background: "rgba(0, 0, 0, 0.7)" });
52
- pe.value = e3;
53
- const l3 = e3.systemCode ? e3.systemCode : H2.pageDesign.systemCode, i2 = e3.systemVersion ? e3.systemVersion : H2.pageDesign.version;
52
+ me.value = e3;
53
+ const l3 = e3.systemCode ? e3.systemCode : P.pageDesign.systemCode, i2 = e3.systemVersion ? e3.systemVersion : P.pageDesign.version;
54
54
  N(l3, i2, e3.name).then((e4) => {
55
- de.value = true, ue.value = e4, J.addFieldList(e4), P.value = true, a3.close();
55
+ ge.value = true, ce.value = e4, W.addFieldList(e4), Y.value = true, a3.close();
56
56
  });
57
57
  }
58
58
  }
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;
59
+ function Ve(e3, a2, l2, i2) {
60
+ oe.service.id, oe.service.simpleCode = a2, oe.service.id = i2, oe.service.name = l2, function() {
61
+ const e4 = oe.service.id;
62
+ if (Oe == e4) return;
63
+ if (Oe = e4, !e4) return P.configure.serviceFields = [], re.value = [], void (P.configure.serviceDataField = null);
64
+ U(oe.service.simpleCode).then((e5) => {
65
+ P.configure.serviceFields = e5, re.value = e5, function() {
66
+ if (!P.configure.serviceDataField) return;
67
67
  let e6 = false;
68
- if (oe.value) {
69
- for (let a3 of oe.value) if (a3.value == H2.configure.serviceDataField) {
68
+ if (re.value) {
69
+ for (let a3 of re.value) if (a3.value == P.configure.serviceDataField) {
70
70
  e6 = true;
71
71
  break;
72
72
  }
73
73
  }
74
- e6 || (H2.configure.serviceDataField = null);
74
+ e6 || (P.configure.serviceDataField = null);
75
75
  }();
76
76
  });
77
77
  }();
78
78
  }
79
79
  !function() {
80
- const e3 = H2.pageDesign.systemCode, a2 = H2.pageDesign.systemVersion, l2 = { name: H2.configure.props.dataOrigin.tableName };
80
+ const e3 = P.pageDesign.systemCode, a2 = P.pageDesign.systemVersion, l2 = { name: P.configure.props.dataOrigin.tableName };
81
81
  N(e3, a2, l2.name).then((e4) => {
82
- ue.value = e4, J.addFieldList(e4);
82
+ ce.value = e4, W.addFieldList(e4);
83
83
  });
84
84
  }();
85
- let ye = null;
86
- function be(e3) {
87
- H2.configure.props.dataOrigin.returnSetList = e3, Ve();
85
+ let Oe = null;
86
+ function _e(e3) {
87
+ P.configure.props.dataOrigin.returnSetList = e3, Se();
88
88
  }
89
- function Ve() {
90
- X.value = false;
89
+ function Se() {
90
+ ee.value = false;
91
91
  }
92
- function Oe(e3) {
93
- H2.configure.props.dataOrigin.returnSetList = H2.configure.props.dataOrigin.returnSetList.filter((a2) => a2 != e3);
92
+ function Ce(e3) {
93
+ P.configure.props.dataOrigin.returnSetList = P.configure.props.dataOrigin.returnSetList.filter((a2) => a2 != e3);
94
94
  }
95
- function _e() {
96
- P.value = false;
95
+ function ke() {
96
+ Y.value = false;
97
97
  }
98
- function Ce() {
99
- W.value = false;
98
+ function Te() {
99
+ Z.value = false;
100
100
  }
101
- function Se() {
102
- H2.configure.props.dataOrigin.sortField.push({ name: "", type: "" }), Z.value = "";
101
+ function Fe() {
102
+ var _a;
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 = "");
103
104
  }
104
- function ke() {
105
- H2.configure.props.dataOrigin.sortField.splice(Z, 1);
105
+ function De() {
106
+ P.configure.props.dataOrigin.sortField.splice(le, 1);
106
107
  }
107
108
  return (a2, l2) => {
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;
109
+ const h2 = i("el-radio"), U2 = i("el-radio-group"), z2 = i("el-form-item"), M2 = i("el-button"), w2 = i("el-input"), J3 = i("el-option"), K2 = i("el-select"), W2 = i("el-collapse-item");
110
+ return o(), t(W2, { title: "数据", name: "dataOrigin", class: "amb-design-attr-group-header" }, { default: n(() => [r("div", G, [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 ? (o(), t(g(_), { key: 0, modelValue: e2.configure.props.dataOrigin.json, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.props.dataOrigin.json = a3), options: X, 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), [[m, "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), [[m, "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), [[m, "optionGroup" === e2.configure.props.dataOrigin.optionValueSetType]]), d(s(z2, { label: "数据表视图", class: "amb-design-attr-item" }, { default: n(() => [s(w2, { 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: ve, clearable: "", readonly: "true" }, { prepend: n(() => [s(M2, { type: "default", icon: g(D), onClick: ve, size: "small" }, null, 8, ["icon"])]), append: n(() => [s(M2, { type: "default", icon: g(F), onClick: be, title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }, 512), [[m, "dataTable" === e2.configure.props.dataOrigin.optionValueSetType]]), "dataTable" === e2.configure.props.dataOrigin.optionValueSetType && e2.configure.props.dataOrigin.tableName ? (o(), t(z2, { key: 1, label: "快捷设置", class: "amb-design-attr-item" }, { default: n(() => [s(M2, { type: "primary", onClick: l2[7] || (l2[7] = (e3) => function() {
111
+ const e4 = P.configure.tableSysCode ? P.configure.tableSysCode : P.pageDesign.systemCode, a3 = P.configure.tableSysVersion ? P.configure.tableSysVersion : P.pageDesign.systemVersion, l3 = P.configure.props.dataOrigin.tableName;
111
112
  N(e4, a3, l3).then((e5) => {
112
- ue.value = e5, P.value = true;
113
+ ce.value = e5, Y.value = true;
113
114
  });
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 });
115
+ }()) }, { default: n(() => [...l2[21] || (l2[21] = [c("编辑", -1)])]), _: 1 })]), _: 1 })) : u("", true), "dataTable" === e2.configure.props.dataOrigin.optionValueSetType ? (o(), t(z2, { key: 2, label: "编辑排序", class: "amb-design-attr-item" }, { default: n(() => [s(M2, { type: "primary", onClick: Fe }, { default: n(() => [...l2[22] || (l2[22] = [c("添加", -1)])]), _: 1 }), s(M2, { type: "default", onClick: De }, { default: n(() => [...l2[23] || (l2[23] = [c("删除", -1)])]), _: 1 }), (o(true), f(v, null, b(e2.configure.props.dataOrigin.sortField, (a3, l3) => (o(), f("div", { key: l3, onClick: (e3) => function(e4) {
116
+ le.value = e4;
117
+ }(l3), style: { "margin-top": "10px" }, class: y(le.value === l3 ? "amb-design-attr-item-inline seleteSort" : "amb-design-attr-item-inline") }, [s(K2, { modelValue: a3.name, "onUpdate:modelValue": (e3) => a3.name = e3, placeholder: "请选择" }, { default: n(() => [(o(true), f(v, null, b(e2.configure.modelFields, (e3, a4) => (o(), t(J3, { key: a4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"]), s(K2, { modelValue: a3.type, "onUpdate:modelValue": (e3) => a3.type = e3, style: { "margin-left": "10px" }, placeholder: "请选择" }, { default: n(() => [s(J3, { label: "升序", value: "asc" }), s(J3, { label: "降序", value: "desc" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])], 10, Q))), 128))]), _: 1 })) : u("", true), d(s(z2, { label: "服务名", class: "amb-design-attr-item" }, { default: n(() => [s(x, { pageDesign: e2.pageDesign, rowObj: g(oe).service, onlyService: "", "onUpdate:modelValue": l2[8] || (l2[8] = (e3, a3, l3, i2) => Ve(0, a3, l3, i2)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }, 512), [[m, "service" === e2.configure.props.dataOrigin.optionValueSetType]]), "service" === e2.configure.props.dataOrigin.optionValueSetType && e2.configure.props.dataOrigin.serveName ? (o(), t(z2, { key: 3, label: "快捷设置", class: "amb-design-attr-item" }, { default: n(() => [s(M2, { type: "primary", onClick: l2[9] || (l2[9] = (e3) => Y.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), [[m, e2.remote && ("dataTable" === e2.configure.props.dataOrigin.optionValueSetType || "service" === e2.configure.props.dataOrigin.optionValueSetType)]]), "service" === e2.configure.props.dataOrigin.optionValueSetType ? (o(), t(z2, { key: 4, label: "datas", class: "amb-design-attr-item" }, { default: n(() => [s(K2, { 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(() => [(o(true), f(v, null, b(se.value, (e3, a3) => (o(), t(J3, { key: a3, label: e3.label, value: e3.value }, { default: n(() => [r("span", q, V(e3.label), 1), r("span", B, V(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : u("", true), "service" === e2.configure.props.dataOrigin.optionValueSetType ? (o(), t(z2, { key: 5, label: "总页数", class: "amb-design-attr-item" }, { default: n(() => [s(K2, { 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(() => [(o(true), f(v, null, b(se.value, (e3, a3) => (o(), t(J3, { key: a3, label: e3.label, value: e3.value }, { default: n(() => [r("span", R, V(e3.label), 1), r("span", $, V(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : u("", true), "service" === e2.configure.props.dataOrigin.optionValueSetType ? (o(), t(z2, { key: 6, label: "总条数", class: "amb-design-attr-item" }, { default: n(() => [s(K2, { 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(() => [(o(true), f(v, null, b(se.value, (e3, a3) => (o(), t(J3, { key: a3, label: e3.label, value: e3.value }, { default: n(() => [r("span", A, V(e3.label), 1), r("span", I, V(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : u("", true), "service" === e2.configure.props.dataOrigin.optionValueSetType ? (o(), t(z2, { key: 7, label: "页码", class: "amb-design-attr-item" }, { default: n(() => [s(K2, { 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(() => [(o(true), f(v, null, b(se.value, (e3, a3) => (o(), t(J3, { key: a3, label: e3.label, value: e3.value }, { default: n(() => [r("span", E, V(e3.label), 1), r("span", H, V(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : u("", true), "dataTable" === e2.configure.props.dataOrigin.optionValueSetType ? (o(), t(z2, { key: 8, label: "查询条件", class: "amb-design-attr-item" }, { default: n(() => [s(j, { onClick: l2[15] || (l2[15] = (e3) => ie.value = true), conditionData: e2.configure.props.dataOrigin.defaultQueryCriteria }, null, 8, ["conditionData"])]), _: 1 })) : u("", true), "dataTable" === e2.configure.props.dataOrigin.optionValueSetType ? (o(), t(z2, { key: 9, label: "过滤条件", class: "amb-design-attr-item" }, { default: n(() => [s(j, { onClick: l2[16] || (l2[16] = (e3) => Z.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(oe) }, null, 8, ["dataOrigin"]), [[m, "service" == e2.configure.props.dataOrigin.optionValueSetType]])]), s(T, { ref_key: "selectTableDialog", ref: ae, onSelectTable: ye, systemCode: e2.pageDesign.systemCode, systemVersion: e2.pageDesign.systemVersion }, null, 8, ["systemCode", "systemVersion"]), ee.value ? (o(), t(C, { key: 0, returnSetList: e2.configure.props.dataOrigin.returnSetList, onSave: _e, onClose: Se, onRemove: Ce }, null, 8, ["returnSetList"])) : u("", true), Z.value ? (o(), t(S, { key: 1, list: e2.configure.props.dataOrigin.sqlFilterCondition, fieldNameList: e2.configure.modelFields, fieldMap: e2.configure.modelFieldsMap, dataFieldNameList: te.value, onSave: ue, onClose: Te }, null, 8, ["list", "fieldNameList", "fieldMap", "dataFieldNameList"])) : u("", true), ie.value ? (o(), t(S, { key: 2, list: e2.configure.props.dataOrigin.defaultQueryCriteria, fieldNameList: e2.configure.modelFields, fieldMap: e2.configure.modelFieldsMap, dataFieldNameList: te.value, onClose: de, onSave: pe }, null, 8, ["list", "fieldNameList", "fieldMap", "dataFieldNameList"])) : u("", true), Y.value ? (o(), t(k, { key: 3, configure: e2.configure, modelFields: g(ce), pageDesign: e2.pageDesign, isChangeTable: g(ge), onSetConfigure: fe, onClose: ke }, null, 8, ["configure", "modelFields", "pageDesign", "isChangeTable"])) : u("", true)]), _: 3 });
117
118
  };
118
119
  } });
119
120
  export {
120
- H as default
121
+ J as default
121
122
  };
@@ -13,47 +13,50 @@ 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" } }, 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"]);
18
- function P(e3) {
19
- j2.configure.props.base.showOperationCondition = e3.data;
20
- }
16
+ const w = { style: { padding: "8px 0px 0px 0px" } }, C = { style: { padding: "8px 0px 0px 0px" } }, D = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8px 0px 0px 0px" } }, E = { style: { padding: "8px 0px 0px 0px" } }, S = { style: { padding: "8px 0px 0px 0px" } }, O = { style: { padding: "8px 0px 0px 0px" } }, z = e({ __name: "table-attr-base", props: { pageDesign: { type: Object, default: () => ({ props: {} }) }, configure: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
17
+ const z2 = e2, j = a(["base", "appearance", "querySetting", "editSetting", "columnSetting", "paging", "dataOrigin", "linkage", "attrSize"]);
21
18
  function T(e3) {
22
- j2.configure.props.base.showAddBtnCondition = e3.data;
19
+ z2.configure.props.base.showOperationCondition = e3.data;
20
+ }
21
+ function P(e3) {
22
+ z2.configure.props.base.showAddBtnCondition = e3.data;
23
23
  }
24
24
  function B(e3) {
25
- j2.configure.props.base.showDeleteBtnCondition = e3.data;
25
+ z2.configure.props.base.showDeleteBtnCondition = e3.data;
26
+ }
27
+ function H(e3) {
28
+ z2.configure.code || (z2.configure.code = e3.name), z2.configure.title || (z2.configure.title = e3.alias);
26
29
  }
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) => {
30
+ return z2.configure.verification || (z2.configure.verification = {}), void 0 !== z2.configure.props.base.isDragColumn && null !== z2.configure.props.base.isDragColumn || (z2.configure.props.base.isDragColumn = true), l(() => z2.configure.props.base.selection, (e3) => {
28
31
  if (e3) {
29
32
  let e4 = c();
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) => {
33
+ z2.configure.items.splice(0, 0, e4);
34
+ } else "$selection" === z2.configure.items[0].props.base.prop && z2.configure.items.splice(0, 1);
35
+ }), l(() => z2.configure.props.base.showIndex, (e3) => {
33
36
  if (e3) {
34
37
  let e4 = b();
35
- "$selection" === j2.configure.items[0].props.base.prop ? j2.configure.items.splice(1, 0, e4) : j2.configure.items.splice(0, 0, e4);
38
+ "$selection" === z2.configure.items[0].props.base.prop ? z2.configure.items.splice(1, 0, e4) : z2.configure.items.splice(0, 0, e4);
36
39
  } else {
37
40
  let e4 = null;
38
- j2.configure.items.forEach((a2, l2) => {
41
+ z2.configure.items.forEach((a2, l2) => {
39
42
  "$index" === a2.props.base.prop && (e4 = l2);
40
- }), null != e4 && j2.configure.items.splice(e4, 1);
43
+ }), null != e4 && z2.configure.items.splice(e4, 1);
41
44
  }
42
- }), l(() => j2.configure.props.base.showOperation, (e3) => {
45
+ }), l(() => z2.configure.props.base.showOperation, (e3) => {
43
46
  if (e3) {
44
47
  let e4 = V();
45
- j2.configure.items.push(e4);
48
+ z2.configure.items.push(e4);
46
49
  } else {
47
50
  let e4 = null;
48
- j2.configure.items.forEach((a2, l2) => {
51
+ z2.configure.items.forEach((a2, l2) => {
49
52
  "operation" === a2.props.base.prop && (e4 = l2);
50
- }), null != e4 && j2.configure.items.splice(e4, 1);
53
+ }), null != e4 && z2.configure.items.splice(e4, 1);
51
54
  }
52
55
  }), (a2, l2) => {
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 });
56
+ const c2 = t("el-option"), b2 = t("el-select"), V2 = t("el-form-item"), z3 = t("el-input"), L = t("el-radio"), q = t("el-radio-group"), I = t("el-collapse-item"), R = t("el-switch"), F = t("el-checkbox"), M = t("el-checkbox-group"), N = t("el-collapse"), $ = t("el-form");
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 });
55
58
  };
56
59
  } });
57
60
  export {
58
- j as default
61
+ z as default
59
62
  };
@@ -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-d787d262"]]);
4
+ const a = e(t, [["__scopeId", "data-v-05500253"]]);
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 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";
1
+ import { defineComponent as e, ref as a, onMounted as l, resolveComponent as o, createBlock as t, openBlock as n, 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 v } from "@element-plus/icons-vue";
3
+ import { getListComponentOptions as C } 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,113 +10,115 @@ 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 j } from "../../../../utils/page-table-util.js";
14
- import { usePageContextStore as N } from "../../../../../../stores/page-store.js";
13
+ import { queryTableFields as k, tableResetConfigIndo as q } from "../../../../utils/page-table-util.js";
14
+ import { usePageContextStore as j } from "../../../../../../stores/page-store.js";
15
15
  import "element-plus";
16
16
  /* empty css */
17
- import q from "../../common/common-i18n-key-input.vue.js";
17
+ import N 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 = 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);
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 = { style: { padding: "8px 0px 0px 0px" } }, P = 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 P2 = e2;
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);
24
26
  l(() => {
25
27
  var _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 }));
28
+ "dynamicColumnSelect" === ((_a = P2.configure.props.base) == null ? void 0 : _a.prop) && P2.configure.props.dynamicColumnData && P2.configure.props.dynamicColumnData.tableName && (ee.value, ae({ name: P2.configure.props.dynamicColumnData.tableName, alias: P2.configure.props.dynamicColumnData.tableAlias }));
27
29
  }), function() {
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 = []);
30
+ P2.configure.props.verification.type && ("text" === P2.configure.props.verification.type && (P2.configure.props.verification.typ = "string"), "int" === P2.configure.props.verification.type && (P2.configure.props.verification.typ = "integer"));
31
+ P2.configure.props.format || (P2.configure.props.format = {});
32
+ P2.configure.props.base && "operation" === P2.configure.props.base.prop ? Z.value = true : Z.value = false;
33
+ P2.configure.props.dynamicColumnData || (P2.configure.props.dynamicColumnData = {});
34
+ P2.configure.props.dynamicColumnData.selectCondition || (P2.configure.props.dynamicColumnData.selectCondition = []);
35
+ P2.configure.props.dynamicColumnData.updateCondition || (P2.configure.props.dynamicColumnData.updateCondition = []);
36
+ P2.configure.props.dynamicColumnData.columnModelTable || (P2.configure.props.dynamicColumnData.columnModelTable = []);
35
37
  }();
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 : "";
38
+ const ee = a("");
39
+ function ae(e3) {
40
+ if ("masterTable" == ee.value) {
41
+ let a2 = P2.configure.props.dynamicColumnData.dataTableCode ? P2.configure.props.dynamicColumnData.dataTableCode : "";
42
+ a2 += "_", a2 += P2.configure.props.dynamicColumnData.tableSysVersion ? P2.configure.props.dynamicColumnData.tableSysVersion : "", a2 += "_", a2 += P2.configure.props.dynamicColumnData.tableName ? P2.configure.props.dynamicColumnData.tableName : "";
41
43
  let l2 = e3.systemCode ? e3.systemCode : "";
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;
44
+ l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != a2 && (P2.configure.props.dynamicColumnData.dataTableCode = e3.systemCode, P2.configure.props.dynamicColumnData.tableSysVersion = e3.systemVersion, P2.configure.props.dynamicColumnData.tableName = e3.name, P2.configure.props.dynamicColumnData.tableAlias = e3.alias, function() {
45
+ const e4 = P2.configure.props.dynamicColumnData.dataTableCode ? P2.configure.props.dynamicColumnData.dataTableCode : Y.pageContext.systemCode, a3 = P2.configure.props.dynamicColumnData.tableSysVersion ? P2.configure.props.dynamicColumnData.tableSysVersion : Y.pageContext.systemVersion, l3 = P2.configure.props.dynamicColumnData.tableName;
44
46
  if (!l3) return;
45
47
  k(e4, a3, l3).then((e5) => {
46
- Q.value = e5, I.value.changeTableFields(e5);
48
+ J.value = e5, Q.value.changeTableFields(e5);
47
49
  }).catch((e5) => {
48
50
  });
49
51
  }());
50
52
  } else {
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 : "";
53
+ let a2 = P2.configure.props.dynamicColumnData.settingDataTableCode ? P2.configure.props.dynamicColumnData.settingDataTableCode : "";
54
+ a2 += "_", a2 += P2.configure.props.dynamicColumnData.settingDataSysVersion ? P2.configure.props.dynamicColumnData.settingDataSysVersion : "", a2 += "_", a2 += P2.configure.props.dynamicColumnData.settingDataName ? P2.configure.props.dynamicColumnData.settingDataName : "";
53
55
  let l2 = e3.systemCode ? e3.systemCode : "";
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;
56
+ l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != a2 && (P2.configure.props.dynamicColumnData.settingDataTableCode = e3.systemCode, P2.configure.props.dynamicColumnData.settingDataSysVersion = e3.systemVersion, P2.configure.props.dynamicColumnData.settingDataName = e3.name, P2.configure.props.dynamicColumnData.settingDataAlias = e3.alias, function() {
57
+ const e4 = P2.configure.props.dynamicColumnData.settingDataTableCode ? P2.configure.props.dynamicColumnData.settingDataTableCode : Y.pageContext.systemCode, a3 = P2.configure.props.dynamicColumnData.settingDataSysVersion ? P2.configure.props.dynamicColumnData.settingDataSysVersion : Y.pageContext.systemVersion, l3 = P2.configure.props.dynamicColumnData.settingDataName;
56
58
  if (!l3) return;
57
59
  k(e4, a3, l3).then((e5) => {
58
- ae.value = e5, I.value.changeTableFields(e5), R.value.changeTableFields(e5), W.value.changeTableFields(e5);
60
+ le.value = e5, Q.value.changeTableFields(e5), W.value.changeTableFields(e5), I.value.changeTableFields(e5);
59
61
  }).catch((e5) => {
60
62
  });
61
63
  }());
62
64
  }
63
65
  }
64
- let ae = a([]);
65
- const le = a(false);
66
- function oe() {
67
- le.value = false;
66
+ let le = a([]);
67
+ const oe = a(false);
68
+ function te() {
69
+ oe.value = false;
68
70
  }
69
71
  function ne(e3) {
70
- B2.configure.props.querySetting = e3;
71
- }
72
- function te(e3) {
73
- e3 ? B2.tableConfigure.props.base.editable = true : B2.configure.name = "";
72
+ P2.configure.props.querySetting = e3;
74
73
  }
75
74
  function ie(e3) {
76
- j(B2.configure, e3);
75
+ e3 ? P2.tableConfigure.props.base.editable = true : P2.configure.name = "";
77
76
  }
78
77
  function ue(e3) {
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);
82
- if (!e4 || 0 === e4.length) {
83
- let e5 = { uuid: U(), columnUuid: a2, titleText: B2.configure.props.base.name, isLeaf: true };
84
- x(null, e5, J), J.push(e5);
85
- }
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 });
78
+ q(P2.configure, e3);
88
79
  }
89
80
  function re(e3) {
90
- B2.configure.props.base.defaultValue = e3;
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);
84
+ if (!e4 || 0 === e4.length) {
85
+ let e5 = { uuid: U(), columnUuid: a2, titleText: P2.configure.props.base.name, isLeaf: true };
86
+ x(null, e5, K), K.push(e5);
87
+ }
88
+ } else P2.tableConfigure.props.base.isEnableGroupHeader && h(K, a2);
89
+ else T.$emit("setHiddenColumsUuid", { uuid: P2.configure.uuid, name: P2.configure.props.base.name, value: e3 });
91
90
  }
92
- function se() {
93
- T.$emit("reloadTable-" + B2.tableConfigure.uuid);
91
+ function se(e3) {
92
+ P2.configure.props.base.defaultValue = e3;
94
93
  }
95
- function pe(e3) {
96
- me(B2.tableConfigure.props.groupHeaders);
94
+ function pe() {
95
+ T.$emit("reloadTable-" + P2.tableConfigure.uuid);
97
96
  }
98
97
  function de(e3) {
99
- me(B2.tableConfigure.props.groupHeaders);
98
+ ce(P2.tableConfigure.props.groupHeaders);
100
99
  }
101
100
  function me(e3) {
102
- if (B2.tableConfigure.props.base.isEnableGroupHeader) {
101
+ ce(P2.tableConfigure.props.groupHeaders);
102
+ }
103
+ function ce(e3) {
104
+ if (P2.tableConfigure.props.base.isEnableGroupHeader) {
103
105
  e3.forEach((e4) => {
104
106
  });
105
107
  for (let a2 = 0; a2 < e3.length; a2++) {
106
108
  const l2 = e3[a2];
107
- if (l2.columnUuid === B2.configure.uuid) {
108
- l2.titleText = B2.configure.props.base.name, l2.prop = B2.configure.props.base.prop;
109
+ if (l2.columnUuid === P2.configure.uuid) {
110
+ l2.titleText = P2.configure.props.base.name, l2.prop = P2.configure.props.base.prop;
109
111
  break;
110
112
  }
111
- l2.children && l2.children.length > 0 && me(l2.children);
113
+ l2.children && l2.children.length > 0 && ce(l2.children);
112
114
  }
113
115
  }
114
116
  }
115
117
  return (a2, l2) => {
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 });
118
+ const x2 = o("el-input"), h2 = o("el-form-item"), U2 = o("el-radio"), T2 = o("el-radio-group"), k2 = o("el-switch"), q2 = o("el-option"), j2 = o("el-select"), P3 = o("el-icon"), W2 = o("el-collapse-item"), I2 = o("el-input-number"), Q2 = o("CloseBold"), J2 = o("el-tooltip"), K2 = o("el-checkbox"), Y2 = o("el-checkbox-group"), ee2 = o("el-col"), le2 = o("el-button"), ce2 = o("el-collapse"), fe = o("el-form");
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 });
118
120
  };
119
121
  } });
120
122
  export {
121
- B as default
123
+ P as default
122
124
  };
@@ -1,45 +1,48 @@
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";
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 r, createElementVNode as d, 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 v } from "../../../../utils/form-design-util.js";
5
- import _ from "../../common/common-attr-size.vue.js";
4
+ import { componentNameChange as _ } from "../../../../utils/form-design-util.js";
5
+ import v 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 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);
8
+ import { OrganizationInput as x } from "agilebuilder-ui";
9
+ import w from "../../common/common-function-code.vue.js";
10
+ import S from "../common/title-suffix.vue.js";
11
+ import U from "../../common/common-i18n-key-input.vue.js";
12
+ import { usePageContextStore as k } from "../../../../../../stores/page-store.js";
13
+ import { getModelOptionsByFields as M } from "../../../../utils/page-table-util.js";
14
+ const j = { style: { padding: "8px 0px 0px 0px" } }, T = { style: { padding: "8px 0px 0px 0px" } }, R = { style: { padding: "8px 0px 0px 0px" } }, W = e({ __name: "depttree-attr-base", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => {
15
+ } }, default: () => ({ props: {} }) }, emits: ["changeAssembly"], setup(e2, { emit: W2 }) {
16
+ const C = k(), z = e2, D = l(z.configure.name), F = W2, O = l(["base"]), q = l(false);
17
+ z.configure.isTable && (q.value = true);
18
+ const L = l(null), A = C.pageContext;
19
+ var B;
20
+ function E(e3) {
21
+ _(z.configure, e3, F);
22
22
  }
23
- function H(e3, l2) {
24
- F.configure.props.base.prop = e3, l2 && (F.configure.props.base.title = l2);
23
+ function G(e3, l2) {
24
+ z.configure.props.base.prop = e3, l2 && (z.configure.props.base.title = l2);
25
+ }
26
+ function H(e3) {
27
+ z.configure.props.base.defaultValue = e3;
25
28
  }
26
29
  function I(e3) {
27
- F.configure.props.base.defaultValue = e3;
30
+ z.configure.props.base.deptScopeField = e3;
28
31
  }
29
- function J(e3) {
30
- F.configure.props.base.deptScopeField = e3;
32
+ function J(e3, l2) {
33
+ z.configure.props.base.deptScopeDepts = l2;
31
34
  }
32
- function K(e3, l2) {
33
- F.configure.props.base.deptScopeDepts = l2;
35
+ function K(e3) {
36
+ "depts" === e3 && (z.configure.props.base.limitFilterColumn = null);
34
37
  }
35
38
  function N(e3) {
36
- "depts" === e3 && (F.configure.props.base.limitFilterColumn = null);
39
+ "default" === e3 ? (z.configure.props.base.textareaMinRow = null, z.configure.props.base.textareaMaxRow = null) : "textarea" === e3 && (z.configure.props.base.textareaMinRow || (z.configure.props.base.textareaMinRow = 2), z.configure.props.base.textareaMaxRow || (z.configure.props.base.textareaMaxRow = 5));
37
40
  }
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 });
41
+ return (B = A.currentTableConfig) && (L.value = M(B.modelFields)), (l2, _2) => {
42
+ const k2 = a("el-option"), M2 = a("el-select"), W3 = a("el-form-item"), C2 = a("el-input"), z2 = a("el-radio"), F2 = a("el-radio-group"), A2 = a("el-input-number"), B2 = a("el-collapse-item"), P = a("el-checkbox"), Q = a("el-col"), X = a("el-button"), Y = a("el-collapse"), Z = a("el-form");
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 });
41
44
  };
42
45
  } });
43
46
  export {
44
- D as default
47
+ W as default
45
48
  };
@@ -1,33 +1,33 @@
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";
1
+ import { defineComponent as e, ref as t, watch as l, resolveComponent as i, createBlock as o, openBlock as r, 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 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;
4
+ import h from "../common/title-suffix-element.vue.js";
5
+ const b = e({ __name: "depttree-design", props: { pageDesign: {}, configure: {} }, setup(e2) {
6
+ const b2 = e2;
7
+ b2.configure.runtime || (b2.configure.runtime = {});
8
+ const w = t({ value: void 0 }), x = t({}), F = t(""), T = t({}), C = t({}), z = t({});
9
+ function k(e3, t2) {
10
+ w.value = t2;
11
11
  }
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 : {};
12
+ return l(b2.configure.style, () => {
13
+ g(b2.configure, x, F, T), b2.configure.runtime.style = x.value, b2.configure.runtime.class = F.value, b2.configure.runtime.headerStyle = T.value;
14
+ }, { immediate: true }), l(b2.configure.props, () => {
15
+ y(b2.configure, C, z), function() {
16
+ let e3 = b2.configure.props ? b2.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 : [], r2 = [];
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), t2.inputShowWay && (l2.inputShowWay = t2.inputShowWay, l2.autosize = { minRows: t2.textareaMinRow, maxRows: t2.textareaMaxRow });
19
+ const i2 = t2.otherFieldSets ? t2.otherFieldSets : [], o2 = [];
20
20
  for (let e4 of i2) if (e4.source && e4.target) {
21
21
  let t3 = e4.target;
22
- r2.push({ type: e4.source, model: t3 });
22
+ o2.push({ type: e4.source, model: t3 });
23
23
  }
24
- l2.autoSetFields = r2, Object.assign(z.value, l2);
25
- }(), h2.configure.runtime.props = z.value, h2.configure.runtime.titleExceedStyle = k.value;
24
+ l2.autoSetFields = o2, Object.assign(C.value, l2);
25
+ }(), b2.configure.runtime.props = C.value, b2.configure.runtime.titleExceedStyle = z.value;
26
26
  }, { immediate: true }), (t2, l2) => {
27
27
  const g2 = i("el-form-item");
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"]);
28
+ return r(), o(g2, { required: C.value.required, class: a([F.value, "remove-formLabel-formContent-blankStyle"]), "label-width": C.value.labelWidth, style: u(x.value) }, { label: p(() => [C.value.tittleShow ? (r(), d("div", { key: 0, style: u({ ...T.value, ...z.value, "padding-right": "12px" }) }, [C.value.prefixType ? (r(), o(h, { key: 0, configure: e2.configure }, null, 8, ["configure"])) : (r(), d(m, { key: 1 }, [f(v(C.value.title), 1)], 64))], 4)) : c("", true)]), default: p(() => [s(n(S), { multiple: C.value.multiple, treeType: C.value.treeType, size: C.value.size, value: w.value.value, "onUpdate:value": l2[0] || (l2[0] = (e3) => w.value.value = e3), models: w.value, openTree: false, fields: [], placeholder: "请选择", separator: ",", onSetValue: k }, null, 8, ["multiple", "treeType", "size", "value", "models"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
29
29
  };
30
30
  } });
31
31
  export {
32
- h as default
32
+ b as default
33
33
  };
@@ -1,5 +1,5 @@
1
1
  import o from "./config.vue3.js";
2
- /* empty css */
2
+ /* empty css */
3
3
  import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const r = e(o, [["__scopeId", "data-v-f39498c6"]]);
5
5
  export {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as e, ref as t, onMounted as n, onUnmounted as a, watch as l, resolveComponent as u, createElementBlock as o, openBlock as s, createElementVNode as i, createVNode as r, withDirectives as m, withCtx as c, vShow as d, unref as v, createTextVNode as p, toDisplayString as f, Fragment as g, renderList as b, createBlock as y } from "vue";
2
2
  import { ElMessageBox as x, ElMessage as h } from "element-plus";
3
- import C from "./config.vue.js";
3
+ import C from "./config.vue2.js";
4
4
  import { standardButtonOperations as E } from "../../../utils/assemblys-config.js";
5
5
  import { findDesignItemByUuid as S, getUuidv4 as V, deepCopy as k } from "../../../utils/common-util.js";
6
6
  import { usePageContextStore as _ } from "../../../../../stores/page-store.js";
@@ -16,7 +16,7 @@ import "@codemirror/autocomplete";
16
16
  import "@codemirror/language";
17
17
  import "@codemirror/search";
18
18
  import "js-beautify";
19
- /* empty css */
19
+ /* empty css */
20
20
  import "../../../utils/assemblys-config.js";
21
21
  import "../../../../../stores/page-store.js";
22
22
  import "../../../../../stores/event-undo-redo-store.js";
package/dist/es/style.css CHANGED
@@ -11010,7 +11010,7 @@ li[data-v-ee345ad2] {
11010
11010
  color: #7b7b7b;
11011
11011
  }
11012
11012
 
11013
- .seleteSort[data-v-e95dace8] {
11013
+ .seleteSort[data-v-3cc805ce] {
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-d787d262] {
11064
+ .seleteSort[data-v-05500253] {
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.24-design1",
3
+ "version": "2.3.25-design1",
4
4
  "description": "AgileBuilder super page designer",
5
5
  "license": "ISC",
6
6
  "main": "dist/es/index.js",
@@ -40,8 +40,8 @@
40
40
  "pinia": "^2.1.7",
41
41
  "qrcode": "^1.5.3",
42
42
  "quill": "^2.0.1",
43
- "service-flow-designer": "2.3.24-flow1",
44
- "super-page-runtime": "2.3.24",
43
+ "service-flow-designer": "2.3.25-flow1",
44
+ "super-page-runtime": "2.3.25",
45
45
  "uuid": "^9.0.1",
46
46
  "vite": "^5.1.6",
47
47
  "vite-plugin-node-stdlib-browser": "^0.2.1",