super-page-runtime 2.3.20-sit2 → 2.3.21-tmp1
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/runtime/utils/api/page-expose-util.js +124 -133
- package/dist/es/components/runtime/utils/events/event-util.js +3 -3
- package/dist/es/components/runtime/utils/events/print-label.js +26 -25
- package/dist/es/components/runtime/utils/events/standard-event.js +568 -584
- package/dist/es/components/runtime/utils/events/validator-util.js +1 -1
- package/dist/es/components/runtime/utils/page-init-util.js +11 -9
- package/dist/es/components/runtime/utils/table-utils.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +10 -6
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +8 -6
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +17 -17
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +98 -93
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +3 -2
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +13 -13
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +11 -9
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +2 -0
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +12 -10
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +8 -8
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +15 -15
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +34 -34
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +35 -34
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +5 -3
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +1 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +1 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +17 -15
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +13 -22
- package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +1 -0
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/dist/es/components/runtime/views/super-page.vue2.js +76 -75
- package/dist/es/i18n/langs/cn.js +1 -1
- package/dist/es/i18n/langs/en.js +1 -1
- package/dist/es/style.css +76 -76
- package/dist/lib/_virtual/_plugin-vue_export-helper.js +6 -0
- package/dist/lib/assets/chart-themes/bar-theme.js +2 -0
- package/dist/lib/assets/chart-themes/gauge-theme.js +2 -0
- package/dist/lib/assets/chart-themes/pie-theme.js +2 -0
- package/dist/lib/assets/chart-themes/radar-theme.js +2 -0
- package/dist/lib/assets/chart-themes/scatter-theme.js +2 -0
- package/dist/lib/assets/file.png.js +2 -0
- package/dist/lib/assets/folder.png.js +2 -0
- package/dist/lib/components/runtime/utils/ai-chat-util.js +13 -0
- package/dist/lib/components/runtime/utils/anchor-util.js +62 -0
- package/dist/lib/components/runtime/utils/api/api-util.js +3 -0
- package/dist/lib/components/runtime/utils/api/page-expose-util.js +169 -0
- package/dist/lib/components/runtime/utils/assemblys-config.js +16 -0
- package/dist/lib/components/runtime/utils/barcode-util.js +10 -0
- package/dist/lib/components/runtime/utils/charts/chart-columnline-util.js +137 -0
- package/dist/lib/components/runtime/utils/charts/chart-gauge-util.js +34 -0
- package/dist/lib/components/runtime/utils/charts/chart-pie-util.js +78 -0
- package/dist/lib/components/runtime/utils/charts/chart-radar-util.js +52 -0
- package/dist/lib/components/runtime/utils/charts/chart-scatter-util.js +43 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.js +244 -0
- package/dist/lib/components/runtime/utils/common-util.js +91 -0
- package/dist/lib/components/runtime/utils/eventBus.js +3 -0
- package/dist/lib/components/runtime/utils/events/event-util.js +345 -0
- package/dist/lib/components/runtime/utils/events/print-label.js +97 -0
- package/dist/lib/components/runtime/utils/events/standard-event.js +1101 -0
- package/dist/lib/components/runtime/utils/events/validator-util.js +296 -0
- package/dist/lib/components/runtime/utils/form/date-shortcuts.js +34 -0
- package/dist/lib/components/runtime/utils/form/scan-util.js +90 -0
- package/dist/lib/components/runtime/utils/global-refs.js +42 -0
- package/dist/lib/components/runtime/utils/i18n-util.js +11 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.js +4 -0
- package/dist/lib/components/runtime/utils/page-helper-util.js +354 -0
- package/dist/lib/components/runtime/utils/page-init-util.js +244 -0
- package/dist/lib/components/runtime/utils/page-permission-util.js +26 -0
- package/dist/lib/components/runtime/utils/page-store.js +50 -0
- package/dist/lib/components/runtime/utils/store-util.js +11 -0
- package/dist/lib/components/runtime/utils/store.js +3 -0
- package/dist/lib/components/runtime/utils/table-utils.js +68 -0
- package/dist/lib/components/runtime/utils/tree-utils.js +54 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +24 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +5 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +17 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +35 -0
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +17 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +5 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +41 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +11 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +11 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +53 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +5 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +48 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +5 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +24 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +5 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +34 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +5 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +24 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +5 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +24 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.js +402 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.js +36 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +13 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +249 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.js +16 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +32 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.js +32 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +19 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +12 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.js +21 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +13 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +30 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +15 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.js +5 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +21 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +17 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +15 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +5 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.js +27 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +5 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +79 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +20 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +15 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +12 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +5 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +88 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +5 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +43 -0
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +59 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +382 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +322 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +81 -0
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +5 -0
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +124 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +57 -0
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +35 -0
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +57 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +91 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +47 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +20 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +65 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +20 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +70 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.js +5 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +31 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +26 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +5 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +13 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +75 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +5 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +188 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +130 -0
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +11 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +29 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +38 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +20 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.js +73 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.js +132 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +5 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +23 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +5 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +23 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +5 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +34 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +17 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +20 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +5 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +19 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +14 -0
- package/dist/lib/components/runtime/views/home-chart.vue.js +38 -0
- package/dist/lib/components/runtime/views/home-chart.vue2.js +3 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.js +23 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue3.js +3 -0
- package/dist/lib/components/runtime/views/super-page.vue.js +5 -0
- package/dist/lib/components/runtime/views/super-page.vue2.js +264 -0
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/i18n/langs/cn.js +2 -0
- package/dist/lib/i18n/langs/en.js +2 -0
- package/dist/lib/index.js +6 -0
- package/dist/lib/style.css +996 -0
- package/dist/umd/favicon.ico +0 -0
- package/dist/umd/index.full.min.js +7429 -0
- package/dist/umd/style.css +996 -0
- package/package.json +2 -2
- package/dist/es/components/runtime/utils/events/data-backfill-util.d.ts +0 -27
- package/dist/es/components/runtime/utils/events/data-backfill-util.js +0 -39
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, getCurrentInstance as t, onMounted as l, onUpdated as
|
|
1
|
+
import { defineComponent as e, ref as a, getCurrentInstance as t, onMounted as l, onUpdated as o, nextTick as u, onUnmounted as n, resolveDirective as i, withDirectives as s, createElementBlock as r, openBlock as v, normalizeClass as p, createCommentVNode as m, normalizeStyle as c, createVNode as g, createBlock as f, createElementVNode as d, Fragment as y, renderList as h, unref as C, watch as P } from "vue";
|
|
2
2
|
import b from "./assemblys/object-render.vue.js";
|
|
3
3
|
import { updateOptionDatasources as j, updateChartDatasources as k } from "../utils/page-helper-util.js";
|
|
4
|
-
import { queryPageDesignWhenPreview as
|
|
4
|
+
import { queryPageDesignWhenPreview as x, queryPageDesignByCode as $, convertToPageContext as S, packageAdditionalMapWithLocationSearch as D, packageAdditionalMapWithRoute as w, packageAdditionalMapWithPageRequest as N } from "../utils/page-init-util.js";
|
|
5
5
|
import { addComponentRef as q, removePageAllRef as T, initComponentRefState as R } from "../utils/global-refs.js";
|
|
6
6
|
import { removeCustomFuncFromWindow as _, handleEvent as O, initPageEvents as F, getCustomFunc as I } from "../utils/events/event-util.js";
|
|
7
7
|
import M from "./assemblys/common/export-form-report-dialog.vue.js";
|
|
@@ -9,7 +9,7 @@ import A from "./assemblys/common/task-informition-dialog.vue.js";
|
|
|
9
9
|
import E from "./assemblys/common/remove-signer-dialog.vue.js";
|
|
10
10
|
import V from "./assemblys/common/remove-transactor-dialog.vue.js";
|
|
11
11
|
import W from "../utils/eventBus.js";
|
|
12
|
-
import { doFileTaskFunc as B, getTaskInformitions as J, getRemoveSigner as U, getRemoveTransactor as
|
|
12
|
+
import { doFileTaskFunc as B, getTaskInformitions as J, getRemoveSigner as U, getRemoveTransactor as H, getFormData as L, exportFormReport as z, doImportFinally as Q, doAddSigner as G, doCreateCopyTask as K, doAssign as X, doAddTransactor as Y, doReturnTaskTo as Z, doRemoveSigners as ee, doRemoveTransactors as ae, updateValuesWhenCloseDialog as te, refreshFormOrListPage as le, saveChartConditionBase as oe, getAdditionalParamMap as ue } from "../utils/events/standard-event.js";
|
|
13
13
|
import "../utils/api/api-util.js";
|
|
14
14
|
import { ElMessage as ne } from "element-plus";
|
|
15
15
|
import { useI18n as ie } from "vue-i18n";
|
|
@@ -27,17 +27,17 @@ import Pe from "agilebuilder-ui/src/store";
|
|
|
27
27
|
import be from "./assemblys/common/save-chart-condition-dialog.vue.js";
|
|
28
28
|
import je from "../utils/ai-chat-util.js";
|
|
29
29
|
import ke from "./assemblys/page-bottom.vue.js";
|
|
30
|
-
import
|
|
31
|
-
import { scrollIntoViewWithContainer as
|
|
32
|
-
const
|
|
33
|
-
const we = Ce(), { t: Ne } = ie(), qe = e2, Te = a(false), Re = a(""), _e = { list: "list-page-container", form: "form-page-container" }, Oe = a(null), Fe = a([]), Ie = a(""), Me = a({}), Ae = a(null), Ee = a(null), Ve = a(false), We = a(false), Be = a(false), Je = a(false), Ue = a(false),
|
|
30
|
+
import xe from "./assemblys/common/event-call-component.vue.js";
|
|
31
|
+
import { scrollIntoViewWithContainer as $e } from "../utils/anchor-util.js";
|
|
32
|
+
const Se = e({ __name: "super-page", props: { pageCode: { type: String, required: false }, pageVersion: { type: Number, required: false }, pageId: { type: Number, required: false }, dataId: { type: Number, required: false }, pageDesign: { type: Object, required: false }, isTest: { type: Boolean, required: false }, dimensions: { type: String, required: false }, publishVersion: { type: Number, required: false }, taskId: { type: Number, required: false }, pageRequest: { type: Object, required: false }, contentHeight: { type: [String, Number], default: null }, isDialog: { type: Boolean, required: false }, isPreview: { type: Boolean, required: false } }, emits: ["open", "opened", "close", "closed"], setup(e2, { expose: Se2, emit: De }) {
|
|
33
|
+
const we = Ce(), { t: Ne } = ie(), qe = e2, Te = a(false), Re = a(""), _e = { list: "list-page-container", form: "form-page-container" }, Oe = a(null), Fe = a([]), Ie = a(""), Me = a({}), Ae = a(null), Ee = a(null), Ve = a(false), We = a(false), Be = a(false), Je = a(false), Ue = a(false), He = a(false), Le = a(null), ze = a(false), Qe = a([]), Ge = a([]), Ke = a([]), Xe = a(false), Ye = a(false), Ze = a(null), ea = a(false), aa = a(false), ta = a(null), la = a(null), oa = a(null), ua = a(null);
|
|
34
34
|
let na = a(null);
|
|
35
35
|
const ia = a(null), sa = a(null), ra = pe(), va = a(0), pa = he();
|
|
36
36
|
let ma, ca;
|
|
37
37
|
const ga = a(false), fa = a(null), da = a(false), ya = a(null);
|
|
38
38
|
function ha(e3) {
|
|
39
|
-
const a2 =
|
|
40
|
-
return a2.isTest = qe.isTest, a2.isTest && qe.dimensions && (a2.dimensions = qe.dimensions), qe.isDialog || (
|
|
39
|
+
const a2 = S(e3);
|
|
40
|
+
return a2.isTest = qe.isTest, a2.isTest && qe.dimensions && (a2.dimensions = qe.dimensions), qe.isDialog || (D(a2.entity.request), w(ra, a2.entity.request)), N(qe.pageRequest, a2.entity.request), a2;
|
|
41
41
|
}
|
|
42
42
|
function Ca(e3) {
|
|
43
43
|
var _a2;
|
|
@@ -50,7 +50,7 @@ const De = e({ __name: "super-page", props: { pageCode: { type: String, required
|
|
|
50
50
|
t3 && t3.length > 0 && j(e4, t3, void 0);
|
|
51
51
|
}(na.value, e3.initOptionConfigs);
|
|
52
52
|
}, 0), ca = setTimeout(() => {
|
|
53
|
-
|
|
53
|
+
e3.initChartServiceConfigs, function(e4, a3) {
|
|
54
54
|
if (!a3 || 0 == a3.length) return;
|
|
55
55
|
if (e4.initChartData = {}, e4.initChartData.data = de(e4.entity.data), e4.initChartData.page = de(e4.entity.page), a3 && a3.length > 0) {
|
|
56
56
|
const t3 = a3.filter((e5) => false !== e5.initializationQuery);
|
|
@@ -61,59 +61,60 @@ const De = e({ __name: "super-page", props: { pageCode: { type: String, required
|
|
|
61
61
|
const t2 = na.value.runtime ? na.value.runtime : {};
|
|
62
62
|
Ie.value = t2.class, Me.value = t2.style, F(e3, na.value), re(na.value.rules), O(null, na.value, e3, "beforeload");
|
|
63
63
|
const l2 = na.value.code;
|
|
64
|
-
return we.setPageContext(na.value),
|
|
64
|
+
return we.setPageContext(na.value), Le.value = l2 + "_", W.$on(Le.value + "export-form-report", (e4) => {
|
|
65
65
|
Ee.value = e4, ia.value = e4.configureObj, sa.value = e4.pageContext, da.value = false, Ve.value = true;
|
|
66
|
-
}), W.$on(
|
|
66
|
+
}), W.$on(Le.value + "export-pdf-report", (e4) => {
|
|
67
67
|
Ee.value = e4, ia.value = e4.configureObj, sa.value = e4.pageContext, da.value = true, Ve.value = true;
|
|
68
|
-
}), W.$on(
|
|
69
|
-
Ee.value = e4,
|
|
70
|
-
}), W.$on(
|
|
71
|
-
Ee.value = e4, Ue.value = true,
|
|
72
|
-
}), W.$on(
|
|
73
|
-
Ee.value = e4, Je.value = true,
|
|
74
|
-
}), W.$on(
|
|
75
|
-
Ee.value = e4, We.value = true,
|
|
76
|
-
}), W.$on(
|
|
68
|
+
}), W.$on(Le.value + "import-file", (e4) => {
|
|
69
|
+
Ee.value = e4, $a.value.click();
|
|
70
|
+
}), W.$on(Le.value + "assign-task", (e4) => {
|
|
71
|
+
Ee.value = e4, Ue.value = true, He.value = false;
|
|
72
|
+
}), W.$on(Le.value + "copy-task", (e4) => {
|
|
73
|
+
Ee.value = e4, Je.value = true, He.value = true;
|
|
74
|
+
}), W.$on(Le.value + "add-signer", (e4) => {
|
|
75
|
+
Ee.value = e4, We.value = true, He.value = true;
|
|
76
|
+
}), W.$on(Le.value + "choose-return-node", (e4) => {
|
|
77
77
|
Ee.value = e4, J(e4).then((e5) => {
|
|
78
78
|
Qe.value = e5, ze.value = true;
|
|
79
79
|
}).catch((e5) => {
|
|
80
80
|
ze.value = false;
|
|
81
81
|
});
|
|
82
|
-
}), W.$on(
|
|
82
|
+
}), W.$on(Le.value + "remove-signer", (e4) => {
|
|
83
83
|
Ee.value = e4, U(e4).then((a3) => {
|
|
84
84
|
Ze.value = e4.pageContext.completeTaskParam.taskId, Ge.value = a3, Xe.value = true;
|
|
85
85
|
}).catch((e5) => {
|
|
86
86
|
Xe.value = false;
|
|
87
87
|
});
|
|
88
|
-
}), W.$on(
|
|
89
|
-
Ee.value = e4, Be.value = true,
|
|
90
|
-
}), W.$on(
|
|
91
|
-
Ee.value = e4,
|
|
88
|
+
}), W.$on(Le.value + "add-transactor", (e4) => {
|
|
89
|
+
Ee.value = e4, Be.value = true, He.value = true;
|
|
90
|
+
}), W.$on(Le.value + "remove-transactor", (e4) => {
|
|
91
|
+
Ee.value = e4, H(e4).then((a3) => {
|
|
92
92
|
Ze.value = e4.pageContext.completeTaskParam.taskId, Ke.value = a3, Ye.value = true;
|
|
93
93
|
}).catch((e5) => {
|
|
94
94
|
Ye.value = false;
|
|
95
95
|
});
|
|
96
|
-
}), W.$on(
|
|
97
|
-
}), W.$on(
|
|
96
|
+
}), W.$on(Le.value + "prohibit-edit", (e4) => {
|
|
97
|
+
}), W.$on(Le.value + "open-dialog", (e4) => {
|
|
98
98
|
var a3, t3, l3;
|
|
99
|
-
la.value = e4.pageContext,
|
|
100
|
-
return new Promise((l4,
|
|
99
|
+
la.value = e4.pageContext, oa.value = e4.configureObj, ua.value = e4.eventParams, a3 = oa.value, t3 = ua.value, l3 = e4.jumpPageSetting, function(e5, a4, t4) {
|
|
100
|
+
return new Promise((l4, o2) => {
|
|
101
101
|
var _a3;
|
|
102
102
|
if (t4) l4(t4);
|
|
103
103
|
else {
|
|
104
104
|
const t5 = e5 && e5.props && e5.props.linkPage ? e5.props.linkPage : null;
|
|
105
105
|
if (t5 && t5.jumpPageUrl) {
|
|
106
106
|
false !== t5.isNewPage && true !== t5.isNewPage && (t5.isNewPage = true);
|
|
107
|
-
const e6 =
|
|
108
|
-
|
|
107
|
+
const e6 = ue(na), o3 = !!((_a3 = oa.value.props.linkPage) == null ? void 0 : _a3.isNeedId);
|
|
108
|
+
oa.value;
|
|
109
|
+
let u2 = o3 && a4 ? a4.id : null, n2 = o3 && a4 ? a4.ids : null, i2 = a4 ? a4.selections : [], s2 = a4 ? a4.row : null;
|
|
109
110
|
if (!s2) if (s2 = {}, i2 && i2.length > 0) s2 = i2[0];
|
|
110
111
|
else {
|
|
111
112
|
const e7 = la.value.entity.data, a5 = la.value.entity.page;
|
|
112
113
|
a5 && Object.assign(s2, a5), e7 && Object.assign(s2, e7);
|
|
113
114
|
}
|
|
114
115
|
const r2 = de(la.value.entity.page);
|
|
115
|
-
t5._pageData = r2, ce(t5, null,
|
|
116
|
-
e7.isNeedId =
|
|
116
|
+
t5._pageData = r2, ce(t5, null, u2, s2, e6, n2).then((e7) => {
|
|
117
|
+
e7.isNeedId = o3, l4(e7);
|
|
117
118
|
});
|
|
118
119
|
} else l4(false);
|
|
119
120
|
}
|
|
@@ -123,12 +124,12 @@ const De = e({ __name: "super-page", props: { pageCode: { type: String, required
|
|
|
123
124
|
let t4 = {};
|
|
124
125
|
const l4 = a3 && a3.props && a3.props.linkPage ? a3.props.linkPage : null;
|
|
125
126
|
l4 && Object.assign(t4, de(l4)), Object.assign(t4, e5), ye(t4, pa);
|
|
126
|
-
const
|
|
127
|
-
if (
|
|
128
|
-
const e6 =
|
|
127
|
+
const o2 = t4.jumpMode, u2 = t4;
|
|
128
|
+
if (ua.value || (ua.value = {}), ua.value.paramStoreId = t4.paramStoreId, u2.parentPageCode = la.value.code, u2.parentPageVersion = la.value.version, u2.isNewPage = true, "popup" === o2 || "refresh" === o2) {
|
|
129
|
+
const e6 = u2.linkType;
|
|
129
130
|
(function(e7, a4) {
|
|
130
131
|
const t5 = fe();
|
|
131
|
-
return new Promise((l5,
|
|
132
|
+
return new Promise((l5, o3) => {
|
|
132
133
|
if (t5) if ("popup" !== a4 && !pa || la.value.systemCode === e7.customSystem) l5(true);
|
|
133
134
|
else if (e7.customSystem) {
|
|
134
135
|
const a5 = e7.customSystem;
|
|
@@ -137,38 +138,38 @@ const De = e({ __name: "super-page", props: { pageCode: { type: String, required
|
|
|
137
138
|
}).catch(() => {
|
|
138
139
|
l5(true);
|
|
139
140
|
});
|
|
140
|
-
} else ne({ showClose: true, type: "error", message: Ne("superPageRuntimeMessage.popMsg") }), l5(false);
|
|
141
|
+
} else ne({ showClose: true, type: "error", message: Ne("superPageRuntimeMessage.popMsg") }), console.error("弹框参数缺少customSystem参数,parentPageContext.value.systemCode={}", la.value.systemCode), l5(false);
|
|
141
142
|
else l5(true);
|
|
142
143
|
});
|
|
143
|
-
})(
|
|
144
|
-
a4 && (pa && (la.value.systemCode !==
|
|
145
|
-
}), W.$on(
|
|
144
|
+
})(u2, o2).then((a4) => {
|
|
145
|
+
a4 && (pa && (la.value.systemCode !== u2.customSystem || e6 && "url" === e6) ? (u2._isIframe = true, "refresh" === o2 && (u2.dialogType = "drawer", u2.jumpPageWidth = "100%"), ta.value = u2, aa.value = true) : (u2._isIframe = false, "popup" === o2 ? (ta.value = u2, aa.value = true) : "refresh" === o2 && qa.push({ path: "/dsc/page", query: u2 })));
|
|
146
|
+
}), W.$on(Le.value + "close-dialog", (e7) => {
|
|
146
147
|
!function(e8) {
|
|
147
148
|
const a4 = e8.jumpMode;
|
|
148
149
|
a4 && "popup" === a4 ? Ta(e8) : qa.go(-1);
|
|
149
150
|
}(e7);
|
|
150
151
|
});
|
|
151
152
|
}
|
|
152
|
-
}
|
|
153
|
+
} else console.error("页面配置信息不存在");
|
|
153
154
|
});
|
|
154
|
-
}), W.$on(
|
|
155
|
+
}), W.$on(Le.value + "save-chart-condition", (e4) => {
|
|
155
156
|
ga.value = true;
|
|
156
157
|
}), W.$on("pageLoaded", () => {
|
|
157
158
|
const e4 = { runtime: { events: na.value.events }, systemCode: "", systemVersion: 0, code: "", version: 0, workflowCode: "", workflowVersion: 0, name: "", uuid: "", label: "" };
|
|
158
|
-
O(null, na.value, e4, "load"),
|
|
159
|
-
}), W.$on(
|
|
159
|
+
O(null, na.value, e4, "load"), $e(we.getAutoAnchorComponentConditions(), na.value);
|
|
160
|
+
}), W.$on(Le.value + "event-call-component", (e4) => {
|
|
160
161
|
var _a3;
|
|
161
162
|
(_a3 = ya.value) == null ? void 0 : _a3.renderComponent(e4.componentName, e4.componentProps);
|
|
162
163
|
}), P(() => na.value.isRefresh, (e4) => {
|
|
163
164
|
e4 && (va.value++, na.value.isRefresh = false);
|
|
164
|
-
}),
|
|
165
|
+
}), L(na.value, null, (_a2 = qe.pageRequest) == null ? void 0 : _a2.isNeedId);
|
|
165
166
|
}
|
|
166
167
|
const Pa = t();
|
|
167
168
|
function ba() {
|
|
168
|
-
|
|
169
|
+
u(() => {
|
|
169
170
|
var _a2, _b;
|
|
170
171
|
const e3 = Oe.value.parentNode ? Oe.value.parentNode : Oe.value;
|
|
171
|
-
na.value && (na.value.pageRuntimeStyle || (na.value.pageRuntimeStyle = {}), na.value.pageRuntimeStyle.height = qe.contentHeight ?? ((_b = (_a2 = e3 == null ? void 0 : e3.getBoundingClientRect) == null ? void 0 : _a2.call(e3)) == null ? void 0 : _b.height) ?? 0);
|
|
172
|
+
na.value && (na.value.pageRuntimeStyle || (na.value.pageRuntimeStyle = {}), qe.contentHeight, na.value.pageRuntimeStyle.height = qe.contentHeight ?? ((_b = (_a2 = e3 == null ? void 0 : e3.getBoundingClientRect) == null ? void 0 : _a2.call(e3)) == null ? void 0 : _b.height) ?? 0);
|
|
172
173
|
});
|
|
173
174
|
}
|
|
174
175
|
function ja() {
|
|
@@ -178,7 +179,7 @@ const De = e({ __name: "super-page", props: { pageCode: { type: String, required
|
|
|
178
179
|
function ka() {
|
|
179
180
|
Ve.value = false, Ee.value = null;
|
|
180
181
|
}
|
|
181
|
-
function
|
|
182
|
+
function xa(e3, a2) {
|
|
182
183
|
z(Ee.value.pageContext, Ee.value.configureObj, a2, da.value);
|
|
183
184
|
}
|
|
184
185
|
l(() => {
|
|
@@ -187,14 +188,14 @@ const De = e({ __name: "super-page", props: { pageCode: { type: String, required
|
|
|
187
188
|
Te.value = true;
|
|
188
189
|
let e3 = qe.pageDesign;
|
|
189
190
|
const a2 = ha(e3);
|
|
190
|
-
|
|
191
|
+
x(e3, a2).then((a3) => {
|
|
191
192
|
e3.contextParam = a3.contextParam, e3.branchFieldAuth = a3.branchFieldAuth, e3.systemParam = a3.systemParam, e3.isWorkflowEntity = a3.isWorkflowEntity, e3.dataTypeMaps = a3.dataTypeMaps, Ae.value = e3, Ca(e3).then(() => {
|
|
192
193
|
ja(), ea.value = true, B(na.value), ba();
|
|
193
194
|
});
|
|
194
195
|
}).finally(() => {
|
|
195
196
|
Te.value = false;
|
|
196
197
|
});
|
|
197
|
-
} else qe.pageCode && (Te.value = true,
|
|
198
|
+
} else qe.pageCode && (Te.value = true, $(qe.pageCode).then((e3) => {
|
|
198
199
|
if (e3 && e3.designJson) {
|
|
199
200
|
const a2 = e3.designJson, t2 = JSON.parse(a2);
|
|
200
201
|
t2.contextParam = e3.contextParam, t2.branchFieldAuth = e3.branchFieldAuth, t2.systemParam = e3.systemParam, t2.isWorkflowEntity = e3.isWorkflowEntity, t2.dataTypeMaps = e3.dataTypeMaps, Ae.value = t2, Ca(t2).then(() => {
|
|
@@ -207,18 +208,18 @@ const De = e({ __name: "super-page", props: { pageCode: { type: String, required
|
|
|
207
208
|
Te.value = false, "form" === na.value.pageType && je.setPageToChatStore(Pa, na.value);
|
|
208
209
|
}));
|
|
209
210
|
}();
|
|
210
|
-
}),
|
|
211
|
-
|
|
211
|
+
}), o(() => {
|
|
212
|
+
u(() => {
|
|
212
213
|
na.value && Oe.value && q(na.value, "-1", Oe);
|
|
213
214
|
});
|
|
214
215
|
}), n(() => {
|
|
215
|
-
T(na.value), Ae.value && _(Ae.value), W.$off(
|
|
216
|
+
T(na.value), Ae.value && _(Ae.value), W.$off(Le.value + "export-form-report"), W.$off(Le.value + "export-pdf-report"), W.$off(Le.value + "import-file"), W.$off(Le.value + "assign-task"), W.$off(Le.value + "copy-task"), W.$off(Le.value + "add-signer"), W.$off(Le.value + "choose-return-node"), W.$off(Le.value + "remove-signer"), W.$off(Le.value + "prohibit-edit"), W.$off(Le.value + "open-dialog"), W.$off(Le.value + "save-chart-condition"), W.$off("pageLoaded"), na.value && O(null, na.value, na.value, "onUnmounted"), ma && clearTimeout(ma), ca && clearTimeout(ca);
|
|
216
217
|
});
|
|
217
|
-
const
|
|
218
|
-
function
|
|
218
|
+
const $a = a(null);
|
|
219
|
+
function Sa(e3) {
|
|
219
220
|
true === We.value && (We.value = false, G(Ee.value, e3)), true === Je.value && (Je.value = false, K(Ee.value, e3)), true === Ue.value && (Ue.value = false, X(Ee.value, e3)), true === Be.value && (Be.value = false, Y(Ee.value, e3));
|
|
220
221
|
}
|
|
221
|
-
function
|
|
222
|
+
function Da(e3) {
|
|
222
223
|
Qe.value = [], ze.value = false, Z(Ee.value, e3);
|
|
223
224
|
}
|
|
224
225
|
function wa(e3) {
|
|
@@ -231,30 +232,30 @@ const De = e({ __name: "super-page", props: { pageCode: { type: String, required
|
|
|
231
232
|
function Ta(e3) {
|
|
232
233
|
var _a2, _b;
|
|
233
234
|
const a2 = ta.value.closeEvent, t2 = ta.value.isRefreshWhenClosePopup;
|
|
234
|
-
let l2,
|
|
235
|
-
const
|
|
235
|
+
let l2, o2;
|
|
236
|
+
const u2 = la.value.tableName;
|
|
236
237
|
let n2;
|
|
237
|
-
const i2 =
|
|
238
|
+
const i2 = ua.value.columnProp ? ua.value.columnProp : null;
|
|
238
239
|
if (i2) {
|
|
239
|
-
const e4 = (_b = (_a2 =
|
|
240
|
+
const e4 = (_b = (_a2 = oa.value) == null ? void 0 : _a2.items) == null ? void 0 : _b.filter((e5) => {
|
|
240
241
|
var _a3, _b2, _c, _d;
|
|
241
242
|
return ((_b2 = (_a3 = e5.props) == null ? void 0 : _a3.base) == null ? void 0 : _b2.prop) && ((_d = (_c = e5.props) == null ? void 0 : _c.base) == null ? void 0 : _d.prop) === i2;
|
|
242
243
|
});
|
|
243
244
|
n2 = e4 && e4.length > 0 ? e4[0] : null;
|
|
244
|
-
} else n2 =
|
|
245
|
+
} else n2 = oa.value;
|
|
245
246
|
if (e3) {
|
|
246
247
|
const a3 = e3.isNeedValueMapping;
|
|
247
|
-
l2 = e3.dataModel,
|
|
248
|
+
l2 = e3.dataModel, o2 = e3.sourceTableName, a3 && te(la.value, n2, l2, o2, ta.value ? ta.value.valueMappings : null);
|
|
248
249
|
}
|
|
249
|
-
O(null, la.value, n2, "closePopup", { sourceModel: l2, sourceTableName:
|
|
250
|
+
O(null, la.value, n2, "closePopup", { sourceModel: l2, sourceTableName: o2, jumpPageSetting: ta.value, entity: la.value.entity.data, targetTableName: u2, pageContext: na.value, parentPageContext: la.value, parentConfigureObj: n2, columnProp: i2 }), function(e4, a3, t3) {
|
|
250
251
|
if (e4) {
|
|
251
252
|
const l3 = I(la.value, e4);
|
|
252
253
|
l3 && l3.apply(l3, [{ pageContext: na.value, parentPageContext: la.value, parentConfigureObj: t3, jumpPageSetting: ta.value, columnProp: a3 }]);
|
|
253
254
|
}
|
|
254
|
-
}(a2, i2, n2), le(la.value,
|
|
255
|
+
}(a2, i2, n2), le(la.value, oa.value, t2, void 0 !== t2 && false === t2 ? "noOperation" : null), la.value = null, oa.value = null, ua.value = null, W.$off(Le.value + "close-dialog"), aa.value = false;
|
|
255
256
|
}
|
|
256
257
|
function Ra(e3) {
|
|
257
|
-
|
|
258
|
+
oe(na.value, e3).then((e4) => {
|
|
258
259
|
ne({ showClose: true, type: "success", message: Ne("superPageRuntimeMessage.successfulSave") }), fa.value.refreshConditionList();
|
|
259
260
|
});
|
|
260
261
|
}
|
|
@@ -263,7 +264,7 @@ const De = e({ __name: "super-page", props: { pageCode: { type: String, required
|
|
|
263
264
|
let t2 = {};
|
|
264
265
|
a2 && (t2 = JSON.parse(a2)), t2 && t2.data && Object.assign(na.value.entity.data, t2.data), t2 && t2.page && Object.assign(na.value.entity.page, t2.page), ga.value = false;
|
|
265
266
|
}
|
|
266
|
-
return
|
|
267
|
+
return Se2({ pickFileDone: function(e3) {
|
|
267
268
|
let a2 = e3.componentId, t2 = e3.listCode;
|
|
268
269
|
(a2 || t2) && (t2 ? W.$emit(t2 + "-pickFileDone", e3) : W.$emit(a2 + "-pickFileDone", e3));
|
|
269
270
|
}, uploadFileDone: function(e3) {
|
|
@@ -276,16 +277,16 @@ const De = e({ __name: "super-page", props: { pageCode: { type: String, required
|
|
|
276
277
|
return je.getFormFormatDataUtil(na.value);
|
|
277
278
|
} }), (e3, a2) => {
|
|
278
279
|
const t2 = i("loading");
|
|
279
|
-
return s((v(), r("div", { class: p(["app-container runtime-page-container", [Re.value]]), "element-loading-text": "拼命加载中" }, [ea.value ? (v(), r("div", { ref_key: "thisRef", ref: Oe, key: va.value, class: p(["runtime-page-container-view", Ie.value]), style: c(Me.value) }, [(v(true), r(y, null, h(Fe.value, (e4, a3) => (v(), f(b, { key: e4.uuid, configure: e4, pageContext: C(na) }, null, 8, ["configure", "pageContext"]))), 128)), g(ke, { pageContext: C(na) }, null, 8, ["pageContext"]), Ve.value ? (v(), f(M, { key: 0, configure: ia.value, pageContext: sa.value, onClose: ka, onExport:
|
|
280
|
+
return s((v(), r("div", { class: p(["app-container runtime-page-container", [Re.value]]), "element-loading-text": "拼命加载中" }, [ea.value ? (v(), r("div", { ref_key: "thisRef", ref: Oe, key: va.value, class: p(["runtime-page-container-view", Ie.value]), style: c(Me.value) }, [(v(true), r(y, null, h(Fe.value, (e4, a3) => (v(), f(b, { key: e4.uuid, configure: e4, pageContext: C(na) }, null, 8, ["configure", "pageContext"]))), 128)), g(ke, { pageContext: C(na) }, null, 8, ["pageContext"]), Ve.value ? (v(), f(M, { key: 0, configure: ia.value, pageContext: sa.value, onClose: ka, onExport: xa }, null, 8, ["configure", "pageContext"])) : m("", true), d("input", { ref_key: "_selectFile_", ref: $a, type: "file", name: "_selectFile_", style: { display: "none" }, onChange: a2[0] || (a2[0] = (e4) => function() {
|
|
280
281
|
if (Ee.value) {
|
|
281
|
-
if (
|
|
282
|
-
if ("" ===
|
|
283
|
-
const e5 =
|
|
284
|
-
e5 ? (
|
|
282
|
+
if (!$a.value) return;
|
|
283
|
+
if ("" === $a.value.value || null === $a.value.value) return;
|
|
284
|
+
const e5 = $a.value.files[0];
|
|
285
|
+
e5 ? ($a.value.value = null, Q(Ee.value, e5)) : ne({ showClose: true, type: "warning", message: Ne("superPageRuntimeMessage.noFileSelected") });
|
|
285
286
|
}
|
|
286
|
-
}()) }, null, 544), We.value || Je.value || Ue.value || Be.value ? (v(), f(C(se), { key: 1, width: "60%", multiple:
|
|
287
|
+
}()) }, null, 544), We.value || Je.value || Ue.value || Be.value ? (v(), f(C(se), { key: 1, width: "60%", multiple: He.value, onClose: Sa }, null, 8, ["multiple"])) : m("", true), ze.value ? (v(), f(A, { key: 2, "task-informitions": Qe.value, onClose: a2[1] || (a2[1] = (e4) => ze.value = false), onResult: Da }, null, 8, ["task-informitions"])) : m("", true), Xe.value ? (v(), f(E, { key: 3, "task-id": Ze.value, "active-tasks": Ge.value, onClose: a2[2] || (a2[2] = (e4) => Xe.value = false), onResult: wa }, null, 8, ["task-id", "active-tasks"])) : m("", true), Ye.value ? (v(), f(V, { key: 4, "task-id": Ze.value, "transactor-info": Ke.value, onClose: a2[3] || (a2[3] = (e4) => Ye.value = false), onResult: Na }, null, 8, ["task-id", "transactor-info"])) : m("", true), aa.value ? (v(), f(ve, { key: 5, parentPageContext: la.value, parentPageEventParams: ua.value, jumpPageSetting: ta.value, onClose: a2[4] || (a2[4] = (e4) => Ta()) }, null, 8, ["parentPageContext", "parentPageEventParams", "jumpPageSetting"])) : m("", true), ga.value ? (v(), f(be, { key: 6, ref_key: "chartCondtionRef", ref: fa, pageContext: C(na), onClose: a2[5] || (a2[5] = (e4) => ga.value = false), onSave: Ra, onConfirm: _a }, null, 8, ["pageContext"])) : m("", true), g(xe, { ref_key: "eventCallComponentRef", ref: ya }, null, 512)], 6)) : m("", true)], 2)), [[t2, Te.value]]);
|
|
287
288
|
};
|
|
288
289
|
} });
|
|
289
290
|
export {
|
|
290
|
-
|
|
291
|
+
Se as default
|
|
291
292
|
};
|
package/dist/es/i18n/langs/cn.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = { superPageRuntimeMessage: { successfulSave: "保存成功", recordLine: "第 {row} 行记录", tableListSubTableDataVerificationFailed: "表单子表数据校验失败", formDataVerificationFailed: "表单数据校验失败", successfulOperation: "操作成功", selectTemplate: "选择模板", temlpate: "模板", operating: "操作", export: "导出", tips: "提示", sure: "确定", cancel: "取消", whetherToConfirmSubmit: "确定{name}吗?", whetherToConfirmAgree: "确定{name}吗?", whetherToConfirmDisagree: "确定{name}吗?", pleaseSelectRecord: "请选择记录", whetherToConfirmDeletion: "确定删除吗?", successfulDelete: "删除成功", noFileSelected: "请选择一个文件", asyncImport: "正在异步导入,请等待消息通知!", successfulImport: "导入成功", thePreconditionOfTheButtonTo: "该按钮前置条件为[{message}]", onlyOneRecordCanBeselected: "只能选择一条记录", selectAtLeastOneRecord: "请至少选择一条记录", requestPathEmpty: "后台请求路径为空", successfulSubmit: "提交成功", successfulCompleteTask: "任务办理成功", successfulAssign: "指派任务成功", successfulRetrieve: "取回任务成功", successfulDrawTask: "领取任务成功", successfulAbandonReceive: "放弃任务成功", successfulReturnToPreviousTask: "退回上一环节成功", successfulEndInstance: "强制结束流程成功", selectNode: "选择环节", nodeName: "环节名称", nodeId: "环节编码", pleaseSelectNode: "请选择环节", successfulReturnTaskTo: "退回成功", selectRemoveUsers: "选择减签任务", transactorName: "办理人姓名", transactor: "办理人登录名", trustorName: "委托人姓名", pleaseSelectRemoverUsers: "请选择减签用户", required: "{label}必填", formatMismatch: "{label}格式不匹配", overMaxLength: "{label}最多只能输入{value}字符", limitMinLength: "{label}至少输入{value}字符", flowNotStart: "流程未提交", pleaseInputOpinion: "请输入意见", opinion: "意见", pleaseInputRemark: "请输入备注", remark: "备注", pleaseSelectCondition: "请选择条件", pleaseInputConditionName: "请输入条件名称", conditionName: "名称", save: "保存", saveCondition: "保存条件", popMsg: "弹框参数缺少customSystem参数", noChartSetting: "未查询到图表定义", xxxNotEmpty: "{label}不能为空", successfulStart: "起草成功", successfulInitiateExtract: "发起成功", successfulCancelExtract: "取消成功", taskMeaage1: "当前任务为子流程,不能进行减少办理人操作", taskMeaage2: "当前流程已结束或已取消或当前任务为并发环节,不能进行减少办理人操作", taskMeaage3: "当前任务只有一个办理人,不能再减少", taskMeaage4: "流程已结束或有并发环节,无法跳转环节", taskMeaage5: "以下任务请使用修改办理人", delTransactor: "减少办理人", handledBy: "办理人为", pleaseSelectRemoverTransactors: "请选择要减少的办理人", copySuccess: "复制成功", transactorNames: "办理人姓名",
|
|
1
|
+
const e = { superPageRuntimeMessage: { successfulSave: "保存成功", recordLine: "第 {row} 行记录", tableListSubTableDataVerificationFailed: "表单子表数据校验失败", formDataVerificationFailed: "表单数据校验失败", successfulOperation: "操作成功", selectTemplate: "选择模板", temlpate: "模板", operating: "操作", export: "导出", tips: "提示", sure: "确定", cancel: "取消", whetherToConfirmSubmit: "确定{name}吗?", whetherToConfirmAgree: "确定{name}吗?", whetherToConfirmDisagree: "确定{name}吗?", pleaseSelectRecord: "请选择记录", whetherToConfirmDeletion: "确定删除吗?", successfulDelete: "删除成功", noFileSelected: "请选择一个文件", asyncImport: "正在异步导入,请等待消息通知!", successfulImport: "导入成功", thePreconditionOfTheButtonTo: "该按钮前置条件为[{message}]", onlyOneRecordCanBeselected: "只能选择一条记录", selectAtLeastOneRecord: "请至少选择一条记录", requestPathEmpty: "后台请求路径为空", successfulSubmit: "提交成功", successfulCompleteTask: "任务办理成功", successfulAssign: "指派任务成功", successfulRetrieve: "取回任务成功", successfulDrawTask: "领取任务成功", successfulAbandonReceive: "放弃任务成功", successfulReturnToPreviousTask: "退回上一环节成功", successfulEndInstance: "强制结束流程成功", selectNode: "选择环节", nodeName: "环节名称", nodeId: "环节编码", pleaseSelectNode: "请选择环节", successfulReturnTaskTo: "退回成功", selectRemoveUsers: "选择减签任务", transactorName: "办理人姓名", transactor: "办理人登录名", trustorName: "委托人姓名", pleaseSelectRemoverUsers: "请选择减签用户", required: "{label}必填", formatMismatch: "{label}格式不匹配", overMaxLength: "{label}最多只能输入{value}字符", limitMinLength: "{label}至少输入{value}字符", flowNotStart: "流程未提交", pleaseInputOpinion: "请输入意见", opinion: "意见", pleaseInputRemark: "请输入备注", remark: "备注", pleaseSelectCondition: "请选择条件", pleaseInputConditionName: "请输入条件名称", conditionName: "名称", save: "保存", saveCondition: "保存条件", popMsg: "弹框参数缺少customSystem参数", noChartSetting: "未查询到图表定义", xxxNotEmpty: "{label}不能为空", successfulStart: "起草成功", successfulInitiateExtract: "发起成功", successfulCancelExtract: "取消成功", taskMeaage1: "当前任务为子流程,不能进行减少办理人操作", taskMeaage2: "当前流程已结束或已取消或当前任务为并发环节,不能进行减少办理人操作", taskMeaage3: "当前任务只有一个办理人,不能再减少", taskMeaage4: "流程已结束或有并发环节,无法跳转环节", taskMeaage5: "以下任务请使用修改办理人", delTransactor: "减少办理人", handledBy: "办理人为", pleaseSelectRemoverTransactors: "请选择要减少的办理人", copySuccess: "复制成功", transactorNames: "办理人姓名", logTip: "日志提示", hasReadTip: "已读", success: "成功", fail: "失败", partSucess: "部分成功", doing: "进行中", asyncExportType: "异步导出", asyncImportType: "异步导入", startExecute: "开始执行", endExecute: "执行结束" }, chartMessage: { saveAsImage: "保存为图片", restore: "还原", dataView: "数据视图", zoomIn: "放大", zoomOut: "缩小", magicType: "动态类型切换", brush: "刷选", close: "关闭", refresh: "刷新" } };
|
|
2
2
|
export {
|
|
3
3
|
e as default
|
|
4
4
|
};
|
package/dist/es/i18n/langs/en.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = { superPageRuntimeMessage: { successfulSave: "Save succeeded", recordLine: "Record line {row}", tableListSubTableDataVerificationFailed: "Table List Sub Table Data Verification Failed", formDataVerificationFailed: "Form Data Verification Failed", successfulOperation: "Operation successful", selectTemplate: "Select Template", temlpate: "Template", operating: "Operate", export: "Export", tips: "Tip", sure: "Sure", cancel: "Cancel", whetherToConfirmSubmit: "Are you sure to {name}?", whetherToConfirmAgree: "Are you sure to {name}?", whetherToConfirmDisagree: "Are you sure to {name}?", pleaseSelectRecord: "Please select the record", whetherToConfirmDeletion: "Are you sure to delete?", successfulDelete: "Delete succeeded", noFileSelected: "Please select a file", asyncImport: "Asynchronous import, please wait for message notification!", successfulImport: "Import succeeded", thePreconditionOfTheButtonTo: "The Precondition Of The Button To [{message}]", onlyOneRecordCanBeselected: "Only One Record Can Be Selected", selectAtLeastOneRecord: "Please Select At Least One Record", requestPathEmpty: "Backend request path is empty", successfulSubmit: "Submit succeeded", successfulCompleteTask: "Task handled successfully", successfulAssign: "Task assigned successfully", successfulRetrieve: "Retrieve task succeeded", successfulDrawTask: "Task received successfully", successfulAbandonReceive: "The task was abandoned successfully", successfulReturnToPreviousTask: "Successfully returned to the previous phase", successfulEndInstance: "Forced to end the process successfully", selectNode: "Select Node", nodeName: "Node Name", nodeId: "Node Code", pleaseSelectNode: "Please Select Node", successfulReturnTaskTo: "Returned successfully", selectRemoveUsers: "Select Remove Task", transactorName: "Transactor Name", transactor: "Transactor Loginname", trustorName: "Trustor Name", pleaseSelectRemoverUsers: "Please select remove task", required: "{label} is required", formatMismatch: "{label} Format mismatch", overMaxLength: "{label} can only input a maximum of {value} characters", limitMinLength: "Enter at least {value} characters for {label}", flowNotStart: "Workflow Not Started", pleaseInputOpinion: "Please input opinion", opinion: "Opinion", pleaseInputRemark: "Please input remark", remark: "Remark", pleaseSelectCondition: "Please select condition", pleaseInputConditionName: "Please input condition name", conditionName: "Name", save: "Save", saveCondition: "Save Condition", popMsg: "Pop dialog lost the parameter of customSystem", noChartSetting: "No chart setting found", xxxNotEmpty: "{label}Not Empty", successfulStart: "Start succeeded", successfulInitiateExtract: "Initiate succeeded", successfulCancelExtract: "Cancel succeeded", taskMeaage1: "The Current Task Is A Subprocess And Cannot Reduce The Handler", taskMeaage2: "The Current Process Has Been Completed Or Cancelled, Or The Current Task Is A Concurrent Phase, So It Is Not Allowed To Reduce The Handler", taskMeaage3: "The Current Task Has Only One Handler And Cannot Be Reduced Any More", taskMeaage4: "The Process Has Been Completed Or There Are Concurrent Phases, Unable To Jump", taskMeaage5: "Please Modify The Handler For The Following Tasks", delTransactor: "Remove Transactor", handledBy: "Handled By", pleaseSelectRemoverTransactors: "Please select the remove transactor", copySuccess: "Copy successful", transactorNames: "Transactor Name",
|
|
1
|
+
const e = { superPageRuntimeMessage: { successfulSave: "Save succeeded", recordLine: "Record line {row}", tableListSubTableDataVerificationFailed: "Table List Sub Table Data Verification Failed", formDataVerificationFailed: "Form Data Verification Failed", successfulOperation: "Operation successful", selectTemplate: "Select Template", temlpate: "Template", operating: "Operate", export: "Export", tips: "Tip", sure: "Sure", cancel: "Cancel", whetherToConfirmSubmit: "Are you sure to {name}?", whetherToConfirmAgree: "Are you sure to {name}?", whetherToConfirmDisagree: "Are you sure to {name}?", pleaseSelectRecord: "Please select the record", whetherToConfirmDeletion: "Are you sure to delete?", successfulDelete: "Delete succeeded", noFileSelected: "Please select a file", asyncImport: "Asynchronous import, please wait for message notification!", successfulImport: "Import succeeded", thePreconditionOfTheButtonTo: "The Precondition Of The Button To [{message}]", onlyOneRecordCanBeselected: "Only One Record Can Be Selected", selectAtLeastOneRecord: "Please Select At Least One Record", requestPathEmpty: "Backend request path is empty", successfulSubmit: "Submit succeeded", successfulCompleteTask: "Task handled successfully", successfulAssign: "Task assigned successfully", successfulRetrieve: "Retrieve task succeeded", successfulDrawTask: "Task received successfully", successfulAbandonReceive: "The task was abandoned successfully", successfulReturnToPreviousTask: "Successfully returned to the previous phase", successfulEndInstance: "Forced to end the process successfully", selectNode: "Select Node", nodeName: "Node Name", nodeId: "Node Code", pleaseSelectNode: "Please Select Node", successfulReturnTaskTo: "Returned successfully", selectRemoveUsers: "Select Remove Task", transactorName: "Transactor Name", transactor: "Transactor Loginname", trustorName: "Trustor Name", pleaseSelectRemoverUsers: "Please select remove task", required: "{label} is required", formatMismatch: "{label} Format mismatch", overMaxLength: "{label} can only input a maximum of {value} characters", limitMinLength: "Enter at least {value} characters for {label}", flowNotStart: "Workflow Not Started", pleaseInputOpinion: "Please input opinion", opinion: "Opinion", pleaseInputRemark: "Please input remark", remark: "Remark", pleaseSelectCondition: "Please select condition", pleaseInputConditionName: "Please input condition name", conditionName: "Name", save: "Save", saveCondition: "Save Condition", popMsg: "Pop dialog lost the parameter of customSystem", noChartSetting: "No chart setting found", xxxNotEmpty: "{label}Not Empty", successfulStart: "Start succeeded", successfulInitiateExtract: "Initiate succeeded", successfulCancelExtract: "Cancel succeeded", taskMeaage1: "The Current Task Is A Subprocess And Cannot Reduce The Handler", taskMeaage2: "The Current Process Has Been Completed Or Cancelled, Or The Current Task Is A Concurrent Phase, So It Is Not Allowed To Reduce The Handler", taskMeaage3: "The Current Task Has Only One Handler And Cannot Be Reduced Any More", taskMeaage4: "The Process Has Been Completed Or There Are Concurrent Phases, Unable To Jump", taskMeaage5: "Please Modify The Handler For The Following Tasks", delTransactor: "Remove Transactor", handledBy: "Handled By", pleaseSelectRemoverTransactors: "Please select the remove transactor", copySuccess: "Copy successful", transactorNames: "Transactor Name", logTip: "Log Tip", hasReadTip: "Readed", success: "Success", fail: "Fail", partSucess: "Part Success", doing: "Running", asyncExportType: "Async Export", asyncImportType: "Async Import", startExecute: "Start Excute", endExecute: "End Excute" }, chartMessage: { saveAsImage: "Save as Image", restore: "Restore", dataView: "Data View", zoomIn: "Zoom In", zoomOut: "Zoom Out", magicType: "Magic Type", brush: "Brush" } };
|
|
2
2
|
export {
|
|
3
3
|
e as default
|
|
4
4
|
};
|