super-page-designer 2.2.85 → 2.2.89-sit11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/design/utils/assemblys-config.js +9 -10
- package/dist/es/components/design/utils/common-util.d.ts +1 -0
- package/dist/es/components/design/utils/common-util.js +14 -9
- package/dist/es/components/design/utils/page-table-util.js +9 -9
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +21 -21
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +33 -33
- package/dist/es/components/design/views/assemblys/button/button/button-design.vue2.js +16 -16
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr-base.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue2.js +38 -34
- package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/button/component/condition-dialog.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +20 -19
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-design.vue2.js +19 -19
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +9 -8
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-design.vue2.js +19 -19
- package/dist/es/components/design/views/assemblys/chart/column-line/column-line-design.vue2.js +9 -9
- package/dist/es/components/design/views/assemblys/chart/gauge/gauge-design.vue2.js +9 -9
- package/dist/es/components/design/views/assemblys/chart/pie/pie-design.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/chart/radar/radar-design.vue2.js +12 -12
- package/dist/es/components/design/views/assemblys/chart/scatter/scatter-design.vue2.js +11 -11
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +39 -37
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +27 -27
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +14 -14
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +47 -47
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +24 -23
- package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/common/common-attr-size.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/common/common-i18n-key-input.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue.js +5 -104
- package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue3.js +102 -0
- package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +11 -11
- package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +67 -63
- package/dist/es/components/design/views/assemblys/container/card/card-design.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/container/card/card-design.vue2.js +43 -38
- package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr-base.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +26 -26
- package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +30 -30
- package/dist/es/components/design/views/assemblys/data/component/configuration-value.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +4 -4
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +11 -11
- package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/formatting.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/data/component/return-set-table.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/data/component/variate-select.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +14 -11
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +83 -80
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +28 -7
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +10 -10
- package/dist/es/components/design/views/assemblys/form/common/bar-code-rule.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +2 -26
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +26 -2
- package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +33 -25
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +6 -6
- package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +34 -31
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +14 -14
- package/dist/es/components/design/views/assemblys/form/common/verification-custom.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/form/custom/custom-attr.vue2.js +6 -6
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +14 -14
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/object-design.vue.d.ts +4 -0
- package/dist/es/components/design/views/assemblys/object-design.vue.js +5 -138
- package/dist/es/components/design/views/assemblys/object-design.vue3.js +140 -0
- package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/page/create-workflow-dialog.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/page/variable-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +25 -34
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue2.js +22 -18
- package/dist/es/components/design/views/design/page-event/config.vue.js +1 -1
- package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +36 -36
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +64 -64
- package/dist/es/components/design/views/design/page-event/page-event-view.vue.js +10 -9
- package/dist/es/components/design/views/design/view/attr-container.vue.js +24 -24
- package/dist/es/components/design/views/design/view/components/el-aside-expand-component.vue.js +24 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +2 -2
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue.js +1 -1
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue2.js +4 -4
- package/dist/es/components/design/views/design/view/components/i18n-setting.vue.js +4 -4
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +10 -9
- package/dist/es/components/design/views/design/view/components/translate-error-dialog.vue.js +8 -8
- package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
- package/dist/es/components/design/views/design/view/page-switch.vue2.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +148 -5
- package/dist/es/components/design/views/design/view/view-design-display.vue2.js +2 -148
- package/dist/es/components/design/views/design/view/view-design-preview.vue.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-preview.vue2.js +2 -2
- package/dist/es/components/design/views/design/view/view-design.vue.js +27 -26
- package/dist/es/index.js +1 -1
- package/dist/es/style.css +14282 -11302
- package/package.json +4 -4
- package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +0 -4
- package/dist/es/components/design/views/assemblys/object-design.vue2.js +0 -4
- /package/dist/es/components/design/views/design/page-event/{config.vue3.js → config.vue2.js} +0 -0
|
@@ -10,15 +10,16 @@ import k from "../../../../utils/eventBus.js";
|
|
|
10
10
|
import T from "../component/variate-select.vue.js";
|
|
11
11
|
import "@element-plus/icons";
|
|
12
12
|
import "agilebuilder-ui/src/utils/request";
|
|
13
|
-
import { queryTableFields as S, tableResetConfigIndo as
|
|
14
|
-
|
|
13
|
+
import { queryTableFields as S, tableResetConfigIndo as H } from "../../../../utils/page-table-util.js";
|
|
14
|
+
/* empty css */
|
|
15
|
+
import N from "../../common/common-i18n-key-input.vue.js";
|
|
15
16
|
import j from "../../form/common/hyperlink-mult-config.vue.js";
|
|
16
17
|
import q from "../../common/common-function-code.vue.js";
|
|
17
18
|
import w from "../../common/common-select-table.vue.js";
|
|
18
19
|
import { usePageContextStore as F } from "../../../../../../stores/page-store.js";
|
|
19
20
|
import L from "../component/formatting-icon-label.vue.js";
|
|
20
21
|
import M from "./tablecolumn-dynamic-column.vue.js";
|
|
21
|
-
const
|
|
22
|
+
const E = { style: { padding: "8px 0px 0px 0px" } }, P = { class: "amb-design-attr-item-inline" }, A = { style: { padding: "8px 0px 0px 0px" } }, O = { style: { padding: "8px 0px 0px 0px" } }, $ = { style: { padding: "8px 0px 0px 0px" } }, G = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, R = e({ __name: "tablecolumn-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, tableConfigure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
|
|
22
23
|
const R2 = e2, B = a(["base", "editLine", "formatting", "appearance", "verification", "userDefined", "dataOrigin", "columnModel"]), I = a(null), W = a(null), Q = a(null), J = a([]), K = R2.tableConfigure.props.groupHeaders, X = a(null), Y = F(), Z = a(false);
|
|
23
24
|
l(() => {
|
|
24
25
|
var _a;
|
|
@@ -71,7 +72,7 @@ const P = { style: { padding: "8px 0px 0px 0px" } }, A = { class: "amb-design-at
|
|
|
71
72
|
e3 ? R2.tableConfigure.props.base.editable = true : R2.configure.name = "";
|
|
72
73
|
}
|
|
73
74
|
function ue(e3) {
|
|
74
|
-
|
|
75
|
+
H(R2.configure, e3);
|
|
75
76
|
}
|
|
76
77
|
function re(e3) {
|
|
77
78
|
const a2 = R2.configure.uuid;
|
|
@@ -90,9 +91,29 @@ const P = { style: { padding: "8px 0px 0px 0px" } }, A = { class: "amb-design-at
|
|
|
90
91
|
function me() {
|
|
91
92
|
k.$emit("reloadTable-" + R2.tableConfigure.uuid);
|
|
92
93
|
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
return n(), t(le2, { "label-width": "80px", size: "small" }, { default: i(() => [u(ee2, { modelValue: B.value, "onUpdate:modelValue": l2[48] || (l2[48] = (e3) => B.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [u(I2, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", P, [u(x2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: i(() => [u(T, { showDynamicColumn: true, showPlaceholder: true, prop: e2.configure.props.base.prop, "onUpdate:prop": l2[1] || (l2[1] = (a3) => e2.configure.props.base.prop = a3), propType: e2.configure.props.base.propType, "onUpdate:propType": l2[2] || (l2[2] = (a3) => e2.configure.props.base.propType = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "propType", "tableConfigure"])]), _: 1 })), u(x2, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [u(H, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.name = a3), disabled: "$index" === e2.configure.props.base.prop || "$selection" === e2.configure.props.base.prop }, null, 8, ["modelValue", "disabled"])]), _: 1 }), u(x2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: i(() => [u(q, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), u(x2, { label: "显示顺序", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.base.displayOrder, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.displayOrder = a3), modelModifiers: { number: true }, onBlur: me, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 1, label: "是否显示 ", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.visible, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.visible = a3), class: "ml-4", onChange: re }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[49] || (l2[49] = [m("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[50] || (l2[50] = [m("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 2, label: "是否导出", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.exportable, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.exportable = a3) }, null, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 3, label: "查询设置", class: "amb-design-attr-item" }, { default: i(() => [s("div", A, [u(F2, { modelValue: e2.configure.props.base.querySettingName, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.querySettingName = a3) }, { default: i(() => [u(N2, { label: "不查询", value: "no" }), u(N2, { label: "普通查询", value: "normal" }), u(N2, { label: "高级查询", value: "advanced" })]), _: 1 }, 8, ["modelValue"]), "normal" === e2.configure.props.base.querySettingName || "advanced" === e2.configure.props.base.querySettingName ? (n(), t(R3, { key: 0, style: { "margin-left": "10px" }, onClick: l2[8] || (l2[8] = (e3) => oe.value = true) }, { default: i(() => [u(p(y))]), _: 1 })) : r("", true)])]), _: 1 })), Z.value || "normal" !== e2.configure.props.base.querySettingName && "advanced" !== e2.configure.props.base.querySettingName || "STRING" !== e2.configure.props.base.propType ? r("", true) : (n(), t(x2, { key: 4, label: "匹配方式", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.base.queryMatching, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.queryMatching = a3), clearable: "" }, { default: i(() => [u(N2, { label: "全匹配", value: "all" }), u(N2, { label: "左匹配", value: "left" }), u(N2, { label: "右匹配", value: "right" }), u(N2, { label: "精确查询", value: "exactQuery" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 5, label: "是否合计", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 6, label: "是否筛选", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.filterable, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.filterable = a3) }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 }), Z.value || "dynamicColumnSelect" == e2.configure.props.base.prop ? r("", true) : (n(), t(_, { key: 0, configure: e2.configure, isTable: true, isDynamicColumn: "dynamicColumnSelect" === e2.configure.props.base.prop, remote: true }, null, 8, ["configure", "isDynamicColumn"])), u(M, { operationColumn: Z.value, configure: e2.configure, tableConfigure: e2.tableConfigure, pageDesign: e2.pageDesign }, null, 8, ["operationColumn", "configure", "tableConfigure", "pageDesign"]), Z.value ? r("", true) : (n(), t(I2, { key: 1, title: "行编辑设置", name: "editLine", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", E, [u(x2, { label: "是否编辑", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { onChange: ie, modelValue: e2.configure.props.editLine.editable, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.editLine.editable = a3) }, null, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "默认值", class: "amb-design-attr-item" }, { default: i(() => [u(h, { modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": se }, null, 8, ["modelValue"])]), _: 1 }), e2.configure.props.editLine.editable ? (n(), t(x2, { key: 0, label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.name = a3), placeholder: "请选择", onChange: ue }, { default: i(() => [(n(true), f(c, null, g(p(v)(), (e3) => (n(), t(N2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), d(u(x2, { label: "文件uuid", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.fileUuid, "onUpdate:prop": l2[14] || (l2[14] = (a3) => e2.configure.props.format.fileUuid = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "file-upload" === e2.configure.name]]), d(u(x2, { label: "自定义控件名称", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.base.customComponent, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.customComponent = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "custom" === e2.configure.name]])])]), _: 1 })), Z.value ? r("", true) : (n(), t(I2, { key: 2, title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", O, [u(x2, { label: "格式化分类", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.type, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.format.type = a3), clearable: "", placeholder: "请选择" }, { default: i(() => [u(N2, { label: "数值", value: "number" }), u(N2, { label: "货币", value: "currency" }), u(N2, { label: "日期", value: "date" }), u(N2, { label: "时间", value: "time" }), u(N2, { label: "百分比", value: "percent" }), u(N2, { label: "自定义控件", value: "customControl" }), u(N2, { label: "超链接", value: "hyperlinks" }), u(N2, { label: "图标/标签", value: "icon" }), u(N2, { label: "附件控件", value: "files" }), u(N2, { label: "富文本", value: "richEditor" }), u(N2, { label: "脱敏组件", value: "secretInfo" }), u(N2, { label: "自定义方法", value: "custom" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "number" === e2.configure.props.format.type || "currency" === e2.configure.props.format.type || "percent" === e2.configure.props.format.type ? (n(), t(x2, { key: 0, label: "小数位数", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.decimalDigit, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.format.decimalDigit = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 1, label: "科学计数", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.scientific, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.format.scientific = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type && e2.configure.props.format.scientific ? (n(), t(x2, { key: 2, label: "计数位数", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.scientificNum, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.format.scientificNum = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 3, label: "千位分隔符", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.thousandsSeparator, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.format.thousandsSeparator = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 4, label: "数值符号", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.symbol, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.format.symbol = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "currency" === e2.configure.props.format.type ? (n(), t(x2, { key: 5, label: "货币符号", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.currencySymbol, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.format.currencySymbol = a3), placeholder: "Select" }, { default: i(() => [u(N2, { label: "$", value: "$" }), u(N2, { label: "¥", value: "¥" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "date" === e2.configure.props.format.type ? (n(), t(x2, { key: 6, label: "日期类型", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.dataType, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.format.dataType = a3), placeholder: "Select" }, { default: i(() => [u(N2, { label: "yyyy-m-d", value: "yyyy-m-d" }), u(N2, { label: "yyyy-m-d hh:mm:ss", value: "yyyy-m-d hh:mm:ss" }), u(N2, { label: "yyyy-m", value: "yyyy-m" }), u(N2, { label: "m-d", value: "m-d" }), u(N2, { label: "yyyy", value: "yyyy" }), u(N2, { label: "yyyy年m月d日", value: "yyyy年m月d日" }), u(N2, { label: "yyyy年m月d日hh时mm分ss秒", value: "yyyy年m月d日hh时mm分ss秒" }), u(N2, { label: "yyyy年m月", value: "yyyy年m月" }), u(N2, { label: "m月d日", value: "m月d日" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "time" === e2.configure.props.format.type ? (n(), t(x2, { key: 7, label: "时间类型", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.timeType, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.format.timeType = a3), placeholder: "Select" }, { default: i(() => [u(N2, { label: "HH:mm", value: "HH:mm" }), u(N2, { label: "HH:mm:ss", value: "HH:mm:ss" }), u(N2, { label: "HH时mm分", value: "HH时mm分" }), u(N2, { label: "HH时mm分ss秒", value: "HH时mm分ss秒" }), u(N2, { label: "hh:mm", value: "hh:mm" }), u(N2, { label: "hh:mm:ss", value: "hh:mm:ss" }), u(N2, { label: "hh时mm分", value: "hh时mm分" }), u(N2, { label: "hh时mm分ss秒", value: "hh时mm分ss秒" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "customControl" === e2.configure.props.format.type ? (n(), t(x2, { key: 8, label: "自定义控件", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.format.customControl = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "hyperlinks" === e2.configure.props.format.type ? (n(), t(j, { key: 9, pageDesign: e2.pageDesign, linkPage: e2.configure.props.linkPage, "onUpdate:linkPage": l2[26] || (l2[26] = (a3) => e2.configure.props.linkPage = a3), tableConfigure: e2.tableConfigure, isDialog: false }, null, 8, ["pageDesign", "linkPage", "tableConfigure"])) : r("", true), "icon" === e2.configure.props.format.type ? (n(), t(L, { key: 10, setting: e2.configure.props.format }, null, 8, ["setting"])) : r("", true), "custom" === e2.configure.props.format.type ? (n(), t(x2, { key: 11, label: "自定义方法", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.format.customControl = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 12, label: "是否多选", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.multiple, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.format.multiple = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 13, label: "文件类型", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.accept, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.format.accept = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 14, label: "文件限制(M)", class: "amb-design-attr-item" }, { default: i(() => [u(W2, { modelValue: e2.configure.props.format.limitFileSize, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.format.limitFileSize = a3), min: 1 }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type && e2.configure.props.format.multiple ? (n(), t(x2, { key: 15, label: "选择数据表" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.childAnnexDataTableCode, "onUpdate:modelValue": l2[31] || (l2[31] = (a3) => e2.configure.props.format.childAnnexDataTableCode = a3), onClick: a2.openSelectDataTable, clearable: "" }, { append: i(() => [u(Q2, { icon: p(V), onClick: a2.openSelectDataTable }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "onClick"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 16, label: "展示名字段", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.showName, "onUpdate:prop": l2[32] || (l2[32] = (a3) => e2.configure.props.format.showName = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 17, label: "服务器字段", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.serverName, "onUpdate:prop": l2[33] || (l2[33] = (a3) => e2.configure.props.format.serverName = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : r("", true)])]), _: 1 })), u(I2, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", $, [u(x2, { label: "固定列", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.listColumnFixed, "onUpdate:modelValue": l2[34] || (l2[34] = (a3) => e2.configure.props.base.listColumnFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "false" }, { default: i(() => l2[51] || (l2[51] = [m("否")])), _: 1 }), u(U2, { value: "left" }, { default: i(() => l2[52] || (l2[52] = [m("居左")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[53] || (l2[53] = [m("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 0, label: "是否排序", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.sortable, "onUpdate:modelValue": l2[35] || (l2[35] = (a3) => e2.configure.props.base.sortable = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[54] || (l2[54] = [m("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[55] || (l2[55] = [m("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), u(x2, { label: "列宽", class: "amb-design-attr-item" }, { default: i(() => [u(W2, { style: { width: "100%" }, modelValue: e2.configure.props.base.columnWidth, "onUpdate:modelValue": l2[36] || (l2[36] = (a3) => e2.configure.props.base.columnWidth = a3), precision: 1 }, null, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[37] || (l2[37] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[56] || (l2[56] = [m("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[57] || (l2[57] = [m("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[58] || (l2[58] = [m("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "内容对齐", class: "amb-design-attr-item-linefeed-two" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[38] || (l2[38] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[59] || (l2[59] = [m("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[60] || (l2[60] = [m("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[61] || (l2[61] = [m("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), !Z.value && e2.configure.props.editLine.editable ? (n(), t(I2, { key: 3, title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", G, [u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": l2[39] || (l2[39] = (a3) => e2.configure.props.verification.required = a3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), u(K2, { modelValue: e2.configure.props.verification.type, "onUpdate:modelValue": l2[40] || (l2[40] = (a3) => e2.configure.props.verification.type = a3) }, { default: i(() => [u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "整形", value: "int" }), u(J2, { label: "数字", value: "number" }), u(J2, { label: "布尔", value: "boolean" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "字符串", value: "text" }), u(J2, { label: "邮件", value: "mail" }), u(J2, { label: "网址", value: "ip" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "单精度", value: "float" }), u(J2, { label: "十六进制", value: "hex" })]), _: 1 })]), _: 1 }, 8, ["modelValue"]), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(Y2, { span: 8 }, { default: i(() => [u(J2, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": l2[41] || (l2[41] = (a3) => e2.configure.props.verification.verifyRegex = a3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), u(Y2, { span: 14 }, { default: i(() => [u(D2, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": l2[42] || (l2[42] = (a3) => e2.configure.props.verification.regex = a3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(Y2, { span: 8 }, { default: i(() => [u(J2, { label: "自定义", value: "custom" })]), _: 1 }), u(Y2, { span: 14 }, { default: i(() => [u(Q2, null, { default: i(() => l2[62] || (l2[62] = [m("自定义逻辑")])), _: 1 }), u(Q2, { icon: p(V), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })) : r("", true), Z.value ? r("", true) : (n(), t(I2, { key: 4, title: "用户自定义", name: "userDefined", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", z, [u(x2, { label: "可自定义", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.defined, "onUpdate:modelValue": l2[43] || (l2[43] = (a3) => e2.configure.props.definition.defined = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[63] || (l2[63] = [m("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[64] || (l2[64] = [m("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义导出", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedExport, "onUpdate:modelValue": l2[44] || (l2[44] = (a3) => e2.configure.props.definition.definedExport = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[65] || (l2[65] = [m("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[66] || (l2[66] = [m("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义合并", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedMerge, "onUpdate:modelValue": l2[45] || (l2[45] = (a3) => e2.configure.props.definition.definedMerge = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[67] || (l2[67] = [m("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[68] || (l2[68] = [m("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义位置", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedPosition, "onUpdate:modelValue": l2[46] || (l2[46] = (a3) => e2.configure.props.definition.definedPosition = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[69] || (l2[69] = [m("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[70] || (l2[70] = [m("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义冻结", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedFixed, "onUpdate:modelValue": l2[47] || (l2[47] = (a3) => e2.configure.props.definition.definedFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[71] || (l2[71] = [m("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[72] || (l2[72] = [m("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })), oe.value ? (n(), t(C, { key: 5, querySetting: e2.configure.props.querySetting, onAdd: ne, onClose: te }, null, 8, ["querySetting"])) : r("", true), u(w, { ref_key: "selectTableDialog", ref: X, onSelectTable: ae, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
94
|
+
function pe(e3) {
|
|
95
|
+
fe(R2.tableConfigure.props.groupHeaders);
|
|
96
|
+
}
|
|
97
|
+
function de(e3) {
|
|
98
|
+
fe(R2.tableConfigure.props.groupHeaders);
|
|
99
|
+
}
|
|
100
|
+
function fe(e3) {
|
|
101
|
+
if (R2.tableConfigure.props.base.isEnableGroupHeader) {
|
|
102
|
+
e3.forEach((e4) => {
|
|
103
|
+
});
|
|
104
|
+
for (let a2 = 0; a2 < e3.length; a2++) {
|
|
105
|
+
const l2 = e3[a2];
|
|
106
|
+
if (l2.columnUuid === R2.configure.uuid) {
|
|
107
|
+
l2.titleText = R2.configure.props.base.name, l2.prop = R2.configure.props.base.prop;
|
|
108
|
+
break;
|
|
109
|
+
}
|
|
110
|
+
l2.children && l2.children.length > 0 && fe(l2.children);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
return (a2, l2) => {
|
|
115
|
+
const D2 = o("el-input"), x2 = o("el-form-item"), U2 = o("el-radio"), k2 = o("el-radio-group"), S2 = o("el-switch"), H2 = o("el-option"), F2 = o("el-select"), R3 = o("el-icon"), I2 = o("el-collapse-item"), W2 = o("el-input-number"), Q2 = o("el-button"), J2 = o("el-checkbox"), K2 = o("el-checkbox-group"), Y2 = o("el-col"), ee2 = o("el-collapse"), le2 = o("el-form");
|
|
116
|
+
return n(), t(le2, { "label-width": "80px", size: "small" }, { default: i(() => [u(ee2, { modelValue: B.value, "onUpdate:modelValue": l2[48] || (l2[48] = (e3) => B.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [u(I2, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", E, [u(x2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: i(() => [u(T, { showDynamicColumn: true, showPlaceholder: true, prop: e2.configure.props.base.prop, "onUpdate:prop": l2[1] || (l2[1] = (a3) => e2.configure.props.base.prop = a3), propType: e2.configure.props.base.propType, "onUpdate:propType": l2[2] || (l2[2] = (a3) => e2.configure.props.base.propType = a3), tableConfigure: e2.tableConfigure, onChange: de }, null, 8, ["prop", "propType", "tableConfigure"])]), _: 1 })), u(x2, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [u(N, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.name = a3), onChange: pe, disabled: "$index" === e2.configure.props.base.prop || "$selection" === e2.configure.props.base.prop }, null, 8, ["modelValue", "disabled"])]), _: 1 }), u(x2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: i(() => [u(q, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), u(x2, { label: "显示顺序", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.base.displayOrder, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.displayOrder = a3), modelModifiers: { number: true }, onBlur: me, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 1, label: "是否显示 ", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.visible, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.visible = a3), class: "ml-4", onChange: re }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[49] || (l2[49] = [m("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[50] || (l2[50] = [m("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 2, label: "是否导出", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.exportable, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.exportable = a3) }, null, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 3, label: "查询设置", class: "amb-design-attr-item" }, { default: i(() => [s("div", P, [u(F2, { modelValue: e2.configure.props.base.querySettingName, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.querySettingName = a3) }, { default: i(() => [u(H2, { label: "不查询", value: "no" }), u(H2, { label: "普通查询", value: "normal" }), u(H2, { label: "高级查询", value: "advanced" })]), _: 1 }, 8, ["modelValue"]), "normal" === e2.configure.props.base.querySettingName || "advanced" === e2.configure.props.base.querySettingName ? (n(), t(R3, { key: 0, style: { "margin-left": "10px" }, onClick: l2[8] || (l2[8] = (e3) => oe.value = true) }, { default: i(() => [u(p(y))]), _: 1 })) : r("", true)])]), _: 1 })), Z.value || "normal" !== e2.configure.props.base.querySettingName && "advanced" !== e2.configure.props.base.querySettingName || "STRING" !== e2.configure.props.base.propType ? r("", true) : (n(), t(x2, { key: 4, label: "匹配方式", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.base.queryMatching, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.queryMatching = a3), clearable: "" }, { default: i(() => [u(H2, { label: "全匹配", value: "all" }), u(H2, { label: "左匹配", value: "left" }), u(H2, { label: "右匹配", value: "right" }), u(H2, { label: "精确查询", value: "exactQuery" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 5, label: "是否合计", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 6, label: "是否筛选", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.filterable, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.filterable = a3) }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 }), Z.value || "dynamicColumnSelect" == e2.configure.props.base.prop ? r("", true) : (n(), t(_, { key: 0, configure: e2.configure, isTable: true, isDynamicColumn: "dynamicColumnSelect" === e2.configure.props.base.prop, remote: true }, null, 8, ["configure", "isDynamicColumn"])), u(M, { operationColumn: Z.value, configure: e2.configure, tableConfigure: e2.tableConfigure, pageDesign: e2.pageDesign }, null, 8, ["operationColumn", "configure", "tableConfigure", "pageDesign"]), Z.value ? r("", true) : (n(), t(I2, { key: 1, title: "行编辑设置", name: "editLine", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", A, [u(x2, { label: "是否编辑", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { onChange: ie, modelValue: e2.configure.props.editLine.editable, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.editLine.editable = a3) }, null, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "默认值", class: "amb-design-attr-item" }, { default: i(() => [u(h, { modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": se }, null, 8, ["modelValue"])]), _: 1 }), e2.configure.props.editLine.editable ? (n(), t(x2, { key: 0, label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.name = a3), placeholder: "请选择", onChange: ue }, { default: i(() => [(n(true), f(c, null, g(p(v)(), (e3) => (n(), t(H2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), d(u(x2, { label: "文件uuid", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.fileUuid, "onUpdate:prop": l2[14] || (l2[14] = (a3) => e2.configure.props.format.fileUuid = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "file-upload" === e2.configure.name]]), d(u(x2, { label: "自定义控件名称", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.base.customComponent, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.customComponent = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "custom" === e2.configure.name]])])]), _: 1 })), Z.value ? r("", true) : (n(), t(I2, { key: 2, title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", O, [u(x2, { label: "格式化分类", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.type, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.format.type = a3), clearable: "", placeholder: "请选择" }, { default: i(() => [u(H2, { label: "数值", value: "number" }), u(H2, { label: "货币", value: "currency" }), u(H2, { label: "日期", value: "date" }), u(H2, { label: "时间", value: "time" }), u(H2, { label: "百分比", value: "percent" }), u(H2, { label: "自定义控件", value: "customControl" }), u(H2, { label: "超链接", value: "hyperlinks" }), u(H2, { label: "图标/标签", value: "icon" }), u(H2, { label: "附件控件", value: "files" }), u(H2, { label: "富文本", value: "richEditor" }), u(H2, { label: "脱敏组件", value: "secretInfo" }), u(H2, { label: "自定义方法", value: "custom" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "number" === e2.configure.props.format.type || "currency" === e2.configure.props.format.type || "percent" === e2.configure.props.format.type ? (n(), t(x2, { key: 0, label: "小数位数", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.decimalDigit, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.format.decimalDigit = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 1, label: "科学计数", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.scientific, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.format.scientific = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type && e2.configure.props.format.scientific ? (n(), t(x2, { key: 2, label: "计数位数", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.scientificNum, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.format.scientificNum = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 3, label: "千位分隔符", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.thousandsSeparator, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.format.thousandsSeparator = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 4, label: "数值符号", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.symbol, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.format.symbol = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "currency" === e2.configure.props.format.type ? (n(), t(x2, { key: 5, label: "货币符号", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.currencySymbol, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.format.currencySymbol = a3), placeholder: "Select" }, { default: i(() => [u(H2, { label: "$", value: "$" }), u(H2, { label: "¥", value: "¥" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "date" === e2.configure.props.format.type ? (n(), t(x2, { key: 6, label: "日期类型", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.dataType, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.format.dataType = a3), placeholder: "Select" }, { default: i(() => [u(H2, { label: "yyyy-m-d", value: "yyyy-m-d" }), u(H2, { label: "yyyy-m-d hh:mm:ss", value: "yyyy-m-d hh:mm:ss" }), u(H2, { label: "yyyy-m", value: "yyyy-m" }), u(H2, { label: "m-d", value: "m-d" }), u(H2, { label: "yyyy", value: "yyyy" }), u(H2, { label: "yyyy年m月d日", value: "yyyy年m月d日" }), u(H2, { label: "yyyy年m月d日hh时mm分ss秒", value: "yyyy年m月d日hh时mm分ss秒" }), u(H2, { label: "yyyy年m月", value: "yyyy年m月" }), u(H2, { label: "m月d日", value: "m月d日" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "time" === e2.configure.props.format.type ? (n(), t(x2, { key: 7, label: "时间类型", class: "amb-design-attr-item" }, { default: i(() => [u(F2, { modelValue: e2.configure.props.format.timeType, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.format.timeType = a3), placeholder: "Select" }, { default: i(() => [u(H2, { label: "HH:mm", value: "HH:mm" }), u(H2, { label: "HH:mm:ss", value: "HH:mm:ss" }), u(H2, { label: "HH时mm分", value: "HH时mm分" }), u(H2, { label: "HH时mm分ss秒", value: "HH时mm分ss秒" }), u(H2, { label: "hh:mm", value: "hh:mm" }), u(H2, { label: "hh:mm:ss", value: "hh:mm:ss" }), u(H2, { label: "hh时mm分", value: "hh时mm分" }), u(H2, { label: "hh时mm分ss秒", value: "hh时mm分ss秒" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "customControl" === e2.configure.props.format.type ? (n(), t(x2, { key: 8, label: "自定义控件", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.format.customControl = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "hyperlinks" === e2.configure.props.format.type ? (n(), t(j, { key: 9, pageDesign: e2.pageDesign, linkPage: e2.configure.props.linkPage, "onUpdate:linkPage": l2[26] || (l2[26] = (a3) => e2.configure.props.linkPage = a3), tableConfigure: e2.tableConfigure, isDialog: false }, null, 8, ["pageDesign", "linkPage", "tableConfigure"])) : r("", true), "icon" === e2.configure.props.format.type ? (n(), t(L, { key: 10, setting: e2.configure.props.format }, null, 8, ["setting"])) : r("", true), "custom" === e2.configure.props.format.type ? (n(), t(x2, { key: 11, label: "自定义方法", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.format.customControl = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 12, label: "是否多选", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.multiple, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.format.multiple = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 13, label: "文件类型", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.accept, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.format.accept = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 14, label: "文件限制(M)", class: "amb-design-attr-item" }, { default: i(() => [u(W2, { modelValue: e2.configure.props.format.limitFileSize, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.format.limitFileSize = a3), min: 1 }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type && e2.configure.props.format.multiple ? (n(), t(x2, { key: 15, label: "选择数据表" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.childAnnexDataTableCode, "onUpdate:modelValue": l2[31] || (l2[31] = (a3) => e2.configure.props.format.childAnnexDataTableCode = a3), onClick: a2.openSelectDataTable, clearable: "" }, { append: i(() => [u(Q2, { type: "default", icon: p(V), onClick: a2.openSelectDataTable }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "onClick"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 16, label: "展示名字段", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.showName, "onUpdate:prop": l2[32] || (l2[32] = (a3) => e2.configure.props.format.showName = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 17, label: "服务器字段", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.serverName, "onUpdate:prop": l2[33] || (l2[33] = (a3) => e2.configure.props.format.serverName = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : r("", true)])]), _: 1 })), u(I2, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", $, [u(x2, { label: "固定列", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.listColumnFixed, "onUpdate:modelValue": l2[34] || (l2[34] = (a3) => e2.configure.props.base.listColumnFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[51] || (l2[51] = [m("否")])), _: 1 }), u(U2, { value: "left" }, { default: i(() => l2[52] || (l2[52] = [m("居左")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[53] || (l2[53] = [m("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 0, label: "是否排序", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.sortable, "onUpdate:modelValue": l2[35] || (l2[35] = (a3) => e2.configure.props.base.sortable = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[54] || (l2[54] = [m("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[55] || (l2[55] = [m("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), u(x2, { label: "列宽", class: "amb-design-attr-item" }, { default: i(() => [u(W2, { style: { width: "100%" }, modelValue: e2.configure.props.base.columnWidth, "onUpdate:modelValue": l2[36] || (l2[36] = (a3) => e2.configure.props.base.columnWidth = a3), precision: 1 }, null, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[37] || (l2[37] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[56] || (l2[56] = [m("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[57] || (l2[57] = [m("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[58] || (l2[58] = [m("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "内容对齐", class: "amb-design-attr-item-linefeed-two" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[38] || (l2[38] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[59] || (l2[59] = [m("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[60] || (l2[60] = [m("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[61] || (l2[61] = [m("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), !Z.value && e2.configure.props.editLine.editable ? (n(), t(I2, { key: 3, title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", G, [u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": l2[39] || (l2[39] = (a3) => e2.configure.props.verification.required = a3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), u(K2, { modelValue: e2.configure.props.verification.type, "onUpdate:modelValue": l2[40] || (l2[40] = (a3) => e2.configure.props.verification.type = a3) }, { default: i(() => [u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "整形", value: "int" }), u(J2, { label: "数字", value: "number" }), u(J2, { label: "布尔", value: "boolean" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "字符串", value: "text" }), u(J2, { label: "邮件", value: "mail" }), u(J2, { label: "网址", value: "ip" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "单精度", value: "float" }), u(J2, { label: "十六进制", value: "hex" })]), _: 1 })]), _: 1 }, 8, ["modelValue"]), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(Y2, { span: 8 }, { default: i(() => [u(J2, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": l2[41] || (l2[41] = (a3) => e2.configure.props.verification.verifyRegex = a3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), u(Y2, { span: 14 }, { default: i(() => [u(D2, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": l2[42] || (l2[42] = (a3) => e2.configure.props.verification.regex = a3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(Y2, { span: 8 }, { default: i(() => [u(J2, { label: "自定义", value: "custom" })]), _: 1 }), u(Y2, { span: 14 }, { default: i(() => [u(Q2, { type: "default" }, { default: i(() => l2[62] || (l2[62] = [m("自定义逻辑")])), _: 1 }), u(Q2, { type: "default", icon: p(V), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })) : r("", true), Z.value ? r("", true) : (n(), t(I2, { key: 4, title: "用户自定义", name: "userDefined", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", z, [u(x2, { label: "可自定义", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.defined, "onUpdate:modelValue": l2[43] || (l2[43] = (a3) => e2.configure.props.definition.defined = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[63] || (l2[63] = [m("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[64] || (l2[64] = [m("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义导出", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedExport, "onUpdate:modelValue": l2[44] || (l2[44] = (a3) => e2.configure.props.definition.definedExport = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[65] || (l2[65] = [m("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[66] || (l2[66] = [m("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义合并", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedMerge, "onUpdate:modelValue": l2[45] || (l2[45] = (a3) => e2.configure.props.definition.definedMerge = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[67] || (l2[67] = [m("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[68] || (l2[68] = [m("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义位置", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedPosition, "onUpdate:modelValue": l2[46] || (l2[46] = (a3) => e2.configure.props.definition.definedPosition = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[69] || (l2[69] = [m("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[70] || (l2[70] = [m("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义冻结", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedFixed, "onUpdate:modelValue": l2[47] || (l2[47] = (a3) => e2.configure.props.definition.definedFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[71] || (l2[71] = [m("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[72] || (l2[72] = [m("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })), oe.value ? (n(), t(C, { key: 5, querySetting: e2.configure.props.querySetting, onAdd: ne, onClose: te }, null, 8, ["querySetting"])) : r("", true), u(w, { ref_key: "selectTableDialog", ref: X, onSelectTable: ae, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
96
117
|
};
|
|
97
118
|
} });
|
|
98
119
|
export {
|
package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js
CHANGED
|
@@ -81,9 +81,9 @@ const U = { style: { padding: "8px 0px 0px 0px" } }, N = ["onClick"], j = e({ __
|
|
|
81
81
|
var _a, _b, _c, _d;
|
|
82
82
|
return [d("div", U, [r(h2, { label: "数据来源", class: "amb-design-attr-item" }, { default: s(() => [r(_2, { modelValue: e2.configure.props.dynamicColumnData.dataSources, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.props.dynamicColumnData.dataSources = a3), onChange: I }, { default: s(() => [r(v2, { value: "dataTable" }, { default: s(() => l2[21] || (l2[21] = [p("数据表/视图")])), _: 1 }), r(v2, { value: "sql" }, { default: s(() => l2[22] || (l2[22] = [p("SQL语句")])), _: 1 }), r(v2, { value: "optionGroup" }, { default: s(() => l2[23] || (l2[23] = [p("选项组")])), _: 1 }), r(v2, { value: "bean" }, { default: s(() => l2[24] || (l2[24] = [p("bean名称")])), _: 1 }), r(v2, { value: "service" }, { default: s(() => l2[25] || (l2[25] = [p("服务")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "bean" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(h2, { key: 0, label: "bean名称", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.beanName, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.props.dynamicColumnData.beanName = a3) }, null, 8, ["modelValue"])]), _: 1 })) : m("", true), "service" === e2.configure.props.dynamicColumnData.dataSources && e2.configure.props.dynamicColumnData.service ? (t(), u(h2, { key: 1, label: "服务名", class: "amb-design-attr-item" }, { default: s(() => [r(V, { pageDesign: e2.pageDesign, rowObj: e2.configure.props.dynamicColumnData.service, onlyService: "", "onUpdate:modelValue": l2[2] || (l2[2] = (e3, a3, l3) => function(e4, a4, l4) {
|
|
83
83
|
j2.configure.props.dynamicColumnData.service.simpleCode = a4, j2.configure.props.dynamicColumnData.service.name = l4;
|
|
84
|
-
}(0, a3, l3)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 })) : m("", true), r(h2, { label: "监控字段", title: "监控主表字段", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.watchParentAttr, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.dynamicColumnData.watchParentAttr = a3) }, null, 8, ["modelValue"])]), _: 1 }), "dataTable" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(h2, { key: 2, label: "数据表视图", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.dataTableCode, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.dynamicColumnData.dataTableCode = a3), title: e2.configure.props.dynamicColumnData.dataTableCode, onClick: l2[7] || (l2[7] = (e3) => B("masterTable")), clearable: "", readonly: "true" }, { append: s(() => [r(q2, { icon: g(b), onClick: l2[4] || (l2[4] = (e3) => B("masterTable")), size: "small" }, null, 8, ["icon"]), r(q2, { icon: g(D), onClick: l2[5] || (l2[5] = (e3) => M("masterTable")), title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 })) : m("", true), "dataTable" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(h2, { key: 3, label: "排序", class: "amb-design-attr-item" }, { default: s(() => [r(q2, { type: "primary", onClick: W }, { default: s(() => l2[26] || (l2[26] = [p("添加")])), _: 1 }), r(q2, { onClick: X }, { default: s(() => l2[27] || (l2[27] = [p("删除")])), _: 1 }), (t(true), n(i, null, f(e2.configure.props.dynamicColumnData.dataTableSortTable, (e3, a3) => (t(), n("div", { key: a3, onClick: (e4) => function(e5) {
|
|
84
|
+
}(0, a3, l3)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 })) : m("", true), r(h2, { label: "监控字段", title: "监控主表字段", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.watchParentAttr, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.dynamicColumnData.watchParentAttr = a3) }, null, 8, ["modelValue"])]), _: 1 }), "dataTable" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(h2, { key: 2, label: "数据表视图", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.dataTableCode, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.dynamicColumnData.dataTableCode = a3), title: e2.configure.props.dynamicColumnData.dataTableCode, onClick: l2[7] || (l2[7] = (e3) => B("masterTable")), clearable: "", readonly: "true" }, { append: s(() => [r(q2, { type: "default", icon: g(b), onClick: l2[4] || (l2[4] = (e3) => B("masterTable")), size: "small" }, null, 8, ["icon"]), r(q2, { type: "default", icon: g(D), onClick: l2[5] || (l2[5] = (e3) => M("masterTable")), title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 })) : m("", true), "dataTable" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(h2, { key: 3, label: "排序", class: "amb-design-attr-item" }, { default: s(() => [r(q2, { type: "primary", onClick: W }, { default: s(() => l2[26] || (l2[26] = [p("添加")])), _: 1 }), r(q2, { type: "default", onClick: X }, { default: s(() => l2[27] || (l2[27] = [p("删除")])), _: 1 }), (t(true), n(i, null, f(e2.configure.props.dynamicColumnData.dataTableSortTable, (e3, a3) => (t(), n("div", { key: a3, onClick: (e4) => function(e5) {
|
|
85
85
|
O.value = e5;
|
|
86
|
-
}(a3), style: { "margin-top": "6px" }, class: y(O.value === a3 ? "amb-design-attr-item-inline seleteSort" : "amb-design-attr-item-inline") }, [r(H2, { modelValue: e3.sortColumn, "onUpdate:modelValue": (a4) => e3.sortColumn = a4, filterable: "", clearable: "", placeholder: "请选择" }, { default: s(() => [(t(true), n(i, null, f(R.value, (e4, a4) => (t(), u(E2, { key: a4, label: e4.alias + "(" + e4.dbColumnName + ")", value: e4.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"]), r(H2, { modelValue: e3.sortOrder, "onUpdate:modelValue": (a4) => e3.sortOrder = a4, style: { "margin-left": "10px" }, placeholder: "请选择" }, { default: s(() => [r(E2, { label: "升序", value: "asc" }), r(E2, { label: "降序", value: "desc" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])], 10, N))), 128))]), _: 1 })) : m("", true), c(r(h2, { label: "查询条件", class: "amb-design-attr-item" }, { default: s(() => [r(S, { title: "查询条件", list: e2.configure.props.dynamicColumnData.searchcondition, ref_key: "queryConditionRef", ref: w }, null, 8, ["list"])]), _: 1 }, 512), [[C, "dataTable" === e2.configure.props.dynamicColumnData.dataSources]]), c(r(h2, { label: "SQL", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.sql, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.dynamicColumnData.sql = a3), rows: 2, type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[C, "sql" === e2.configure.props.dynamicColumnData.dataSources]]), c(r(h2, { label: "选项组名", class: "amb-design-attr-item" }, { default: s(() => [r(H2, { modelValue: e2.configure.props.dynamicColumnData.optionGroupCode, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.dynamicColumnData.optionGroupCode = a3), filterable: "", remote: "", "reserve-keyword": "", clearable: "", placeholder: "请选择", "remote-show-suffix": "", "remote-method": Q, loading: J.value }, { default: s(() => [(t(true), n(i, null, f(K.value, (e3) => (t(), u(E2, { key: e3.code, label: e3.name + "(" + e3.code + ")", value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "loading"])]), _: 1 }, 512), [[C, "optionGroup" === e2.configure.props.dynamicColumnData.dataSources]]), r(le, null, { default: s(() => l2[28] || (l2[28] = [d("span", null, "列模型设置", -1)])), _: 1 }), r(h2, { label: "数据表", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.settingDataTableCode, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.dynamicColumnData.settingDataTableCode = a3), title: e2.configure.props.dynamicColumnData.settingDataTableCode, clearable: "", readonly: "true" }, { append: s(() => [r(q2, { icon: g(b), onClick: l2[10] || (l2[10] = (e3) => B("sublist")), size: "small" }, null, 8, ["icon"]), r(q2, { icon: g(D), onClick: l2[11] || (l2[11] = (e3) => M("sublist")), title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }), r(h2, { label: "关联字段", title: "与主表关联字段", class: "amb-design-attr-item" }, { default: s(() => [r(H2, { modelValue: e2.configure.props.dynamicColumnData.settingRelationColumn, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.dynamicColumnData.settingRelationColumn = a3), clearable: "", filterable: "" }, { default: s(() => [(t(true), n(i, null, f(g(z), (e3, a3) => (t(), u(E2, { key: a3, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(h2, { label: "查询条件", title: "查询附加条件", class: "amb-design-attr-item" }, { default: s(() => [r(S, { title: "查询条件", list: e2.configure.props.dynamicColumnData.selectCondition, ref_key: "selectConditionRef", ref: A }, null, 8, ["list"])]), _: 1 }), r(h2, { label: "更新条件", title: "更新附加条件", class: "amb-design-attr-item" }, { default: s(() => [r(S, { title: "更新条件", list: e2.configure.props.dynamicColumnData.updateCondition, ref_key: "updateConditionRef", ref: L }, null, 8, ["list"])]), _: 1 }), r(h2, { label: "配置模型", title: "配置模型", class: "amb-design-attr-item" }, { default: s(() => [r(k, { configure: e2.configure, clolumnTableFields: g(z), modelTableFieldList: R.value }, null, 8, ["configure", "clolumnTableFields", "modelTableFieldList"])]), _: 1 }), r(h2, { label: "分组标题", title: "分组标题类型", class: "amb-design-attr-item" }, { default: s(() => [r(H2, { modelValue: e2.configure.props.dynamicColumnData.mergeFieldType, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.dynamicColumnData.mergeFieldType = a3), clearable: "" }, { default: s(() => [r(E2, { label: "不设置分组标题", value: "no" }), r(E2, { label: "合并为一组", value: "one" }), r(E2, { label: "分组字段", value: "more" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "one" === ((_a = e2.configure.props.dynamicColumnData) == null ? void 0 : _a.mergeFieldType) ? (t(), u(h2, { key: 4, label: "设置标题", title: "设置标题", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.mergeName, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.dynamicColumnData.mergeName = a3) }, null, 8, ["modelValue"])]), _: 1 })) : m("", true), "one" === ((_b = e2.configure.props.dynamicColumnData) == null ? void 0 : _b.mergeFieldType) ? (t(), u(h2, { key: 5, label: "标题国际化key", title: "国际化key", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.mergeNameI18nKey, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.dynamicColumnData.mergeNameI18nKey = a3) }, null, 8, ["modelValue"])]), _: 1 })) : m("", true), "more" === ((_c = e2.configure.props.dynamicColumnData) == null ? void 0 : _c.mergeFieldType) ? (t(), u(h2, { key: 6, label: "设置字段", title: "设置字段", class: "amb-design-attr-item" }, { default: s(() => ["dataTable" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(H2, { key: 0, modelValue: e2.configure.props.dynamicColumnData.mergeField, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.dynamicColumnData.mergeField = a3), filterable: "", clearable: "", placeholder: "请选择" }, { default: s(() => [(t(true), n(i, null, f(R.value, (e3, a3) => (t(), u(E2, { key: a3, label: e3.alias + "(" + e3.dbColumnName + ")", value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])) : "optionGroup" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(G2, { key: 1, disabled: true, modelValue: e2.configure.props.dynamicColumnData.mergeFieldLabelTemp, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.dynamicColumnData.mergeFieldLabelTemp = a3) }, null, 8, ["modelValue"])) : "sql" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(G2, { key: 2, modelValue: e2.configure.props.dynamicColumnData.mergeField, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.dynamicColumnData.mergeField = a3) }, null, 8, ["modelValue"])) : m("", true)]), _: 1 })) : m("", true), "more" === ((_d = e2.configure.props.dynamicColumnData) == null ? void 0 : _d.mergeFieldType) ? (t(), u(h2, { key: 7, label: "内容与标题对应字段", title: "内容与标题对应字段", class: "amb-design-attr-item" }, { default: s(() => [r(H2, { modelValue: e2.configure.props.dynamicColumnData.mergeTitleContentJoinField, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.dynamicColumnData.mergeTitleContentJoinField = a3), filterable: "", clearable: "", placeholder: "请选择" }, { default: s(() => [(t(true), n(i, null, f(g(z), (e3, a3) => (t(), u(E2, { key: a3, label: e3.alias + "(" + e3.dbColumnName + ")", value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : m("", true)])];
|
|
86
|
+
}(a3), style: { "margin-top": "6px" }, class: y(O.value === a3 ? "amb-design-attr-item-inline seleteSort" : "amb-design-attr-item-inline") }, [r(H2, { modelValue: e3.sortColumn, "onUpdate:modelValue": (a4) => e3.sortColumn = a4, filterable: "", clearable: "", placeholder: "请选择" }, { default: s(() => [(t(true), n(i, null, f(R.value, (e4, a4) => (t(), u(E2, { key: a4, label: e4.alias + "(" + e4.dbColumnName + ")", value: e4.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"]), r(H2, { modelValue: e3.sortOrder, "onUpdate:modelValue": (a4) => e3.sortOrder = a4, style: { "margin-left": "10px" }, placeholder: "请选择" }, { default: s(() => [r(E2, { label: "升序", value: "asc" }), r(E2, { label: "降序", value: "desc" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])], 10, N))), 128))]), _: 1 })) : m("", true), c(r(h2, { label: "查询条件", class: "amb-design-attr-item" }, { default: s(() => [r(S, { title: "查询条件", list: e2.configure.props.dynamicColumnData.searchcondition, ref_key: "queryConditionRef", ref: w }, null, 8, ["list"])]), _: 1 }, 512), [[C, "dataTable" === e2.configure.props.dynamicColumnData.dataSources]]), c(r(h2, { label: "SQL", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.sql, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.dynamicColumnData.sql = a3), rows: 2, type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[C, "sql" === e2.configure.props.dynamicColumnData.dataSources]]), c(r(h2, { label: "选项组名", class: "amb-design-attr-item" }, { default: s(() => [r(H2, { modelValue: e2.configure.props.dynamicColumnData.optionGroupCode, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.dynamicColumnData.optionGroupCode = a3), filterable: "", remote: "", "reserve-keyword": "", clearable: "", placeholder: "请选择", "remote-show-suffix": "", "remote-method": Q, loading: J.value }, { default: s(() => [(t(true), n(i, null, f(K.value, (e3) => (t(), u(E2, { key: e3.code, label: e3.name + "(" + e3.code + ")", value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "loading"])]), _: 1 }, 512), [[C, "optionGroup" === e2.configure.props.dynamicColumnData.dataSources]]), r(le, null, { default: s(() => l2[28] || (l2[28] = [d("span", null, "列模型设置", -1)])), _: 1 }), r(h2, { label: "数据表", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.settingDataTableCode, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.dynamicColumnData.settingDataTableCode = a3), title: e2.configure.props.dynamicColumnData.settingDataTableCode, clearable: "", readonly: "true" }, { append: s(() => [r(q2, { type: "default", icon: g(b), onClick: l2[10] || (l2[10] = (e3) => B("sublist")), size: "small" }, null, 8, ["icon"]), r(q2, { type: "default", icon: g(D), onClick: l2[11] || (l2[11] = (e3) => M("sublist")), title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }), r(h2, { label: "关联字段", title: "与主表关联字段", class: "amb-design-attr-item" }, { default: s(() => [r(H2, { modelValue: e2.configure.props.dynamicColumnData.settingRelationColumn, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.dynamicColumnData.settingRelationColumn = a3), clearable: "", filterable: "" }, { default: s(() => [(t(true), n(i, null, f(g(z), (e3, a3) => (t(), u(E2, { key: a3, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(h2, { label: "查询条件", title: "查询附加条件", class: "amb-design-attr-item" }, { default: s(() => [r(S, { title: "查询条件", list: e2.configure.props.dynamicColumnData.selectCondition, ref_key: "selectConditionRef", ref: A }, null, 8, ["list"])]), _: 1 }), r(h2, { label: "更新条件", title: "更新附加条件", class: "amb-design-attr-item" }, { default: s(() => [r(S, { title: "更新条件", list: e2.configure.props.dynamicColumnData.updateCondition, ref_key: "updateConditionRef", ref: L }, null, 8, ["list"])]), _: 1 }), r(h2, { label: "配置模型", title: "配置模型", class: "amb-design-attr-item" }, { default: s(() => [r(k, { configure: e2.configure, clolumnTableFields: g(z), modelTableFieldList: R.value }, null, 8, ["configure", "clolumnTableFields", "modelTableFieldList"])]), _: 1 }), r(h2, { label: "分组标题", title: "分组标题类型", class: "amb-design-attr-item" }, { default: s(() => [r(H2, { modelValue: e2.configure.props.dynamicColumnData.mergeFieldType, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.dynamicColumnData.mergeFieldType = a3), clearable: "" }, { default: s(() => [r(E2, { label: "不设置分组标题", value: "no" }), r(E2, { label: "合并为一组", value: "one" }), r(E2, { label: "分组字段", value: "more" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "one" === ((_a = e2.configure.props.dynamicColumnData) == null ? void 0 : _a.mergeFieldType) ? (t(), u(h2, { key: 4, label: "设置标题", title: "设置标题", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.mergeName, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.dynamicColumnData.mergeName = a3) }, null, 8, ["modelValue"])]), _: 1 })) : m("", true), "one" === ((_b = e2.configure.props.dynamicColumnData) == null ? void 0 : _b.mergeFieldType) ? (t(), u(h2, { key: 5, label: "标题国际化key", title: "国际化key", class: "amb-design-attr-item" }, { default: s(() => [r(G2, { modelValue: e2.configure.props.dynamicColumnData.mergeNameI18nKey, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.dynamicColumnData.mergeNameI18nKey = a3) }, null, 8, ["modelValue"])]), _: 1 })) : m("", true), "more" === ((_c = e2.configure.props.dynamicColumnData) == null ? void 0 : _c.mergeFieldType) ? (t(), u(h2, { key: 6, label: "设置字段", title: "设置字段", class: "amb-design-attr-item" }, { default: s(() => ["dataTable" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(H2, { key: 0, modelValue: e2.configure.props.dynamicColumnData.mergeField, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.dynamicColumnData.mergeField = a3), filterable: "", clearable: "", placeholder: "请选择" }, { default: s(() => [(t(true), n(i, null, f(R.value, (e3, a3) => (t(), u(E2, { key: a3, label: e3.alias + "(" + e3.dbColumnName + ")", value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])) : "optionGroup" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(G2, { key: 1, disabled: true, modelValue: e2.configure.props.dynamicColumnData.mergeFieldLabelTemp, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.dynamicColumnData.mergeFieldLabelTemp = a3) }, null, 8, ["modelValue"])) : "sql" === e2.configure.props.dynamicColumnData.dataSources ? (t(), u(G2, { key: 2, modelValue: e2.configure.props.dynamicColumnData.mergeField, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.dynamicColumnData.mergeField = a3) }, null, 8, ["modelValue"])) : m("", true)]), _: 1 })) : m("", true), "more" === ((_d = e2.configure.props.dynamicColumnData) == null ? void 0 : _d.mergeFieldType) ? (t(), u(h2, { key: 7, label: "内容与标题对应字段", title: "内容与标题对应字段", class: "amb-design-attr-item" }, { default: s(() => [r(H2, { modelValue: e2.configure.props.dynamicColumnData.mergeTitleContentJoinField, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.dynamicColumnData.mergeTitleContentJoinField = a3), filterable: "", clearable: "", placeholder: "请选择" }, { default: s(() => [(t(true), n(i, null, f(g(z), (e3, a3) => (t(), u(E2, { key: a3, label: e3.alias + "(" + e3.dbColumnName + ")", value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : m("", true)])];
|
|
87
87
|
}), _: 1 })), r(T, { ref_key: "selectTableDialog", ref: x, onSelectTable: $, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"]), Y.value ? (t(), u(F, { key: 1, ref_key: "configurationRef", ref: Z, configValue: P.value, clolumnTableFields: g(z), onAdd: ae, onClose: ee }, null, 8, ["configValue", "clolumnTableFields"])) : m("", true)], 64);
|
|
88
88
|
};
|
|
89
89
|
} });
|
|
@@ -32,7 +32,7 @@ const N = { style: { padding: "8px 0px 0px 0px" } }, T = { style: { padding: "8p
|
|
|
32
32
|
const E = a("el-option"), I = a("el-select"), L = a("el-form-item"), q = a("el-input"), F = a("el-switch"), G = a("el-radio"), $ = a("el-radio-group"), M = a("el-button"), B = a("el-col"), J = a("el-icon"), K = a("el-tooltip"), Q = a("el-collapse-item"), R = a("Suffixmodule"), W = a("IconSetDialog"), X = a("el-input-number"), Y = a("VariateSelect"), Z = a("el-checkbox"), ee = a("el-collapse"), le = a("el-form");
|
|
33
33
|
return t(), o(le, { "label-width": "80px", size: "small" }, { default: u(() => [r(ee, { modelValue: w.value, "onUpdate:modelValue": U2[38] || (U2[38] = (e3) => w.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [r(Q, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", N, [r(L, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.name, "onUpdate:modelValue": U2[0] || (U2[0] = (l3) => e2.configure.name = l3), disabled: "", placeholder: "请选择" }, { default: u(() => [(t(true), i(m, null, p(d(f)(), (e3) => (t(), o(E, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.uuid, "onUpdate:modelValue": U2[1] || (U2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), r(L, { label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(V, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": j }, null, 8, ["modelValue"]))]), _: 1 }), r(L, { label: "自定义编码", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.code, "onUpdate:modelValue": U2[2] || (U2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), r(L, { label: "可选择", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.base.showCheckbox, "onUpdate:modelValue": U2[3] || (U2[3] = (l3) => e2.configure.props.base.showCheckbox = l3), "active-text": "是", "inactive-text": "否" }, null, 8, ["modelValue"])]), _: 1 }), r(L, { label: "默认展开", class: "amb-design-attr-item" }, { default: u(() => [r($, { modelValue: e2.configure.props.base.defaultExpandAll, "onUpdate:modelValue": U2[4] || (U2[4] = (l3) => e2.configure.props.base.defaultExpandAll = l3), class: "ml-4" }, { default: u(() => [r(G, { value: true }, { default: u(() => U2[39] || (U2[39] = [c("是")])), _: 1 }), r(G, { value: false }, { default: u(() => U2[40] || (U2[40] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.defaultExpandAll ? (t(), o(L, { key: 0, label: "展开级数", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.base.unfoldGrade, "onUpdate:modelValue": U2[5] || (U2[5] = (l3) => e2.configure.props.base.unfoldGrade = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), r(L, { label: "节点可点击", title: "点击节点时展开或收缩节点", class: "amb-design-attr-item" }, { default: u(() => [r($, { modelValue: e2.configure.props.base.expandOnClickNode, "onUpdate:modelValue": U2[6] || (U2[6] = (l3) => e2.configure.props.base.expandOnClickNode = l3), class: "ml-4" }, { default: u(() => [r(G, { value: true }, { default: u(() => U2[41] || (U2[41] = [c("是")])), _: 1 }), r(G, { value: false }, { default: u(() => U2[42] || (U2[42] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "手风琴模式", title: "每次只打开一个同级树节点", class: "amb-design-attr-item" }, { default: u(() => [r($, { modelValue: e2.configure.props.base.accordion, "onUpdate:modelValue": U2[7] || (U2[7] = (l3) => e2.configure.props.base.accordion = l3), class: "ml-4" }, { default: u(() => [r(G, { value: true }, { default: u(() => U2[43] || (U2[43] = [c("是")])), _: 1 }), r(G, { value: false }, { default: u(() => U2[44] || (U2[44] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "是否懒加载", class: "amb-design-attr-item" }, { default: u(() => [r($, { modelValue: e2.configure.props.base.lazy, "onUpdate:modelValue": U2[8] || (U2[8] = (l3) => e2.configure.props.base.lazy = l3), class: "ml-4" }, { default: u(() => [r(G, { value: true }, { default: u(() => U2[45] || (U2[45] = [c("是")])), _: 1 }), r(G, { value: false }, { default: u(() => U2[46] || (U2[46] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "是否过滤", class: "amb-design-attr-item" }, { default: u(() => [r($, { modelValue: e2.configure.props.base.filter, "onUpdate:modelValue": U2[9] || (U2[9] = (l3) => e2.configure.props.base.filter = l3), class: "ml-4" }, { default: u(() => [r(G, { value: true }, { default: u(() => U2[47] || (U2[47] = [c("是")])), _: 1 }), r(G, { value: false }, { default: u(() => U2[48] || (U2[48] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "节点图标", class: "amb-design-attr-item" }, { default: u(() => [r(_, { iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.icon, "onUpdate:modelValue": U2[10] || (U2[10] = (e3, l3) => function(e4, l4) {
|
|
34
34
|
H2.configure.props.base.iconType = e4, H2.configure.props.base.iconValue = l4;
|
|
35
|
-
}(e3, l3)) }, null, 8, ["iconType", "iconValue"])]), _: 1 }), r(L, { label: "节点内容", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.contentLogic, "onUpdate:modelValue": U2[11] || (U2[11] = (l3) => e2.configure.props.format.contentLogic = l3), filterable: "", placeholder: "请选择" }, { default: u(() => [(t(true), i(m, null, p(e2.pageDesign.customEvents, (e3) => (t(), o(E, { label: e3.eventName, value: e3.uuid }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [r($, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": U2[12] || (U2[12] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [r(G, { value: "default" }, { default: u(() => U2[49] || (U2[49] = [c("普通")])), _: 1 }), r(G, { value: "hidden" }, { default: u(() => U2[50] || (U2[50] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "对应数据表", class: "amb-design-attr-item" }, { default: u(() => [r(B, { span: 20 }, { default: u(() => [r(q, { modelValue: e2.configure.props.base.treeTableName, "onUpdate:modelValue": U2[13] || (U2[13] = (l3) => e2.configure.props.base.treeTableName = l3), title: e2.configure.props.base.treeTableName, clearable: "", readonly: "true", onClick: O, placeholder: "请选择数据表" }, { append: u(() => [r(M, { icon: d(h), onClick: O, size: "small" }, null, 8, ["icon"]), r(M, { icon: d(k), onClick: A, title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }), r(K, { class: "box-item", content: "使用右键菜单编辑保存时需要配置" }, { default: u(() => [r(J, null, { default: u(() => [r(d(x))]), _: 1 })]), _: 1 })]), _: 1 }), r(L, { label: "父节点关联属性", class: "amb-design-attr-item" }, { default: u(() => [r(B, { span: 20 }, { default: u(() => [r(I, { modelValue: e2.configure.props.base.treeParentIdProp, "onUpdate:modelValue": U2[14] || (U2[14] = (l3) => e2.configure.props.base.treeParentIdProp = l3), clearable: "", filterable: "", "allow-create": "", placeholder: "请选择" }, { default: u(() => [(t(true), i(m, null, p(z.value, (e3) => (t(), o(E, { key: e3.dbColumnName, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(K, { class: "box-item", content: "树节点nodeId对应数据表的父节点属性字段名" }, { default: u(() => [r(J, null, { default: u(() => [r(d(x))]), _: 1 })]), _: 1 })]), _: 1 }), r(L, { label: "标签属性", class: "amb-design-attr-item" }, { default: u(() => [r(B, { span: 20 }, { default: u(() => [r(I, { modelValue: e2.configure.props.base.treeLabelProp, "onUpdate:modelValue": U2[15] || (U2[15] = (l3) => e2.configure.props.base.treeLabelProp = l3), clearable: "", filterable: "", "allow-create": "", placeholder: "请选择" }, { default: u(() => [(t(true), i(m, null, p(z.value, (e3) => (t(), o(E, { key: e3.dbColumnName, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(K, { class: "box-item", content: "树节点Label对应数据表的属性字段名" }, { default: u(() => [r(J, null, { default: u(() => [r(d(x))]), _: 1 })]), _: 1 })]), _: 1 })])]), _: 1 }), r(Q, { title: "右键菜单", name: "nodeContextmenu", class: "amb-design-attr-group-header" }, { default: u(() => [r(v, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"])]), _: 1 }), (t(), o(b, { key: e2.configure.uuid, configure: e2.configure }, { beanName: u(() => [r(L, { label: "", class: "amb-design-attr-item" }, { default: u(() => [e2.configure.props.dataOrigin ? (t(), o(B, { key: 0, span: 20 }, { default: u(() => [r(q, { modelValue: e2.configure.props.dataOrigin.beanName, "onUpdate:modelValue": U2[16] || (U2[16] = (l3) => e2.configure.props.dataOrigin.beanName = l3), placeholder: "beanName" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), r(K, { class: "box-item", content: "为空时默认使用页面配置的自定义bean" }, { default: u(() => [r(J, null, { default: u(() => [r(d(x))]), _: 1 })]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["configure"])), r(Q, { title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", T, [r(L, { label: "格式化分类", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.type, "onUpdate:modelValue": U2[17] || (U2[17] = (l3) => e2.configure.props.format.type = l3), placeholder: "请选择" }, { default: u(() => [r(E, { label: "数值", value: "number" }), r(E, { label: "货币", value: "currency" }), r(E, { label: "日期", value: "date" }), r(E, { label: "时间", value: "time" }), r(E, { label: "百分比", value: "percent" }), r(E, { label: "自定义控件", value: "customControl" }), r(E, { label: "超链接", value: "hyperlinks" }), r(E, { label: "图标/标签", value: "icon" }), r(E, { label: "附件控件", value: "files" }), r(E, { label: "富文本", value: "richEditor" }), r(E, { label: "脱敏组件", value: "secretInfo" }), r(E, { label: "自定义方法", value: "custom" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "number" === e2.configure.props.format.type || "currency" === e2.configure.props.format.type || "percent" === e2.configure.props.format.type ? (t(), o(L, { key: 0, label: "小数位数", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.decimalDigit, "onUpdate:modelValue": U2[18] || (U2[18] = (l3) => e2.configure.props.format.decimalDigit = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "number" === e2.configure.props.format.type ? (t(), o(L, { key: 1, label: "科学计数", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.format.scientific, "onUpdate:modelValue": U2[19] || (U2[19] = (l3) => e2.configure.props.format.scientific = l3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "number" === e2.configure.props.format.type && e2.configure.props.format.scientific ? (t(), o(L, { key: 2, label: "计数位数", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.scientificNum, "onUpdate:modelValue": U2[20] || (U2[20] = (l3) => e2.configure.props.format.scientificNum = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "number" === e2.configure.props.format.type ? (t(), o(L, { key: 3, label: "千位分隔符", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.format.thousandsSeparator, "onUpdate:modelValue": U2[21] || (U2[21] = (l3) => e2.configure.props.format.thousandsSeparator = l3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "number" === e2.configure.props.format.type ? (t(), o(L, { key: 4, label: "数值符号", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.symbol, "onUpdate:modelValue": U2[22] || (U2[22] = (l3) => e2.configure.props.format.symbol = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "currency" === e2.configure.props.format.type ? (t(), o(L, { key: 5, label: "货币符号", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.currencySymbol, "onUpdate:modelValue": U2[23] || (U2[23] = (l3) => e2.configure.props.format.currencySymbol = l3), placeholder: "Select" }, { default: u(() => [r(E, { label: "$", value: "$" }), r(E, { label: "¥", value: "¥" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "date" === e2.configure.props.format.type ? (t(), o(L, { key: 6, label: "日期类型", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.dataType, "onUpdate:modelValue": U2[24] || (U2[24] = (l3) => e2.configure.props.format.dataType = l3), placeholder: "Select" }, { default: u(() => [r(E, { label: "yyyy-m-d", value: "yyyy-m-d" }), r(E, { label: "yyyy-m-d hh:mm:ss", value: "yyyy-m-d hh:mm:ss" }), r(E, { label: "yyyy-m", value: "yyyy-m" }), r(E, { label: "m-d", value: "m-d" }), r(E, { label: "yyyy", value: "yyyy" }), r(E, { label: "yyyy年m月d日", value: "yyyy年m月d日" }), r(E, { label: "yyyy年m月d日hh时mm分ss秒", value: "yyyy年m月d日hh时mm分ss秒" }), r(E, { label: "yyyy年m月", value: "yyyy年m月" }), r(E, { label: "m月d日", value: "m月d日" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "time" === e2.configure.props.format.type ? (t(), o(L, { key: 7, label: "时间类型", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.timeType, "onUpdate:modelValue": U2[25] || (U2[25] = (l3) => e2.configure.props.format.timeType = l3), placeholder: "Select" }, { default: u(() => [r(E, { label: "HH:mm", value: "HH:mm" }), r(E, { label: "HH:mm:ss", value: "HH:mm:ss" }), r(E, { label: "HH时mm分", value: "HH时mm分" }), r(E, { label: "HH时mm分ss秒", value: "HH时mm分ss秒" }), r(E, { label: "hh:mm", value: "hh:mm" }), r(E, { label: "hh:mm:ss", value: "hh:mm:ss" }), r(E, { label: "hh时mm分", value: "hh时mm分" }), r(E, { label: "hh时mm分ss秒", value: "hh时mm分ss秒" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "customControl" === e2.configure.props.format.type ? (t(), o(L, { key: 8, label: "自定义控件", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": U2[26] || (U2[26] = (l3) => e2.configure.props.format.customControl = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "hyperlinks" === e2.configure.props.format.type ? (t(), o(R, { key: 9, pageDesign: e2.pageDesign, configure: e2.configure }, null, 8, ["pageDesign", "configure"])) : s("", true), "icon" === e2.configure.props.format.type ? (t(), o(L, { key: 10, label: "图标", class: "amb-design-attr-item" }, { default: u(() => [r(W, { modelValue: e2.configure.props.format.icon, "onUpdate:modelValue": U2[27] || (U2[27] = (l3) => e2.configure.props.format.icon = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "icon" === e2.configure.props.format.type ? (t(), o(L, { key: 11, label: "图标位置", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.format.position, "onUpdate:modelValue": U2[28] || (U2[28] = (l3) => e2.configure.props.format.position = l3), "active-text": "后缀", "inactive-text": "前缀", "active-value": "suf", "inactive-value": "pre" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "icon" === e2.configure.props.format.type ? (t(), o(L, { key: 12, label: "回调事件", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.event, "onUpdate:modelValue": U2[29] || (U2[29] = (l3) => e2.configure.props.format.event = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "custom" === e2.configure.props.format.type ? (t(), o(L, { key: 13, label: "自定义方法", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": U2[30] || (U2[30] = (l3) => e2.configure.props.format.customControl = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 14, label: "是否多选", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.format.multiple, "onUpdate:modelValue": U2[31] || (U2[31] = (l3) => e2.configure.props.format.multiple = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 15, label: "文件类型", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.accept, "onUpdate:modelValue": U2[32] || (U2[32] = (l3) => e2.configure.props.format.accept = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 16, label: "文件限制(M)", class: "amb-design-attr-item" }, { default: u(() => [r(X, { modelValue: e2.configure.props.format.limitFileSize, "onUpdate:modelValue": U2[33] || (U2[33] = (l3) => e2.configure.props.format.limitFileSize = l3), min: 1 }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type && e2.configure.props.format.multiple ? (t(), o(L, { key: 17, label: "选择数据表" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.childAnnexDataTableCode, "onUpdate:modelValue": U2[34] || (U2[34] = (l3) => e2.configure.props.format.childAnnexDataTableCode = l3), onClick: l2.openSelectDataTable, clearable: "" }, { append: u(() => [r(M, { icon: d(h), onClick: l2.openSelectDataTable }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "onClick"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 18, label: "展示名字段", class: "amb-design-attr-item" }, { default: u(() => [r(Y, { prop: e2.configure.props.format.showName, "onUpdate:prop": U2[35] || (U2[35] = (l3) => e2.configure.props.format.showName = l3), tableConfigure: l2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 19, label: "服务器字段", class: "amb-design-attr-item" }, { default: u(() => [r(Y, { prop: e2.configure.props.format.serverName, "onUpdate:prop": U2[36] || (U2[36] = (l3) => e2.configure.props.format.serverName = l3), tableConfigure: l2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : s("", true)])]), _: 1 }), (t(), o(g, { key: e2.configure.uuid, configureProps: e2.configure.props }, null, 8, ["configureProps"])), (t(), o(Q, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [n("div", D, [r(L, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [r(Z, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": U2[37] || (U2[37] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), r(L, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [r(B, { span: 8 }, { default: u(() => [r(Z, { label: "自定义", value: "custom" })]), _: 1 }), r(B, { span: 14 }, { default: u(() => [r(M, null, { default: u(() => U2[51] || (U2[51] = [c("自定义逻辑")])), _: 1 }), r(M, { icon: d(h), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), (t(), o(y, { key: e2.configure.uuid, size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"]), r(C, { ref_key: "selectTableDialog", ref: S, onSelectTable: P, systemCode: e2.pageDesign.systemCode, systemVersion: e2.pageDesign.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 });
|
|
35
|
+
}(e3, l3)) }, null, 8, ["iconType", "iconValue"])]), _: 1 }), r(L, { label: "节点内容", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.contentLogic, "onUpdate:modelValue": U2[11] || (U2[11] = (l3) => e2.configure.props.format.contentLogic = l3), filterable: "", placeholder: "请选择" }, { default: u(() => [(t(true), i(m, null, p(e2.pageDesign.customEvents, (e3) => (t(), o(E, { label: e3.eventName, value: e3.uuid }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [r($, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": U2[12] || (U2[12] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [r(G, { value: "default" }, { default: u(() => U2[49] || (U2[49] = [c("普通")])), _: 1 }), r(G, { value: "hidden" }, { default: u(() => U2[50] || (U2[50] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "对应数据表", class: "amb-design-attr-item" }, { default: u(() => [r(B, { span: 20 }, { default: u(() => [r(q, { modelValue: e2.configure.props.base.treeTableName, "onUpdate:modelValue": U2[13] || (U2[13] = (l3) => e2.configure.props.base.treeTableName = l3), title: e2.configure.props.base.treeTableName, clearable: "", readonly: "true", onClick: O, placeholder: "请选择数据表" }, { append: u(() => [r(M, { type: "default", icon: d(h), onClick: O, size: "small" }, null, 8, ["icon"]), r(M, { type: "default", icon: d(k), onClick: A, title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }), r(K, { class: "box-item", content: "使用右键菜单编辑保存时需要配置" }, { default: u(() => [r(J, null, { default: u(() => [r(d(x))]), _: 1 })]), _: 1 })]), _: 1 }), r(L, { label: "父节点关联属性", class: "amb-design-attr-item" }, { default: u(() => [r(B, { span: 20 }, { default: u(() => [r(I, { modelValue: e2.configure.props.base.treeParentIdProp, "onUpdate:modelValue": U2[14] || (U2[14] = (l3) => e2.configure.props.base.treeParentIdProp = l3), clearable: "", filterable: "", "allow-create": "", placeholder: "请选择" }, { default: u(() => [(t(true), i(m, null, p(z.value, (e3) => (t(), o(E, { key: e3.dbColumnName, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(K, { class: "box-item", content: "树节点nodeId对应数据表的父节点属性字段名" }, { default: u(() => [r(J, null, { default: u(() => [r(d(x))]), _: 1 })]), _: 1 })]), _: 1 }), r(L, { label: "标签属性", class: "amb-design-attr-item" }, { default: u(() => [r(B, { span: 20 }, { default: u(() => [r(I, { modelValue: e2.configure.props.base.treeLabelProp, "onUpdate:modelValue": U2[15] || (U2[15] = (l3) => e2.configure.props.base.treeLabelProp = l3), clearable: "", filterable: "", "allow-create": "", placeholder: "请选择" }, { default: u(() => [(t(true), i(m, null, p(z.value, (e3) => (t(), o(E, { key: e3.dbColumnName, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(K, { class: "box-item", content: "树节点Label对应数据表的属性字段名" }, { default: u(() => [r(J, null, { default: u(() => [r(d(x))]), _: 1 })]), _: 1 })]), _: 1 })])]), _: 1 }), r(Q, { title: "右键菜单", name: "nodeContextmenu", class: "amb-design-attr-group-header" }, { default: u(() => [r(v, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"])]), _: 1 }), (t(), o(b, { key: e2.configure.uuid, configure: e2.configure }, { beanName: u(() => [r(L, { label: "", class: "amb-design-attr-item" }, { default: u(() => [e2.configure.props.dataOrigin ? (t(), o(B, { key: 0, span: 20 }, { default: u(() => [r(q, { modelValue: e2.configure.props.dataOrigin.beanName, "onUpdate:modelValue": U2[16] || (U2[16] = (l3) => e2.configure.props.dataOrigin.beanName = l3), placeholder: "beanName" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), r(K, { class: "box-item", content: "为空时默认使用页面配置的自定义bean" }, { default: u(() => [r(J, null, { default: u(() => [r(d(x))]), _: 1 })]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["configure"])), r(Q, { title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", T, [r(L, { label: "格式化分类", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.type, "onUpdate:modelValue": U2[17] || (U2[17] = (l3) => e2.configure.props.format.type = l3), placeholder: "请选择" }, { default: u(() => [r(E, { label: "数值", value: "number" }), r(E, { label: "货币", value: "currency" }), r(E, { label: "日期", value: "date" }), r(E, { label: "时间", value: "time" }), r(E, { label: "百分比", value: "percent" }), r(E, { label: "自定义控件", value: "customControl" }), r(E, { label: "超链接", value: "hyperlinks" }), r(E, { label: "图标/标签", value: "icon" }), r(E, { label: "附件控件", value: "files" }), r(E, { label: "富文本", value: "richEditor" }), r(E, { label: "脱敏组件", value: "secretInfo" }), r(E, { label: "自定义方法", value: "custom" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "number" === e2.configure.props.format.type || "currency" === e2.configure.props.format.type || "percent" === e2.configure.props.format.type ? (t(), o(L, { key: 0, label: "小数位数", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.decimalDigit, "onUpdate:modelValue": U2[18] || (U2[18] = (l3) => e2.configure.props.format.decimalDigit = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "number" === e2.configure.props.format.type ? (t(), o(L, { key: 1, label: "科学计数", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.format.scientific, "onUpdate:modelValue": U2[19] || (U2[19] = (l3) => e2.configure.props.format.scientific = l3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "number" === e2.configure.props.format.type && e2.configure.props.format.scientific ? (t(), o(L, { key: 2, label: "计数位数", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.scientificNum, "onUpdate:modelValue": U2[20] || (U2[20] = (l3) => e2.configure.props.format.scientificNum = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "number" === e2.configure.props.format.type ? (t(), o(L, { key: 3, label: "千位分隔符", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.format.thousandsSeparator, "onUpdate:modelValue": U2[21] || (U2[21] = (l3) => e2.configure.props.format.thousandsSeparator = l3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "number" === e2.configure.props.format.type ? (t(), o(L, { key: 4, label: "数值符号", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.symbol, "onUpdate:modelValue": U2[22] || (U2[22] = (l3) => e2.configure.props.format.symbol = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "currency" === e2.configure.props.format.type ? (t(), o(L, { key: 5, label: "货币符号", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.currencySymbol, "onUpdate:modelValue": U2[23] || (U2[23] = (l3) => e2.configure.props.format.currencySymbol = l3), placeholder: "Select" }, { default: u(() => [r(E, { label: "$", value: "$" }), r(E, { label: "¥", value: "¥" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "date" === e2.configure.props.format.type ? (t(), o(L, { key: 6, label: "日期类型", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.dataType, "onUpdate:modelValue": U2[24] || (U2[24] = (l3) => e2.configure.props.format.dataType = l3), placeholder: "Select" }, { default: u(() => [r(E, { label: "yyyy-m-d", value: "yyyy-m-d" }), r(E, { label: "yyyy-m-d hh:mm:ss", value: "yyyy-m-d hh:mm:ss" }), r(E, { label: "yyyy-m", value: "yyyy-m" }), r(E, { label: "m-d", value: "m-d" }), r(E, { label: "yyyy", value: "yyyy" }), r(E, { label: "yyyy年m月d日", value: "yyyy年m月d日" }), r(E, { label: "yyyy年m月d日hh时mm分ss秒", value: "yyyy年m月d日hh时mm分ss秒" }), r(E, { label: "yyyy年m月", value: "yyyy年m月" }), r(E, { label: "m月d日", value: "m月d日" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "time" === e2.configure.props.format.type ? (t(), o(L, { key: 7, label: "时间类型", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.timeType, "onUpdate:modelValue": U2[25] || (U2[25] = (l3) => e2.configure.props.format.timeType = l3), placeholder: "Select" }, { default: u(() => [r(E, { label: "HH:mm", value: "HH:mm" }), r(E, { label: "HH:mm:ss", value: "HH:mm:ss" }), r(E, { label: "HH时mm分", value: "HH时mm分" }), r(E, { label: "HH时mm分ss秒", value: "HH时mm分ss秒" }), r(E, { label: "hh:mm", value: "hh:mm" }), r(E, { label: "hh:mm:ss", value: "hh:mm:ss" }), r(E, { label: "hh时mm分", value: "hh时mm分" }), r(E, { label: "hh时mm分ss秒", value: "hh时mm分ss秒" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "customControl" === e2.configure.props.format.type ? (t(), o(L, { key: 8, label: "自定义控件", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": U2[26] || (U2[26] = (l3) => e2.configure.props.format.customControl = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "hyperlinks" === e2.configure.props.format.type ? (t(), o(R, { key: 9, pageDesign: e2.pageDesign, configure: e2.configure }, null, 8, ["pageDesign", "configure"])) : s("", true), "icon" === e2.configure.props.format.type ? (t(), o(L, { key: 10, label: "图标", class: "amb-design-attr-item" }, { default: u(() => [r(W, { modelValue: e2.configure.props.format.icon, "onUpdate:modelValue": U2[27] || (U2[27] = (l3) => e2.configure.props.format.icon = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "icon" === e2.configure.props.format.type ? (t(), o(L, { key: 11, label: "图标位置", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.format.position, "onUpdate:modelValue": U2[28] || (U2[28] = (l3) => e2.configure.props.format.position = l3), "active-text": "后缀", "inactive-text": "前缀", "active-value": "suf", "inactive-value": "pre" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "icon" === e2.configure.props.format.type ? (t(), o(L, { key: 12, label: "回调事件", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.event, "onUpdate:modelValue": U2[29] || (U2[29] = (l3) => e2.configure.props.format.event = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "custom" === e2.configure.props.format.type ? (t(), o(L, { key: 13, label: "自定义方法", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": U2[30] || (U2[30] = (l3) => e2.configure.props.format.customControl = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 14, label: "是否多选", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.format.multiple, "onUpdate:modelValue": U2[31] || (U2[31] = (l3) => e2.configure.props.format.multiple = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 15, label: "文件类型", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.accept, "onUpdate:modelValue": U2[32] || (U2[32] = (l3) => e2.configure.props.format.accept = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 16, label: "文件限制(M)", class: "amb-design-attr-item" }, { default: u(() => [r(X, { modelValue: e2.configure.props.format.limitFileSize, "onUpdate:modelValue": U2[33] || (U2[33] = (l3) => e2.configure.props.format.limitFileSize = l3), min: 1 }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type && e2.configure.props.format.multiple ? (t(), o(L, { key: 17, label: "选择数据表" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.childAnnexDataTableCode, "onUpdate:modelValue": U2[34] || (U2[34] = (l3) => e2.configure.props.format.childAnnexDataTableCode = l3), onClick: l2.openSelectDataTable, clearable: "" }, { append: u(() => [r(M, { type: "default", icon: d(h), onClick: l2.openSelectDataTable }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "onClick"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 18, label: "展示名字段", class: "amb-design-attr-item" }, { default: u(() => [r(Y, { prop: e2.configure.props.format.showName, "onUpdate:prop": U2[35] || (U2[35] = (l3) => e2.configure.props.format.showName = l3), tableConfigure: l2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 19, label: "服务器字段", class: "amb-design-attr-item" }, { default: u(() => [r(Y, { prop: e2.configure.props.format.serverName, "onUpdate:prop": U2[36] || (U2[36] = (l3) => e2.configure.props.format.serverName = l3), tableConfigure: l2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : s("", true)])]), _: 1 }), (t(), o(g, { key: e2.configure.uuid, configureProps: e2.configure.props }, null, 8, ["configureProps"])), (t(), o(Q, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [n("div", D, [r(L, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [r(Z, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": U2[37] || (U2[37] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), r(L, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [r(B, { span: 8 }, { default: u(() => [r(Z, { label: "自定义", value: "custom" })]), _: 1 }), r(B, { span: 14 }, { default: u(() => [r(M, { type: "default" }, { default: u(() => U2[51] || (U2[51] = [c("自定义逻辑")])), _: 1 }), r(M, { type: "default", icon: d(h), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), (t(), o(y, { key: e2.configure.uuid, size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"]), r(C, { ref_key: "selectTableDialog", ref: S, onSelectTable: P, systemCode: e2.pageDesign.systemCode, systemVersion: e2.pageDesign.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 });
|
|
36
36
|
};
|
|
37
37
|
} });
|
|
38
38
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, resolveComponent as a, createElementBlock as t, openBlock as o, createVNode as u, withCtx as n, createTextVNode as d, Fragment as s, renderList as m, createBlock as i, createCommentVNode as p, withModifiers as r, unref as c } from "vue";
|
|
2
|
-
import { Search as g, Close as
|
|
2
|
+
import { Search as g, Close as f, Top as v, Bottom as V, Delete as y } from "@element-plus/icons-vue";
|
|
3
3
|
import C from "../../common/common-function-code.vue.js";
|
|
4
4
|
import k from "../../common/common-select-page.vue.js";
|
|
5
5
|
const _ = { style: { padding: "8px 0px" } }, b = e({ __name: "tree-attr-context-menu", props: { configure: { type: Object, default: () => ({}) }, pageDesign: { type: Object, default: () => {
|
|
@@ -20,14 +20,14 @@ const _ = { style: { padding: "8px 0px" } }, b = e({ __name: "tree-attr-context-
|
|
|
20
20
|
if (0 === e5) return;
|
|
21
21
|
const l4 = P.value[e5 - 1];
|
|
22
22
|
P.value[e5 - 1] = P.value[e5], P.value[e5] = l4;
|
|
23
|
-
})(l3), ["stop"]) }, { default: n(() => [u(c(
|
|
23
|
+
})(l3), ["stop"]) }, { default: n(() => [u(c(v))]), _: 2 }, 1032, ["onClick"]), u(T, { size: "14", style: { cursor: "pointer" }, onClick: r((e4) => ((e5) => {
|
|
24
24
|
if (e5 === P.value.length - 1) return;
|
|
25
25
|
const l4 = P.value[e5 + 1];
|
|
26
26
|
P.value[e5 + 1] = P.value[e5], P.value[e5] = l4;
|
|
27
27
|
})(l3), ["stop"]) }, { default: n(() => [u(c(V))]), _: 2 }, 1032, ["onClick"]), u(M, { modelValue: e3.name, "onUpdate:modelValue": (l4) => e3.name = l4, onClick: b3[0] || (b3[0] = r(() => {
|
|
28
28
|
}, ["stop"])), placeholder: "请输入菜单名称", size: "small", style: { "margin-right": "20px" } }, null, 8, ["modelValue", "onUpdate:modelValue"]), u(D, { content: "删除" }, { default: n(() => [u(T, { size: "14", color: "red", style: { cursor: "pointer", "margin-right": "20px" }, onClick: r((e4) => ((e5) => {
|
|
29
29
|
P.value.splice(e5, 1), U.value = U.value.filter((l4) => l4 !== e5);
|
|
30
|
-
})(l3), ["stop"]) }, { default: n(() => [u(c(y))]), _: 2 }, 1032, ["onClick"])]), _: 2 }, 1024)]), default: n(() => [u(S, { label: "点击事件", class: "amb-design-attr-item" }, { default: n(() => [u(O, { modelValue: e3.type, "onUpdate:modelValue": (l4) => e3.type = l4, size: "small" }, { default: n(() => [u(E, { value: "standard" }, { default: n(() => b3[3] || (b3[3] = [d("标准事件")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), "standard" === e3.type ? (o(), t(s, { key: 0 }, [u(S, { label: "", class: "amb-design-attr-item" }, { default: n(() => [u(R, { modelValue: e3.standardEvent, "onUpdate:modelValue": (l4) => e3.standardEvent = l4, placeholder: "请选择事件", size: "small" }, { default: n(() => [u(w, { label: "新增同级节点", value: "addSiblingNode" }), u(w, { label: "新增子节点", value: "addChildNode" }), u(w, { label: "编辑", value: "edit" }), u(w, { label: "删除", value: "delete" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), "delete" === e3.standardEvent ? (o(), t(s, { key: 0 }, [u(S, { label: "提示信息", class: "amb-design-attr-item" }, { default: n(() => [u(M, { modelValue: e3.tipMessage, "onUpdate:modelValue": (l4) => e3.tipMessage = l4, placeholder: "请选择事件", size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(S, { label: "", class: "amb-design-attr-item" }, { default: n(() => [u(q, { modelValue: e3.deleteParentNodeTip, "onUpdate:modelValue": (l4) => e3.deleteParentNodeTip = l4 }, null, 8, ["modelValue", "onUpdate:modelValue"]), b3[4] || (b3[4] = d(" 删除父节点是否提示 "))]), _: 2 }, 1024), e3.deleteParentNodeTip ? (o(), i(S, { key: 0, label: "", class: "amb-design-attr-item" }, { default: n(() => [u(M, { modelValue: e3.deleteParentNodeTipMessage, "onUpdate:modelValue": (l4) => e3.deleteParentNodeTipMessage = l4, placeholder: "删除父节点提示信息" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : p("", true)], 64)) : p("", true)], 64)) : "custom" === e3.type ? (o(), i(S, { key: 1, label: "", class: "amb-design-attr-item" }, { default: n(() => [u(O, { modelValue: e3.customClickType, "onUpdate:modelValue": (l4) => e3.customClickType = l4, size: "small" }, { default: n(() => [u(E, { value: "event" }, { default: n(() => b3[5] || (b3[5] = [d("触发事件")])), _: 1 }), u(E, { value: "openPage" }, { default: n(() => b3[6] || (b3[6] = [d("打开页面")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"]), "openPage" === e3.customClickType ? (o(), i(M, { key: 0, modelValue: e3.jumpPageName, "onUpdate:modelValue": (l4) => e3.jumpPageName = l4, title: e3.jumpPageCode, onClick: r((e4) => z(l3), ["stop"]), readonly: "true" }, { append: n(() => [u(N2, { icon: c(g), onClick: (e4) => z(l3), size: "small" }, null, 8, ["icon", "onClick"]), u(N2, { icon: c(
|
|
30
|
+
})(l3), ["stop"]) }, { default: n(() => [u(c(y))]), _: 2 }, 1032, ["onClick"])]), _: 2 }, 1024)]), default: n(() => [u(S, { label: "点击事件", class: "amb-design-attr-item" }, { default: n(() => [u(O, { modelValue: e3.type, "onUpdate:modelValue": (l4) => e3.type = l4, size: "small" }, { default: n(() => [u(E, { value: "standard" }, { default: n(() => b3[3] || (b3[3] = [d("标准事件")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), "standard" === e3.type ? (o(), t(s, { key: 0 }, [u(S, { label: "", class: "amb-design-attr-item" }, { default: n(() => [u(R, { modelValue: e3.standardEvent, "onUpdate:modelValue": (l4) => e3.standardEvent = l4, placeholder: "请选择事件", size: "small" }, { default: n(() => [u(w, { label: "新增同级节点", value: "addSiblingNode" }), u(w, { label: "新增子节点", value: "addChildNode" }), u(w, { label: "编辑", value: "edit" }), u(w, { label: "删除", value: "delete" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), "delete" === e3.standardEvent ? (o(), t(s, { key: 0 }, [u(S, { label: "提示信息", class: "amb-design-attr-item" }, { default: n(() => [u(M, { modelValue: e3.tipMessage, "onUpdate:modelValue": (l4) => e3.tipMessage = l4, placeholder: "请选择事件", size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(S, { label: "", class: "amb-design-attr-item" }, { default: n(() => [u(q, { modelValue: e3.deleteParentNodeTip, "onUpdate:modelValue": (l4) => e3.deleteParentNodeTip = l4 }, null, 8, ["modelValue", "onUpdate:modelValue"]), b3[4] || (b3[4] = d(" 删除父节点是否提示 "))]), _: 2 }, 1024), e3.deleteParentNodeTip ? (o(), i(S, { key: 0, label: "", class: "amb-design-attr-item" }, { default: n(() => [u(M, { modelValue: e3.deleteParentNodeTipMessage, "onUpdate:modelValue": (l4) => e3.deleteParentNodeTipMessage = l4, placeholder: "删除父节点提示信息" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : p("", true)], 64)) : p("", true)], 64)) : "custom" === e3.type ? (o(), i(S, { key: 1, label: "", class: "amb-design-attr-item" }, { default: n(() => [u(O, { modelValue: e3.customClickType, "onUpdate:modelValue": (l4) => e3.customClickType = l4, size: "small" }, { default: n(() => [u(E, { value: "event" }, { default: n(() => b3[5] || (b3[5] = [d("触发事件")])), _: 1 }), u(E, { value: "openPage" }, { default: n(() => b3[6] || (b3[6] = [d("打开页面")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"]), "openPage" === e3.customClickType ? (o(), i(M, { key: 0, modelValue: e3.jumpPageName, "onUpdate:modelValue": (l4) => e3.jumpPageName = l4, title: e3.jumpPageCode, onClick: r((e4) => z(l3), ["stop"]), readonly: "true" }, { append: n(() => [u(N2, { type: "default", icon: c(g), onClick: (e4) => z(l3), size: "small" }, null, 8, ["icon", "onClick"]), u(N2, { type: "default", icon: c(f), onClick: (l4) => ((e4) => {
|
|
31
31
|
e4.jumpPageName = null, e4.jumpPageCode = null;
|
|
32
32
|
})(e3), title: "Clear", size: "small" }, null, 8, ["icon", "onClick"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "onClick"])) : p("", true)]), _: 2 }, 1024)) : p("", true), u(S, { label: "绑定权限", class: "amb-design-attr-item" }, { default: n(() => [(o(), i(C, { key: l3 + "p", configure: e3 }, null, 8, ["configure"]))]), _: 2 }, 1024)]), _: 2 }, 1032, ["name"]))), 128))]), _: 1 }, 8, ["modelValue"]), u(k, { ref_key: "selectPageDialogRef", ref: h, onSelectPage: x, systemCode: e2.pageDesign.systemCode, systemVersion: e2.pageDesign.systemVersion }, null, 8, ["systemCode", "systemVersion"])]);
|
|
33
33
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineComponent as e, ref as a, watch as t, resolveComponent as i, createElementBlock as n, openBlock as o, normalizeClass as l, createVNode as c, normalizeStyle as r } from "vue";
|
|
2
2
|
import { caculateDetailComponentStyle as d, caculateComponentProps as s } from "../../../../utils/form-design-util.js";
|
|
3
3
|
const u = e({ __name: "tree-design", props: { configure: Object }, emits: ["handleSelect"], setup(e2, { emit: u2 }) {
|
|
4
|
-
const
|
|
5
|
-
null ==
|
|
6
|
-
const
|
|
7
|
-
return t(
|
|
8
|
-
d(
|
|
9
|
-
}, { immediate: true }), t(
|
|
10
|
-
s(
|
|
4
|
+
const p = e2;
|
|
5
|
+
null == p.configure.title && (p.configure.title = "");
|
|
6
|
+
const f = { id: "nodeId", label: "name", children: "children", isLeaf: "leaf", disabled: "disabled", nodeType: "nodeType", iconType: "iconType", iconValue: "iconValue" }, b = a({}), h = a(""), x = a({}), g = a({});
|
|
7
|
+
return t(p.configure.style, () => {
|
|
8
|
+
d(p.configure, b, h, x), p.configure.runtime.style = b.value, p.configure.runtime.class = h.value, p.configure.runtime.headerStyle = x.value;
|
|
9
|
+
}, { immediate: true }), t(p.configure.props, () => {
|
|
10
|
+
s(p.configure, g), function() {
|
|
11
11
|
let e3 = {};
|
|
12
12
|
const a2 = {};
|
|
13
|
-
|
|
13
|
+
p.configure.props.preSuffix && (e3 = p.configure.props), e3.base.showCheckbox && (a2.showCheckbox = e3.base.showCheckbox), e3.base.defaultExpandAll && (a2.defaultExpandAll = e3.base.defaultExpandAll), e3.base.expandOnClickNode && (a2.expandOnClickNode = e3.base.expandOnClickNode), e3.base.accordion && (a2.accordion = e3.base.accordion), e3.base.retractWidth && (a2.retractWidth = e3.base.retractWidth), e3.base.filter && (a2.filter = e3.base.filter);
|
|
14
14
|
try {
|
|
15
15
|
if (e3.dataOrigin.staticData) {
|
|
16
16
|
let t2 = e3.dataOrigin.staticData.replace(/[\r\n\t\f\v ]+/g, "");
|
|
@@ -19,10 +19,10 @@ const u = e({ __name: "tree-design", props: { configure: Object }, emits: ["hand
|
|
|
19
19
|
} catch (e4) {
|
|
20
20
|
}
|
|
21
21
|
if (a2 != {}) for (const e4 in a2) g.value[e4] = a2[e4];
|
|
22
|
-
}(),
|
|
22
|
+
}(), p.configure.runtime.props = g.value;
|
|
23
23
|
}, { immediate: true }), (e3, a2) => {
|
|
24
24
|
const t2 = i("el-tree");
|
|
25
|
-
return o(), n("div", { class: l(
|
|
25
|
+
return o(), n("div", { class: l(["amb-tree-group-main", h.value]) }, [c(t2, { style: r([b.value, { width: "100%" }]), data: g.value.staticData, "default-expand-all": g.value.defaultExpandAll, "expand-on-click-node": g.value.expandOnClickNode, indent: g.value.retractWidth ? g.value.retractWidth : 18, accordion: g.value.accordion, "show-checkbox": g.value.showCheckbox, props: f }, null, 8, ["style", "data", "default-expand-all", "expand-on-click-node", "indent", "accordion", "show-checkbox"])], 2);
|
|
26
26
|
};
|
|
27
27
|
} });
|
|
28
28
|
export {
|
|
@@ -76,7 +76,7 @@ const C = { style: { "font-weight": "bold" } }, L = { class: "dialog-footer" },
|
|
|
76
76
|
const k2 = t("el-button"), V2 = t("el-row"), x3 = t("el-empty"), A2 = t("el-divider"), N2 = t("el-col"), J2 = t("el-tooltip"), P2 = t("el-button-group"), S2 = t("el-table-column"), T2 = t("el-option"), G = t("el-option-group"), H = t("el-select"), K = t("el-table"), M = t("el-scrollbar"), Q = t("el-dialog");
|
|
77
77
|
return u(), a(Q, { "model-value": "", title: "解析规则", width: "50%", "before-close": () => {
|
|
78
78
|
l2.$emit("close");
|
|
79
|
-
} }, { footer: n(() => [b("div", w, [i(k2, { onClick: o2[2] || (o2[2] = (e3) => l2.$emit("close")) }, { default: n(() => o2[7] || (o2[7] = [s("取消")])), _: 1 }), i(k2, { type: "primary", onClick: F }, { default: n(() => o2[8] || (o2[8] = [s(" 确定 ")])), _: 1 })])]), default: n(() => [i(V2, { style: { "padding-bottom": "8px" } }, { default: n(() => [i(k2, { icon: d(v), plain: "", type: "primary", onClick: E }, { default: n(() => o2[3] || (o2[3] = [s(" 添加 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), !e2.ruleList || e2.ruleList.length <= 0 ? (u(), a(x3, { key: 0, description: "" })) : r("", true), i(M, { "max-height": "400px", noresize: true }, { default: n(() => [(u(true), c(p, null, f(e2.ruleList, (l3, t2) => (u(), a(V2, { key: t2 }, { default: n(() => [i(N2, { span: 20 }, { default: n(() => [i(A2, { "content-position": "left" }, { default: n(() => [s(m(q(l3.code)), 1)]), _: 2 }, 1024)]), _: 2 }, 1024), i(N2, { span: 4, style: { display: "flex", "align-self": "center", "justify-content": "flex-end" } }, { default: n(() => [i(P2, { class: "ml-4" }, { default: n(() => [i(J2, { class: "box-item", effect: "dark", content: "向上", placement: "top" }, { default: n(() => [i(k2, { type: "primary", disabled: 0 === t2, icon: d(y), onClick: (e3) => D(t2, "up") }, null, 8, ["disabled", "icon", "onClick"])]), _: 2 }, 1024), i(J2, { class: "box-item", effect: "dark", content: "向下", placement: "top" }, { default: n(() => [i(k2, { type: "primary", disabled: t2 === e2.ruleList.length - 1, icon: d(g), onClick: (e3) => D(t2, "down") }, null, 8, ["disabled", "icon", "onClick"])]), _: 2 }, 1024), i(J2, { class: "box-item", effect: "dark", content: "删除", placement: "top" }, { default: n(() => [i(k2, { type: "danger", icon: d(_), onClick: (e3) => function(e4) {
|
|
79
|
+
} }, { footer: n(() => [b("div", w, [i(k2, { type: "default", onClick: o2[2] || (o2[2] = (e3) => l2.$emit("close")) }, { default: n(() => o2[7] || (o2[7] = [s("取消")])), _: 1 }), i(k2, { type: "primary", onClick: F }, { default: n(() => o2[8] || (o2[8] = [s(" 确定 ")])), _: 1 })])]), default: n(() => [i(V2, { style: { "padding-bottom": "8px" } }, { default: n(() => [i(k2, { icon: d(v), plain: "", type: "primary", onClick: E }, { default: n(() => o2[3] || (o2[3] = [s(" 添加 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), !e2.ruleList || e2.ruleList.length <= 0 ? (u(), a(x3, { key: 0, description: "" })) : r("", true), i(M, { "max-height": "400px", noresize: true }, { default: n(() => [(u(true), c(p, null, f(e2.ruleList, (l3, t2) => (u(), a(V2, { key: t2 }, { default: n(() => [i(N2, { span: 20 }, { default: n(() => [i(A2, { "content-position": "left" }, { default: n(() => [s(m(q(l3.code)), 1)]), _: 2 }, 1024)]), _: 2 }, 1024), i(N2, { span: 4, style: { display: "flex", "align-self": "center", "justify-content": "flex-end" } }, { default: n(() => [i(P2, { class: "ml-4" }, { default: n(() => [i(J2, { class: "box-item", effect: "dark", content: "向上", placement: "top" }, { default: n(() => [i(k2, { type: "primary", disabled: 0 === t2, icon: d(y), onClick: (e3) => D(t2, "up") }, null, 8, ["disabled", "icon", "onClick"])]), _: 2 }, 1024), i(J2, { class: "box-item", effect: "dark", content: "向下", placement: "top" }, { default: n(() => [i(k2, { type: "primary", disabled: t2 === e2.ruleList.length - 1, icon: d(g), onClick: (e3) => D(t2, "down") }, null, 8, ["disabled", "icon", "onClick"])]), _: 2 }, 1024), i(J2, { class: "box-item", effect: "dark", content: "删除", placement: "top" }, { default: n(() => [i(k2, { type: "danger", icon: d(_), onClick: (e3) => function(e4) {
|
|
80
80
|
U.ruleList.splice(e4, 1);
|
|
81
81
|
}(t2) }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)]), _: 2 }, 1024)]), _: 2 }, 1024), i(K, { data: l3.outs, style: { width: "100%" } }, { default: n(() => [i(S2, { type: "selection", width: "55" }), i(S2, { label: "序号", type: "index" }), i(S2, { prop: "address", label: "返回值" }, { default: n((e3) => ["group" === l3.type ? (u(), a(H, { key: 0, size: "small", onChange: (o3) => function(e4, l4, o4) {
|
|
82
82
|
for (const t3 of $.value[l4]) for (const l5 of t3.options) l5.code === e4 && (o4.ruleCode = t3.ruleCode);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as l, ref as e, resolveComponent as a, createElementBlock as o, openBlock as t, Fragment as u, createElementVNode as r, createVNode as d, withDirectives as n, withCtx as p, createTextVNode as i, toDisplayString as T, vShow as m, unref as c, renderList as b, createBlock as v } from "vue";
|
|
2
|
-
import { Plus as
|
|
2
|
+
import { Plus as f, Delete as w } from "@element-plus/icons";
|
|
3
3
|
import y from "../../common/common-variable-bind.vue.js";
|
|
4
4
|
import { getUuidv4 as s } from "../../../../utils/common-util.js";
|
|
5
5
|
const V = { class: "dialog-footer" }, h = l({ __name: "condition", props: { list: { type: Array, default: () => [] }, title: String, buttonText: { type: String, default: "编辑" } }, setup(l2, { expose: h2 }) {
|
|
@@ -29,7 +29,7 @@ const V = { class: "dialog-footer" }, h = l({ __name: "condition", props: { list
|
|
|
29
29
|
O.value = l3 || [];
|
|
30
30
|
} }), (e2, s2) => {
|
|
31
31
|
const h3 = a("el-button"), N2 = a("el-text"), g2 = a("el-row"), I = a("Top"), B = a("el-icon"), G = a("Bottom"), A = a("el-table-column"), D = a("el-option"), S = a("el-select"), x = a("el-table"), j = a("el-dialog");
|
|
32
|
-
return t(), o(u, null, [r("div", null, [d(h3, { type: "primary", onClick: s2[0] || (s2[0] = (l3) => E.value = true) }, { default: p(() => [i(T(l2.buttonText), 1)]), _: 1 }), n(d(N2, { type: "success" }, { default: p(() => s2[4] || (s2[4] = [i(" 已设置条件.")])), _: 1 }, 512), [[m, l2.list && l2.list.length > 0]])]), d(j, { modelValue: E.value, "onUpdate:modelValue": s2[3] || (s2[3] = (l3) => E.value = l3), title: l2.title, width: "840" }, { footer: p(() => [r("div", V, [d(h3, { onClick: s2[1] || (s2[1] = (l3) => E.value = false) }, { default: p(() => s2[7] || (s2[7] = [i("取消")])), _: 1 }), d(h3, { type: "primary", onClick: s2[2] || (s2[2] = (l3) => E.value = false) }, { default: p(() => s2[8] || (s2[8] = [i(" 确定 ")])), _: 1 })])]), default: p(() => [d(g2, { style: { "padding-bottom": "8px" } }, { default: p(() => [d(h3, { icon: c(
|
|
32
|
+
return t(), o(u, null, [r("div", null, [d(h3, { type: "primary", onClick: s2[0] || (s2[0] = (l3) => E.value = true) }, { default: p(() => [i(T(l2.buttonText), 1)]), _: 1 }), n(d(N2, { type: "success" }, { default: p(() => s2[4] || (s2[4] = [i(" 已设置条件.")])), _: 1 }, 512), [[m, l2.list && l2.list.length > 0]])]), d(j, { "append-to-body": "", modelValue: E.value, "onUpdate:modelValue": s2[3] || (s2[3] = (l3) => E.value = l3), title: l2.title, width: "840" }, { footer: p(() => [r("div", V, [d(h3, { type: "default", onClick: s2[1] || (s2[1] = (l3) => E.value = false) }, { default: p(() => s2[7] || (s2[7] = [i("取消")])), _: 1 }), d(h3, { type: "primary", onClick: s2[2] || (s2[2] = (l3) => E.value = false) }, { default: p(() => s2[8] || (s2[8] = [i(" 确定 ")])), _: 1 })])]), default: p(() => [d(g2, { style: { "padding-bottom": "8px" } }, { default: p(() => [d(h3, { icon: c(f), plain: "", type: "primary", onClick: k }, { default: p(() => s2[5] || (s2[5] = [i(" 添加 ")])), _: 1 }, 8, ["icon"]), d(h3, { icon: c(w), plain: "", type: "primary", onClick: U }, { default: p(() => s2[6] || (s2[6] = [i(" 删除 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), d(x, { border: "", "highlight-current-row": "", onCurrentChange: L, data: _.value, style: { width: "100%" } }, { default: p(() => [d(A, { width: "36" }, { default: p((l3) => [d(B, { size: "14", style: { cursor: "pointer" }, onClick: (e3) => function(l4) {
|
|
33
33
|
let e4 = C(l4);
|
|
34
34
|
if (e4 < 1) return;
|
|
35
35
|
const a2 = _.value;
|