super-page-runtime 0.0.1-tmp2
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/.prettierrc.json +8 -0
- package/README.md +61 -0
- package/lib/_virtual/_plugin-vue_export-helper.js +9 -0
- package/lib/components/index.d.ts +5 -0
- package/lib/components/runtime/index.d.ts +3 -0
- package/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +24 -0
- package/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
- package/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
- package/lib/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
- package/lib/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
- package/lib/components/runtime/views/super-page.vue.d.ts +91 -0
- package/lib/components/super-page-dialog/index.d.ts +3 -0
- package/lib/components/super-page-dialog/super-page-dialog.vue.d.ts +36 -0
- package/lib/components/wf-editor/index.d.ts +3 -0
- package/lib/components/wf-editor/wf-editor.vue.d.ts +2 -0
- package/lib/favicon.ico +0 -0
- package/lib/index.js +8 -0
- package/lib/runtime/index.js +3 -0
- package/lib/runtime/utils/assemblys-config.js +258 -0
- package/lib/runtime/views/assemblys/button/button/button-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/button/button/button-runtime.vue2.js +54 -0
- package/lib/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +35 -0
- package/lib/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +110 -0
- package/lib/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +53 -0
- package/lib/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +42 -0
- package/lib/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +50 -0
- package/lib/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +50 -0
- package/lib/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +51 -0
- package/lib/runtime/views/assemblys/common/export-form-report-dialog.vue.js +141 -0
- package/lib/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +3 -0
- package/lib/runtime/views/assemblys/common/remove-signer-dialog.vue.js +127 -0
- package/lib/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +3 -0
- package/lib/runtime/views/assemblys/common/task-informition-dialog.vue.js +104 -0
- package/lib/runtime/views/assemblys/common/task-informition-dialog.vue2.js +3 -0
- package/lib/runtime/views/assemblys/container/card/card-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/container/card/card-runtime.vue2.js +72 -0
- package/lib/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +73 -0
- package/lib/runtime/views/assemblys/container/container/container-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/container/container/container-runtime.vue2.js +78 -0
- package/lib/runtime/views/assemblys/container/flex/flex-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +42 -0
- package/lib/runtime/views/assemblys/container/form/form-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/container/form/form-runtime.vue2.js +43 -0
- package/lib/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +29 -0
- package/lib/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +68 -0
- package/lib/runtime/views/assemblys/container/tools/tools-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +74 -0
- package/lib/runtime/views/assemblys/data/table/main-table-runtime.vue.js +640 -0
- package/lib/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +3 -0
- package/lib/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +452 -0
- package/lib/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +3 -0
- package/lib/runtime/views/assemblys/data/table/table-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/data/table/table-runtime.vue2.js +82 -0
- package/lib/runtime/views/assemblys/error-render.vue.js +22 -0
- package/lib/runtime/views/assemblys/error-render.vue2.js +3 -0
- package/lib/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +156 -0
- package/lib/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +82 -0
- package/lib/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +59 -0
- package/lib/runtime/views/assemblys/form/divider/divider-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +40 -0
- package/lib/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +74 -0
- package/lib/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +63 -0
- package/lib/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +127 -0
- package/lib/runtime/views/assemblys/form/label/label-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/form/label/label-runtime.vue2.js +133 -0
- package/lib/runtime/views/assemblys/form/link/link-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/form/link/link-runtime.vue2.js +77 -0
- package/lib/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +29 -0
- package/lib/runtime/views/assemblys/form/radio/radio-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +157 -0
- package/lib/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +174 -0
- package/lib/runtime/views/assemblys/form/select/select-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/form/select/select-runtime.vue2.js +201 -0
- package/lib/runtime/views/assemblys/form/switch/switch-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +63 -0
- package/lib/runtime/views/assemblys/form/tag/tag-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +63 -0
- package/lib/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +65 -0
- package/lib/runtime/views/assemblys/object-render.vue.js +142 -0
- package/lib/runtime/views/assemblys/object-render.vue2.js +3 -0
- package/lib/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +3 -0
- package/lib/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +61 -0
- package/lib/runtime/views/super-page.vue.js +479 -0
- package/lib/runtime/views/super-page.vue2.js +3 -0
- package/lib/src/assets/chart-themes/theme1.js +7 -0
- package/lib/src/assets/chart-themes/theme2.js +7 -0
- package/lib/src/assets/chart-themes/theme3.js +7 -0
- package/lib/src/utils/api/api-util.d.ts +11 -0
- package/lib/src/utils/api/api-util.js +128 -0
- package/lib/src/utils/charts/chart-util.js +15 -0
- package/lib/src/utils/common-util.d.ts +11 -0
- package/lib/src/utils/common-util.js +81 -0
- package/lib/src/utils/events/event-util.d.ts +48 -0
- package/lib/src/utils/events/event-util.js +525 -0
- package/lib/src/utils/events/standard-event.d.ts +61 -0
- package/lib/src/utils/events/standard-event.js +1623 -0
- package/lib/src/utils/events/validator-util.d.ts +4 -0
- package/lib/src/utils/events/validator-util.js +389 -0
- package/lib/src/utils/global-refs.d.ts +59 -0
- package/lib/src/utils/global-refs.js +65 -0
- package/lib/src/utils/interfaces/page-design-types.d.ts +221 -0
- package/lib/src/utils/interfaces/page-design-types.js +9 -0
- package/lib/src/utils/page-helper-util.d.ts +87 -0
- package/lib/src/utils/page-helper-util.js +503 -0
- package/lib/src/utils/page-init-util.d.ts +38 -0
- package/lib/src/utils/page-init-util.js +200 -0
- package/lib/src/utils/store-util.d.ts +15 -0
- package/lib/src/utils/store-util.js +17 -0
- package/lib/src/utils/store.d.ts +2 -0
- package/lib/src/utils/store.js +3 -0
- package/lib/src/utils/table-utils.js +23 -0
- package/lib/super-page-dialog/index.js +3 -0
- package/lib/super-page-dialog/super-page-dialog.vue.js +73 -0
- package/lib/super-page-dialog/super-page-dialog.vue2.js +3 -0
- package/lib/wf-editor/index.js +3 -0
- package/lib/wf-editor/wf-editor.css +4 -0
- package/lib/wf-editor/wf-editor.vue.js +15 -0
- package/package-ws.json +70 -0
- package/package.json +67 -0
- package/src/assets/base.css +86 -0
- package/src/assets/chart-themes/theme1.ts +6 -0
- package/src/assets/chart-themes/theme2.ts +6 -0
- package/src/assets/chart-themes/theme3.ts +6 -0
- package/src/assets/images/button/button-group.png +0 -0
- package/src/assets/images/button/button.png +0 -0
- package/src/assets/images/chart/chart-column.png +0 -0
- package/src/assets/images/chart/chart-gauge.png +0 -0
- package/src/assets/images/chart/chart-pie.png +0 -0
- package/src/assets/images/chart/chart-radar.png +0 -0
- package/src/assets/images/chart/chart-scatter.png +0 -0
- package/src/assets/images/container/container-card.png +0 -0
- package/src/assets/images/container/container-collapse.png +0 -0
- package/src/assets/images/container/container-container.png +0 -0
- package/src/assets/images/container/container-flex.png +0 -0
- package/src/assets/images/container/container-form.png +0 -0
- package/src/assets/images/container/container-iframe.png +0 -0
- package/src/assets/images/container/container-normal.png +0 -0
- package/src/assets/images/container/container-tabs.png +0 -0
- package/src/assets/images/container/container-tools.png +0 -0
- package/src/assets/images/data/data-process.png +0 -0
- package/src/assets/images/data/data-step.png +0 -0
- package/src/assets/images/data/data-table-column.png +0 -0
- package/src/assets/images/data/data-table.png +0 -0
- package/src/assets/images/data/data-timeline.png +0 -0
- package/src/assets/images/data/data-tree.png +0 -0
- package/src/assets/images/form/form-cascader.png +0 -0
- package/src/assets/images/form/form-check.png +0 -0
- package/src/assets/images/form/form-color.png +0 -0
- package/src/assets/images/form/form-count.png +0 -0
- package/src/assets/images/form/form-custom.png +0 -0
- package/src/assets/images/form/form-date.png +0 -0
- package/src/assets/images/form/form-dept.png +0 -0
- package/src/assets/images/form/form-divider.png +0 -0
- package/src/assets/images/form/form-file.png +0 -0
- package/src/assets/images/form/form-image-upload.png +0 -0
- package/src/assets/images/form/form-img.png +0 -0
- package/src/assets/images/form/form-input.png +0 -0
- package/src/assets/images/form/form-label.png +0 -0
- package/src/assets/images/form/form-link.png +0 -0
- package/src/assets/images/form/form-radio.png +0 -0
- package/src/assets/images/form/form-scan.png +0 -0
- package/src/assets/images/form/form-score.png +0 -0
- package/src/assets/images/form/form-select.png +0 -0
- package/src/assets/images/form/form-slider.png +0 -0
- package/src/assets/images/form/form-space.png +0 -0
- package/src/assets/images/form/form-switch.png +0 -0
- package/src/assets/images/form/form-text.png +0 -0
- package/src/assets/images/form/form-textarea.png +0 -0
- package/src/assets/images/form/form-transfer.png +0 -0
- package/src/assets/images/form/form-zoom.png +0 -0
- package/src/assets/images/group-button.png +0 -0
- package/src/assets/images/group-chart.png +0 -0
- package/src/assets/images/group-container.png +0 -0
- package/src/assets/images/group-data.png +0 -0
- package/src/assets/images/group-form.png +0 -0
- package/src/assets/images/group-workflow.png +0 -0
- package/src/assets/images/workflow/workflow-button.png +0 -0
- package/src/assets/images/workflow/workflow-history-texts.png +0 -0
- package/src/assets/images/workflow/workflow-history.png +0 -0
- package/src/assets/images/workflow/workflow-imagehistory.png +0 -0
- package/src/assets/images/workflow/workflow-texthistory .png +0 -0
- package/src/assets/logo.svg +1 -0
- package/src/assets/main.css +1 -0
- package/src/i18n/langs/cn.js +52 -0
- package/src/i18n/langs/en.js +52 -0
- package/src/stores/counter.ts +12 -0
- package/src/utils/api/api-util.ts +176 -0
- package/src/utils/charts/chart-util.ts +41 -0
- package/src/utils/common-util.ts +96 -0
- package/src/utils/container-style-util.ts +237 -0
- package/src/utils/eventBus.ts +14 -0
- package/src/utils/events/event-util.ts +790 -0
- package/src/utils/events/jump-page-util.ts +0 -0
- package/src/utils/events/standard-event.ts +2075 -0
- package/src/utils/events/validator-util.ts +474 -0
- package/src/utils/global-refs.ts +160 -0
- package/src/utils/interfaces/page-design-types.ts +259 -0
- package/src/utils/page-helper-util.ts +850 -0
- package/src/utils/page-init-util.ts +291 -0
- package/src/utils/page-permission-util.ts +521 -0
- package/src/utils/store-util.ts +41 -0
- package/src/utils/store.ts +3 -0
- package/src/utils/table-utils.ts +31 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const agilebuilderUi = require("agilebuilder-ui");
|
|
4
|
+
const eventUtil = require("../../../../../src/utils/events/event-util.js");
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
6
|
+
__name: "button-runtime",
|
|
7
|
+
props: {
|
|
8
|
+
pageContext: {},
|
|
9
|
+
configure: {}
|
|
10
|
+
},
|
|
11
|
+
setup(__props) {
|
|
12
|
+
const props = __props;
|
|
13
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
14
|
+
const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
|
|
15
|
+
const runtimeStyle = runtimeInfo.style;
|
|
16
|
+
const runtimeClass = runtimeInfo.class;
|
|
17
|
+
return (_ctx, _cache) => {
|
|
18
|
+
const _component_el_button = vue.resolveComponent("el-button");
|
|
19
|
+
return vue.openBlock(), vue.createBlock(_component_el_button, {
|
|
20
|
+
disabled: vue.unref(designProperty).state === "disabled",
|
|
21
|
+
class: vue.normalizeClass(vue.unref(runtimeClass)),
|
|
22
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle)),
|
|
23
|
+
type: vue.unref(designProperty).type,
|
|
24
|
+
size: vue.unref(designProperty).size,
|
|
25
|
+
text: vue.unref(designProperty).text,
|
|
26
|
+
round: vue.unref(designProperty).round,
|
|
27
|
+
plain: vue.unref(designProperty).plain,
|
|
28
|
+
onClick: _cache[0] || (_cache[0] = ($event) => vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
|
|
29
|
+
}, {
|
|
30
|
+
default: vue.withCtx(() => [
|
|
31
|
+
vue.unref(designProperty).title && vue.unref(designProperty).iconPosition == "right" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
32
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(designProperty).title) + " ", 1),
|
|
33
|
+
vue.unref(designProperty).iconValue ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
34
|
+
vue.createTextVNode(" ")
|
|
35
|
+
], 64)) : vue.createCommentVNode("", true)
|
|
36
|
+
], 64)) : vue.createCommentVNode("", true),
|
|
37
|
+
vue.unref(designProperty).iconType && vue.unref(designProperty).iconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), {
|
|
38
|
+
key: 1,
|
|
39
|
+
iconType: vue.unref(designProperty).iconType,
|
|
40
|
+
iconValue: vue.unref(designProperty).iconValue
|
|
41
|
+
}, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true),
|
|
42
|
+
vue.unref(designProperty).title && vue.unref(designProperty).iconPosition != "right" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
|
|
43
|
+
vue.unref(designProperty).iconValue ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
44
|
+
vue.createTextVNode(" ")
|
|
45
|
+
], 64)) : vue.createCommentVNode("", true),
|
|
46
|
+
vue.createTextVNode(" " + vue.toDisplayString(vue.unref(designProperty).title), 1)
|
|
47
|
+
], 64)) : vue.createCommentVNode("", true)
|
|
48
|
+
]),
|
|
49
|
+
_: 1
|
|
50
|
+
}, 8, ["disabled", "class", "style", "type", "size", "text", "round", "plain"]);
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const objectRender_vue_vue_type_script_setup_true_lang = require("../../object-render.vue.js");
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
5
|
+
__name: "buttongroup-runtime",
|
|
6
|
+
props: {
|
|
7
|
+
pageContext: {},
|
|
8
|
+
configure: {}
|
|
9
|
+
},
|
|
10
|
+
setup(__props) {
|
|
11
|
+
const props = __props;
|
|
12
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
13
|
+
const runtimeStyle = runtimeInfo.style;
|
|
14
|
+
const runtimeClass = runtimeInfo.class;
|
|
15
|
+
return (_ctx, _cache) => {
|
|
16
|
+
const _component_el_button_group = vue.resolveComponent("el-button-group");
|
|
17
|
+
return vue.openBlock(), vue.createBlock(_component_el_button_group, {
|
|
18
|
+
class: vue.normalizeClass(vue.unref(runtimeClass)),
|
|
19
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle))
|
|
20
|
+
}, {
|
|
21
|
+
default: vue.withCtx(() => [
|
|
22
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.configure.items, (element, itemIndex) => {
|
|
23
|
+
return vue.openBlock(), vue.createBlock(objectRender_vue_vue_type_script_setup_true_lang, {
|
|
24
|
+
key: element.uuid,
|
|
25
|
+
pageContext: _ctx.pageContext,
|
|
26
|
+
configure: element
|
|
27
|
+
}, null, 8, ["pageContext", "configure"]);
|
|
28
|
+
}), 128))
|
|
29
|
+
]),
|
|
30
|
+
_: 1
|
|
31
|
+
}, 8, ["class", "style"]);
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const iconsVue = require("@element-plus/icons-vue");
|
|
4
|
+
const pageHelperUtil = require("../../../../../src/utils/page-helper-util.js");
|
|
5
|
+
const _hoisted_1 = { key: 1 };
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
7
|
+
__name: "dropdown-runtime",
|
|
8
|
+
props: {
|
|
9
|
+
pageContext: {},
|
|
10
|
+
configure: {}
|
|
11
|
+
},
|
|
12
|
+
setup(__props) {
|
|
13
|
+
const props = __props;
|
|
14
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
15
|
+
const runtimeStyle = runtimeInfo.style;
|
|
16
|
+
const runtimeClass = runtimeInfo.class;
|
|
17
|
+
const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
|
|
18
|
+
let listOptions = null;
|
|
19
|
+
const dataOrigin = props.configure.props && props.configure.props.dataOrigin ? props.configure.props.dataOrigin : {};
|
|
20
|
+
const valueType = dataOrigin.optionValueSetType;
|
|
21
|
+
if (valueType == "variable") {
|
|
22
|
+
listOptions = vue.computed(() => {
|
|
23
|
+
let options;
|
|
24
|
+
const menuValues = pageHelperUtil.formatVariableValue(props.pageContext, designProperty.menuField);
|
|
25
|
+
if (menuValues && Array.isArray(menuValues)) {
|
|
26
|
+
options = menuValues;
|
|
27
|
+
for (let i = 0; i < options.length; i++) {
|
|
28
|
+
const option = options[i];
|
|
29
|
+
if (!option.label) {
|
|
30
|
+
option.label = i + 1;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
} else {
|
|
34
|
+
const strs = (menuValues ? menuValues + "" : "").trim().split(",");
|
|
35
|
+
options = [];
|
|
36
|
+
for (let str of strs) {
|
|
37
|
+
options.push({
|
|
38
|
+
value: str,
|
|
39
|
+
label: str
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
return options;
|
|
44
|
+
});
|
|
45
|
+
} else {
|
|
46
|
+
listOptions = vue.ref(designProperty.options ? designProperty.options : []);
|
|
47
|
+
}
|
|
48
|
+
return (_ctx, _cache) => {
|
|
49
|
+
const _component_el_button = vue.resolveComponent("el-button");
|
|
50
|
+
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
51
|
+
const _component_el_text = vue.resolveComponent("el-text");
|
|
52
|
+
const _component_el_dropdown_item = vue.resolveComponent("el-dropdown-item");
|
|
53
|
+
const _component_el_dropdown_menu = vue.resolveComponent("el-dropdown-menu");
|
|
54
|
+
const _component_el_dropdown = vue.resolveComponent("el-dropdown");
|
|
55
|
+
return vue.openBlock(), vue.createBlock(_component_el_dropdown, {
|
|
56
|
+
class: vue.normalizeClass(vue.unref(runtimeClass)),
|
|
57
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle)),
|
|
58
|
+
placement: vue.unref(designProperty).placement,
|
|
59
|
+
"split-button": vue.unref(designProperty).splitButton,
|
|
60
|
+
disabled: vue.unref(designProperty).state === "disabled",
|
|
61
|
+
type: vue.unref(designProperty).buttonType,
|
|
62
|
+
size: vue.unref(designProperty).size,
|
|
63
|
+
trigger: vue.unref(designProperty).trigger
|
|
64
|
+
}, {
|
|
65
|
+
dropdown: vue.withCtx(() => [
|
|
66
|
+
vue.createVNode(_component_el_dropdown_menu, null, {
|
|
67
|
+
default: vue.withCtx(() => [
|
|
68
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(listOptions), (item, index) => {
|
|
69
|
+
return vue.openBlock(), vue.createBlock(_component_el_dropdown_item, { key: item }, {
|
|
70
|
+
default: vue.withCtx(() => [
|
|
71
|
+
vue.createTextVNode(vue.toDisplayString(item.label), 1)
|
|
72
|
+
]),
|
|
73
|
+
_: 2
|
|
74
|
+
}, 1024);
|
|
75
|
+
}), 128))
|
|
76
|
+
]),
|
|
77
|
+
_: 1
|
|
78
|
+
})
|
|
79
|
+
]),
|
|
80
|
+
default: vue.withCtx(() => [
|
|
81
|
+
vue.unref(designProperty).triggerElement === "button" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
82
|
+
!vue.unref(designProperty).splitButton ? (vue.openBlock(), vue.createBlock(_component_el_button, {
|
|
83
|
+
key: 0,
|
|
84
|
+
size: vue.unref(designProperty).size,
|
|
85
|
+
type: vue.unref(designProperty).buttonType
|
|
86
|
+
}, {
|
|
87
|
+
default: vue.withCtx(() => [
|
|
88
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(designProperty).title), 1)
|
|
89
|
+
]),
|
|
90
|
+
_: 1
|
|
91
|
+
}, 8, ["size", "type"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1, vue.toDisplayString(vue.unref(designProperty).title), 1))
|
|
92
|
+
], 64)) : (vue.openBlock(), vue.createBlock(_component_el_text, { key: 1 }, {
|
|
93
|
+
default: vue.withCtx(() => [
|
|
94
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(designProperty).title) + " ", 1),
|
|
95
|
+
vue.createVNode(_component_el_icon, null, {
|
|
96
|
+
default: vue.withCtx(() => [
|
|
97
|
+
vue.createVNode(vue.unref(iconsVue.ArrowDown))
|
|
98
|
+
]),
|
|
99
|
+
_: 1
|
|
100
|
+
})
|
|
101
|
+
]),
|
|
102
|
+
_: 1
|
|
103
|
+
}))
|
|
104
|
+
]),
|
|
105
|
+
_: 1
|
|
106
|
+
}, 8, ["class", "style", "placement", "split-button", "disabled", "type", "size", "trigger"]);
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const chartUtil = require("../../../../../src/utils/charts/chart-util.js");
|
|
4
|
+
const core = require("echarts/core");
|
|
5
|
+
const renderers = require("echarts/renderers");
|
|
6
|
+
const charts = require("echarts/charts");
|
|
7
|
+
const components = require("echarts/components");
|
|
8
|
+
const VChart = require("vue-echarts");
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
10
|
+
__name: "column-line-runtime",
|
|
11
|
+
props: {
|
|
12
|
+
pageContext: {},
|
|
13
|
+
configure: {}
|
|
14
|
+
},
|
|
15
|
+
setup(__props) {
|
|
16
|
+
core.use([
|
|
17
|
+
renderers.CanvasRenderer,
|
|
18
|
+
charts.LineChart,
|
|
19
|
+
components.GridComponent,
|
|
20
|
+
components.LegendComponent,
|
|
21
|
+
components.TitleComponent,
|
|
22
|
+
components.TooltipComponent,
|
|
23
|
+
charts.BarChart,
|
|
24
|
+
components.ToolboxComponent,
|
|
25
|
+
components.DataZoomComponent
|
|
26
|
+
]);
|
|
27
|
+
const props = __props;
|
|
28
|
+
const thisRef = vue.ref(null);
|
|
29
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
30
|
+
const runtimeStyle = runtimeInfo.style;
|
|
31
|
+
const runtimeClass = runtimeInfo.class;
|
|
32
|
+
const chartOption = runtimeInfo.chartOption;
|
|
33
|
+
console.log("chartOption-runtime", chartOption);
|
|
34
|
+
const configureProps = props.configure.props ? props.configure.props : {};
|
|
35
|
+
const customTheme = chartUtil.getCustomTheme(configureProps.customTheme);
|
|
36
|
+
return (_ctx, _cache) => {
|
|
37
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
38
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle)),
|
|
39
|
+
class: vue.normalizeClass([vue.unref(runtimeClass), "amb-widget-chart"]),
|
|
40
|
+
ref_key: "thisRef",
|
|
41
|
+
ref: thisRef
|
|
42
|
+
}, [
|
|
43
|
+
vue.createVNode(vue.unref(VChart), {
|
|
44
|
+
ref: "chartRef",
|
|
45
|
+
theme: vue.unref(customTheme),
|
|
46
|
+
option: vue.unref(chartOption),
|
|
47
|
+
autoresize: ""
|
|
48
|
+
}, null, 8, ["theme", "option"])
|
|
49
|
+
], 6);
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const chartUtil = require("../../../../../src/utils/charts/chart-util.js");
|
|
4
|
+
const core = require("echarts/core");
|
|
5
|
+
const renderers = require("echarts/renderers");
|
|
6
|
+
const charts = require("echarts/charts");
|
|
7
|
+
const components = require("echarts/components");
|
|
8
|
+
const VChart = require("vue-echarts");
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
10
|
+
__name: "gauge-runtime",
|
|
11
|
+
props: {
|
|
12
|
+
pageContext: {},
|
|
13
|
+
configure: {}
|
|
14
|
+
},
|
|
15
|
+
setup(__props) {
|
|
16
|
+
core.use([renderers.CanvasRenderer, charts.GaugeChart, components.GridComponent, components.TitleComponent, components.TooltipComponent, components.ToolboxComponent]);
|
|
17
|
+
const props = __props;
|
|
18
|
+
const thisRef = vue.ref(null);
|
|
19
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
20
|
+
const runtimeStyle = runtimeInfo.style;
|
|
21
|
+
const runtimeClass = runtimeInfo.class;
|
|
22
|
+
const chartOption = runtimeInfo.chartOption;
|
|
23
|
+
const configureProps = props.configure.props ? props.configure.props : {};
|
|
24
|
+
const customTheme = chartUtil.getCustomTheme(configureProps.customTheme);
|
|
25
|
+
return (_ctx, _cache) => {
|
|
26
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
27
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle)),
|
|
28
|
+
class: vue.normalizeClass([vue.unref(runtimeClass), "amb-widget-chart"]),
|
|
29
|
+
ref_key: "thisRef",
|
|
30
|
+
ref: thisRef
|
|
31
|
+
}, [
|
|
32
|
+
vue.createVNode(vue.unref(VChart), {
|
|
33
|
+
ref: "chartRef",
|
|
34
|
+
theme: vue.unref(customTheme),
|
|
35
|
+
option: vue.unref(chartOption),
|
|
36
|
+
autoresize: ""
|
|
37
|
+
}, null, 8, ["theme", "option"])
|
|
38
|
+
], 6);
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const chartUtil = require("../../../../../src/utils/charts/chart-util.js");
|
|
4
|
+
const core = require("echarts/core");
|
|
5
|
+
const renderers = require("echarts/renderers");
|
|
6
|
+
const charts = require("echarts/charts");
|
|
7
|
+
const components = require("echarts/components");
|
|
8
|
+
const VChart = require("vue-echarts");
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
10
|
+
__name: "pie-runtime",
|
|
11
|
+
props: {
|
|
12
|
+
pageContext: {},
|
|
13
|
+
configure: {}
|
|
14
|
+
},
|
|
15
|
+
setup(__props) {
|
|
16
|
+
core.use([
|
|
17
|
+
renderers.CanvasRenderer,
|
|
18
|
+
charts.PieChart,
|
|
19
|
+
components.GridComponent,
|
|
20
|
+
components.LegendComponent,
|
|
21
|
+
components.TitleComponent,
|
|
22
|
+
components.TooltipComponent,
|
|
23
|
+
components.ToolboxComponent
|
|
24
|
+
]);
|
|
25
|
+
const props = __props;
|
|
26
|
+
const thisRef = vue.ref(null);
|
|
27
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
28
|
+
const runtimeStyle = runtimeInfo.style;
|
|
29
|
+
const runtimeClass = runtimeInfo.class;
|
|
30
|
+
const chartOption = runtimeInfo.chartOption;
|
|
31
|
+
const configureProps = props.configure.props ? props.configure.props : {};
|
|
32
|
+
const customTheme = chartUtil.getCustomTheme(configureProps.customTheme);
|
|
33
|
+
return (_ctx, _cache) => {
|
|
34
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
35
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle)),
|
|
36
|
+
class: vue.normalizeClass([vue.unref(runtimeClass), "amb-widget-chart"]),
|
|
37
|
+
ref_key: "thisRef",
|
|
38
|
+
ref: thisRef
|
|
39
|
+
}, [
|
|
40
|
+
vue.createVNode(vue.unref(VChart), {
|
|
41
|
+
ref: "chartRef",
|
|
42
|
+
theme: vue.unref(customTheme),
|
|
43
|
+
option: vue.unref(chartOption),
|
|
44
|
+
autoresize: ""
|
|
45
|
+
}, null, 8, ["theme", "option"])
|
|
46
|
+
], 6);
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const chartUtil = require("../../../../../src/utils/charts/chart-util.js");
|
|
4
|
+
const core = require("echarts/core");
|
|
5
|
+
const renderers = require("echarts/renderers");
|
|
6
|
+
const charts = require("echarts/charts");
|
|
7
|
+
const components = require("echarts/components");
|
|
8
|
+
const VChart = require("vue-echarts");
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
10
|
+
__name: "radar-runtime",
|
|
11
|
+
props: {
|
|
12
|
+
pageContext: {},
|
|
13
|
+
configure: {}
|
|
14
|
+
},
|
|
15
|
+
setup(__props) {
|
|
16
|
+
core.use([
|
|
17
|
+
renderers.CanvasRenderer,
|
|
18
|
+
charts.RadarChart,
|
|
19
|
+
components.GridComponent,
|
|
20
|
+
components.TitleComponent,
|
|
21
|
+
components.TooltipComponent,
|
|
22
|
+
components.ToolboxComponent,
|
|
23
|
+
components.LegendComponent
|
|
24
|
+
]);
|
|
25
|
+
const props = __props;
|
|
26
|
+
const thisRef = vue.ref(null);
|
|
27
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
28
|
+
const runtimeStyle = runtimeInfo.style;
|
|
29
|
+
const runtimeClass = runtimeInfo.class;
|
|
30
|
+
const chartOption = runtimeInfo.chartOption;
|
|
31
|
+
const configureProps = props.configure.props ? props.configure.props : {};
|
|
32
|
+
const customTheme = chartUtil.getCustomTheme(configureProps.customTheme);
|
|
33
|
+
return (_ctx, _cache) => {
|
|
34
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
35
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle)),
|
|
36
|
+
class: vue.normalizeClass([vue.unref(runtimeClass), "amb-widget-chart"]),
|
|
37
|
+
ref_key: "thisRef",
|
|
38
|
+
ref: thisRef
|
|
39
|
+
}, [
|
|
40
|
+
vue.createVNode(vue.unref(VChart), {
|
|
41
|
+
ref: "chartRef",
|
|
42
|
+
theme: vue.unref(customTheme),
|
|
43
|
+
option: vue.unref(chartOption),
|
|
44
|
+
autoresize: ""
|
|
45
|
+
}, null, 8, ["theme", "option"])
|
|
46
|
+
], 6);
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const chartUtil = require("../../../../../src/utils/charts/chart-util.js");
|
|
4
|
+
const core = require("echarts/core");
|
|
5
|
+
const renderers = require("echarts/renderers");
|
|
6
|
+
const charts = require("echarts/charts");
|
|
7
|
+
const components = require("echarts/components");
|
|
8
|
+
const VChart = require("vue-echarts");
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
10
|
+
__name: "scatter-runtime",
|
|
11
|
+
props: {
|
|
12
|
+
pageContext: {},
|
|
13
|
+
configure: {}
|
|
14
|
+
},
|
|
15
|
+
setup(__props) {
|
|
16
|
+
core.use([
|
|
17
|
+
renderers.CanvasRenderer,
|
|
18
|
+
charts.ScatterChart,
|
|
19
|
+
components.GridComponent,
|
|
20
|
+
components.LegendComponent,
|
|
21
|
+
components.TitleComponent,
|
|
22
|
+
components.TooltipComponent,
|
|
23
|
+
components.ToolboxComponent,
|
|
24
|
+
components.DataZoomComponent
|
|
25
|
+
]);
|
|
26
|
+
const props = __props;
|
|
27
|
+
const thisRef = vue.ref(null);
|
|
28
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
29
|
+
const runtimeStyle = runtimeInfo.style;
|
|
30
|
+
const runtimeClass = runtimeInfo.class;
|
|
31
|
+
const chartOption = runtimeInfo.chartOption;
|
|
32
|
+
const configureProps = props.configure.props ? props.configure.props : {};
|
|
33
|
+
const customTheme = chartUtil.getCustomTheme(configureProps.customTheme);
|
|
34
|
+
return (_ctx, _cache) => {
|
|
35
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
36
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle)),
|
|
37
|
+
class: vue.normalizeClass([vue.unref(runtimeClass), "amb-widget-chart"]),
|
|
38
|
+
ref_key: "thisRef",
|
|
39
|
+
ref: thisRef
|
|
40
|
+
}, [
|
|
41
|
+
vue.createVNode(vue.unref(VChart), {
|
|
42
|
+
ref: "chartRef",
|
|
43
|
+
theme: vue.unref(customTheme),
|
|
44
|
+
option: vue.unref(chartOption),
|
|
45
|
+
autoresize: ""
|
|
46
|
+
}, null, 8, ["theme", "option"])
|
|
47
|
+
], 6);
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const commonUtil = require("../../../../src/utils/common-util.js");
|
|
4
|
+
const prefix = "${";
|
|
5
|
+
const suffix = "}";
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
7
|
+
__name: "export-form-report-dialog",
|
|
8
|
+
props: {
|
|
9
|
+
configure: {
|
|
10
|
+
type: Object,
|
|
11
|
+
required: true
|
|
12
|
+
},
|
|
13
|
+
pageContext: {
|
|
14
|
+
type: Object
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
emits: ["export", "close"],
|
|
18
|
+
setup(__props, { emit: __emit }) {
|
|
19
|
+
const props = __props;
|
|
20
|
+
const emits = __emit;
|
|
21
|
+
const templateFiles = vue.ref([]);
|
|
22
|
+
const fields = vue.ref([]);
|
|
23
|
+
const configureBase = props.configure.props.base;
|
|
24
|
+
const dataModel = props.pageContext.entity.data;
|
|
25
|
+
vue.onMounted(() => {
|
|
26
|
+
if (configureBase.templateFiles && configureBase.templateFiles.length > 0) {
|
|
27
|
+
templateFiles.value = commonUtil.packageTemplateFiles(configureBase.templateFiles);
|
|
28
|
+
} else if (configureBase.templateUUID && configureBase.templateShowPath) {
|
|
29
|
+
templateFiles.value.push({
|
|
30
|
+
templateUUID: configureBase.templateUUID,
|
|
31
|
+
templateShowPath: configureBase.templateShowPath
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
templateFiles.value.forEach((item) => {
|
|
35
|
+
if (item && item.templateShowPath) {
|
|
36
|
+
item.templateShowPath = formatTemplateShowPath(item.templateShowPath);
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
function getFileds(templateShowPath) {
|
|
41
|
+
console.log("templateShowPath", templateShowPath);
|
|
42
|
+
let field;
|
|
43
|
+
let formatStr;
|
|
44
|
+
let newValue = templateShowPath;
|
|
45
|
+
const prefixIndex = newValue.indexOf(prefix);
|
|
46
|
+
const suffixIndex = newValue.indexOf(suffix);
|
|
47
|
+
console.log("prefixIndex", prefixIndex);
|
|
48
|
+
console.log("suffixIndex", suffixIndex);
|
|
49
|
+
if (prefixIndex !== -1 && suffixIndex !== -1) {
|
|
50
|
+
if (prefixIndex > suffixIndex) {
|
|
51
|
+
newValue = newValue.substring(0, suffixIndex) + newValue.substring(suffixIndex + suffix.length);
|
|
52
|
+
console.log("non replacement value === newValue", newValue);
|
|
53
|
+
} else {
|
|
54
|
+
field = newValue.substring(prefixIndex + prefix.length, suffixIndex);
|
|
55
|
+
formatStr = newValue.substring(prefixIndex, suffixIndex + suffix.length);
|
|
56
|
+
console.log("field", field);
|
|
57
|
+
console.log("formatStr", formatStr);
|
|
58
|
+
fields.value.push(field);
|
|
59
|
+
console.log("fields", fields.value);
|
|
60
|
+
newValue = newValue.replace(formatStr, "");
|
|
61
|
+
console.log("newValue", newValue);
|
|
62
|
+
}
|
|
63
|
+
return getFileds(newValue);
|
|
64
|
+
}
|
|
65
|
+
return fields.value;
|
|
66
|
+
}
|
|
67
|
+
function formatTemplateShowPath(templateShowPath) {
|
|
68
|
+
const fields2 = getFileds(templateShowPath);
|
|
69
|
+
console.log("fields", fields2);
|
|
70
|
+
fields2.forEach((field) => {
|
|
71
|
+
const formatStr = prefix + field + suffix;
|
|
72
|
+
let formatValue;
|
|
73
|
+
if (templateShowPath.indexOf(formatStr) !== -1 && dataModel.hasOwnProperty(field)) {
|
|
74
|
+
formatValue = dataModel[field] ? dataModel[field] : "";
|
|
75
|
+
templateShowPath = templateShowPath.replace(formatStr, formatValue);
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
return templateShowPath;
|
|
79
|
+
}
|
|
80
|
+
function exportForm(row) {
|
|
81
|
+
emits("export", row);
|
|
82
|
+
}
|
|
83
|
+
function closeExportForm() {
|
|
84
|
+
emits("close");
|
|
85
|
+
}
|
|
86
|
+
return (_ctx, _cache) => {
|
|
87
|
+
const _component_el_table_column = vue.resolveComponent("el-table-column");
|
|
88
|
+
const _component_el_button = vue.resolveComponent("el-button");
|
|
89
|
+
const _component_el_table = vue.resolveComponent("el-table");
|
|
90
|
+
const _component_el_dialog = vue.resolveComponent("el-dialog");
|
|
91
|
+
return vue.openBlock(), vue.createBlock(_component_el_dialog, {
|
|
92
|
+
"show-close": true,
|
|
93
|
+
"append-to-body": true,
|
|
94
|
+
title: _ctx.$t("superPageRuntimeMessage.selectTemplate"),
|
|
95
|
+
"model-value": "",
|
|
96
|
+
onClose: closeExportForm
|
|
97
|
+
}, {
|
|
98
|
+
default: vue.withCtx(() => [
|
|
99
|
+
vue.createVNode(_component_el_table, {
|
|
100
|
+
data: templateFiles.value,
|
|
101
|
+
style: { "width": "100%" }
|
|
102
|
+
}, {
|
|
103
|
+
default: vue.withCtx(() => [
|
|
104
|
+
vue.createVNode(_component_el_table_column, {
|
|
105
|
+
label: _ctx.$t("superPageRuntimeMessage.temlpate"),
|
|
106
|
+
prop: "templateShowPath"
|
|
107
|
+
}, {
|
|
108
|
+
default: vue.withCtx((scope) => [
|
|
109
|
+
vue.createTextVNode(vue.toDisplayString(scope.row.templateShowPath), 1)
|
|
110
|
+
]),
|
|
111
|
+
_: 1
|
|
112
|
+
}, 8, ["label"]),
|
|
113
|
+
vue.createVNode(_component_el_table_column, {
|
|
114
|
+
label: _ctx.$t("superPageRuntimeMessage.operating"),
|
|
115
|
+
width: "200",
|
|
116
|
+
fixed: "right"
|
|
117
|
+
}, {
|
|
118
|
+
default: vue.withCtx((scope) => [
|
|
119
|
+
vue.createVNode(_component_el_button, {
|
|
120
|
+
type: "text",
|
|
121
|
+
size: "small",
|
|
122
|
+
onClick: ($event) => exportForm(scope.row)
|
|
123
|
+
}, {
|
|
124
|
+
default: vue.withCtx(() => [
|
|
125
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.$t("superPageRuntimeMessage.export")), 1)
|
|
126
|
+
]),
|
|
127
|
+
_: 2
|
|
128
|
+
}, 1032, ["onClick"])
|
|
129
|
+
]),
|
|
130
|
+
_: 1
|
|
131
|
+
}, 8, ["label"])
|
|
132
|
+
]),
|
|
133
|
+
_: 1
|
|
134
|
+
}, 8, ["data"])
|
|
135
|
+
]),
|
|
136
|
+
_: 1
|
|
137
|
+
}, 8, ["title"]);
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
module.exports = _sfc_main;
|