super-page-designer 2.3.18-tmp1-design1 → 2.3.19-design1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/design/utils/assemblys-config.js +6 -6
- package/dist/es/components/design/utils/chart-design-util.js +100 -92
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue2.js +22 -22
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/button/component/condition-dialog.vue.js +9 -9
- package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/button/export-pdf/common-template-select.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-advanced.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/button/print-label/print-template-select.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-advanced.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/column-line/column-line-attr-style.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/chart/column-line/column-line-design.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr-base.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-bar.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-line.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-clickset.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-data.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-groupby.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-serieslist.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-sortby.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-stack.vue2.js +6 -6
- package/dist/es/components/design/views/assemblys/chart/common/common-home-chart.vue2.js +11 -11
- package/dist/es/components/design/views/assemblys/chart/common/common-style-datazoom.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/common/common-style-font-subtitle.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/common/common-style-font-title.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/common/common-style-legend.vue.js +7 -4
- package/dist/es/components/design/views/assemblys/chart/common/common-style-tooltip.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/chart/common/common-style-xaxis.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-style-yaxis.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/chart/common-series/common-attr-dataset-columnline.vue.js +10 -10
- package/dist/es/components/design/views/assemblys/chart/common-series/common-attr-dynamic.vue.js +10 -10
- package/dist/es/components/design/views/assemblys/chart/common-series/common-style-label.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/chart/gauge/gauge-attr-data.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/chart/gauge/gauge-attr.vue2.js +4 -3
- package/dist/es/components/design/views/assemblys/chart/gauge/gauge-design.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-anchor.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-axislabel.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-detail.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-gauge.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-pointer.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-split.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-title.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/pie/pie-attr.vue2.js +8 -7
- package/dist/es/components/design/views/assemblys/chart/pie/pie-design.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/chart/pie/series/styles/style-pie.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/chart/radar/radar-attr-data.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/chart/radar/radar-attr.vue2.js +2 -1
- package/dist/es/components/design/views/assemblys/chart/radar/radar-design.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/chart/radar/series/series-attr-dataset.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-axisname.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-datalabel.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-dataline.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-radar.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-data.vue.js +15 -15
- package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-style-xaxis.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/scatter/scatter-design.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/chart/scatter/series/scatter-series-data.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/scatter/series/styles/style-scatter.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +4 -4
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/row-colmun.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-pageination.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +10 -10
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-advanced.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue2.js +14 -14
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr.vue2.js +11 -10
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/common/common-attr-cursor.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-attr-size.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/common/common-bind-default-value.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/common/common-style-border.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/common/common-style-font-head.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/common/common-style-font.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/common/common-style-position.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/common/common-task-title.vue2.js +10 -10
- package/dist/es/components/design/views/assemblys/common/common-template-select.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +13 -13
- package/dist/es/components/design/views/assemblys/common/common-watermark.vue.js +9 -9
- package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/common-attr-events.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/container/card/card-attr-base.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/container/card/card-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr-base.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-design.vue2.js +6 -6
- package/dist/es/components/design/views/assemblys/container/container/container-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/container/container/container-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/container/flex/flex-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/container/form/form-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/container/form/form-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr-base.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/container/iframe/iframe-design.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +6 -6
- package/dist/es/components/design/views/assemblys/container/tools/tools-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/data/bar-code/barcode-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +14 -14
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +6 -6
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/data/component/formatting-icon-label.vue.js +9 -9
- package/dist/es/components/design/views/assemblys/data/component/import-header.vue.js +16 -16
- package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/component/return-set-table.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +8 -7
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +5 -5
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-style.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/common/attr-event.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/bar-code-rule.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +13 -13
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +9 -9
- package/dist/es/components/design/views/assemblys/form/common/data-linkage.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/form/common/data-origin-autoset.vue.js +29 -29
- package/dist/es/components/design/views/assemblys/form/common/data-origin-service-in.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +9 -9
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +9 -9
- package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +15 -15
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/linkpage-page-callback.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/form/common/pre-suffix.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/row-ul-li.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +9 -9
- package/dist/es/components/design/views/assemblys/form/common/verification-custom.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js +15 -15
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-autoset.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/form/link/link-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-base.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/select/select-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/object-design.vue3.js +3 -3
- package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/page/create-workflow-dialog.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/page/page-attr-permissions.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/page/variable-dialog.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +16 -16
- package/dist/es/components/design/views/assemblys/workflow/component/condition-dialog.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/workflow/component/journal-set-dialog.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/workflow/component/set-dialog.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-advanced.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/workflow/text-history/texthistory-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue2.js +1 -1
- package/dist/es/components/design/views/design/page-event/{config.vue2.js → config.vue.js} +1 -1
- package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +7 -7
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +2 -2
- package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +8 -8
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue2.js +27 -27
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +7 -7
- package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +4 -4
- package/dist/es/components/design/views/design/view/components/translate-error-dialog.vue.js +14 -14
- 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 +3 -3
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +12 -12
- 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.vue.js +3 -3
- package/dist/es/style.css +37 -63
- package/package.json +4 -4
|
@@ -2,25 +2,25 @@ import { defineComponent as e, ref as l, resolveComponent as a, createBlock as t
|
|
|
2
2
|
import { CirclePlus as c, Delete as s } from "@element-plus/icons-vue";
|
|
3
3
|
import f from "./combination.vue.js";
|
|
4
4
|
const m = { class: "dialog-footer" }, b = e({ __name: "set-dialog", props: { list: Object }, setup(e2) {
|
|
5
|
-
const b2 = e2,
|
|
5
|
+
const b2 = e2, v = l({}), y = l(false), _ = l({});
|
|
6
6
|
function g() {
|
|
7
|
-
|
|
7
|
+
y.value = false, b2.list;
|
|
8
8
|
}
|
|
9
9
|
function V() {
|
|
10
|
-
b2.list = b2.list.filter((e3) => e3 !==
|
|
10
|
+
b2.list = b2.list.filter((e3) => e3 !== v.value);
|
|
11
11
|
}
|
|
12
12
|
function k(e3) {
|
|
13
|
-
|
|
13
|
+
v.value = e3;
|
|
14
14
|
}
|
|
15
15
|
function w() {
|
|
16
16
|
b2.list.push({ leftBracket: "", propName: "", operator: "", propValueType: "", rightBracket: "", joinSign: "" });
|
|
17
17
|
}
|
|
18
18
|
return (l2, b3) => {
|
|
19
|
-
const
|
|
20
|
-
return o(), t(B, { "model-value": "", title: "自动设值", "append-to-body": "", onBeforeClose: b3[2] || (b3[2] = (e3) => l2.$emit("close")) }, { footer: u(() => [p("div", m, [n(
|
|
21
|
-
return a2 = e3.row,
|
|
19
|
+
const v2 = a("el-button"), C = a("el-row"), h = a("el-option"), U = a("el-select"), j = a("el-table-column"), x = a("el-input"), z = a("el-table"), B = a("el-dialog");
|
|
20
|
+
return o(), t(B, { "model-value": "", title: "自动设值", "append-to-body": "", onBeforeClose: b3[2] || (b3[2] = (e3) => l2.$emit("close")) }, { footer: u(() => [p("div", m, [n(v2, { type: "default", onClick: b3[0] || (b3[0] = (e3) => l2.$emit("close")) }, { default: u(() => [...b3[5] || (b3[5] = [d("取消", -1)])]), _: 1 }), n(v2, { type: "primary", onClick: b3[1] || (b3[1] = (e3) => l2.$emit("close")) }, { default: u(() => [...b3[6] || (b3[6] = [d(" 确定 ", -1)])]), _: 1 })])]), default: u(() => [n(C, { style: { "padding-bottom": "8px" } }, { default: u(() => [n(v2, { icon: r(c), plain: "", type: "primary", onClick: w }, { default: u(() => [...b3[3] || (b3[3] = [d(" 添加 ", -1)])]), _: 1 }, 8, ["icon"]), n(v2, { icon: r(s), plain: "", type: "primary", onClick: V }, { default: u(() => [...b3[4] || (b3[4] = [d(" 删除 ", -1)])]), _: 1 }, 8, ["icon"])]), _: 1 }), n(z, { "highlight-current-row": "", onCurrentChange: k, data: e2.list, style: { width: "100%" } }, { default: u(() => [n(j, { prop: "date", label: "填写方式", align: "center" }, { default: u((e3) => [n(U, { modelValue: e3.row.type, "onUpdate:modelValue": (l3) => e3.row.type = l3, clearable: "", size: "default" }, { default: u(() => [n(h, { label: "覆盖", value: "cover" }), n(h, { label: "追加", value: "append" }), n(h, { label: "插入最前面", value: "prepend" }), n(h, { label: "有值跳过", value: "skipIfExists" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(j, { prop: "date", label: "前置条件", align: "center" }, { default: u((e3) => [n(x, { size: "default", onClick: (l3) => {
|
|
21
|
+
return a2 = e3.row, _.value = a2.combination, void (y.value = true);
|
|
22
22
|
var a2;
|
|
23
|
-
} }, null, 8, ["onClick"])]), _: 1 }), n(j, { label: "执行方法时设置", align: "center" }, { default: u(() => [n(j, { prop: "name", label: "字段", align: "center" }, { default: u((e3) => [n(U, { modelValue: e3.row.type, "onUpdate:modelValue": (l3) => e3.row.type = l3, clearable: "", size: "default" }, { default: u(() => [n(h, { label: "1", value: "1" })]), _:
|
|
23
|
+
} }, null, 8, ["onClick"])]), _: 1 }), n(j, { label: "执行方法时设置", align: "center" }, { default: u(() => [n(j, { prop: "name", label: "字段", align: "center" }, { default: u((e3) => [n(U, { modelValue: e3.row.type, "onUpdate:modelValue": (l3) => e3.row.type = l3, clearable: "", size: "default" }, { default: u(() => [n(h, { label: "1", value: "1" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(j, { prop: "address", label: "值", align: "center" }, { default: u((e3) => [n(U, { modelValue: e3.row.type, "onUpdate:modelValue": (l3) => e3.row.type = l3, clearable: "", size: "default" }, { default: u(() => [n(h, { label: "手动填写", value: "input" }), n(h, { label: "环境变量", value: "context" }), n(h, { label: "请求参数", value: "request" }), n(h, { label: "数据库字段", value: "obj" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["data"]), y.value ? (o(), t(f, { key: 0, list: _.value, onClose: g }, null, 8, ["list"])) : i("", true)]), _: 1 });
|
|
24
24
|
};
|
|
25
25
|
} });
|
|
26
26
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, watch as o, resolveComponent as a, createBlock as i, openBlock as t, withCtx as n, createVNode as s, createCommentVNode as u, createElementVNode as r, createElementBlock as c, Fragment as g, renderList as p, createTextVNode as f, withDirectives as m, vShow as d } from "vue";
|
|
2
2
|
import b from "../component/condition-dialog.vue.js";
|
|
3
3
|
import v from "../component/set-dialog.vue.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
4
|
+
import y from "../component/combination.vue.js";
|
|
5
|
+
import C from "../component/journal-set-dialog.vue.js";
|
|
6
|
+
import _ from "../../common/common-advanced-basic-showcondition.vue.js";
|
|
7
7
|
import { isShowOpinionSetting as k } from "../../../../utils/form-design-util.js";
|
|
8
8
|
import V from "agilebuilder-ui/src/utils/request";
|
|
9
9
|
import { getTableConfigByTableUuid as D } from "../../../../utils/page-table-util.js";
|
|
@@ -54,7 +54,7 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, j = e({ __name: "extract-at
|
|
|
54
54
|
P.value = I("opinion"), W.value = I("wfRemark"), P.value || (j2.configure.props.base.isMustOpinion = false);
|
|
55
55
|
}, { immediate: true }), (l2, o2) => {
|
|
56
56
|
const k2 = a("el-option"), V2 = a("el-select"), D2 = a("el-form-item"), j3 = a("el-button"), L2 = a("el-text"), I2 = a("el-switch"), J = a("el-collapse-item"), B = a("el-collapse"), G = a("el-form");
|
|
57
|
-
return t(), i(G, { "label-width": "80px", size: "small" }, { default: n(() => [s(B, { modelValue: x.value, "onUpdate:modelValue": o2[8] || (o2[8] = (e3) => x.value = e3), style: { "margin-top": "6px" } }, { default: n(() => [s(J, { title: "高级设置", name: "base", class: "amb-design-attr-group-header" }, { default: n(() => [r("div", w, [s(D2, { label: "成功后", class: "amb-design-attr-item" }, { default: n(() => [s(V2, { modelValue: e2.configure.props.base.successOperation, "onUpdate:modelValue": o2[0] || (o2[0] = (l3) => e2.configure.props.base.successOperation = l3), class: "ml-4" }, { default: n(() => [s(k2, { label: "无操作", value: "noOperation" }), s(k2, { label: "刷新", value: "refresh" }), s(k2, { label: "关闭窗口", value: "closeWindow" }), s(k2, { label: "关闭窗口并刷新列表", value: "closeWindowAndRefresh" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(D2, { label: "转换规则", class: "amb-design-attr-item" }, { default: n(() => [s(V2, { modelValue: e2.configure.props.base.conversionCodes, "onUpdate:modelValue": o2[1] || (o2[1] = (l3) => e2.configure.props.base.conversionCodes = l3), multiple: "", class: "ml-4" }, { default: n(() => [(t(true), c(g, null, p(M.value, (e3) => (t(), i(k2, { key: e3.code, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(D2, { label: "执行条件", class: "amb-design-attr-item" }, { default: n(() => [s(j3, { type: "primary", onClick: o2[2] || (o2[2] = (e3) => N.value = true) }, { default: n(() => o2[9] || (o2[9] = [f("编辑", -1)])), _: 1
|
|
57
|
+
return t(), i(G, { "label-width": "80px", size: "small" }, { default: n(() => [s(B, { modelValue: x.value, "onUpdate:modelValue": o2[8] || (o2[8] = (e3) => x.value = e3), style: { "margin-top": "6px" } }, { default: n(() => [s(J, { title: "高级设置", name: "base", class: "amb-design-attr-group-header" }, { default: n(() => [r("div", w, [s(D2, { label: "成功后", class: "amb-design-attr-item" }, { default: n(() => [s(V2, { modelValue: e2.configure.props.base.successOperation, "onUpdate:modelValue": o2[0] || (o2[0] = (l3) => e2.configure.props.base.successOperation = l3), class: "ml-4" }, { default: n(() => [s(k2, { label: "无操作", value: "noOperation" }), s(k2, { label: "刷新", value: "refresh" }), s(k2, { label: "关闭窗口", value: "closeWindow" }), s(k2, { label: "关闭窗口并刷新列表", value: "closeWindowAndRefresh" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(D2, { label: "转换规则", class: "amb-design-attr-item" }, { default: n(() => [s(V2, { modelValue: e2.configure.props.base.conversionCodes, "onUpdate:modelValue": o2[1] || (o2[1] = (l3) => e2.configure.props.base.conversionCodes = l3), multiple: "", class: "ml-4" }, { default: n(() => [(t(true), c(g, null, p(M.value, (e3) => (t(), i(k2, { key: e3.code, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(D2, { label: "执行条件", class: "amb-design-attr-item" }, { default: n(() => [s(j3, { type: "primary", onClick: o2[2] || (o2[2] = (e3) => N.value = true) }, { default: n(() => [...o2[9] || (o2[9] = [f("编辑", -1)])]), _: 1 })]), _: 1 }), s(D2, { label: "启用条件", class: "amb-design-attr-item" }, { default: n(() => [(t(), i(_, { key: e2.configure.uuid + "_edit", configure: e2.configure, title: "启用条件", tableConfigure: R.value, type: "editConditions" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 }), s(D2, { label: "自动设值", class: "amb-design-attr-item" }, { default: n(() => [s(j3, { type: "primary", onClick: o2[3] || (o2[3] = (e3) => q.value = true) }, { default: n(() => [...o2[10] || (o2[10] = [f("编辑", -1)])]), _: 1 }), m(s(L2, { type: "success" }, { default: n(() => [...o2[11] || (o2[11] = [f(" 已设置条件. ", -1)])]), _: 1 }, 512), [[d, e2.configure.props && e2.configure.props.setValueList && e2.configure.props.setValueList.length > 0]])]), _: 1 }), s(D2, { label: "显示条件", class: "amb-design-attr-item" }, { default: n(() => [(t(), i(_, { key: e2.configure.uuid + "_show", configure: e2.configure, type: "showConditions", tableConfigure: R.value }, null, 8, ["configure", "tableConfigure"]))]), _: 1 }), s(D2, { label: "日志设置", class: "amb-design-attr-item" }, { default: n(() => [s(j3, { type: "primary", onClick: o2[4] || (o2[4] = (e3) => O.value = true) }, { default: n(() => [...o2[12] || (o2[12] = [f("编辑", -1)])]), _: 1 })]), _: 1 }), s(D2, { label: "主管必填", class: "amb-design-attr-item" }, { default: n(() => [s(I2, { modelValue: e2.configure.props.base.requireExtractTransactor, "onUpdate:modelValue": o2[5] || (o2[5] = (l3) => e2.configure.props.base.requireExtractTransactor = l3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), P.value ? (t(), i(D2, { key: 0, label: "意见必填", class: "amb-design-attr-item" }, { default: n(() => [s(I2, { modelValue: e2.configure.props.base.isMustOpinion, "onUpdate:modelValue": o2[6] || (o2[6] = (l3) => e2.configure.props.base.isMustOpinion = l3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), e2.configure.props.base.isMustOpinion ? (t(), i(D2, { key: 1, label: "意见必填条件", class: "amb-design-attr-item" }, { default: n(() => [(t(), i(_, { key: e2.configure.uuid + "_opinion", configure: e2.configure, type: "mustOpinionConditions", tableConfigure: R.value, title: "意见必填条件" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 })) : u("", true), W.value ? (t(), i(D2, { key: 2, label: "备注必填", class: "amb-design-attr-item" }, { default: n(() => [s(I2, { modelValue: e2.configure.props.base.isMustRemark, "onUpdate:modelValue": o2[7] || (o2[7] = (l3) => e2.configure.props.base.isMustRemark = l3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), e2.configure.props.base.isMustRemark ? (t(), i(D2, { key: 3, label: "备注必填条件", class: "amb-design-attr-item" }, { default: n(() => [(t(), i(_, { key: e2.configure.uuid + "_remark", configure: e2.configure, type: "mustRemarkConditions", tableConfigure: R.value, title: "办理备注必填条件" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 })) : u("", true), s(D2, { label: "任务标题", class: "amb-design-attr-item" }, { default: n(() => [(t(), i(h, { key: e2.configure.uuid + "_taskTitle", configure: e2.configure, pageDesign: e2.pageDesign, title: "任务标题生效条件" }, null, 8, ["configure", "pageDesign"]))]), _: 1 })])]), _: 1 }), N.value ? (t(), i(b, { key: 0, pageDesign: e2.pageDesign, configure: e2.configure, tableConfigure: R.value, onClose: z }, null, 8, ["pageDesign", "configure", "tableConfigure"])) : u("", true), q.value ? (t(), i(v, { key: 1, pageDesign: e2.pageDesign, configure: e2.configure, tableConfigure: R.value, onSave: T, onClose: A }, null, 8, ["pageDesign", "configure", "tableConfigure"])) : u("", true), $.value ? (t(), i(y, { key: 2, conditionList: e2.configure.props.base.showConditions, fieldNameList: e2.pageDesign.modelFields, fieldMap: e2.pageDesign.modelFieldsMap, tableConfigure: R.value, onSave: F, onClose: E }, null, 8, ["conditionList", "fieldNameList", "fieldMap", "tableConfigure"])) : u("", true), O.value ? (t(), i(C, { key: 3, modelValue: e2.configure.props.base.logSetting, onClose: S, onSave: U }, null, 8, ["modelValue"])) : u("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
58
58
|
};
|
|
59
59
|
} });
|
|
60
60
|
export {
|
package/dist/es/components/design/views/assemblys/workflow/text-history/texthistory-attr-base.vue.js
CHANGED
|
@@ -2,13 +2,13 @@ import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o
|
|
|
2
2
|
import { getFormComponentOptions as c } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import f from "../../common/common-attr-size.vue.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
const g = { style: { padding: "8px 0px 0px 0px" } }, b = { style: { padding: "8px 0px 0px 0px" } },
|
|
6
|
-
const
|
|
7
|
-
return (l2,
|
|
5
|
+
const g = { style: { padding: "8px 0px 0px 0px" } }, b = { style: { padding: "8px 0px 0px 0px" } }, V = e({ __name: "texthistory-attr-base", props: { configure: Object, default: () => ({ props: {} }) }, setup(e2) {
|
|
6
|
+
const V2 = l([]);
|
|
7
|
+
return (l2, _) => {
|
|
8
8
|
const v = a("el-option"), x = a("el-select"), y = a("el-form-item"), h = a("el-input"), U = a("el-collapse-item"), z = a("el-radio"), j = a("el-radio-group"), w = a("el-collapse"), k = a("el-form");
|
|
9
|
-
return t(), o(k, { "label-width": "80px", size: "small" }, { default: u(() => [d(w, { modelValue:
|
|
9
|
+
return t(), o(k, { "label-width": "80px", size: "small" }, { default: u(() => [d(w, { modelValue: V2.value, "onUpdate:modelValue": _[5] || (_[5] = (e3) => V2.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [d(U, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", g, [d(y, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [d(x, { modelValue: e2.configure.name, "onUpdate:modelValue": _[0] || (_[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: u(() => [(t(true), i(r, null, n(p(c)(), (e3) => (t(), o(v, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(y, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [d(h, { modelValue: e2.configure.uuid, "onUpdate:modelValue": _[1] || (_[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), d(y, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [d(h, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": _[2] || (_[2] = (l3) => e2.configure.props.base.title = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), d(y, { label: "任务变量", class: "amb-design-attr-item" }, { default: u(() => [d(h, { modelValue: e2.configure.props.base.prop, "onUpdate:modelValue": _[3] || (_[3] = (l3) => e2.configure.props.base.prop = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), d(U, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", b, [d(y, { label: "布局", class: "amb-design-attr-item" }, { default: u(() => [d(j, { modelValue: e2.configure.props.base.layout, "onUpdate:modelValue": _[4] || (_[4] = (l3) => e2.configure.props.base.layout = l3), class: "ml-4" }, { default: u(() => [d(z, { value: "default" }, { default: u(() => [..._[6] || (_[6] = [m("表格", -1)])]), _: 1 }), d(z, { value: "landscape" }, { default: u(() => [..._[7] || (_[7] = [m("水平时间线", -1)])]), _: 1 }), d(z, { value: "lengthways" }, { default: u(() => [..._[8] || (_[8] = [m("纵向时间线", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (t(), o(f, { key: e2.configure.uuid, size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
10
10
|
};
|
|
11
11
|
} });
|
|
12
12
|
export {
|
|
13
|
-
|
|
13
|
+
V as default
|
|
14
14
|
};
|
|
@@ -12,7 +12,7 @@ const x = { style: { padding: "8px 0px 0px 0px" } }, h = { style: { padding: "8p
|
|
|
12
12
|
const j = y2.configure.items.filter((e3) => "增加办理人" === e3.label);
|
|
13
13
|
return j && 0 !== j.length || y2.configure.items.push(...b), (l2, m2) => {
|
|
14
14
|
const f2 = a("el-option"), b2 = a("el-select"), y3 = a("el-form-item"), w2 = a("el-input"), k2 = a("el-checkbox"), j2 = a("el-col"), z = a("el-row"), A = a("el-collapse-item"), N = a("el-switch"), O = a("el-radio"), q = a("el-radio-group"), B = a("el-input-number"), C = a("el-collapse"), D = a("el-form");
|
|
15
|
-
return o(), i(D, { "label-width": "80px", size: "small" }, { default: t(() => [n(C, { modelValue: U.value, "onUpdate:modelValue": m2[7] || (m2[7] = (e3) => U.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [n(A, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [u("div", x, [n(y3, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [n(b2, { modelValue: e2.configure.name, "onUpdate:modelValue": m2[0] || (m2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: t(() => [(o(true), s(d, null, r(c(g)(), (e3) => (o(), i(f2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(y3, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [n(w2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": m2[1] || (m2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), n(y3, { label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [n(v, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), n(y3, { label: "按钮", class: "amb-design-attr-item" }, { default: t(() => [n(z, null, { default: t(() => [(o(true), s(d, null, r(e2.configure.items, (e3, l3) => (o(), i(j2, { key: e3, span: 12 }, { default: t(() => [n(k2, { modelValue: e3.check, "onUpdate:modelValue": (l4) => e3.check = l4, label: e3.label, value: true, disabled: e3.disabled }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled"])]), _: 2 }, 1024))), 128))]), _: 1 })]), _: 1 })])]), _: 1 }), n(A, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: t(() => [u("div", h, [n(y3, { label: "文字按钮", class: "amb-design-attr-item" }, { default: t(() => [n(N, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": m2[2] || (m2[2] = (l3) => e2.configure.props.base.text = l3), disabled: !!e2.configure.props.base.plain || !!e2.configure.props.base.plain, "inline-prompt": "", "active-icon": c(_), "inactive-icon": c(V) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(y3, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: t(() => [n(N, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": m2[3] || (m2[3] = (l3) => e2.configure.props.base.plain = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": c(_), "inactive-icon": c(V) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(y3, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: t(() => [n(N, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": m2[4] || (m2[4] = (l3) => e2.configure.props.base.round = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": c(_), "inactive-icon": c(V) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(y3, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [n(q, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": m2[5] || (m2[5] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [n(O, { value: "large" }, { default: t(() => m2[8] || (m2[8] = [p("大", -1)])), _: 1
|
|
15
|
+
return o(), i(D, { "label-width": "80px", size: "small" }, { default: t(() => [n(C, { modelValue: U.value, "onUpdate:modelValue": m2[7] || (m2[7] = (e3) => U.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [n(A, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [u("div", x, [n(y3, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [n(b2, { modelValue: e2.configure.name, "onUpdate:modelValue": m2[0] || (m2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: t(() => [(o(true), s(d, null, r(c(g)(), (e3) => (o(), i(f2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(y3, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [n(w2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": m2[1] || (m2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), n(y3, { label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [n(v, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), n(y3, { label: "按钮", class: "amb-design-attr-item" }, { default: t(() => [n(z, null, { default: t(() => [(o(true), s(d, null, r(e2.configure.items, (e3, l3) => (o(), i(j2, { key: e3, span: 12 }, { default: t(() => [n(k2, { modelValue: e3.check, "onUpdate:modelValue": (l4) => e3.check = l4, label: e3.label, value: true, disabled: e3.disabled }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled"])]), _: 2 }, 1024))), 128))]), _: 1 })]), _: 1 })])]), _: 1 }), n(A, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: t(() => [u("div", h, [n(y3, { label: "文字按钮", class: "amb-design-attr-item" }, { default: t(() => [n(N, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": m2[2] || (m2[2] = (l3) => e2.configure.props.base.text = l3), disabled: !!e2.configure.props.base.plain || !!e2.configure.props.base.plain, "inline-prompt": "", "active-icon": c(_), "inactive-icon": c(V) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(y3, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: t(() => [n(N, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": m2[3] || (m2[3] = (l3) => e2.configure.props.base.plain = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": c(_), "inactive-icon": c(V) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(y3, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: t(() => [n(N, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": m2[4] || (m2[4] = (l3) => e2.configure.props.base.round = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": c(_), "inactive-icon": c(V) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(y3, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [n(q, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": m2[5] || (m2[5] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [n(O, { value: "large" }, { default: t(() => [...m2[8] || (m2[8] = [p("大", -1)])]), _: 1 }), n(O, { value: "default" }, { default: t(() => [...m2[9] || (m2[9] = [p("中", -1)])]), _: 1 }), n(O, { value: "small" }, { default: t(() => [...m2[10] || (m2[10] = [p("小", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(y3, { label: "内容间距" }, { default: t(() => [n(B, { modelValue: e2.configure.props.gap, "onUpdate:modelValue": m2[6] || (m2[6] = (l3) => e2.configure.props.gap = l3), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
16
16
|
};
|
|
17
17
|
} });
|
|
18
18
|
export {
|
|
@@ -23,7 +23,7 @@ const m = e({ __name: "workflowbutton-design", props: { pageDesign: {}, configur
|
|
|
23
23
|
Object.assign(i2, o2);
|
|
24
24
|
});
|
|
25
25
|
}();
|
|
26
|
-
}, { immediate: true }), (
|
|
26
|
+
}, { immediate: true }), (o2, i2) => (n(), t("div", { style: u(j.value), class: r([w.value, "el-button-group amb-workflowbutton-design-view"]) }, [(n(true), t(c, null, g(e2.configure.items, (o3, i3) => p((n(), l(f, { key: o3, pageDesign: e2.pageDesign, configure: o3, showSelectedClass: false, selectWidget: e2.selectWidget, indexObj: e2.indexObj, onOnSelectWidget: x }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"])), [[a, o3.check]])), 128))], 6));
|
|
27
27
|
} });
|
|
28
28
|
export {
|
|
29
29
|
m as default
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, computed as t, onMounted as a, onUnmounted as n, resolveComponent as o, createElementBlock as i, openBlock as s, createElementVNode as u, createVNode as r, withCtx as m, unref as p, isRef as d, toDisplayString as c, withDirectives as v, withModifiers as f, createTextVNode as g, vShow as b } from "vue";
|
|
2
2
|
import { Search as h } from "@element-plus/icons-vue";
|
|
3
3
|
import { ElMessageBox as w } from "element-plus";
|
|
4
|
-
import { getDesignConfByName as
|
|
5
|
-
import
|
|
6
|
-
import { deepCopy as
|
|
4
|
+
import { getDesignConfByName as x } from "../../../utils/assemblys-config.js";
|
|
5
|
+
import C from "../view/assemblys-container-explore.vue.js";
|
|
6
|
+
import { deepCopy as _ } from "../../../utils/common-util.js";
|
|
7
7
|
import y from "../../../utils/eventBus.js";
|
|
8
8
|
import { usePageContextStore as k } from "../../../../../stores/page-store.js";
|
|
9
9
|
const E = { class: "amb-design-assembly-content", ref: "ambPageEventList" }, V = { style: { "padding-top": "10px" } }, j = ["title"], $ = ["title"], L = { key: 0 }, T = { key: 1 }, U = ["title"], z = ["title"], S = ["title"], B = e({ __name: "page-event-container", props: { configure: {}, configureObj: {}, editEvent: {} }, emits: ["add-event", "change-event"], setup(e2, { expose: B2, emit: I }) {
|
|
@@ -34,11 +34,11 @@ const E = { class: "amb-design-assembly-content", ref: "ambPageEventList" }, V =
|
|
|
34
34
|
let n3 = "";
|
|
35
35
|
O.value && O.value.props && O.value.props.base && (n3 = O.value.props.base.title), l4.title = n3, a2.includes(l4.name) || (t2.push(l4), a2.push(l4.name));
|
|
36
36
|
}
|
|
37
|
-
let l3 =
|
|
37
|
+
let l3 = x(e3);
|
|
38
38
|
const o2 = [];
|
|
39
39
|
if (l3 && l3.events && l3.events.length > 0) {
|
|
40
40
|
for (let e4 of l3.events) if (o2.push(e4.name), !a2.includes(e4.name)) {
|
|
41
|
-
const l4 =
|
|
41
|
+
const l4 = _(e4);
|
|
42
42
|
t2.push(l4), n2.push(l4), a2.push(e4.name);
|
|
43
43
|
}
|
|
44
44
|
if ("page" !== e3) {
|
|
@@ -85,8 +85,8 @@ const E = { class: "amb-design-assembly-content", ref: "ambPageEventList" }, V =
|
|
|
85
85
|
}), n(() => {
|
|
86
86
|
X && clearTimeout(X), y.$off("changePageDesign"), y.$off("editComponentEvent");
|
|
87
87
|
}), B2({}), (e3, l2) => {
|
|
88
|
-
const t2 = o("el-button"), a2 = o("el-input"), n2 = o("el-popover"), w2 = o("el-table-column"),
|
|
89
|
-
return s(), i("div", E, [u("div", null, [u("div", V, [r(n2, { placement: "right", width: 300, visible: D.value, trigger: "manual" }, { reference: m(() => [r(a2, { size: "small", modelValue: H.value, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => H.value = e4), placeholder: "请选择组件", readonly: "", clearable: "", onClick: l2[2] || (l2[2] = (e4) => D.value = !D.value) }, { append: m(() => [r(t2, { type: "info", icon: p(h), circle: "", text: "", onClick: l2[0] || (l2[0] = (e4) => D.value = !D.value) }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue"])]), default: m(() => [r(
|
|
88
|
+
const t2 = o("el-button"), a2 = o("el-input"), n2 = o("el-popover"), w2 = o("el-table-column"), x2 = o("el-table"), _2 = o("el-collapse-item"), y2 = o("el-collapse");
|
|
89
|
+
return s(), i("div", E, [u("div", null, [u("div", V, [r(n2, { placement: "right", width: 300, visible: D.value, trigger: "manual" }, { reference: m(() => [r(a2, { size: "small", modelValue: H.value, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => H.value = e4), placeholder: "请选择组件", readonly: "", clearable: "", onClick: l2[2] || (l2[2] = (e4) => D.value = !D.value) }, { append: m(() => [r(t2, { type: "info", icon: p(h), circle: "", text: "", onClick: l2[0] || (l2[0] = (e4) => D.value = !D.value) }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue"])]), default: m(() => [r(C, { onSelectComponent: Y, treeMarginTop: "", headerSearchClass: "custom", designItems: A.value, selectWidget: e3.selectWidget }, null, 8, ["designItems", "selectWidget"])]), _: 1 }, 8, ["visible"])])]), u("div", null, [r(y2, { modelValue: p(F), "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => d(F) ? F.value = e4 : F = e4), style: { "margin-top": "10px" } }, { default: m(() => [r(_2, { class: "amb-assembly-collapse-header", name: "searchCollapse", title: "事件列表" }, { default: m(() => [u("div", null, [r(a2, { modelValue: p(R), "onUpdate:modelValue": l2[3] || (l2[3] = (e4) => d(R) ? R.value = e4 : R = e4), placeholder: "名称/别名...", clearable: "", class: "input-with-select", style: { "margin-top": "10px", "margin-bottom": "10px" }, "suffix-icon": p(h) }, null, 8, ["modelValue", "suffix-icon"]), r(x2, { size: "small", data: q.value, style: { width: "100%" }, "max-height": W.value, "highlight-current-row": "", onRowClick: Q }, { default: m(() => [r(w2, { label: "名称", width: "90" }, { default: m((e4) => [u("span", { title: e4.row.name }, c(e4.row.name), 9, j)]), _: 1 }), r(w2, { label: "别名", width: "60" }, { default: m((e4) => [u("span", { title: e4.row.label }, c(e4.row.label), 9, $)]), _: 1 }), r(w2, { label: "组件", width: "120", align: "left" }, { default: m((e4) => [e4.row.title || e4.row.componentLabel ? (s(), i("span", L, c(e4.row.title ? e4.row.title + "(" + e4.row.componentLabel + ")" : e4.row.componentLabel), 1)) : (s(), i("span", T, c(p(O) ? p(O).label : "页面"), 1))]), _: 1 }), r(w2, { label: "备注" }, { default: m((e4) => [u("span", { title: e4.row.remark }, c(e4.row.remark), 9, U)]), _: 1 }), r(w2, { fixed: "right", label: "", width: "40", align: "center" }, { default: m((e4) => [v(r(t2, { disabled: false === e4.row.isEdit, link: "", type: "danger", size: "small", onClick: f((l3) => J(e4.row), ["stop"]) }, { default: m(() => [...l2[5] || (l2[5] = [g("清除", -1)])]), _: 1 }, 8, ["disabled", "onClick"]), [[b, e4.row.isStandard && e4.row.eventName || !e4.row.isStandard && e4.row.jsContent]])]), _: 1 })]), _: 1 }, 8, ["data", "max-height"])])]), _: 1 }), r(_2, { class: "amb-assembly-collapse-header", name: "addCollapse", title: "自定义方法" }, { default: m(() => [r(x2, { size: "small", data: p(M), "highlight-current-row": "", style: { width: "100%" }, "max-height": W.value, onRowClick: K }, { default: m(() => [r(w2, { prop: "label", label: "方法名", width: "90" }, { default: m((e4) => [u("span", { title: e4.row.eventName }, c(e4.row.eventName), 9, z)]), _: 1 }), r(w2, { prop: "label", label: "描述" }, { default: m((e4) => [u("span", { title: e4.row.remark }, c(e4.row.remark), 9, S)]), _: 1 }), r(w2, { fixed: "right", label: "", width: "50", align: "center" }, { default: m((e4) => [r(t2, { disabled: e4.row.disable, link: "", type: "primary", size: "small", onClick: f((l3) => J(e4.row), ["stop"]) }, { default: m(() => [...l2[6] || (l2[6] = [g("清除", -1)])]), _: 1 }, 8, ["disabled", "onClick"])]), _: 1 })]), _: 1 }, 8, ["data", "max-height"])]), _: 1 })]), _: 1 }, 8, ["modelValue"])])], 512);
|
|
90
90
|
};
|
|
91
91
|
} });
|
|
92
92
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, ref as t, onMounted as n, onUnmounted as a, watch as l, resolveComponent as u, createElementBlock as o, openBlock as s, createElementVNode as i, createVNode as r, withDirectives as m, withCtx as c, vShow as d, unref as v, createTextVNode as p, toDisplayString as f, Fragment as g, renderList as b, createBlock as y } from "vue";
|
|
2
2
|
import { ElMessageBox as x, ElMessage as h } from "element-plus";
|
|
3
|
-
import C from "./config.
|
|
3
|
+
import C from "./config.vue.js";
|
|
4
4
|
import { standardButtonOperations as E } from "../../../utils/assemblys-config.js";
|
|
5
5
|
import { findDesignItemByUuid as S, getUuidv4 as V, deepCopy as k } from "../../../utils/common-util.js";
|
|
6
6
|
import { usePageContextStore as _ } from "../../../../../stores/page-store.js";
|
|
@@ -154,7 +154,7 @@ const F = { style: { margin: "10px" } }, z = { class: "amb-design-tool", style:
|
|
|
154
154
|
Z.value && Z.value.resize && Z.value.resize();
|
|
155
155
|
} }), (e3, t2) => {
|
|
156
156
|
const n2 = u("Plus"), a2 = u("el-icon"), l2 = u("el-divider"), x2 = u("Check"), h2 = u("View"), E2 = u("el-text"), S2 = u("el-input"), V2 = u("el-form-item"), k2 = u("el-checkbox"), _2 = u("el-checkbox-group"), T2 = u("el-option"), U2 = u("el-option-group"), J3 = u("el-select"), A2 = u("el-form");
|
|
157
|
-
return s(), o("div", F, [i("div", z, [i("div", $, [i("label", { class: "amb-page-type", onClick: X }, [r(a2, { size: 18 }, { default: c(() => [r(n2)]), _: 1 }), t2[5] || (t2[5] = i("label", null, "添加自定义方法", -1))]), r(l2, { direction: "vertical" }), m(i("label", j, null, 512), [[d, M.value < 1]]), m(i("label", { class: "amb-page-type", style: { "margin-left": "0px" }, onClick: re }, t2[6] || (t2[6] = [i("span", { class: "iconfont icon-chexiaozuo", style: { "font-size": "20px" }, title: "撤销" }, null, -1)]), 512), [[d, M.value > 0]]), m(i("label", { class: "amb-page-type", onClick: me }, t2[7] || (t2[7] = [i("span", { class: "iconfont icon-chexiaoyou", style: { "font-size": "20px" }, title: "恢复" }, null, -1)]), 512), [[d, M.value > -1 && M.value + 1 < K.value]])]), m(i("div", w, [i("label", { class: "amb-page-type", onClick: t2[0] || (t2[0] = (e4) => te()) }, [r(a2, { size: 18 }, { default: c(() => [r(x2)]), _: 1 }), t2[8] || (t2[8] = i("label", null, "确定", -1))]), r(l2, { direction: "vertical" }), i("label", { class: "amb-page-type", style: { "margin-left": "0px" }, onClick: ne }, [r(a2, { size: 18 }, { default: c(() => [r(h2)]), _: 1 }), t2[9] || (t2[9] = i("label", null, "清除", -1))])], 512), [[d, G.value.name]])]), r(A2, { class: "amb-design-board", style: { "padding-top": "20px" }, ref_key: "formRef", ref: Q, size: "small", model: v(H), "inline-message": "", "label-width": "80px" }, { default: c(() => [i("div", N, [r(V2, { label: "名称", "label-width": "auto", style: { "min-width": "280px" }, required: "customFunc" == G.value.name }, { default: c(() => [m(r(E2, { type: "primary" }, { default: c(() => [p(f(G.value.title ? G.value.title + (G.value.componentLabel ? "(" + G.value.componentLabel + ")" : "") : G.value.componentLabel) + "." + f(G.value.name), 1)]), _: 1 }, 512), [[d, G.value.name && "customFunc" != G.value.name]]), m(r(S2, { modelValue: G.value.eventName, "onUpdate:modelValue": t2[1] || (t2[1] = (e4) => G.value.eventName = e4), title: "自定义方法名" }, null, 8, ["modelValue"]), [[d, "customFunc" == G.value.name]])]), _: 1 }, 8, ["required"]), m(r(_2, { modelValue: G.value.standardValues, "onUpdate:modelValue": t2[2] || (t2[2] = (e4) => G.value.standardValues = e4), onChange: W }, { default: c(() => [r(k2, { value: "true", label: "标准功能" })]), _: 1 }, 8, ["modelValue"]), [[d, "customFunc" != G.value.name]]), m(r(J3, { disabled: !G.value.isStandard, modelValue: G.value.eventName, "onUpdate:modelValue": t2[3] || (t2[3] = (e4) => G.value.eventName = e4), placeholder: "请选择", filterable: "", style: { width: "240px", "margin-left": "10px" } }, { default: c(() => [(s(true), o(g, null, b(v(R), (e4) => (s(), y(U2, { key: e4.label, label: e4.label }, { default: c(() => [(s(true), o(g, null, b(e4.options, (e5) => (s(), y(T2, { key: e5.value, label: e5.label, value: e5.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["label"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue"]), [[d, "customFunc" != G.value.name]]), r(V2, { label: "描述", "label-width": "auto", style: { flex: "1 1 auto" } }, { default: c(() => [r(S2, { modelValue: G.value.remark, "onUpdate:modelValue": t2[4] || (t2[4] = (e4) => G.value.remark = e4) }, null, 8, ["modelValue"])]), _: 1 })]), m(i("div", B, [r(C, { eventForm: G.value, ref_key: "editorRef", ref: Z }, null, 8, ["eventForm"])], 512), [[d, "customFunc" == G.value.name || "customFunc" != G.value.name && !G.value.isStandard]])]), _: 1 }, 8, ["model"])]);
|
|
157
|
+
return s(), o("div", F, [i("div", z, [i("div", $, [i("label", { class: "amb-page-type", onClick: X }, [r(a2, { size: 18 }, { default: c(() => [r(n2)]), _: 1 }), t2[5] || (t2[5] = i("label", null, "添加自定义方法", -1))]), r(l2, { direction: "vertical" }), m(i("label", j, null, 512), [[d, M.value < 1]]), m(i("label", { class: "amb-page-type", style: { "margin-left": "0px" }, onClick: re }, [...t2[6] || (t2[6] = [i("span", { class: "iconfont icon-chexiaozuo", style: { "font-size": "20px" }, title: "撤销" }, null, -1)])], 512), [[d, M.value > 0]]), m(i("label", { class: "amb-page-type", onClick: me }, [...t2[7] || (t2[7] = [i("span", { class: "iconfont icon-chexiaoyou", style: { "font-size": "20px" }, title: "恢复" }, null, -1)])], 512), [[d, M.value > -1 && M.value + 1 < K.value]])]), m(i("div", w, [i("label", { class: "amb-page-type", onClick: t2[0] || (t2[0] = (e4) => te()) }, [r(a2, { size: 18 }, { default: c(() => [r(x2)]), _: 1 }), t2[8] || (t2[8] = i("label", null, "确定", -1))]), r(l2, { direction: "vertical" }), i("label", { class: "amb-page-type", style: { "margin-left": "0px" }, onClick: ne }, [r(a2, { size: 18 }, { default: c(() => [r(h2)]), _: 1 }), t2[9] || (t2[9] = i("label", null, "清除", -1))])], 512), [[d, G.value.name]])]), r(A2, { class: "amb-design-board", style: { "padding-top": "20px" }, ref_key: "formRef", ref: Q, size: "small", model: v(H), "inline-message": "", "label-width": "80px" }, { default: c(() => [i("div", N, [r(V2, { label: "名称", "label-width": "auto", style: { "min-width": "280px" }, required: "customFunc" == G.value.name }, { default: c(() => [m(r(E2, { type: "primary" }, { default: c(() => [p(f(G.value.title ? G.value.title + (G.value.componentLabel ? "(" + G.value.componentLabel + ")" : "") : G.value.componentLabel) + "." + f(G.value.name), 1)]), _: 1 }, 512), [[d, G.value.name && "customFunc" != G.value.name]]), m(r(S2, { modelValue: G.value.eventName, "onUpdate:modelValue": t2[1] || (t2[1] = (e4) => G.value.eventName = e4), title: "自定义方法名" }, null, 8, ["modelValue"]), [[d, "customFunc" == G.value.name]])]), _: 1 }, 8, ["required"]), m(r(_2, { modelValue: G.value.standardValues, "onUpdate:modelValue": t2[2] || (t2[2] = (e4) => G.value.standardValues = e4), onChange: W }, { default: c(() => [r(k2, { value: "true", label: "标准功能" })]), _: 1 }, 8, ["modelValue"]), [[d, "customFunc" != G.value.name]]), m(r(J3, { disabled: !G.value.isStandard, modelValue: G.value.eventName, "onUpdate:modelValue": t2[3] || (t2[3] = (e4) => G.value.eventName = e4), placeholder: "请选择", filterable: "", style: { width: "240px", "margin-left": "10px" } }, { default: c(() => [(s(true), o(g, null, b(v(R), (e4) => (s(), y(U2, { key: e4.label, label: e4.label }, { default: c(() => [(s(true), o(g, null, b(e4.options, (e5) => (s(), y(T2, { key: e5.value, label: e5.label, value: e5.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["label"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue"]), [[d, "customFunc" != G.value.name]]), r(V2, { label: "描述", "label-width": "auto", style: { flex: "1 1 auto" } }, { default: c(() => [r(S2, { modelValue: G.value.remark, "onUpdate:modelValue": t2[4] || (t2[4] = (e4) => G.value.remark = e4) }, null, 8, ["modelValue"])]), _: 1 })]), m(i("div", B, [r(C, { eventForm: G.value, ref_key: "editorRef", ref: Z }, null, 8, ["eventForm"])], 512), [[d, "customFunc" == G.value.name || "customFunc" != G.value.name && !G.value.isStandard]])]), _: 1 }, 8, ["model"])]);
|
|
158
158
|
};
|
|
159
159
|
} });
|
|
160
160
|
export {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as e, ref as t, onMounted as o, nextTick as l, resolveComponent as a, resolveDirective as n, createElementBlock as i, openBlock as s, Fragment as r, createElementVNode as p, createVNode as c, withDirectives as u, createBlock as d, unref as m, withCtx as g, createTextVNode as f } from "vue";
|
|
2
2
|
import { Plus as v, Delete as y, Refresh as b } from "@element-plus/icons";
|
|
3
3
|
import w from "agilebuilder-ui/src/utils/request";
|
|
4
|
-
import { ElMessageBox as h, ElMessage as C, ElLoading as
|
|
5
|
-
const
|
|
6
|
-
const
|
|
4
|
+
import { ElMessageBox as h, ElMessage as C, ElLoading as k } from "element-plus";
|
|
5
|
+
const S = { style: { padding: "0 0 10px 0" } }, E = e({ __name: "i18n-setting-enabled", props: { systemCode: { type: String, default: "" } }, emits: ["close"], setup(e2, { expose: E2, emit: T }) {
|
|
6
|
+
const A = e2, _ = window.$vueApp.config.globalProperties.baseAPI, N = t([]), P = t(), x = t(false), D = [{ leftBracket: "(", propName: "systemCode", propDbName: "system_code", dataType: "TEXT", operator: "EQ", propValue: A.systemCode, joinSign: "or" }, { propName: "systemCode", propDbName: "system_code", dataType: "TEXT", operator: "EQ", propValue: "common", rightBracket: ")", joinSign: "and" }], R = function(e3, t2) {
|
|
7
7
|
N.value = e3;
|
|
8
8
|
}, B = { initSearch: true, dynamicServiceName: "languagePackageDynamicValueServiceImpl", lineEditOptions: { aftersaveIsCreateRow: false, beforeSave: function(e3) {
|
|
9
|
-
e3.SYSTEM_CODE =
|
|
9
|
+
e3.SYSTEM_CODE = A.systemCode;
|
|
10
10
|
} }, statementDto: {}, initSearchForm: D, renderRow: {}, isSql: true, operations: { operation: [{ onClick: G, eventName: "lineEditUpdate", props: { title: "修改", isPermission: true, type: "primary", size: "small", elementType: "el-button", label: "修改", code: "lineEditUpdate" } }, { onClick: I, eventName: "lineEditSave", isShow: U, props: { title: "保存", type: "primary", size: "small", elementType: "el-button", label: "保存" } }, { onClick: z, eventName: "lineEditDelete", props: { title: "删除", type: "danger", size: "small", elementType: "el-button", label: "删除" } }, { onClick: $, eventName: "restoreEdit", props: { title: "取消编辑", type: "primary", size: "small", elementType: "el-button", label: "取消编辑", code: "restoreEdit" } }] }, pageHeight: 0.45 * window.innerHeight };
|
|
11
11
|
function I(e3, t2, o2, l2, a2) {
|
|
12
12
|
P.value.saveRow(a2);
|
|
@@ -38,7 +38,7 @@ const k = { style: { padding: "0 0 10px 0" } }, S = e({ __name: "i18n-setting-en
|
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
40
|
function q() {
|
|
41
|
-
const e3 =
|
|
41
|
+
const e3 = k.service({ fullscreen: true, lock: true, text: "更新中", background: "rgba(0, 0, 0, 0.7)" });
|
|
42
42
|
w.delete().then((t2) => {
|
|
43
43
|
e3.close(), C.success({ message: "更新完毕", showClose: true });
|
|
44
44
|
}).catch((t2) => {
|
|
@@ -50,11 +50,11 @@ const k = { style: { padding: "0 0 10px 0" } }, S = e({ __name: "i18n-setting-en
|
|
|
50
50
|
P.value.refresh();
|
|
51
51
|
});
|
|
52
52
|
}), o(() => {
|
|
53
|
-
}),
|
|
53
|
+
}), E2({}), (e3, t2) => {
|
|
54
54
|
const o2 = a("el-button"), l2 = a("super-grid"), w2 = n("loading");
|
|
55
|
-
return s(), i(r, null, [p("div",
|
|
55
|
+
return s(), i(r, null, [p("div", S, [u((s(), d(o2, { disabled: x.value, icon: m(v), type: "primary", onClick: V }, { default: g(() => [...t2[0] || (t2[0] = [f(" 新建 ", -1)])]), _: 1 }, 8, ["disabled", "icon"])), [[w2, x.value]]), u((s(), d(o2, { disabled: x.value, icon: m(y), type: "danger", onClick: j }, { default: g(() => [...t2[1] || (t2[1] = [f(" 删除 ", -1)])]), _: 1 }, 8, ["disabled", "icon"])), [[w2, x.value]]), u((s(), d(o2, { type: "default", align: "left", class: "button--default", icon: m(b), onClick: q }, { default: g(() => [...t2[2] || (t2[2] = [f(" 更新缓存 ", -1)])]), _: 1 }, 8, ["icon"])), [[w2, x.value]])]), c(l2, { style: { width: "100%" }, ref_key: "grid", ref: P, url: m(_) + "/bs/language-package/list", options: B, code: "BS_LANGUAGE_PACKAGE", onSelect: R, onSelectAll: R }, null, 8, ["url"])], 64);
|
|
56
56
|
};
|
|
57
57
|
} });
|
|
58
58
|
export {
|
|
59
|
-
|
|
59
|
+
E as default
|
|
60
60
|
};
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, reactive as a, computed as t, resolveComponent as u, resolveDirective as n, createElementBlock as o, openBlock as s, Fragment as i, createElementVNode as r, withDirectives as d, createBlock as p, createCommentVNode as c, createVNode as g, unref as v, withCtx as m, createTextVNode as f, renderList as y, toDisplayString as h } from "vue";
|
|
2
|
-
import { Plus as C, Reading as
|
|
3
|
-
import { ElMessageBox as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
const
|
|
2
|
+
import { Plus as C, Reading as b, Refresh as w } from "@element-plus/icons-vue";
|
|
3
|
+
import { ElMessageBox as D, ElMessage as E } from "element-plus";
|
|
4
|
+
import k from "agilebuilder-ui/src/utils/request";
|
|
5
|
+
import V from "./translate-error-dialog.vue.js";
|
|
6
|
+
const _ = { style: { padding: "0 0 10px 0" }, class: "amb-design-attr-item-inline" }, x = { key: 1 }, A = { key: 1 }, R = { class: "dialog-footer" }, O = e({ __name: "i18n-setting-page", props: { pageDesign: { type: Object, default: "" } }, emits: ["close"], setup(e2, { expose: O2, emit: K }) {
|
|
7
7
|
const $ = e2;
|
|
8
8
|
l(false);
|
|
9
9
|
const T = l(false), U = l(0.5 * window.innerHeight), M = l([]), z = l([]), P = l(-1), B = l(""), I = l([]), L = l(false), q = l([]), S = l(false), j = l({ CODE: "", REMARK: "" }), F = a({ CODE: [{ required: true, message: "请输入国际化编码", trigger: "blur" }] }), N = () => {
|
|
10
|
-
|
|
10
|
+
D.confirm("确定要翻译吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(() => {
|
|
11
11
|
T.value = true;
|
|
12
12
|
let e3 = [];
|
|
13
13
|
I.value && I.value.length > 0 ? I.value.forEach((l2) => {
|
|
14
14
|
e3.push(l2.CODE);
|
|
15
|
-
}) : e3 = [...$.pageDesign.i18nKeys],
|
|
16
|
-
e4 ? (q.value = e4, L.value = true,
|
|
15
|
+
}) : e3 = [...$.pageDesign.i18nKeys], k.post(window.$vueApp.config.globalProperties.baseAPI + `/bs/language-package/translate/by-codes/${$.pageDesign.systemCode}`, e3).then((e4) => {
|
|
16
|
+
e4 ? (q.value = e4, L.value = true, E.error({ message: "翻译错误,请检查翻译结果后自行保存", showClose: true })) : J(), T.value = false;
|
|
17
17
|
}).catch((e4) => {
|
|
18
18
|
T.value = false;
|
|
19
19
|
});
|
|
20
20
|
});
|
|
21
21
|
}, H = () => {
|
|
22
|
-
|
|
23
|
-
T.value = true,
|
|
24
|
-
T.value = false,
|
|
22
|
+
D.confirm("确定要更新缓存吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(() => {
|
|
23
|
+
T.value = true, k.post(window.$vueApp.config.globalProperties.baseAPI + `/bs/language-package/refresh-cache/by-codes/${$.pageDesign.systemCode}`, $.pageDesign.i18nKeys).then(() => {
|
|
24
|
+
T.value = false, E.success("更新成功");
|
|
25
25
|
}).catch(() => {
|
|
26
|
-
T.value = false,
|
|
26
|
+
T.value = false, E.error("更新失败");
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
29
|
}, G = t(() => M.value.filter((e3) => !B.value || e3.CODE.toLowerCase().includes(B.value.toLowerCase()))), J = () => {
|
|
30
|
-
|
|
30
|
+
k.post(window.$vueApp.config.globalProperties.baseAPI + `/bs/language-value/by-language-codes/${$.pageDesign.systemCode}`, $.pageDesign.i18nKeys).then((e3) => {
|
|
31
31
|
Q(e3);
|
|
32
32
|
}).catch((e3) => {
|
|
33
|
-
|
|
33
|
+
E.error("加载失败");
|
|
34
34
|
});
|
|
35
35
|
}, Q = (e3) => {
|
|
36
36
|
if (M.value = [], z.value = e3.languages, z.value && z.value.length > 0) if (z.value.forEach((e4) => {
|
|
@@ -51,20 +51,20 @@ const V = { style: { padding: "0 0 10px 0" }, class: "amb-design-attr-item-inlin
|
|
|
51
51
|
const l2 = {};
|
|
52
52
|
for (let a3 = 0; a3 < z.value.length; a3++) {
|
|
53
53
|
const t2 = z.value[a3];
|
|
54
|
-
if (!e3[t2.value]) return void
|
|
54
|
+
if (!e3[t2.value]) return void E.warning(`${t2.name}不能为空`);
|
|
55
55
|
l2[t2.value] = e3[t2.value];
|
|
56
56
|
}
|
|
57
57
|
const a2 = { code: e3.CODE, remark: e3.REMARK, systemCode: $.pageDesign.systemCode, languageValue: l2 };
|
|
58
|
-
return
|
|
58
|
+
return k.post(window.$vueApp.config.globalProperties.baseAPI + "/bs/language-value/desiger-save", a2);
|
|
59
59
|
}, X = (e3) => {
|
|
60
60
|
I.value = e3;
|
|
61
61
|
}, Y = () => {
|
|
62
62
|
S.value = true;
|
|
63
63
|
}, Z = () => {
|
|
64
64
|
W(j.value).then(() => {
|
|
65
|
-
|
|
65
|
+
E.success("保存成功"), S.value = false, j.value.CODE && $.pageDesign.i18nKeys.push(j.value.CODE), j.value = {}, J();
|
|
66
66
|
}).catch(() => {
|
|
67
|
-
|
|
67
|
+
E.error("保存失败");
|
|
68
68
|
});
|
|
69
69
|
}, ee = () => {
|
|
70
70
|
S.value = false;
|
|
@@ -72,21 +72,21 @@ const V = { style: { padding: "0 0 10px 0" }, class: "amb-design-attr-item-inlin
|
|
|
72
72
|
L.value = false, J();
|
|
73
73
|
};
|
|
74
74
|
return O2({}), (l2, a2) => {
|
|
75
|
-
const t2 = u("el-button"),
|
|
76
|
-
return s(), o(i, null, [r("div",
|
|
77
|
-
return a3 = e3.$index, e3.row, void (-1 === P.value ? P.value = a3 :
|
|
75
|
+
const t2 = u("el-button"), D2 = u("el-input"), k2 = u("el-table-column"), O3 = u("el-table"), K2 = u("el-form-item"), I2 = u("el-form"), Q2 = u("el-dialog"), ae = n("loading");
|
|
76
|
+
return s(), o(i, null, [r("div", _, [d((s(), p(t2, { align: "left", type: "primary", icon: v(C), onClick: Y }, { default: m(() => [...a2[4] || (a2[4] = [f(" 新增 ", -1)])]), _: 1 }, 8, ["icon"])), [[ae, T.value]]), d((s(), p(t2, { align: "left", type: "primary", icon: v(b), onClick: N }, { default: m(() => [...a2[5] || (a2[5] = [f(" 自动翻译 ", -1)])]), _: 1 }, 8, ["icon"])), [[ae, T.value]]), d((s(), p(t2, { type: "default", align: "left", class: "button--default", icon: v(w), onClick: H }, { default: m(() => [...a2[6] || (a2[6] = [f(" 更新缓存 ", -1)])]), _: 1 }, 8, ["icon"])), [[ae, T.value]]), d((s(), p(t2, { type: "default", align: "left", class: "button--default", icon: v(w), onClick: J }, { default: m(() => [...a2[7] || (a2[7] = [f(" 刷新 ", -1)])]), _: 1 }, 8, ["icon"])), [[ae, T.value]]), g(D2, { style: { width: "200px", "margin-left": "20px" }, modelValue: B.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => B.value = e3), clearable: "", placeholder: "筛选" }, null, 8, ["modelValue"])]), d((s(), p(O3, { data: G.value, border: "", stripe: "", onSelectionChange: X, style: { width: "100%" }, height: U.value, size: "small" }, { default: m(() => [g(k2, { type: "selection", width: "55", align: "center" }), g(k2, { type: "index", width: "50", align: "center", label: "序号" }), g(k2, { prop: "CODE", label: "国际化编码", width: "180", align: "center" }), (s(true), o(i, null, y(z.value, (e3) => (s(), p(k2, { prop: e3.value, label: e3.name, align: "center" }, { default: m((l3) => [P.value === l3.$index ? (s(), p(D2, { key: 0, modelValue: l3.row[e3.value], "onUpdate:modelValue": (a3) => l3.row[e3.value] = a3, size: "small", style: { "text-align": "center" }, class: "centered-input" }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (s(), o("span", x, h(l3.row[e3.value]), 1))]), _: 2 }, 1032, ["prop", "label"]))), 256)), g(k2, { prop: "REMARK", label: "备注", width: "180", align: "center" }, { default: m((e3) => [P.value === e3.$index ? (s(), p(D2, { key: 0, modelValue: e3.row.REMARK, "onUpdate:modelValue": (l3) => e3.row.REMARK = l3, size: "small", class: "centered-input" }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (s(), o("span", A, h(e3.row.REMARK), 1))]), _: 1 }), g(k2, { prop: "TRANSLATED", label: "已翻译", width: "180", align: "center" }, { default: m((e3) => [f(h(true === e3.row.TRANSLATED ? "是" : "否"), 1)]), _: 1 }), g(k2, { align: "center", label: "操作" }, { default: m((e3) => [-1 === P.value || P.value !== e3.$index ? (s(), o(i, { key: 0 }, [g(t2, { type: "default", size: "small", onClick: (l3) => {
|
|
77
|
+
return a3 = e3.$index, e3.row, void (-1 === P.value ? P.value = a3 : E.warning("请先保存或取消当前编辑行"));
|
|
78
78
|
var a3;
|
|
79
|
-
} }, { default: m(() => a2[8] || (a2[8] = [f(" 修改 ", -1)])), _:
|
|
80
|
-
return e3.$index, a3 = e3.row, $.pageDesign.i18nKeys = $.pageDesign.i18nKeys.filter((e4) => e4 !== a3.CODE), M.value = M.value.filter((e4) => e4.CODE !== a3.CODE), void
|
|
79
|
+
} }, { default: m(() => [...a2[8] || (a2[8] = [f(" 修改 ", -1)])]), _: 1 }, 8, ["onClick"]), g(t2, { size: "small", type: "danger", onClick: (l3) => {
|
|
80
|
+
return e3.$index, a3 = e3.row, $.pageDesign.i18nKeys = $.pageDesign.i18nKeys.filter((e4) => e4 !== a3.CODE), M.value = M.value.filter((e4) => e4.CODE !== a3.CODE), void E.success("删除成功");
|
|
81
81
|
var a3;
|
|
82
|
-
} }, { default: m(() => a2[9] || (a2[9] = [f(" 删除 ", -1)])), _:
|
|
82
|
+
} }, { default: m(() => [...a2[9] || (a2[9] = [f(" 删除 ", -1)])]), _: 1 }, 8, ["onClick"])], 64)) : c("", true), P.value === e3.$index ? (s(), o(i, { key: 1 }, [g(t2, { size: "small", type: "primary", onClick: (l3) => {
|
|
83
83
|
return e3.$index, a3 = e3.row, void W(a3).then(() => {
|
|
84
|
-
|
|
84
|
+
E.success("保存成功"), P.value = -1;
|
|
85
85
|
}).catch(() => {
|
|
86
|
-
|
|
86
|
+
E.error("保存失败");
|
|
87
87
|
});
|
|
88
88
|
var a3;
|
|
89
|
-
} }, { default: m(() => a2[10] || (a2[10] = [f(" 保存 ", -1)])), _:
|
|
89
|
+
} }, { default: m(() => [...a2[10] || (a2[10] = [f(" 保存 ", -1)])]), _: 1 }, 8, ["onClick"]), g(t2, { type: "default", size: "small", onClick: (l3) => (e3.$index, e3.row, void (P.value = -1)) }, { default: m(() => [...a2[11] || (a2[11] = [f(" 取消编辑 ", -1)])]), _: 1 }, 8, ["onClick"])], 64)) : c("", true)]), _: 1 })]), _: 1 }, 8, ["data", "height"])), [[ae, T.value]]), r("span", null, "总条数:" + h(G.value.length), 1), L.value ? (s(), p(V, { key: 0, systemCode: e2.pageDesign.systemCode, languages: z.value, errorTranslateData: q.value, onClose: le }, null, 8, ["systemCode", "languages", "errorTranslateData"])) : c("", true), S.value ? (s(), p(Q2, { key: 1, modelValue: S.value, "onUpdate:modelValue": a2[3] || (a2[3] = (e3) => S.value = e3), width: "500", title: "新增", "append-to-body": "" }, { footer: m(() => [r("div", R, [g(t2, { type: "default", onClick: ee }, { default: m(() => [...a2[12] || (a2[12] = [f("取消", -1)])]), _: 1 }), g(t2, { type: "primary", onClick: Z }, { default: m(() => [...a2[13] || (a2[13] = [f(" 保存 ", -1)])]), _: 1 })])]), default: m(() => [g(I2, { ref: "addFormRef", style: { "max-width": "600px" }, model: j.value, rules: F, "label-width": "auto", class: "demo-addForm", size: "small", "status-icon": "" }, { default: m(() => [g(K2, { label: "编码", prop: "CODE" }, { default: m(() => [g(D2, { modelValue: j.value.CODE, "onUpdate:modelValue": a2[1] || (a2[1] = (e3) => j.value.CODE = e3) }, null, 8, ["modelValue"])]), _: 1 }), (s(true), o(i, null, y(z.value, (e3) => (s(), p(K2, { prop: e3.value, label: e3.name }, { default: m(() => [g(D2, { modelValue: j.value[e3.value], "onUpdate:modelValue": (l3) => j.value[e3.value] = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1032, ["prop", "label"]))), 256)), g(K2, { label: "备注", prop: "REMARK" }, { default: m(() => [g(D2, { modelValue: j.value.REMARK, "onUpdate:modelValue": a2[2] || (a2[2] = (e3) => j.value.REMARK = e3) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue"])) : c("", true)], 64);
|
|
90
90
|
};
|
|
91
91
|
} });
|
|
92
92
|
export {
|
|
@@ -5,7 +5,7 @@ import V from "../../../assemblys/common/common-select-table.vue.js";
|
|
|
5
5
|
import C from "./quick-add-fields.vue.js";
|
|
6
6
|
import "agilebuilder-ui/src/utils/request";
|
|
7
7
|
import { queryTableFields as x } from "../../../../utils/page-table-util.js";
|
|
8
|
-
import { deepCopy as
|
|
8
|
+
import { deepCopy as T, getUuidv4 as _ } from "../../../../utils/common-util.js";
|
|
9
9
|
import { standardButtonOperations as N, getDesignConfByName as w } from "../../../../utils/assemblys-config.js";
|
|
10
10
|
import { usePageContextStore as k } from "../../../../../../stores/page-store.js";
|
|
11
11
|
import { watchValidate as F } from "../../../../utils/form-design-util.js";
|
|
@@ -117,8 +117,8 @@ const I = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "1
|
|
|
117
117
|
const e5 = t2.items[t2.items.length - 1];
|
|
118
118
|
for (let o2 of P.fieldInfos) {
|
|
119
119
|
if (!o2.fieldName && !o2.title && !o2.componentName) continue;
|
|
120
|
-
const l2 =
|
|
121
|
-
if (l2.uuid =
|
|
120
|
+
const l2 = T(e5);
|
|
121
|
+
if (l2.uuid = _(), l2.isTable = true, l2.name = o2.componentName ? o2.componentName : "", l2.title = o2.title, l2.props.base.displayOrder = s2++, l2.props.base.name = o2.title, l2.props.base.listColumnFixed = "false", l2.dataType = o2.dataType, l2.props.base.querySettingName = o2.querySettingName, l2.props.base.exportable = o2.exportable, o2.align && (l2.props.base.alignTitle = o2.align), l2.props.base.prop = o2.fieldName, o2.componentName) {
|
|
122
122
|
if (l2.props.editLine.plugType = o2.componentName, l2.props.editLine.editable = true, l2.props.base.defaultValue = o2.value, o2.valid && o2.valid.length > 0) {
|
|
123
123
|
l2.props.verification || (l2.props.verification = {});
|
|
124
124
|
const e6 = o2.valid, t3 = e6.indexOf("required");
|
|
@@ -192,15 +192,15 @@ const I = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "1
|
|
|
192
192
|
function se(e3) {
|
|
193
193
|
const t2 = w(e3);
|
|
194
194
|
if (!t2) return null;
|
|
195
|
-
const s2 =
|
|
196
|
-
return s2.uuid =
|
|
195
|
+
const s2 = T(t2);
|
|
196
|
+
return s2.uuid = _(), delete s2.designComponent, delete s2.attrComponent, delete s2.renderComponent, s2.props || (s2.props = {}), s2;
|
|
197
197
|
}
|
|
198
198
|
return S2({ openDialog: function() {
|
|
199
199
|
let e3 = window.innerHeight - 110 - 310 - 20;
|
|
200
200
|
e3 > 500 ? e3 = 500 : e3 < 100 && (e3 = 100), U.value = e3, W.value = true;
|
|
201
201
|
} }), (e3, t2) => {
|
|
202
|
-
const s2 = l("el-button"), o2 = l("el-radio"), b2 = l("el-radio-group"), y2 = l("el-form-item"), x2 = l("el-col"),
|
|
203
|
-
return a(), i(n, null, [p(j2, { "append-to-body": "", modelValue: W.value, "onUpdate:modelValue": t2[5] || (t2[5] = (e4) => W.value = e4), "close-on-press-escape": "", title: "快捷添加", onClose: t2[6] || (t2[6] = (e4) => L("close")), width: "900" }, { default: r(() => [u("div", I, [p(s2, { size: "small", type: "primary", style: { "margin-left": "10px" }, icon: m(g), onClick: Z }, { default: r(() => t2[7] || (t2[7] = [d("确定", -1)])), _: 1
|
|
202
|
+
const s2 = l("el-button"), o2 = l("el-radio"), b2 = l("el-radio-group"), y2 = l("el-form-item"), x2 = l("el-col"), T2 = l("el-switch"), _2 = l("el-input"), N2 = l("el-row"), w2 = l("el-checkbox"), k2 = l("el-checkbox-group"), F2 = l("el-form"), O2 = l("el-divider"), j2 = l("el-dialog");
|
|
203
|
+
return a(), i(n, null, [p(j2, { "append-to-body": "", modelValue: W.value, "onUpdate:modelValue": t2[5] || (t2[5] = (e4) => W.value = e4), "close-on-press-escape": "", title: "快捷添加", onClose: t2[6] || (t2[6] = (e4) => L("close")), width: "900" }, { default: r(() => [u("div", I, [p(s2, { size: "small", type: "primary", style: { "margin-left": "10px" }, icon: m(g), onClick: Z }, { default: r(() => [...t2[7] || (t2[7] = [d("确定", -1)])]), _: 1 }, 8, ["icon"])]), p(F2, { style: { "margin-top": "15px" }, size: "small" }, { default: r(() => [p(N2, null, { default: r(() => [p(x2, { span: 6 }, { default: r(() => [p(y2, { label: " 页面类型", class: "amb-design-attr-item" }, { default: r(() => [p(b2, { modelValue: P.pageType, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => P.pageType = e4) }, { default: r(() => [p(o2, { value: "form" }, { default: r(() => [...t2[8] || (t2[8] = [d("表单", -1)])]), _: 1 }), p(o2, { value: "list" }, { default: r(() => [...t2[9] || (t2[9] = [d("台帐", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })]), _: 1 }), p(x2, { span: 4 }, { default: r(() => [p(y2, { label: "工作流模式", class: "amb-design-attr-item" }, { default: r(() => [p(T2, { disabled: "form" != P.pageType, modelValue: P.isWorkflow, "onUpdate:modelValue": t2[1] || (t2[1] = (e4) => P.isWorkflow = e4) }, null, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 }), p(x2, { span: 12 }, { default: r(() => [p(y2, { label: "数据表", class: "amb-design-attr-item" }, { default: r(() => [p(_2, { modelValue: P.tableAlias, "onUpdate:modelValue": t2[2] || (t2[2] = (e4) => P.tableAlias = e4), title: P.tableAlias, clearable: "", readonly: "true", onClick: Q }, { append: r(() => [p(s2, { type: "default", icon: m(v), onClick: Q, size: "small" }, null, 8, ["icon"]), p(s2, { type: "default", icon: m(h), onClick: X, title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 })]), _: 1 })]), _: 1 }), p(y2, { label: " 可选功能", class: "amb-design-attr-item" }, { default: r(() => [p(k2, { modelValue: P.buttons, "onUpdate:modelValue": t2[3] || (t2[3] = (e4) => P.buttons = e4), onChange: $ }, { default: r(() => [(a(true), i(n, null, f(K.value, (e4) => (a(), c(w2, { value: e4.value, label: e4.label }, null, 8, ["value", "label"]))), 256))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), p(y2, { label: "行编辑功能", class: "amb-design-attr-item" }, { default: r(() => [p(k2, { modelValue: P.listButtons, "onUpdate:modelValue": t2[4] || (t2[4] = (e4) => P.listButtons = e4) }, { default: r(() => [(a(), i(n, null, f(M, (e4) => p(w2, { disabled: "list" != P.pageType, value: e4.value, label: e4.label }, null, 8, ["disabled", "value", "label"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 })]), _: 1 }), p(O2, { style: { "margin-bottom": "10px", "margin-top": "-10px" } }), p(C, { model: P, ref_key: "addFieldsRef", ref: E, height: U.value }, null, 8, ["model", "height"])]), _: 1 }, 8, ["modelValue"]), p(V, { ref_key: "selectTableDialog", ref: D, onSelectTable: Y, systemCode: m(B).systemCode, systemVersion: m(B).systemVersion }, null, 8, ["systemCode", "systemVersion"])], 64);
|
|
204
204
|
};
|
|
205
205
|
} });
|
|
206
206
|
export {
|