super-page-designer 2.3.4-sit1-design2 → 2.3.5-rc1-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/interfaces/page-design-types.d.ts +1 -0
- package/dist/es/components/design/utils/page-event-util.js +1 -0
- package/dist/es/components/design/utils/page-i18n-util.js +6 -5
- package/dist/es/components/design/utils/page-table-util.js +4 -4
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +19 -19
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +5 -52
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue2.js +48 -2
- 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/component/combination.vue.js +1 -1
- 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 +5 -5
- 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/exportpdf-attr-advanced.vue.js +7 -7
- 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/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-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr-base.vue.js +6 -5
- package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr.vue.js +1 -1
- 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-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-sortby.vue.js +5 -5
- 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 +2 -2
- package/dist/es/components/design/views/assemblys/chart/common/common-style-tooltip.vue.js +2 -2
- 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 +1 -1
- package/dist/es/components/design/views/assemblys/chart/gauge/series/gauge-series-attr.vue.js +1 -1
- 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 +1 -1
- package/dist/es/components/design/views/assemblys/chart/pie/series/pie-series-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/pie/series/styles/style-pie.vue.js +4 -4
- 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 +1 -1
- 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/series-attr.vue.js +1 -1
- 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-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/scatter/series/scatter-series-attr.vue.js +1 -1
- 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 +1 -1
- 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 +11 -11
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue.js +10 -10
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +17 -17
- package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +1 -1
- 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-icon-bind.vue2.js +4 -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-background.vue.js +3 -2
- 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-template-select.vue.js +46 -0
- package/dist/es/components/design/views/assemblys/common/common-template-select.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/common/common-variable-bind-option.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +23 -23
- package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +6 -6
- 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-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr.vue2.js +1 -1
- 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-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/container/flex/flex-attr.vue2.js +1 -1
- 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-attr.vue2.js +1 -1
- 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-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr.vue2.js +3 -2
- 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-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +22 -22
- 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/bar-code/barcode-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +13 -13
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +7 -7
- package/dist/es/components/design/views/assemblys/data/component/configuration-value.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +7 -7
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +4 -4
- package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +12 -12
- 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/formatting.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/data/component/import-header.vue.js +2 -2
- 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 +6 -6
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +3 -3
- 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 +5 -5
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +6 -6
- 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 +10 -10
- package/dist/es/components/design/views/assemblys/form/common/data-origin-autoset.vue.js +25 -25
- package/dist/es/components/design/views/assemblys/form/common/data-origin-service-in.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +8 -8
- 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 +9 -9
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/form/common/linkpage-page-callback.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/pre-suffix.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +8 -8
- 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 +6 -6
- 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/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/file-upload/fileupload-design.vue2.js +1 -1
- 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/label/label-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/form/label/label-design.vue2.js +11 -11
- package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +5 -5
- 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 +6 -6
- 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/rich-text/richtext-design.vue2.js +14 -13
- package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr.vue2.js +1 -1
- 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/page/component/setting-form-rule-base-input.vue.js +5 -5
- 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 +2 -2
- package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +6 -6
- 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 +12 -12
- package/dist/es/components/design/views/assemblys/workflow/picture-flow/pictureflow-design.vue2.js +1 -1
- 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-node/workflownode-design.vue2.js +3 -3
- package/dist/es/components/design/views/design/page-design.vue2.js +1 -1
- package/dist/es/components/design/views/design/page-event/{config.vue.js → config.vue2.js} +1 -1
- package/dist/es/components/design/views/design/page-event/config.vue3.js +18 -17
- 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 +1 -1
- 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 +8 -7
- package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +1 -1
- 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.vue2.js +3 -2
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
- package/dist/es/stores/undo-redo-store.js +1 -1
- package/dist/es/style.css +4 -0
- package/package.json +5 -5
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
const e = ["tools", "form"];
|
|
2
|
-
function s(
|
|
2
|
+
function s(r, a) {
|
|
3
3
|
var _a;
|
|
4
4
|
try {
|
|
5
|
-
|
|
6
|
-
s(e2,
|
|
5
|
+
r.name || r.label && o(r.label, a), ((_a = r.props) == null ? void 0 : _a.base) && !e.includes(r.name) && (r.props.base.title && o(r.props.base.title, a), r.props.base.placeholder && o(r.props.base.placeholder, a), r.props.base.label && o(r.props.base.label, a)), r.items && r.items.length > 0 && r.items.forEach((e2) => {
|
|
6
|
+
s(e2, a);
|
|
7
7
|
});
|
|
8
8
|
} catch (e2) {
|
|
9
|
+
console.error(e2);
|
|
9
10
|
}
|
|
10
11
|
}
|
|
11
|
-
function
|
|
12
|
+
function o(e2, s2) {
|
|
12
13
|
Array.isArray(e2) || (e2 = [e2]), e2.forEach((e3) => {
|
|
13
14
|
s2.i18nKeys.includes(e3) || s2.i18nKeys.push(e3);
|
|
14
15
|
});
|
|
15
16
|
}
|
|
16
17
|
export {
|
|
17
|
-
|
|
18
|
+
o as addI18nKey,
|
|
18
19
|
s as setPagetemI18nKey
|
|
19
20
|
};
|
|
@@ -23,7 +23,7 @@ function p(e2, r2) {
|
|
|
23
23
|
return (_a2 = e4.items) == null ? void 0 : _a2.forEach((e5) => {
|
|
24
24
|
const s4 = { controlName: c(e5) };
|
|
25
25
|
let o4 = { headerName: e5.props.base.name, prop: t(e5.props.base.prop), width: e5.props.base.columnWidth, listColumnSort: e5.props.base.sortable, filterable: e5.props.base.filterable, visible: e5.props.base.visible, exportable: e5.props.base.exportable, total: e5.props.base.total, listColumnFixed: e5.props.base.listColumnFixed, format: g(e5), valueSet: l(e5), querySettingName: e5.props.base.querySettingName ? e5.props.base.querySettingName : "no", queryMatching: e5.props.base.queryMatching, querySetting: e5.props.querySetting ? JSON.stringify(e5.props.querySetting) : null, editable: e5.props.editLine.editable, defaultValue: e5.props.base.defaultValue, controlName: s4.controlName, controlConfig: b(e5), eventType: S(e5), displayOrder: e5.props.base.displayOrder, fileSet: f(e5), orgTreeSet: d(e5), dynamicColumnJson: C(e5), valueSetOptions: u(e5, r4.systemCode, r4.systemVersion), required: e5.props.verification.required, pattern: e5.props.verification.verifyRegex, checkType: h(e5.props.verification.type), contAlign: e5.props.base ? e5.props.base.alignContent : null, titleAlign: e5.props.base ? e5.props.base.alignTitle : null, i18nKey: e5.props.base.name };
|
|
26
|
-
r4.i18nKeys && a(e5.props.base.name, r4), i4.push(o4);
|
|
26
|
+
r4.i18nKeys && a(e5.props.base.name, r4), e5.functionCodes && e5.functionCodes.length > 0 && (o4.functionCode = e5.functionCodes.join(",")), i4.push(o4);
|
|
27
27
|
}), i4;
|
|
28
28
|
}(e3, r3), o3.groupHeaders = function(e4) {
|
|
29
29
|
const t2 = [];
|
|
@@ -167,11 +167,11 @@ function b(e2) {
|
|
|
167
167
|
if ("select" === e2.name) {
|
|
168
168
|
const r2 = e2.props.base, a2 = r2.allowCreate, i2 = r2.clearable;
|
|
169
169
|
let s2 = false;
|
|
170
|
-
("normal" === e2.props.dataOrigin.filterType || a2) && (s2 = true), t2 =
|
|
170
|
+
("normal" === e2.props.dataOrigin.filterType || a2) && (s2 = true), t2.automaticDropdown = false, t2.clearable = i2, t2.filterable = s2, t2.allowCreate = a2;
|
|
171
171
|
} else if ("input-text" === e2.name) {
|
|
172
172
|
const r2 = !!((_a = e2.props.scan) == null ? void 0 : _a.enable), a2 = (_b = e2.props.scan) == null ? void 0 : _b.ruleList;
|
|
173
|
-
t2 =
|
|
174
|
-
} else "custom" === e2.name ? t2.customParams = e2.props.parameter : "datePicker" === e2.name ? t2 =
|
|
173
|
+
t2.scanEnable = r2, t2.scanRuleList = a2;
|
|
174
|
+
} else "custom" === e2.name ? t2.customParams = e2.props.parameter : "datePicker" === e2.name ? (t2.format = e2.props.base.format, t2.valueFormat = e2.props.base.valueFormat) : "dept-tree" === e2.name && (t2.limitFilterColumn = e2.props.base.limitFilterColumn, t2.deptScope = e2.props.base.deptScope, t2.deptScopeField = e2.props.base.deptScopeField, t2.deptScopeDepts = e2.props.base.deptScopeDepts);
|
|
175
175
|
return ((_c = e2.style) == null ? void 0 : _c.cellStyle) && (t2.cellStyle = e2.style.cellStyle), ((_d = e2.style) == null ? void 0 : _d.titleStyle) && (t2.titleStyle = e2.style.titleStyle), ((_f = (_e = e2.props) == null ? void 0 : _e.base) == null ? void 0 : _f.editConditions) && e2.props.base.editConditions.length > 0 && (t2.editConditions = e2.props.base.editConditions), t2 ? JSON.stringify(t2) : null;
|
|
176
176
|
}
|
|
177
177
|
function g(e2) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as e, ref as
|
|
1
|
+
import { defineComponent as e, ref as o, watch as l, resolveComponent as a, createBlock as i, openBlock as n, withCtx as t, createVNode as s, createCommentVNode as u, createElementVNode as r, createElementBlock as p, Fragment as f, renderList as c, createTextVNode as g, withDirectives as d, vShow as m } 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 _ from "../component/combination.vue.js";
|
|
5
|
+
import y from "../component/journal-set-dialog.vue.js";
|
|
6
|
+
import C 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 h } from "../../../../utils/page-table-util.js";
|
|
@@ -11,7 +11,7 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, D = e({ __name: "button-att
|
|
|
11
11
|
} }, pageDesign: { type: Object, default: () => {
|
|
12
12
|
} } }, setup(e2) {
|
|
13
13
|
var _a;
|
|
14
|
-
const D2 = e2, O =
|
|
14
|
+
const D2 = e2, O = o(["base"]), j = o(false), M = o([]), x = (_a = D2.pageDesign) == null ? void 0 : _a.systemVersion, L = o(h(D2.pageDesign, D2.configure));
|
|
15
15
|
function R() {
|
|
16
16
|
j.value = false;
|
|
17
17
|
}
|
|
@@ -21,39 +21,39 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, D = e({ __name: "button-att
|
|
|
21
21
|
V.post(window.$vueApp.config.globalProperties.baseAPI + `/mms/setting-transformations/option/${D2.pageDesign.systemCode}/${x}`).then((e3) => {
|
|
22
22
|
M.value = e3;
|
|
23
23
|
});
|
|
24
|
-
const N =
|
|
24
|
+
const N = o(false);
|
|
25
25
|
function U() {
|
|
26
26
|
N.value = false;
|
|
27
27
|
}
|
|
28
|
-
const z =
|
|
28
|
+
const z = o(false);
|
|
29
29
|
function A() {
|
|
30
30
|
z.value = false;
|
|
31
31
|
}
|
|
32
32
|
function $(e3) {
|
|
33
|
-
D2.configure.props.setValueList = e3;
|
|
33
|
+
D2.configure.props.setValueList = e3, D2.configure.props.setValueList;
|
|
34
34
|
}
|
|
35
|
-
const F =
|
|
35
|
+
const F = o(false);
|
|
36
36
|
function P() {
|
|
37
37
|
F.value = false;
|
|
38
38
|
}
|
|
39
39
|
function W(e3) {
|
|
40
40
|
D2.configure.props.base.showConditions = JSON.stringify(e3);
|
|
41
41
|
}
|
|
42
|
-
const q =
|
|
42
|
+
const q = o(J("opinion")), I = o(J("wfRemark"));
|
|
43
43
|
function J(e3) {
|
|
44
|
-
let
|
|
45
|
-
const
|
|
46
|
-
if (
|
|
47
|
-
const a2 =
|
|
48
|
-
|
|
44
|
+
let o2 = false;
|
|
45
|
+
const l2 = D2.configure.events.filter((e4) => "click" === e4.name && e4.eventName);
|
|
46
|
+
if (l2 && l2.length > 0) {
|
|
47
|
+
const a2 = l2[0].eventName;
|
|
48
|
+
o2 = k(a2, e3);
|
|
49
49
|
}
|
|
50
|
-
return
|
|
50
|
+
return o2;
|
|
51
51
|
}
|
|
52
|
-
return
|
|
52
|
+
return l(D2.configure.events, (e3) => {
|
|
53
53
|
q.value = J("opinion"), I.value = J("wfRemark"), q.value || (D2.configure.props.base.isMustOpinion = false);
|
|
54
|
-
}, { immediate: true }), (
|
|
54
|
+
}, { immediate: true }), (o2, l2) => {
|
|
55
55
|
const k2 = a("el-option"), V2 = a("el-select"), h2 = a("el-form-item"), D3 = a("el-button"), x2 = a("el-text"), J2 = a("el-switch"), B = a("el-collapse-item"), E = a("el-collapse"), G = a("el-form");
|
|
56
|
-
return n(), i(G, { "label-width": "80px", size: "small" }, { default: t(() => [s(E, { modelValue: O.value, "onUpdate:modelValue":
|
|
56
|
+
return n(), i(G, { "label-width": "80px", size: "small" }, { default: t(() => [s(E, { modelValue: O.value, "onUpdate:modelValue": l2[7] || (l2[7] = (e3) => O.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [s(B, { title: "高级设置", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", w, [s(h2, { label: "成功后", class: "amb-design-attr-item" }, { default: t(() => [s(V2, { modelValue: e2.configure.props.base.successOperation, "onUpdate:modelValue": l2[0] || (l2[0] = (o3) => e2.configure.props.base.successOperation = o3), class: "ml-4" }, { default: t(() => [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(h2, { label: "转换规则", class: "amb-design-attr-item" }, { default: t(() => [s(V2, { modelValue: e2.configure.props.base.conversionCodes, "onUpdate:modelValue": l2[1] || (l2[1] = (o3) => e2.configure.props.base.conversionCodes = o3), multiple: "", class: "ml-4" }, { default: t(() => [(n(true), p(f, null, c(M.value, (e3) => (n(), i(k2, { key: e3.code, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(h2, { label: "执行条件", class: "amb-design-attr-item" }, { default: t(() => [s(D3, { type: "primary", onClick: l2[2] || (l2[2] = (e3) => N.value = true) }, { default: t(() => l2[8] || (l2[8] = [g("编辑", -1)])), _: 1, __: [8] })]), _: 1 }), s(h2, { label: "启用条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(C, { key: e2.configure.uuid + "_edit", configure: e2.configure, title: "启用条件", tableConfigure: L.value, type: "editConditions" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 }), s(h2, { label: "自动设值", class: "amb-design-attr-item" }, { default: t(() => [s(D3, { type: "primary", onClick: l2[3] || (l2[3] = (e3) => z.value = true) }, { default: t(() => l2[9] || (l2[9] = [g("编辑", -1)])), _: 1, __: [9] }), d(s(x2, { type: "success" }, { default: t(() => l2[10] || (l2[10] = [g(" 已设置条件. ", -1)])), _: 1, __: [10] }, 512), [[m, e2.configure.props && e2.configure.props.setValueList && e2.configure.props.setValueList.length > 0]])]), _: 1 }), s(h2, { label: "显示条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(C, { key: e2.configure.uuid + "_show", configure: e2.configure, type: "showConditions", tableConfigure: L.value }, null, 8, ["configure", "tableConfigure"]))]), _: 1 }), s(h2, { label: "日志设置", class: "amb-design-attr-item" }, { default: t(() => [s(D3, { type: "primary", onClick: l2[4] || (l2[4] = (e3) => j.value = true) }, { default: t(() => l2[11] || (l2[11] = [g("编辑", -1)])), _: 1, __: [11] })]), _: 1 }), q.value ? (n(), i(h2, { key: 0, label: "意见必填", class: "amb-design-attr-item" }, { default: t(() => [s(J2, { modelValue: e2.configure.props.base.isMustOpinion, "onUpdate:modelValue": l2[5] || (l2[5] = (o3) => e2.configure.props.base.isMustOpinion = o3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), e2.configure.props.base.isMustOpinion ? (n(), i(h2, { key: 1, label: "意见必填条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(C, { key: e2.configure.uuid + "_opinion", configure: e2.configure, type: "mustOpinionConditions", tableConfigure: L.value, title: "意见必填条件" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 })) : u("", true), I.value ? (n(), i(h2, { key: 2, label: "备注必填", class: "amb-design-attr-item" }, { default: t(() => [s(J2, { modelValue: e2.configure.props.base.isMustRemark, "onUpdate:modelValue": l2[6] || (l2[6] = (o3) => e2.configure.props.base.isMustRemark = o3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), e2.configure.props.base.isMustRemark ? (n(), i(h2, { key: 3, label: "备注必填条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(C, { key: e2.configure.uuid + "_remark", configure: e2.configure, type: "mustRemarkConditions", tableConfigure: L.value, title: "办理备注必填条件" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 })) : u("", true)])]), _: 1 }), N.value ? (n(), i(b, { key: 0, pageDesign: e2.pageDesign, configure: e2.configure, tableConfigure: L.value, onClose: U }, null, 8, ["pageDesign", "configure", "tableConfigure"])) : u("", true), z.value ? (n(), i(v, { key: 1, pageDesign: e2.pageDesign, configure: e2.configure, tableConfigure: L.value, onSave: $, onClose: A }, null, 8, ["pageDesign", "configure", "tableConfigure"])) : u("", true), F.value ? (n(), i(_, { key: 2, conditionList: e2.configure.props.base.showConditions, fieldNameList: e2.pageDesign.modelFields, fieldMap: e2.pageDesign.modelFieldsMap, tableConfigure: L.value, onSave: W, onClose: P }, null, 8, ["conditionList", "fieldNameList", "fieldMap", "tableConfigure"])) : u("", true), j.value ? (n(), i(y, { key: 3, modelValue: e2.configure.props.base.logSetting, onClose: R, onSave: S }, null, 8, ["modelValue"])) : u("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
57
57
|
};
|
|
58
58
|
} });
|
|
59
59
|
export {
|
|
@@ -1,54 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import "../../../../../../
|
|
4
|
-
|
|
5
|
-
import v from "../../common/common-icon-bind.vue.js";
|
|
6
|
-
import _ from "agilebuilder-ui/src/utils/request";
|
|
7
|
-
import y from "../../common/common-function-code.vue.js";
|
|
8
|
-
import "@element-plus/icons";
|
|
9
|
-
import { Close as U, Check as x } from "@element-plus/icons-vue";
|
|
10
|
-
import "uuid";
|
|
11
|
-
import "../../../../../../stores/table-store.js";
|
|
12
|
-
import "../../../../../../stores/statistics-table-store.js";
|
|
13
|
-
/* empty css */
|
|
14
|
-
import { getTableConfigByTableUuid as h } from "../../../../utils/page-table-util.js";
|
|
15
|
-
import k from "../../common/common-i18n-key-input.vue.js";
|
|
16
|
-
import P from "../../chart/statistical-table/component/link-table.vue.js";
|
|
17
|
-
const j = { style: { padding: "8px 0px 0px 0px" } }, D = { style: { padding: "8px 0px 0px 0px" } }, T = { style: { padding: "8px 0px 0px 0px" } }, w = { style: { padding: "8px 0px 0px 0px" } }, z = e({ __name: "button-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
|
|
18
|
-
const z2 = e2, E = a(["base", "appearance", "otherSettings", "linkPage"]), F = a({}), q = a([]), C = a(R()), A = a(false);
|
|
19
|
-
z2.configure.props.base.templateFiles && z2.configure.props.base.templateFiles.forEach((e3) => {
|
|
20
|
-
q.value.push(e3.templateUuid);
|
|
21
|
-
}), void 0 === z2.configure.props.base.isEnableRequired && (z2.configure.props.base.isEnableRequired = true), !z2.configure.props.linkPage || z2.configure.props.linkPage instanceof Array || (z2.configure.props.linkPage = [{ linkPage: z2.configure.props.linkPage }]), A.value = true;
|
|
22
|
-
const N = a([]);
|
|
23
|
-
function I() {
|
|
24
|
-
q.value.length > 0 ? (z2.configure.props.base.templateFiles || (z2.configure.props.base.templateFiles = []), F.value.filter((e3) => q.value.includes(e3.uuid)).forEach((e3) => {
|
|
25
|
-
z2.configure.props.base.templateFiles.push({ templateName: e3.fileName, templateUuid: e3.uuid });
|
|
26
|
-
})) : z2.configure.props.base.templateFiles = [];
|
|
27
|
-
}
|
|
28
|
-
function R() {
|
|
29
|
-
return h(z2.pageDesign, z2.configure);
|
|
30
|
-
}
|
|
31
|
-
function S(e3) {
|
|
32
|
-
const a2 = R();
|
|
33
|
-
C.value = a2;
|
|
34
|
-
}
|
|
35
|
-
return l(() => {
|
|
36
|
-
!function() {
|
|
37
|
-
var _a;
|
|
38
|
-
const e3 = (_a = z2.pageDesign) == null ? void 0 : _a.systemVersion;
|
|
39
|
-
_.post(window.$vueApp.config.globalProperties.baseAPI + `/dc/template-management/list/${z2.pageDesign.systemCode}?publishVersion=${e3}`, {}).then((e4) => {
|
|
40
|
-
F.value = e4.data;
|
|
41
|
-
});
|
|
42
|
-
}(), z2.pageDesign.tableUuids && z2.pageDesign.tableUuids.length > 0 && (N.value = z2.pageDesign.tableUuids);
|
|
43
|
-
}), (a2, l2) => {
|
|
44
|
-
const _2 = o("el-option"), h2 = o("el-select"), R2 = o("el-form-item"), $ = o("el-input"), M = o("el-radio"), O = o("el-radio-group"), B = o("el-collapse-item"), G = o("el-radio-button"), H = o("el-switch"), J = o("el-collapse"), K = o("el-form");
|
|
45
|
-
return t(), i(K, { "label-width": "80px", size: "small" }, { default: u(() => [s(J, { modelValue: E.value, "onUpdate:modelValue": l2[25] || (l2[25] = (e3) => E.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [s(B, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", j, [s(R2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [s(h2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.name = a3), placeholder: "请选择" }, { default: u(() => [(t(true), r(d, null, p(c(V)(), (e3) => (t(), i(_2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [s($, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), s(R2, { label: "自定义编码", class: "amb-design-attr-item" }, { default: u(() => [s($, { modelValue: e2.configure.code, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.code = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), i(y, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), s(R2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [s(k, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.title = a3) }, null, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [s(O, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.size = a3), class: "ml-4" }, { default: u(() => [s(M, { value: "large" }, { default: u(() => l2[26] || (l2[26] = [m("大")])), _: 1 }), s(M, { value: "default" }, { default: u(() => l2[27] || (l2[27] = [m("中")])), _: 1 }), s(M, { value: "small" }, { default: u(() => l2[28] || (l2[28] = [m("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [s(O, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: u(() => [s(M, { value: "default" }, { default: u(() => l2[29] || (l2[29] = [m("普通")])), _: 1 }), s(M, { value: "disabled" }, { default: u(() => l2[30] || (l2[30] = [m("禁用")])), _: 1 }), s(M, { value: "hidden" }, { default: u(() => l2[31] || (l2[31] = [m("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(B, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", D, [s(R2, { label: "按钮类型", class: "amb-design-attr-item" }, { default: u(() => [s(h2, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.type = a3), class: "ml-4", clearable: "" }, { default: u(() => [s(_2, { label: "primary", value: "primary" }), s(_2, { label: "success", value: "success" }), s(_2, { label: "warning", value: "warning" }), s(_2, { label: "danger", value: "danger" }), s(_2, { label: "info", value: "info" }), s(_2, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "图标", class: "amb-design-attr-item" }, { default: u(() => [(t(), i(v, { key: e2.configure.uuid, iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.iconValue, "onUpdate:modelValue": l2[7] || (l2[7] = (e3, a3) => function(e4, a4) {
|
|
46
|
-
z2.configure.props.base.iconType = e4, z2.configure.props.base.iconValue = a4, a4 || (z2.configure.props.base.isTextIcon = false);
|
|
47
|
-
}(e3, a3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), f(s(R2, { label: "图标位置", class: "amb-design-attr-item" }, { default: u(() => [s(O, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.base.iconPosition = a3), class: "ml-4" }, { default: u(() => [s(G, { value: "left" }, { default: u(() => l2[32] || (l2[32] = [m("标题前")])), _: 1 }), s(G, { value: "right" }, { default: u(() => l2[33] || (l2[33] = [m("标题后")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.iconValue]]), s(R2, { label: "文字按钮", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.text = a3), disabled: !!e2.configure.props.base.plain || !!e2.configure.props.base.plain, "inline-prompt": "", "active-icon": c(x), "inactive-icon": c(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), e2.configure.props.base.text ? (t(), i(R2, { key: 0, label: "图标按钮", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.isTextIcon, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.isTextIcon = a3), disabled: !e2.configure.props.base.iconValue, "inline-prompt": "", "active-icon": c(x), "inactive-icon": c(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 })) : b("", true), s(R2, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.plain = a3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": c(x), "inactive-icon": c(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), s(R2, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.base.round = a3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": c(x), "inactive-icon": c(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), s(R2, { label: "加载状态", class: "amb-design-attr-item" }, { default: u(() => [s(O, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.base.loading = a3), class: "ml-4" }, { default: u(() => [s(M, { value: true }, { default: u(() => l2[34] || (l2[34] = [m("是")])), _: 1 }), s(M, { value: false }, { default: u(() => l2[35] || (l2[35] = [m("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: u(() => [s(O, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.base.focus = a3), class: "ml-4" }, { default: u(() => [s(M, { value: true }, { default: u(() => l2[36] || (l2[36] = [m("是")])), _: 1 }), s(M, { value: false }, { default: u(() => l2[37] || (l2[37] = [m("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "原生type", class: "amb-design-attr-item" }, { default: u(() => [s(O, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.originalType = a3), class: "ml-4", disabled: !!e2.configure.props.base.text }, { default: u(() => [s(M, { value: "button" }, { default: u(() => l2[38] || (l2[38] = [m("button")])), _: 1 }), s(M, { value: "submit" }, { default: u(() => l2[39] || (l2[39] = [m("submit")])), _: 1 }), s(M, { value: "reset" }, { default: u(() => l2[40] || (l2[40] = [m("reset")])), _: 1 })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })])]), _: 1 }), s(B, { title: "跳转配置", name: "linkPage", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", T, [A.value ? (t(), i(P, { key: 0, pageDesign: e2.pageDesign, paramTypes: ["data", "task", "page", "request", "row"], data: e2.configure.props.linkPage, configure: e2.configure, tableConfigure: C.value, onDataChange: l2[16] || (l2[16] = (e3) => function(e4) {
|
|
48
|
-
z2.configure.props.linkPage = e4;
|
|
49
|
-
}(e3)) }, null, 8, ["pageDesign", "data", "configure", "tableConfigure"])) : b("", true)])]), _: 1 }), s(B, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", w, [s(R2, { label: "回填赋值", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.isNeedValueMapping, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.isNeedValueMapping = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "权限保护", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.isPermission = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "是否异步", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.isAsync, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.isAsync = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "必填验证", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.isEnableRequired, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.isEnableRequired = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "逻辑删除", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.isSafeDelete, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.base.isSafeDelete = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "模板路径", class: "amb-design-attr-item" }, { default: u(() => [s(h2, { modelValue: q.value, "onUpdate:modelValue": l2[22] || (l2[22] = (e3) => q.value = e3), filterable: "", multiple: "", onChange: I }, { default: u(() => [(t(true), r(d, null, p(F.value, (e3) => (t(), i(_2, { key: e3.uuid, label: e3.fileName, value: e3.uuid }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "执行条件", class: "amb-design-attr-item" }, { default: u(() => [s(h2, { modelValue: e2.configure.props.base.conditionsForExecution, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.base.conditionsForExecution = a3) }, { default: u(() => [s(_2, { label: "无限制", value: "any" }), s(_2, { label: "选单行", value: "one" }), s(_2, { label: "选多行(包括单行)", value: "more" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "对应表格", class: "amb-design-attr-item" }, { default: u(() => [s(h2, { modelValue: e2.configure.props.base.tableUuid, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.base.tableUuid = a3), clearable: "", filterable: "", "allow-create": "", onChange: S }, { default: u(() => [(t(true), r(d, null, p(N.value, (e3) => (t(), i(_2, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
50
|
-
};
|
|
51
|
-
} });
|
|
1
|
+
import t from "./button-attr-base.vue2.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const o = e(t, [["__scopeId", "data-v-b665b830"]]);
|
|
52
5
|
export {
|
|
53
|
-
|
|
6
|
+
o as default
|
|
54
7
|
};
|
|
@@ -1,4 +1,50 @@
|
|
|
1
|
-
import t from "
|
|
1
|
+
import { defineComponent as e, ref as a, onMounted as l, resolveComponent as o, createBlock as t, openBlock as i, withCtx as s, createVNode as u, createElementVNode as n, createElementBlock as r, Fragment as d, renderList as p, unref as c, createTextVNode as m, withDirectives as f, createCommentVNode as g, vShow as b } from "vue";
|
|
2
|
+
import { getFormComponentOptions as _ } from "../../../../utils/assemblys-config.js";
|
|
3
|
+
import "../../../../../../stores/page-store.js";
|
|
4
|
+
/* empty css */
|
|
5
|
+
import V from "../../common/common-icon-bind.vue.js";
|
|
6
|
+
import v from "agilebuilder-ui/src/utils/request";
|
|
7
|
+
import U from "../../common/common-function-code.vue.js";
|
|
8
|
+
import "@element-plus/icons";
|
|
9
|
+
import { Close as y, Check as h } from "@element-plus/icons-vue";
|
|
10
|
+
import "uuid";
|
|
11
|
+
import "../../../../../../stores/table-store.js";
|
|
12
|
+
import "../../../../../../stores/statistics-table-store.js";
|
|
13
|
+
/* empty css */
|
|
14
|
+
import { getTableConfigByTableUuid as k } from "../../../../utils/page-table-util.js";
|
|
15
|
+
import D from "../../common/common-i18n-key-input.vue.js";
|
|
16
|
+
import P from "../../chart/statistical-table/component/link-table.vue.js";
|
|
17
|
+
import j from "../../common/common-template-select.vue.js";
|
|
18
|
+
const x = { class: "collapse-item-content" }, T = { class: "collapse-item-content" }, C = { class: "collapse-item-content" }, w = { class: "collapse-item-content" }, z = { class: "collapse-item-content" }, E = e({ __name: "button-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
|
|
19
|
+
const E2 = e2, q = a(["base", "appearance", "otherSettings", "linkPage", "templateConfig"]), F = a({}), A = a([]), I = a($()), R = a(false);
|
|
20
|
+
E2.configure.props.base.templateFiles && E2.configure.props.base.templateFiles.forEach((e3) => {
|
|
21
|
+
A.value.push(e3.templateUuid);
|
|
22
|
+
}), void 0 === E2.configure.props.base.isEnableRequired && (E2.configure.props.base.isEnableRequired = true), !E2.configure.props.linkPage || E2.configure.props.linkPage instanceof Array || (E2.configure.props.linkPage = [{ linkPage: E2.configure.props.linkPage }]), R.value = true;
|
|
23
|
+
const S = a([]);
|
|
24
|
+
function $() {
|
|
25
|
+
return k(E2.pageDesign, E2.configure);
|
|
26
|
+
}
|
|
27
|
+
function M(e3) {
|
|
28
|
+
const a2 = $();
|
|
29
|
+
I.value = a2;
|
|
30
|
+
}
|
|
31
|
+
return l(() => {
|
|
32
|
+
!function() {
|
|
33
|
+
var _a;
|
|
34
|
+
const e3 = (_a = E2.pageDesign) == null ? void 0 : _a.systemVersion;
|
|
35
|
+
v.post(window.$vueApp.config.globalProperties.baseAPI + `/dc/template-management/list/${E2.pageDesign.systemCode}?publishVersion=${e3}`, {}).then((e4) => {
|
|
36
|
+
F.value = e4.data;
|
|
37
|
+
});
|
|
38
|
+
}(), E2.pageDesign.tableUuids && E2.pageDesign.tableUuids.length > 0 && (S.value = E2.pageDesign.tableUuids);
|
|
39
|
+
}), (a2, l2) => {
|
|
40
|
+
const v2 = o("el-option"), k2 = o("el-select"), F2 = o("el-form-item"), A2 = o("el-input"), $2 = o("el-radio"), N = o("el-radio-group"), O = o("el-collapse-item"), B = o("el-radio-button"), G = o("el-switch"), H = o("el-collapse"), J = o("el-form");
|
|
41
|
+
return i(), t(J, { "label-width": "80px", size: "small" }, { default: s(() => [u(H, { modelValue: q.value, "onUpdate:modelValue": l2[25] || (l2[25] = (e3) => q.value = e3), style: { "margin-top": "6px" } }, { default: s(() => [u(O, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: s(() => [n("div", x, [u(F2, { label: "组件类型", class: "amb-design-attr-item" }, { default: s(() => [u(k2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.name = a3), placeholder: "请选择" }, { default: s(() => [(i(true), r(d, null, p(c(_)(), (e3) => (i(), t(v2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: s(() => [u(A2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), u(F2, { label: "自定义编码", class: "amb-design-attr-item" }, { default: s(() => [u(A2, { modelValue: e2.configure.code, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.code = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: s(() => [(i(), t(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), u(F2, { label: "标题", class: "amb-design-attr-item" }, { default: s(() => [u(D, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.title = a3) }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "尺寸", class: "amb-design-attr-item" }, { default: s(() => [u(N, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.size = a3), class: "ml-4" }, { default: s(() => [u($2, { value: "large" }, { default: s(() => l2[26] || (l2[26] = [m("大", -1)])), _: 1, __: [26] }), u($2, { value: "default" }, { default: s(() => l2[27] || (l2[27] = [m("中", -1)])), _: 1, __: [27] }), u($2, { value: "small" }, { default: s(() => l2[28] || (l2[28] = [m("小", -1)])), _: 1, __: [28] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "状态", class: "amb-design-attr-item" }, { default: s(() => [u(N, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: s(() => [u($2, { value: "default" }, { default: s(() => l2[29] || (l2[29] = [m("普通", -1)])), _: 1, __: [29] }), u($2, { value: "disabled" }, { default: s(() => l2[30] || (l2[30] = [m("禁用", -1)])), _: 1, __: [30] }), u($2, { value: "hidden" }, { default: s(() => l2[31] || (l2[31] = [m("隐藏", -1)])), _: 1, __: [31] })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), u(O, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: s(() => [n("div", T, [u(F2, { label: "按钮类型", class: "amb-design-attr-item" }, { default: s(() => [u(k2, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.type = a3), class: "ml-4", clearable: "" }, { default: s(() => [u(v2, { label: "primary", value: "primary" }), u(v2, { label: "success", value: "success" }), u(v2, { label: "warning", value: "warning" }), u(v2, { label: "danger", value: "danger" }), u(v2, { label: "info", value: "info" }), u(v2, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "图标", class: "amb-design-attr-item" }, { default: s(() => [(i(), t(V, { key: e2.configure.uuid, iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.iconValue, "onUpdate:modelValue": l2[7] || (l2[7] = (e3, a3) => function(e4, a4) {
|
|
42
|
+
E2.configure.props.base.iconType = e4, E2.configure.props.base.iconValue = a4, a4 || (E2.configure.props.base.isTextIcon = false);
|
|
43
|
+
}(e3, a3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), f(u(F2, { label: "图标位置", class: "amb-design-attr-item" }, { default: s(() => [u(N, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.base.iconPosition = a3), class: "ml-4" }, { default: s(() => [u(B, { value: "left" }, { default: s(() => l2[32] || (l2[32] = [m("标题前", -1)])), _: 1, __: [32] }), u(B, { value: "right" }, { default: s(() => l2[33] || (l2[33] = [m("标题后", -1)])), _: 1, __: [33] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.iconValue]]), u(F2, { label: "文字按钮", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.text = a3), disabled: !!e2.configure.props.base.plain || !!e2.configure.props.base.plain, "inline-prompt": "", "active-icon": c(h), "inactive-icon": c(y) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), e2.configure.props.base.text ? (i(), t(F2, { key: 0, label: "图标按钮", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isTextIcon, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.isTextIcon = a3), disabled: !e2.configure.props.base.iconValue, "inline-prompt": "", "active-icon": c(h), "inactive-icon": c(y) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 })) : g("", true), u(F2, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.plain = a3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": c(h), "inactive-icon": c(y) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), u(F2, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.base.round = a3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": c(h), "inactive-icon": c(y) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), u(F2, { label: "加载状态", class: "amb-design-attr-item" }, { default: s(() => [u(N, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.base.loading = a3), class: "ml-4" }, { default: s(() => [u($2, { value: true }, { default: s(() => l2[34] || (l2[34] = [m("是", -1)])), _: 1, __: [34] }), u($2, { value: false }, { default: s(() => l2[35] || (l2[35] = [m("否", -1)])), _: 1, __: [35] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: s(() => [u(N, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.base.focus = a3), class: "ml-4" }, { default: s(() => [u($2, { value: true }, { default: s(() => l2[36] || (l2[36] = [m("是", -1)])), _: 1, __: [36] }), u($2, { value: false }, { default: s(() => l2[37] || (l2[37] = [m("否", -1)])), _: 1, __: [37] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "原生type", class: "amb-design-attr-item" }, { default: s(() => [u(N, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.originalType = a3), class: "ml-4", disabled: !!e2.configure.props.base.text }, { default: s(() => [u($2, { value: "button" }, { default: s(() => l2[38] || (l2[38] = [m("button", -1)])), _: 1, __: [38] }), u($2, { value: "submit" }, { default: s(() => l2[39] || (l2[39] = [m("submit", -1)])), _: 1, __: [39] }), u($2, { value: "reset" }, { default: s(() => l2[40] || (l2[40] = [m("reset", -1)])), _: 1, __: [40] })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })])]), _: 1 }), u(O, { title: "跳转配置", name: "linkPage", class: "amb-design-attr-group-header" }, { default: s(() => [n("div", C, [R.value ? (i(), t(P, { key: 0, pageDesign: e2.pageDesign, paramTypes: ["data", "task", "page", "request", "row"], data: e2.configure.props.linkPage, configure: e2.configure, tableConfigure: I.value, onDataChange: l2[16] || (l2[16] = (e3) => function(e4) {
|
|
44
|
+
E2.configure.props.linkPage = e4;
|
|
45
|
+
}(e3)) }, null, 8, ["pageDesign", "data", "configure", "tableConfigure"])) : g("", true)])]), _: 1 }), u(O, { title: "模板配置", name: "templateConfig", class: "amb-design-attr-group-header" }, { default: s(() => [n("div", w, [u(j, { modelValue: e2.configure.props.base.templateFiles, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.templateFiles = a3), pageDesign: e2.pageDesign, tableConfigure: I.value }, null, 8, ["modelValue", "pageDesign", "tableConfigure"])])]), _: 1 }), u(O, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: s(() => [n("div", z, [u(F2, { label: "回填赋值", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isNeedValueMapping, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.isNeedValueMapping = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "权限保护", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.isPermission = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "是否异步", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isAsync, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.isAsync = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "必填验证", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isEnableRequired, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.base.isEnableRequired = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "逻辑删除", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isSafeDelete, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.base.isSafeDelete = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "执行条件", class: "amb-design-attr-item" }, { default: s(() => [u(k2, { modelValue: e2.configure.props.base.conditionsForExecution, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.base.conditionsForExecution = a3) }, { default: s(() => [u(v2, { label: "无限制", value: "any" }), u(v2, { label: "选单行", value: "one" }), u(v2, { label: "选多行(包括单行)", value: "more" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "对应表格", class: "amb-design-attr-item" }, { default: s(() => [u(k2, { modelValue: e2.configure.props.base.tableUuid, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.base.tableUuid = a3), clearable: "", filterable: "", "allow-create": "", onChange: M }, { default: s(() => [(i(true), r(d, null, p(S.value, (e3) => (i(), t(v2, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
46
|
+
};
|
|
47
|
+
} });
|
|
2
48
|
export {
|
|
3
|
-
|
|
49
|
+
E as default
|
|
4
50
|
};
|
package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr-base.vue.js
CHANGED
|
@@ -4,7 +4,7 @@ const s = { style: { padding: "8px 0px 0px 0px" } }, p = e({ __name: "buttongrou
|
|
|
4
4
|
const p2 = l(["base"]);
|
|
5
5
|
return (l2, f) => {
|
|
6
6
|
const c = a("el-text"), g = a("el-form-item"), b = a("el-input"), _ = a("el-radio"), V = a("el-radio-group"), x = a("el-input-number"), v = a("el-collapse-item"), y = a("el-collapse"), U = a("el-form");
|
|
7
|
-
return u(), t(U, { "label-width": "80px", size: "small" }, { default: o(() => [d(y, { modelValue: p2.value, "onUpdate:modelValue": f[3] || (f[3] = (e3) => p2.value = e3), style: { "margin-top": "6px" } }, { default: o(() => [d(v, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: o(() => [n("div", s, [d(g, { label: "组件类型", class: "amb-design-attr-item" }, { default: o(() => [d(c, null, { default: o(() => [r(i(e2.configure.label) + "(" + i(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), d(g, { label: "唯一编码", class: "amb-design-attr-item" }, { default: o(() => [d(b, { modelValue: e2.configure.uuid, "onUpdate:modelValue": f[0] || (f[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), d(g, { label: "绑定权限", class: "amb-design-attr-item" }, { default: o(() => [d(m, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), d(g, { label: "状态", class: "amb-design-attr-item" }, { default: o(() => [d(V, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": f[1] || (f[1] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: o(() => [d(_, { value: "default" }, { default: o(() => f[4] || (f[4] = [r("普通")])), _: 1 }), d(_, { value: "hidden" }, { default: o(() => f[5] || (f[5] = [r("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(g, { label: "内容间距" }, { default: o(() => [d(x, { modelValue: e2.configure.props.gap, "onUpdate:modelValue": f[2] || (f[2] = (l3) => e2.configure.props.gap = l3), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
7
|
+
return u(), t(U, { "label-width": "80px", size: "small" }, { default: o(() => [d(y, { modelValue: p2.value, "onUpdate:modelValue": f[3] || (f[3] = (e3) => p2.value = e3), style: { "margin-top": "6px" } }, { default: o(() => [d(v, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: o(() => [n("div", s, [d(g, { label: "组件类型", class: "amb-design-attr-item" }, { default: o(() => [d(c, null, { default: o(() => [r(i(e2.configure.label) + "(" + i(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), d(g, { label: "唯一编码", class: "amb-design-attr-item" }, { default: o(() => [d(b, { modelValue: e2.configure.uuid, "onUpdate:modelValue": f[0] || (f[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), d(g, { label: "绑定权限", class: "amb-design-attr-item" }, { default: o(() => [d(m, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), d(g, { label: "状态", class: "amb-design-attr-item" }, { default: o(() => [d(V, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": f[1] || (f[1] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: o(() => [d(_, { value: "default" }, { default: o(() => f[4] || (f[4] = [r("普通", -1)])), _: 1, __: [4] }), d(_, { value: "hidden" }, { default: o(() => f[5] || (f[5] = [r("隐藏", -1)])), _: 1, __: [5] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(g, { label: "内容间距" }, { default: o(() => [d(x, { modelValue: e2.configure.props.gap, "onUpdate:modelValue": f[2] || (f[2] = (l3) => e2.configure.props.gap = l3), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
8
8
|
};
|
|
9
9
|
} });
|
|
10
10
|
export {
|
|
@@ -30,7 +30,7 @@ const w = e({ __name: "combination", props: { conditionList: { type: String, def
|
|
|
30
30
|
y.conditionList ? h.value = JSON.parse(y.conditionList) : y.list && (h.value = y.list);
|
|
31
31
|
}), (l2, a2) => {
|
|
32
32
|
const c2 = o("el-button"), _2 = o("el-row"), w3 = o("el-option"), U2 = o("el-select"), C2 = o("el-table-column"), B = o("el-table"), O = o("el-dialog");
|
|
33
|
-
return u(), t(O, { "append-to-body": "", "model-value": "", title: "组合条件", width: "70%", "close-on-click-modal": false, onClose: a2[0] || (a2[0] = (e3) => g("close")) }, { default: d(() => [r(_2, { style: { "padding-bottom": "8px" } }, { default: d(() => [r(c2, { icon: n(b), plain: "", type: "primary", onClick: S }, { default: d(() => a2[1] || (a2[1] = [i(" 保存 ")])), _: 1 }, 8, ["icon"]), r(c2, { icon: n(b), plain: "", type: "primary", onClick: z }, { default: d(() => a2[2] || (a2[2] = [i(" 添加 ")])), _: 1 }, 8, ["icon"]), r(c2, { icon: n(f), plain: "", type: "primary", onClick: j }, { default: d(() => a2[3] || (a2[3] = [i(" 删除 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), r(B, { ref: "tableRef", "highlight-current-row": "", onCurrentChange: L, data: h.value, style: { width: "100%" } }, { default: d(() => [r(C2, { prop: "date", label: "(" }, { default: d((e3) => [r(U2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l3) => e3.row.leftBracket = l3, clearable: "", size: "default" }, { default: d(() => [r(w3, { label: "", value: "" }), r(w3, { label: "(", value: "(" }), r(w3, { label: "((", value: "((" }), r(w3, { label: "(((", value: "(((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(C2, { prop: "name", label: "字段名(*)" }, { default: d((l3) => [r(U2, { modelValue: l3.row.propDbName, "onUpdate:modelValue": (e3) => l3.row.propDbName = e3, clearable: "", filterable: "", size: "default", onChange: (e3) => function(e4, l4, a3) {
|
|
33
|
+
return u(), t(O, { "append-to-body": "", "model-value": "", title: "组合条件", width: "70%", "close-on-click-modal": false, onClose: a2[0] || (a2[0] = (e3) => g("close")) }, { default: d(() => [r(_2, { style: { "padding-bottom": "8px" } }, { default: d(() => [r(c2, { icon: n(b), plain: "", type: "primary", onClick: S }, { default: d(() => a2[1] || (a2[1] = [i(" 保存 ", -1)])), _: 1, __: [1] }, 8, ["icon"]), r(c2, { icon: n(b), plain: "", type: "primary", onClick: z }, { default: d(() => a2[2] || (a2[2] = [i(" 添加 ", -1)])), _: 1, __: [2] }, 8, ["icon"]), r(c2, { icon: n(f), plain: "", type: "primary", onClick: j }, { default: d(() => a2[3] || (a2[3] = [i(" 删除 ", -1)])), _: 1, __: [3] }, 8, ["icon"])]), _: 1 }), r(B, { ref: "tableRef", "highlight-current-row": "", onCurrentChange: L, data: h.value, style: { width: "100%" } }, { default: d(() => [r(C2, { prop: "date", label: "(" }, { default: d((e3) => [r(U2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l3) => e3.row.leftBracket = l3, clearable: "", size: "default" }, { default: d(() => [r(w3, { label: "", value: "" }), r(w3, { label: "(", value: "(" }), r(w3, { label: "((", value: "((" }), r(w3, { label: "(((", value: "(((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(C2, { prop: "name", label: "字段名(*)" }, { default: d((l3) => [r(U2, { modelValue: l3.row.propDbName, "onUpdate:modelValue": (e3) => l3.row.propDbName = e3, clearable: "", filterable: "", size: "default", onChange: (e3) => function(e4, l4, a3) {
|
|
34
34
|
const o2 = y.fieldMap[a3];
|
|
35
35
|
l4.dataType = o2.dataType, l4.propName = o2.name, N.value[e4] = V(o2);
|
|
36
36
|
}(l3.$index, l3.row, l3.row.propDbName) }, { default: d(() => [(u(true), p(m, null, s(e2.fieldNameList, (e3) => (u(), t(w3, { key: e3.id, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])]), _: 1 }), r(C2, { prop: "address", label: "操作符" }, { default: d((e3) => [r(U2, { modelValue: e3.row.operator, "onUpdate:modelValue": (l3) => e3.row.operator = l3, clearable: "", size: "default" }, { default: d(() => [(u(true), p(m, null, s(n(V)(e3.row), (e4) => (u(), t(w3, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(C2, { prop: "address", label: "值(*)" }, { default: d((e3) => [r(v, { modelValue: e3.row.propValue, objModelOptions: k.value, "onUpdate:modelValue": (l3) => {
|
|
@@ -2,36 +2,36 @@ import { defineComponent as e, ref as l, resolveComponent as o, createBlock as a
|
|
|
2
2
|
import { formatConditionList as s } from "../../../../utils/data-table-util.js";
|
|
3
3
|
import { CirclePlus as c, Delete as m } from "@element-plus/icons-vue";
|
|
4
4
|
import f from "./combination.vue.js";
|
|
5
|
-
const
|
|
5
|
+
const _ = { class: "dialog-footer" }, b = e({ __name: "condition-dialog", props: { configure: { type: Object, default: () => {
|
|
6
6
|
} }, pageDesign: { type: Object, default: () => {
|
|
7
7
|
} }, tableConfigure: { type: Object, default: () => {
|
|
8
|
-
} } }, emits: ["close"], setup(e2, { emit:
|
|
9
|
-
const
|
|
8
|
+
} } }, emits: ["close"], setup(e2, { emit: b2 }) {
|
|
9
|
+
const g = e2, T = b2, v = l({}), y = l(false), I = l("");
|
|
10
10
|
l([{ dbColumnName: "FIRST_TASK_ID", label: "该流程的第一个任务的id", type: "TEXT", value: "FIRST_TASK_ID" }, { dbColumnName: "ID", label: "id", type: "LONG", value: "ID" }, { dbColumnName: "AUDIT_REPORT_NO", label: "审核报告编号", type: "TEXT", value: "AUDIT_REPORT_NO" }]), l({ FIRST_TASK_ID: { dbColumnName: "FIRST_TASK_ID", label: "该流程的第一个任务的id", type: "TEXT", value: "FIRST_TASK_ID" }, ID: { dbColumnName: "ID", label: "id", type: "LONG", value: "ID" }, AUDIT_REPORT_NO: { dbColumnName: "AUDIT_REPORT_NO", label: "审核报告编号", type: "TEXT", value: "AUDIT_REPORT_NO" } });
|
|
11
11
|
const C = l(null);
|
|
12
12
|
function D(e3) {
|
|
13
|
-
|
|
13
|
+
g.configure.props.base.condition[I.value].conditionList = JSON.stringify(e3);
|
|
14
14
|
}
|
|
15
15
|
function N() {
|
|
16
16
|
y.value = false;
|
|
17
17
|
}
|
|
18
18
|
function O() {
|
|
19
|
-
|
|
19
|
+
g.configure.props.base.condition = g.configure.props.base.condition.filter((e3) => e3 !== v.value);
|
|
20
20
|
}
|
|
21
21
|
function R(e3) {
|
|
22
22
|
v.value = e3;
|
|
23
23
|
}
|
|
24
24
|
function S() {
|
|
25
|
-
|
|
25
|
+
g.configure.props.base.condition || (g.configure.props.base.condition = []), g.configure.props.base.condition.push({});
|
|
26
26
|
}
|
|
27
|
-
return (l2,
|
|
27
|
+
return (l2, b3) => {
|
|
28
28
|
const v2 = o("el-button"), A = o("el-row"), w = o("el-input"), E = o("el-table-column"), F = o("el-table"), L = o("el-dialog");
|
|
29
|
-
return i(), a(L, { "model-value": "", title: "可执行条件", "append-to-body": "", onClose:
|
|
29
|
+
return i(), a(L, { "model-value": "", title: "可执行条件", "append-to-body": "", onClose: b3[2] || (b3[2] = (e3) => T("close")) }, { footer: t(() => [r("div", _, [n(v2, { type: "default", onClick: b3[0] || (b3[0] = (e3) => T("close")) }, { default: t(() => b3[5] || (b3[5] = [p("取消", -1)])), _: 1, __: [5] }), n(v2, { type: "primary", onClick: b3[1] || (b3[1] = (e3) => T("close")) }, { default: t(() => b3[6] || (b3[6] = [p(" 确定 ", -1)])), _: 1, __: [6] })])]), default: t(() => [n(A, { style: { "padding-bottom": "8px" } }, { default: t(() => [n(v2, { icon: d(c), plain: "", type: "primary", onClick: S }, { default: t(() => b3[3] || (b3[3] = [p(" 添加 ", -1)])), _: 1, __: [3] }, 8, ["icon"]), n(v2, { icon: d(m), plain: "", type: "primary", onClick: O }, { default: t(() => b3[4] || (b3[4] = [p(" 删除 ", -1)])), _: 1, __: [4] }, 8, ["icon"])]), _: 1 }), n(F, { "highlight-current-row": "", onCurrentChange: R, data: g.configure.props.base.condition, style: { width: "100%" } }, { default: t(() => [n(E, { prop: "date", label: "组合条件", align: "center" }, { default: t((l3) => [n(w, { "model-value": d(s)(l3.row.conditionList, e2.pageDesign.modelFields, e2.pageDesign.modelFieldsMap), size: "default", onClick: (e3) => {
|
|
30
30
|
return o2 = l3.row, a2 = l3.$index, C.value = o2.conditionList, I.value = a2, void (y.value = true);
|
|
31
31
|
var o2, a2;
|
|
32
32
|
} }, null, 8, ["model-value", "onClick"])]), _: 1 }), n(E, { prop: "name", label: "提示信息", align: "center" }, { default: t((e3) => [n(w, { size: "default", modelValue: e3.row.toolTips, "onUpdate:modelValue": (l3) => e3.row.toolTips = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(E, { prop: "address", label: "国际化key", align: "center" }, { default: t((e3) => [n(w, { size: "default", modelValue: e3.row.labelI18nKey, "onUpdate:modelValue": (l3) => e3.row.labelI18nKey = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"]), y.value ? (i(), a(f, { key: 0, conditionList: C.value, fieldNameList: e2.pageDesign.modelFields, fieldMap: e2.pageDesign.modelFieldsMap, tableConfigure: e2.tableConfigure, onSave: D, onClose: N }, null, 8, ["conditionList", "fieldNameList", "fieldMap", "tableConfigure"])) : u("", true)]), _: 1 });
|
|
33
33
|
};
|
|
34
34
|
} });
|
|
35
35
|
export {
|
|
36
|
-
|
|
36
|
+
b as default
|
|
37
37
|
};
|
package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as t, createBlock as u, openBlock as o, withCtx as n, createElementBlock as i, Fragment as r, renderList as d, createTextVNode as m, toDisplayString as p, withKeys as s, createVNode as v, unref as f, createElementVNode as c } from "vue";
|
|
2
|
-
import { EditPen as y, Search as
|
|
3
|
-
import
|
|
2
|
+
import { EditPen as y, Search as _ } from "@element-plus/icons-vue";
|
|
3
|
+
import g from "../../common/common-variable-bind.vue.js";
|
|
4
4
|
const V = { class: "dialog-footer" }, k = e({ __name: "journal-set-dialog", props: { modelValue: { type: Array, default: () => [] } }, emits: ["save"], setup(e2, { emit: k2 }) {
|
|
5
5
|
const C = e2, b = k2, h = l([]), x = l(false), z = l(""), w = l(false), j = l("");
|
|
6
6
|
function B() {
|
|
@@ -19,16 +19,16 @@ const V = { class: "dialog-footer" }, k = e({ __name: "journal-set-dialog", prop
|
|
|
19
19
|
C.modelValue && (h.value = C.modelValue);
|
|
20
20
|
}), (e3, l2) => {
|
|
21
21
|
const a2 = t("el-tag"), k3 = t("el-input"), C2 = t("el-button"), b2 = t("el-icon"), A = t("el-button-group"), K = t("el-dialog");
|
|
22
|
-
return o(), u(K, { "model-value": "", title: "日志设置", "append-to-body": "", width: "40%", onBeforeClose: l2[4] || (l2[4] = (l3) => e3.$emit("close")) }, { footer: n(() => [c("div", V, [v(C2, { type: "default", onClick: l2[3] || (l2[3] = (l3) => e3.$emit("close")) }, { default: n(() => l2[7] || (l2[7] = [m("取消")])), _: 1 }), v(C2, { type: "primary", onClick: B }, { default: n(() => l2[8] || (l2[8] = [m(" 确定 ")])), _: 1 })])]), default: n(() => [(o(true), i(r, null, d(h.value, (e4, l3) => {
|
|
22
|
+
return o(), u(K, { "model-value": "", title: "日志设置", "append-to-body": "", width: "40%", onBeforeClose: l2[4] || (l2[4] = (l3) => e3.$emit("close")) }, { footer: n(() => [c("div", V, [v(C2, { type: "default", onClick: l2[3] || (l2[3] = (l3) => e3.$emit("close")) }, { default: n(() => l2[7] || (l2[7] = [m("取消", -1)])), _: 1, __: [7] }), v(C2, { type: "primary", onClick: B }, { default: n(() => l2[8] || (l2[8] = [m(" 确定 ", -1)])), _: 1, __: [8] })])]), default: n(() => [(o(true), i(r, null, d(h.value, (e4, l3) => {
|
|
23
23
|
return o(), u(a2, { key: l3, closable: "", size: "large", type: (t2 = e4, "2" === t2.type ? "success" : null), onClose: (l4) => {
|
|
24
24
|
return a3 = e4, void (h.value = h.value.filter((e5) => e5 != a3));
|
|
25
25
|
var a3;
|
|
26
26
|
} }, { default: n(() => [m(p(e4.name), 1)]), _: 2 }, 1032, ["type", "onClose"]);
|
|
27
27
|
var t2;
|
|
28
|
-
}), 128)), x.value ? (o(), u(k3, { key: 0, size: "default", style: { width: "200px", "margin-left": "10px" }, modelValue: z.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => z.value = e4), onBlur: U, onKeyup: s(U, ["enter"]) }, null, 8, ["modelValue"])) : w.value ? (o(), u(
|
|
28
|
+
}), 128)), x.value ? (o(), u(k3, { key: 0, size: "default", style: { width: "200px", "margin-left": "10px" }, modelValue: z.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => z.value = e4), onBlur: U, onKeyup: s(U, ["enter"]) }, null, 8, ["modelValue"])) : w.value ? (o(), u(g, { key: 1, style: { width: "200px", "margin-left": "10px" }, modelValue: j.value, paramTypes: "['data','page']", "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => {
|
|
29
29
|
return l3 = e4, h.value.push({ name: l3 }), void (w.value = false);
|
|
30
30
|
var l3;
|
|
31
|
-
}) }, null, 8, ["modelValue"])) : (o(), u(A, { key: 2, style: { "margin-left": "10px" } }, { default: n(() => [v(C2, { size: "default", type: "primary", icon: f(y), onClick: $ }, { default: n(() => l2[5] || (l2[5] = [m("输入文字")])), _: 1 }, 8, ["icon"]), v(C2, { size: "default", type: "primary", onClick: l2[2] || (l2[2] = (e4) => w.value = true) }, { default: n(() => [l2[6] || (l2[6] = m(" 选择字段")), v(b2, { class: "el-icon--right" }, { default: n(() => [v(f(
|
|
31
|
+
}) }, null, 8, ["modelValue"])) : (o(), u(A, { key: 2, style: { "margin-left": "10px" } }, { default: n(() => [v(C2, { size: "default", type: "primary", icon: f(y), onClick: $ }, { default: n(() => l2[5] || (l2[5] = [m("输入文字", -1)])), _: 1, __: [5] }, 8, ["icon"]), v(C2, { size: "default", type: "primary", onClick: l2[2] || (l2[2] = (e4) => w.value = true) }, { default: n(() => [l2[6] || (l2[6] = m(" 选择字段", -1)), v(b2, { class: "el-icon--right" }, { default: n(() => [v(f(_))]), _: 1 })]), _: 1, __: [6] })]), _: 1 }))]), _: 1 });
|
|
32
32
|
};
|
|
33
33
|
} });
|
|
34
34
|
export {
|
|
@@ -2,15 +2,15 @@ import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o
|
|
|
2
2
|
import { formatConditionList as c } from "../../../../utils/data-table-util.js";
|
|
3
3
|
import { CirclePlus as v, Delete as g } from "@element-plus/icons-vue";
|
|
4
4
|
import b from "./combination.vue.js";
|
|
5
|
-
import
|
|
6
|
-
import { getModelOptionsByFields as
|
|
7
|
-
const
|
|
5
|
+
import _ from "../../common/common-variable-bind.vue.js";
|
|
6
|
+
import { getModelOptionsByFields as C } from "../../../../utils/page-table-util.js";
|
|
7
|
+
const y = { class: "dialog-footer" }, w = e({ __name: "set-dialog", props: { configure: { type: Object, default: () => {
|
|
8
8
|
} }, pageDesign: { type: Object, default: () => {
|
|
9
9
|
} }, tableConfigure: { type: Object, default: () => {
|
|
10
|
-
} } }, emits: ["close", "save"], setup(e2, { emit:
|
|
11
|
-
const
|
|
10
|
+
} } }, emits: ["close", "save"], setup(e2, { emit: w2 }) {
|
|
11
|
+
const F = e2, V = w2, D = l({}), k = l(false), M = l(""), j = l(null), h = l(null), L = l(null);
|
|
12
12
|
var N;
|
|
13
|
-
(N =
|
|
13
|
+
(N = F.tableConfigure) && (L.value = C(N.modelFields));
|
|
14
14
|
const U = l([]);
|
|
15
15
|
function O() {
|
|
16
16
|
k.value = false;
|
|
@@ -33,20 +33,20 @@ const w = { class: "dialog-footer" }, F = e({ __name: "set-dialog", props: { con
|
|
|
33
33
|
function I() {
|
|
34
34
|
U.value.push({});
|
|
35
35
|
}
|
|
36
|
-
return
|
|
37
|
-
const
|
|
38
|
-
return t(), o(B, { "model-value": "", title: "自动设值", "append-to-body": "", onClose:
|
|
36
|
+
return F.configure.props.setValueList && (U.value = F.configure.props.setValueList), (l2, C2) => {
|
|
37
|
+
const w3 = a("el-button"), D2 = a("el-row"), N2 = a("el-option"), S = a("el-select"), $ = a("el-table-column"), q = a("el-input"), A = a("el-table"), B = a("el-dialog");
|
|
38
|
+
return t(), o(B, { "model-value": "", title: "自动设值", "append-to-body": "", onClose: C2[1] || (C2[1] = (e3) => V("close")) }, { footer: n(() => [m("div", y, [u(w3, { type: "default", onClick: C2[0] || (C2[0] = (e3) => V("close")) }, { default: n(() => C2[4] || (C2[4] = [r("取消", -1)])), _: 1, __: [4] }), u(w3, { type: "primary", onClick: T }, { default: n(() => C2[5] || (C2[5] = [r(" 确定 ", -1)])), _: 1, __: [5] })])]), default: n(() => [u(D2, { style: { "padding-bottom": "8px" } }, { default: n(() => [u(w3, { icon: d(v), plain: "", type: "primary", onClick: I }, { default: n(() => C2[2] || (C2[2] = [r(" 添加 ", -1)])), _: 1, __: [2] }, 8, ["icon"]), u(w3, { icon: d(g), plain: "", type: "primary", onClick: R }, { default: n(() => C2[3] || (C2[3] = [r(" 删除 ", -1)])), _: 1, __: [3] }, 8, ["icon"])]), _: 1 }), u(A, { ref_key: "tableRef", ref: h, "highlight-current-row": "", data: U.value, style: { width: "100%" }, onCurrentChange: E }, { default: n(() => [u($, { prop: "date", label: "填写方式", align: "center" }, { default: n((e3) => [u(S, { modelValue: e3.row.fillType, "onUpdate:modelValue": (l3) => e3.row.fillType = l3, clearable: "", size: "default", onFocus: (l3) => z(e3.row) }, { default: n(() => [u(N2, { label: "覆盖", value: "cover" }), u(N2, { label: "追加", value: "append" }), u(N2, { label: "插入最前面", value: "prepend" }), u(N2, { label: "有值跳过", value: "skipIfExists" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }), u($, { prop: "date", label: "前置条件", align: "center" }, { default: n((l3) => [u(q, { "model-value": d(c)(l3.row.conditionList, e2.pageDesign.modelFields, e2.pageDesign.modelFieldsMap), size: "default", onFocus: (e3) => z(l3.row), onClick: (e3) => {
|
|
39
39
|
return a2 = l3.row, o2 = l3.$index, j.value = a2.conditionList, M.value = o2, void (k.value = true);
|
|
40
40
|
var a2, o2;
|
|
41
41
|
} }, null, 8, ["model-value", "onFocus", "onClick"])]), _: 1 }), u($, { label: "执行方法时设置", align: "center" }, { default: n(() => [u($, { prop: "name", label: "字段", align: "center" }, { default: n((l3) => [u(S, { modelValue: l3.row.propDbName, "onUpdate:modelValue": (e3) => l3.row.propDbName = e3, clearable: "", size: "default", onFocus: (e3) => z(l3.row), onChange: (e3) => function(e4, l4) {
|
|
42
42
|
let a2 = null;
|
|
43
|
-
|
|
44
|
-
}(l3.row, l3.row.propDbName) }, { default: n(() => [(t(true), p(s, null, f(e2.pageDesign.modelFields, (e3) => (t(), o(N2, { key: e3.id, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus", "onChange"])]), _: 1 }), u($, { prop: "address", label: "值", align: "center" }, { default: n((e3) => [u(
|
|
43
|
+
F.pageDesign.modelFieldsMap ? a2 = F.pageDesign.modelFieldsMap[l4] : F.tableConfigure.modelFieldsMap && (a2 = F.tableConfigure.modelFieldsMap[l4]), e4.field = a2.name, e4.dataType = a2.dataType;
|
|
44
|
+
}(l3.row, l3.row.propDbName) }, { default: n(() => [(t(true), p(s, null, f(e2.pageDesign.modelFields, (e3) => (t(), o(N2, { key: e3.id, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus", "onChange"])]), _: 1 }), u($, { prop: "address", label: "值", align: "center" }, { default: n((e3) => [u(_, { onFocus: (l3) => z(e3.row), modelValue: e3.row.autoValue, objModelOptions: L.value, "onUpdate:modelValue": (l3) => {
|
|
45
45
|
return a2 = l3, void (e3.row.autoValue = a2);
|
|
46
46
|
var a2;
|
|
47
47
|
} }, null, 8, ["onFocus", "modelValue", "objModelOptions", "onUpdate:modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["data"]), k.value ? (t(), o(b, { key: 0, list: j.value, fieldNameList: e2.pageDesign.modelFields, fieldMap: e2.pageDesign.modelFieldsMap, tableConfigure: e2.tableConfigure, onSave: x, onClose: O }, null, 8, ["list", "fieldNameList", "fieldMap", "tableConfigure"])) : i("", true)]), _: 1 });
|
|
48
48
|
};
|
|
49
49
|
} });
|
|
50
50
|
export {
|
|
51
|
-
|
|
51
|
+
w as default
|
|
52
52
|
};
|