super-page-runtime 2.3.33 → 2.3.34-cdnTmp1
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/_virtual/_plugin-vue_export-helper.mjs +8 -0
- package/dist/es/components/runtime/utils/ai-chat-util.mjs +16 -0
- package/dist/es/components/runtime/utils/anchor-util.mjs +92 -0
- package/dist/es/components/runtime/utils/api/page-expose-util.mjs +184 -0
- package/dist/es/components/runtime/utils/assemblys-config.mjs +19 -0
- package/dist/es/components/runtime/utils/barcode-util.mjs +12 -0
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.mjs +167 -0
- package/dist/es/components/runtime/utils/charts/chart-gauge-util.mjs +38 -0
- package/dist/es/components/runtime/utils/charts/chart-pie-util.mjs +83 -0
- package/dist/es/components/runtime/utils/charts/chart-radar-util.mjs +56 -0
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.mjs +47 -0
- package/dist/es/components/runtime/utils/charts/chart-util.mjs +285 -0
- package/dist/es/components/runtime/utils/common-util.mjs +116 -0
- package/dist/es/components/runtime/utils/eventBus.mjs +5 -0
- package/dist/es/components/runtime/utils/events/data-backfill-util.mjs +38 -0
- package/dist/es/components/runtime/utils/events/event-util.mjs +399 -0
- package/dist/es/components/runtime/utils/events/print-label.mjs +100 -0
- package/dist/es/components/runtime/utils/events/standard-event.mjs +1133 -0
- package/dist/es/components/runtime/utils/events/validator-util.mjs +308 -0
- package/dist/es/components/runtime/utils/form/date-shortcuts.mjs +36 -0
- package/dist/es/components/runtime/utils/form/scan-util.mjs +88 -0
- package/dist/es/components/runtime/utils/global-refs.mjs +56 -0
- package/dist/es/components/runtime/utils/i18n-util.mjs +14 -0
- package/dist/es/components/runtime/utils/interfaces/page-design-types.mjs +4 -0
- package/dist/es/components/runtime/utils/page-helper-util.mjs +377 -0
- package/dist/es/components/runtime/utils/page-init-util.mjs +260 -0
- package/dist/es/components/runtime/utils/{page-permission-util.js → page-permission-util.mjs} +20 -21
- package/dist/es/components/runtime/utils/page-store.mjs +53 -0
- package/dist/es/components/runtime/utils/store-util.mjs +13 -0
- package/dist/es/components/runtime/utils/table-utils.mjs +84 -0
- package/dist/es/components/runtime/utils/tree-utils.mjs +58 -0
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.mjs +29 -0
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.mjs +21 -0
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.mjs +41 -0
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.mjs +6 -0
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.mjs +20 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.mjs +53 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.mjs +14 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.mjs +13 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.mjs +59 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.mjs +52 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.mjs +46 -0
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.mjs +408 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.mjs +6 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.mjs +10 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.mjs +33 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.mjs +15 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.mjs +252 -0
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.mjs +20 -0
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.mjs +33 -0
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +18 -0
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.mjs +18 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.mjs +22 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.mjs +19 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.mjs +19 -0
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.mjs +29 -0
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.mjs +20 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.mjs +17 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.mjs +29 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.mjs +81 -0
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.mjs +25 -0
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.mjs +20 -0
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.mjs +43 -0
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.mjs +96 -0
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.mjs +46 -0
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.mjs +69 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.mjs +361 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.mjs +320 -0
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.mjs +83 -0
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.mjs +132 -0
- package/dist/es/components/runtime/views/assemblys/error-render.vue.mjs +5 -0
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.mjs +63 -0
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.mjs +36 -0
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.mjs +69 -0
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.mjs +102 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.mjs +55 -0
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.mjs +24 -0
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.mjs +76 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.mjs +28 -0
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.mjs +80 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.mjs +37 -0
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.mjs +32 -0
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.mjs +16 -0
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.mjs +82 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +8 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.mjs +195 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.mjs +150 -0
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.mjs +16 -0
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.mjs +36 -0
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.mjs +43 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.mjs +28 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.mjs +72 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue.mjs +141 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +6 -0
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.mjs +26 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.mjs +28 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.mjs +45 -0
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.mjs +20 -0
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.mjs +23 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.mjs +23 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.mjs +27 -0
- package/dist/es/components/runtime/views/home-chart.vue.mjs +46 -0
- package/dist/es/components/runtime/views/home-chart.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +26 -0
- package/dist/es/components/runtime/views/super-page-dialog.vue3.mjs +5 -0
- package/dist/es/components/runtime/views/super-page.vue.mjs +7 -0
- package/dist/es/components/runtime/views/super-page.vue2.mjs +289 -0
- package/dist/es/index.mjs +30 -0
- package/dist/es/style.css +1 -1019
- package/dist/lib/_virtual/_plugin-vue_export-helper.cjs +1 -0
- package/dist/lib/assets/chart-themes/bar-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/bar-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/gauge-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/gauge-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/pie-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/pie-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/radar-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/radar-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/scatter-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/scatter-theme.d.ts +6 -0
- package/dist/lib/assets/file.png.cjs +1 -0
- package/dist/lib/assets/folder.png.cjs +1 -0
- package/dist/lib/components/runtime/index.d.ts +5 -0
- package/dist/lib/components/runtime/utils/ai-chat-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/anchor-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/anchor-util.d.ts +13 -0
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/api/page-expose-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/api/page-expose-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/assemblys-config.cjs +1 -0
- package/dist/lib/components/runtime/utils/barcode-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/barcode-util.d.ts +8 -0
- package/dist/lib/components/runtime/utils/charts/chart-columnline-util.cjs +2 -0
- package/dist/lib/components/runtime/utils/charts/chart-gauge-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-pie-util.cjs +2 -0
- package/dist/lib/components/runtime/utils/charts/chart-radar-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-scatter-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +115 -0
- package/dist/lib/components/runtime/utils/common-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/common-util.d.ts +33 -0
- package/dist/lib/components/runtime/utils/eventBus.cjs +1 -0
- package/dist/lib/components/runtime/utils/eventBus.d.ts +7 -0
- package/dist/lib/components/runtime/utils/events/data-backfill-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/data-backfill-util.d.ts +27 -0
- package/dist/lib/components/runtime/utils/events/event-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +93 -0
- package/dist/lib/components/runtime/utils/events/print-label.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/print-label.d.ts +5 -0
- package/dist/lib/components/runtime/utils/events/standard-event.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +99 -0
- package/dist/lib/components/runtime/utils/events/validator-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +24 -0
- package/dist/lib/components/runtime/utils/form/date-shortcuts.cjs +1 -0
- package/dist/lib/components/runtime/utils/form/date-shortcuts.d.ts +7 -0
- package/dist/lib/components/runtime/utils/form/scan-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/global-refs.cjs +1 -0
- package/dist/lib/components/runtime/utils/global-refs.d.ts +65 -0
- package/dist/lib/components/runtime/utils/i18n-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/i18n-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.cjs +1 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +259 -0
- package/dist/lib/components/runtime/utils/page-helper-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +174 -0
- package/dist/lib/components/runtime/utils/page-init-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +49 -0
- package/dist/lib/components/runtime/utils/page-permission-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-permission-util.d.ts +26 -0
- package/dist/lib/components/runtime/utils/page-store.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-store.d.ts +58 -0
- package/dist/lib/components/runtime/utils/store-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/store-util.d.ts +15 -0
- package/dist/lib/components/runtime/utils/store.cjs +1 -0
- package/dist/lib/components/runtime/utils/store.d.ts +2 -0
- package/dist/lib/components/runtime/utils/table-utils.cjs +1 -0
- package/dist/lib/components/runtime/utils/table-utils.d.ts +36 -0
- package/dist/lib/components/runtime/utils/tree-utils.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +121 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.d.ts +5 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +28 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.d.ts +27 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.d.ts +59 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.d.ts +26 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.d.ts +35 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.d.ts +31 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +94 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.d.ts +14 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.d.ts +14 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/home-chart.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/home-chart.vue.d.ts +23 -0
- package/dist/lib/components/runtime/views/home-chart.vue2.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +40 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue3.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +135 -0
- package/dist/lib/components/runtime/views/super-page.vue2.cjs +1 -0
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/i18n/langs/cn.cjs +1 -0
- package/dist/lib/i18n/langs/en.cjs +1 -0
- package/dist/lib/index.cjs +1 -0
- package/dist/lib/index.d.ts +16 -0
- package/dist/lib/style.css +1 -0
- package/package.json +77 -75
- package/dist/es/_virtual/_plugin-vue_export-helper.js +0 -8
- package/dist/es/components/runtime/utils/ai-chat-util.js +0 -16
- package/dist/es/components/runtime/utils/anchor-util.js +0 -92
- package/dist/es/components/runtime/utils/api/api-util.js +0 -4
- package/dist/es/components/runtime/utils/api/page-expose-util.js +0 -190
- package/dist/es/components/runtime/utils/assemblys-config.js +0 -20
- package/dist/es/components/runtime/utils/barcode-util.js +0 -12
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +0 -166
- package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +0 -38
- package/dist/es/components/runtime/utils/charts/chart-pie-util.js +0 -83
- package/dist/es/components/runtime/utils/charts/chart-radar-util.js +0 -56
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +0 -49
- package/dist/es/components/runtime/utils/charts/chart-util.js +0 -290
- package/dist/es/components/runtime/utils/common-util.js +0 -120
- package/dist/es/components/runtime/utils/eventBus.js +0 -5
- package/dist/es/components/runtime/utils/events/data-backfill-util.js +0 -39
- package/dist/es/components/runtime/utils/events/event-util.js +0 -415
- package/dist/es/components/runtime/utils/events/print-label.js +0 -101
- package/dist/es/components/runtime/utils/events/standard-event.js +0 -1202
- package/dist/es/components/runtime/utils/events/validator-util.js +0 -326
- package/dist/es/components/runtime/utils/form/date-shortcuts.js +0 -36
- package/dist/es/components/runtime/utils/form/scan-util.js +0 -94
- package/dist/es/components/runtime/utils/global-refs.js +0 -57
- package/dist/es/components/runtime/utils/i18n-util.js +0 -14
- package/dist/es/components/runtime/utils/interfaces/page-design-types.js +0 -4
- package/dist/es/components/runtime/utils/page-helper-util.js +0 -387
- package/dist/es/components/runtime/utils/page-init-util.js +0 -283
- package/dist/es/components/runtime/utils/page-store.js +0 -53
- package/dist/es/components/runtime/utils/store-util.js +0 -13
- package/dist/es/components/runtime/utils/table-utils.js +0 -89
- package/dist/es/components/runtime/utils/tree-utils.js +0 -73
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -29
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -21
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -41
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +0 -6
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +0 -21
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -57
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +0 -14
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +0 -13
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +0 -60
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -36
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -47
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -36
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -36
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +0 -419
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +0 -6
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +0 -10
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +0 -46
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +0 -15
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +0 -259
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +0 -20
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -38
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.js +0 -35
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +0 -32
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -17
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +0 -23
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +0 -18
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +0 -35
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -19
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -29
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -21
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -18
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.js +0 -29
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +0 -81
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -25
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -20
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -46
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -96
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -47
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +0 -69
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -384
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -330
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -85
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +0 -135
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +0 -5
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -65
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +0 -38
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +0 -69
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -102
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -55
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -24
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -78
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -28
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -82
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -38
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -32
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -16
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -83
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -8
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -199
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -156
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +0 -16
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -36
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -44
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -28
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +0 -83
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +0 -153
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +0 -6
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +0 -26
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +0 -28
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +0 -45
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +0 -20
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +0 -23
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -24
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +0 -27
- package/dist/es/components/runtime/views/home-chart.vue.js +0 -47
- package/dist/es/components/runtime/views/home-chart.vue2.js +0 -4
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +0 -26
- package/dist/es/components/runtime/views/super-page-dialog.vue3.js +0 -5
- package/dist/es/components/runtime/views/super-page.vue.js +0 -7
- package/dist/es/components/runtime/views/super-page.vue2.js +0 -296
- package/dist/es/index.js +0 -30
- /package/dist/es/assets/chart-themes/{bar-theme.js → bar-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{gauge-theme.js → gauge-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{pie-theme.js → pie-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{radar-theme.js → radar-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{scatter-theme.js → scatter-theme.mjs} +0 -0
- /package/dist/es/assets/{file.png.js → file.png.mjs} +0 -0
- /package/dist/es/assets/{folder.png.js → folder.png.mjs} +0 -0
- /package/dist/es/components/runtime/utils/{store.js → store.mjs} +0 -0
- /package/dist/es/i18n/langs/{cn.js → cn.mjs} +0 -0
- /package/dist/es/i18n/langs/{en.js → en.mjs} +0 -0
|
@@ -0,0 +1,1133 @@
|
|
|
1
|
+
import { getBaseUrl as P, getRealRestApiPath as j, deepCopy as le, isArrayFn as ne, isWorkflowPage as re, packageTemplateFiles as $e, upperFirstCase as qe, getListCode as ve } from "../common-util.mjs";
|
|
2
|
+
import { http as O, getI18n as T, isMobileBrowser as J, getSessionCache as se, getToken as Te, getRunCurrentRole as He, getCurrentUser as Re, setSessionCache as Ge } from "agilebuilder-ui";
|
|
3
|
+
import { ElMessage as v, ElMessageBox as ue, ElNotification as Je } from "element-plus";
|
|
4
|
+
import { getComponentRef as z } from "../global-refs.mjs";
|
|
5
|
+
import _ from "../eventBus.mjs";
|
|
6
|
+
import ae from "axios";
|
|
7
|
+
import { doAfterClickEvent as V, handleEvent as oe, getTableUuid as Ee } from "./event-util.mjs";
|
|
8
|
+
import { setStoreInfo as Se } from "../store-util.mjs";
|
|
9
|
+
import { getPermissionCodes as K, getModelFields as Ye, getDefaultValue as ze } from "../page-init-util.mjs";
|
|
10
|
+
import { caculateShowCondition as ie, setVariableValue as Ke, getVariableValue as Xe, updateChartDatasources as Qe } from "../page-helper-util.mjs";
|
|
11
|
+
import Ze from "./print-label.mjs";
|
|
12
|
+
import { getTableNameByTableUuid as ke, getCurrentUserFileTasks as et, setFileTaskRead as tt } from "../table-utils.mjs";
|
|
13
|
+
import { getWorkflowRules as st, packageCustomRules as ot } from "./validator-util.mjs";
|
|
14
|
+
import { functions as nt } from "../api/page-expose-util.mjs";
|
|
15
|
+
import { usePageContextStore as Ie } from "../page-store.mjs";
|
|
16
|
+
import { h as at } from "vue";
|
|
17
|
+
import it from "../../views/assemblys/common/file-task-notice.vue.mjs";
|
|
18
|
+
import { hasBackfillData as Me, getRealFillData as rt, removeCacheFillDataById as ct, cacheBackfillData as Z, removeCacheFillData as H } from "./data-backfill-util.mjs";
|
|
19
|
+
const Et = { save: function(e) {
|
|
20
|
+
return xe(e, !1);
|
|
21
|
+
}, saveList: function(e) {
|
|
22
|
+
return xe(e, !0);
|
|
23
|
+
}, exportForm: function(e) {
|
|
24
|
+
const t = e.pageContext.code + "_";
|
|
25
|
+
_.$emit(t + "export-form-report", e);
|
|
26
|
+
}, exportPDF: function(e) {
|
|
27
|
+
const t = e.pageContext.code + "_";
|
|
28
|
+
_.$emit(t + "export-pdf-report", e);
|
|
29
|
+
}, submit: function(e) {
|
|
30
|
+
return Q(e, !1, "submit", "/dsc/commons/submits");
|
|
31
|
+
}, submitList: function(e) {
|
|
32
|
+
return Q(e, !0, "submit", "/dsc/commons/batch-submits");
|
|
33
|
+
}, agree: function(e) {
|
|
34
|
+
return Q(e, !1, "agree", "/dsc/commons/approves");
|
|
35
|
+
}, agreeList: function(e) {
|
|
36
|
+
return Q(e, !0, "agree", "/dsc/commons/batch-approves");
|
|
37
|
+
}, disagree: function(e) {
|
|
38
|
+
return Q(e, !1, "disagree", "/dsc/commons/refuses");
|
|
39
|
+
}, disagreeList: function(e) {
|
|
40
|
+
return Q(e, !0, "disagree", "/dsc/commons/batch-refuses");
|
|
41
|
+
}, back: function(e) {
|
|
42
|
+
const t = e.pageContext, s = t.entity ? t.entity.data : {}, n = !(!e.configureObj.props || !e.configureObj.props.base) && e.configureObj.props.base.isNeedValueMapping;
|
|
43
|
+
he(t, e.configureObj, s, n);
|
|
44
|
+
}, delete: function(e) {
|
|
45
|
+
return function(t) {
|
|
46
|
+
return new Promise((s, n) => {
|
|
47
|
+
const o = t.ids;
|
|
48
|
+
if (!o || o.length === 0) return v({ showClose: !0, type: "warning", message: T().t("superPageRuntimeMessage.pleaseSelectRecord") }), void s(!0);
|
|
49
|
+
ue.confirm(T().t("superPageRuntimeMessage.whetherToConfirmDeletion"), T().t("superPageRuntimeMessage.tips"), { confirmButtonText: T().t("superPageRuntimeMessage.sure"), cancelButtonText: T().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
|
|
50
|
+
var h, y, x;
|
|
51
|
+
const i = t.pageContext, r = t.configureObj, c = r.props.base, l = i.systemCode, m = i.backendUrl, u = r.props.base.tableUuid ? r.props.base.tableUuid : t.tableUuid, p = ke(i, u);
|
|
52
|
+
let d = P(m, i.isTest) + "/dsc/commons/" + p;
|
|
53
|
+
d = j(d, l, m, i.isTest);
|
|
54
|
+
const g = c.isPermission === void 0 || c.isPermission === "true" || c.isPermission, b = re(i), a = K(r, i), f = { ids: o, functionCode: a, isPermission: g + "", systemCode: l, isWorkflowEntity: b, listCodesMap: i.listCodesMap, pageCode: i.code, pageVersion: i.version };
|
|
55
|
+
i.beanName && (f.beanName = i.beanName);
|
|
56
|
+
const C = r.props.deleteLogicSetting;
|
|
57
|
+
C && (typeof C == "object" ? f.deleteLogicSetting = JSON.stringify(C) : typeof C == "string" && (f.deleteLogicSetting = C));
|
|
58
|
+
const w = (h = r.props.base) == null ? void 0 : h.logSetting;
|
|
59
|
+
w && (f.logSettingText = w.join(""));
|
|
60
|
+
const k = r.props.base.isSafeDelete;
|
|
61
|
+
k && (f.isSafeDelete = k);
|
|
62
|
+
const S = (x = (y = r.runtime) == null ? void 0 : y.props) == null ? void 0 : x.title;
|
|
63
|
+
S && (f.currentOperation = S), f.isMobile = J(), O.delete(d, { data: f }).then((M) => {
|
|
64
|
+
const R = z(i, u);
|
|
65
|
+
R && (R.isDeleteChange(!0), R.clearSelections()), q(i, r, M, "superPageRuntimeMessage.successfulDelete", !0), s(!0);
|
|
66
|
+
}).catch((M) => {
|
|
67
|
+
n(M);
|
|
68
|
+
});
|
|
69
|
+
}).catch(() => {
|
|
70
|
+
n();
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
}(e);
|
|
74
|
+
}, downloadTemplate: function(e) {
|
|
75
|
+
(function(t) {
|
|
76
|
+
var S, h, y;
|
|
77
|
+
const s = t.pageContext, n = t.configureObj, o = n.props.base, i = $e(o.templateFiles, s, n);
|
|
78
|
+
let r, c;
|
|
79
|
+
i && i.length > 0 && (r = i[0].templateUuid, c = i[0].templateName);
|
|
80
|
+
const l = s.systemCode, m = s.backendUrl, u = c;
|
|
81
|
+
let p = "?1=1";
|
|
82
|
+
r && u && r !== "undefined" && u !== "undefined" && r !== "null" && u !== "null" ? p += "&fileName=" + encodeURI(r) + "&showName=" + encodeURI(u) : u ? p += "&showName=" + encodeURI(u) : s.label && (p += "&showName=" + encodeURI(s.label) + ".xlsx");
|
|
83
|
+
const d = (S = n.props.base) == null ? void 0 : S.logSetting;
|
|
84
|
+
d && (p += "&logSettingText=" + d.join("")), l && (p += "&systemCode=" + l);
|
|
85
|
+
const g = t.listCode;
|
|
86
|
+
g && (p += "&listCode=" + g), s.beanName && (p += "&beanName=" + s.beanName);
|
|
87
|
+
const b = K(n, s);
|
|
88
|
+
b && (p += "&functionCode=" + b), s.tableName && (p += "&tableName=" + s.tableName), s.code && (p += "&pageCode=" + s.code), s.version && (p += "&pageVersion=" + s.version);
|
|
89
|
+
const a = Te();
|
|
90
|
+
a && (p += "&JWT=" + a);
|
|
91
|
+
const f = (y = (h = n.runtime) == null ? void 0 : h.props) == null ? void 0 : y.title;
|
|
92
|
+
f && (p += "¤tOperation=" + encodeURI(f)), p += "&isMobile=" + J();
|
|
93
|
+
const C = "_RUN_CURRENT_ROLE", w = se(C);
|
|
94
|
+
w && (p += "&" + C + "=" + w), o && (p += "&isPermission=" + (o.isPermission === void 0 || o.isPermission === "true" || o.isPermission));
|
|
95
|
+
const k = P(m, s.isTest);
|
|
96
|
+
window.open(k + "/dsc/commons/download-files" + p);
|
|
97
|
+
})(e);
|
|
98
|
+
}, import: function(e) {
|
|
99
|
+
const t = e.pageContext.code + "_";
|
|
100
|
+
_.$emit(t + "import-file", e);
|
|
101
|
+
}, export: function(e) {
|
|
102
|
+
return function(t) {
|
|
103
|
+
return new Promise((s, n) => {
|
|
104
|
+
var C, w, k, S, h, y, x, M, R, A, N, I;
|
|
105
|
+
const o = t.pageContext, i = t.configureObj, r = i.props.base, c = t.listCode, l = t.selections, m = {};
|
|
106
|
+
l && l.length > 0 && (m.data = l);
|
|
107
|
+
let u = o.label;
|
|
108
|
+
u || (u = o.code);
|
|
109
|
+
let p = !1;
|
|
110
|
+
p = r.isAsync !== void 0 && r.isAsync !== null && r.isAsync;
|
|
111
|
+
const d = r.isPermission === void 0 || r.isPermission === "true" || r.isPermission, g = K(i, o), b = u, a = { backendUrl: o.backendUrl, pageContext: o }, f = (w = (C = i.runtime) == null ? void 0 : C.props) == null ? void 0 : w.title;
|
|
112
|
+
f && (a.currentOperation = f), a.isShowWatermark = ((S = (k = i.props) == null ? void 0 : k.watermark) == null ? void 0 : S.isShowWatermark) === void 0 ? "true" : ((y = (h = i.props) == null ? void 0 : h.watermark) == null ? void 0 : y.isShowWatermark) + "", a.watermarkContent = (M = (x = i.props) == null ? void 0 : x.watermark) != null && M.content && ((A = (R = i.props) == null ? void 0 : R.watermark) == null ? void 0 : A.content.length) > 0 ? (I = (N = i.props) == null ? void 0 : N.watermark) == null ? void 0 : I.content.join("-~") : "", window.$vueApp.config.globalProperties.$exportDataNew(m, b, c, g, null, a, p, o.code, d), p && setTimeout(() => {
|
|
113
|
+
Fe(o);
|
|
114
|
+
}, 100);
|
|
115
|
+
});
|
|
116
|
+
}(e);
|
|
117
|
+
}, search: function(e) {
|
|
118
|
+
const t = e.pageContext, s = e.tableUuid;
|
|
119
|
+
z(t, s).refresh();
|
|
120
|
+
}, showSearch: function(e) {
|
|
121
|
+
const t = e.pageContext, s = e.tableUuid;
|
|
122
|
+
z(t, s).showMobileSearch();
|
|
123
|
+
}, workflowSave: function(e) {
|
|
124
|
+
return _.$emit("clearTableAllStartEditing"), async function(t) {
|
|
125
|
+
return new Promise((s, n) => {
|
|
126
|
+
const o = t.pageContext, i = o.entity.data, r = o.systemCode, c = o.backendUrl;
|
|
127
|
+
let l = P(c, o.isTest) + "/dsc/workflow-commons";
|
|
128
|
+
if (l = j(l, r, c, o.isTest), !l) return void v({ showClose: !0, type: "warning", message: T().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
129
|
+
const m = D(t);
|
|
130
|
+
let u;
|
|
131
|
+
u = i.id || i.ID ? O.put(l, m) : O.post(l, m), Z(o.code, i), u.then((p) => {
|
|
132
|
+
let d = !0;
|
|
133
|
+
p && (H(o.code, i), d = X(p, !1, o, t, null)), d === !0 && v({ showClose: !0, type: "success", message: T().t("superPageRuntimeMessage.successfulSave") }), _.$emit("clearTableAllEndEditing"), s(!0);
|
|
134
|
+
}).catch((p) => {
|
|
135
|
+
n(p);
|
|
136
|
+
});
|
|
137
|
+
});
|
|
138
|
+
}(e);
|
|
139
|
+
}, workflowStart: function(e) {
|
|
140
|
+
return _.$emit("clearTableAllStartEditing"), async function(t) {
|
|
141
|
+
return new Promise((s, n) => {
|
|
142
|
+
const o = t.pageContext, i = o.entity.data, r = o.systemCode, c = o.backendUrl;
|
|
143
|
+
let l = P(c, o.isTest) + "/dsc/workflow-commons/start";
|
|
144
|
+
if (l = j(l, r, c, o.isTest), !l) return void v({ showClose: !0, type: "warning", message: T().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
145
|
+
const m = D(t);
|
|
146
|
+
let u;
|
|
147
|
+
i.workflow_id || i.WORKFLOW_ID ? (l = P(c, o.isTest) + "/dsc/workflow-commons", l = j(l, r, c, o.isTest), u = O.put(l, m)) : u = O.post(l, m), Z(o.code, i), u.then((p) => {
|
|
148
|
+
let d = !0;
|
|
149
|
+
p && (H(o.code, i), d = X(p, !1, o, t, null)), d === !0 && v({ showClose: !0, type: "success", message: T().t("superPageRuntimeMessage.successfulStart") }), _.$emit("clearTableAllEndEditing"), s(!0);
|
|
150
|
+
}).catch((p) => {
|
|
151
|
+
n(p);
|
|
152
|
+
});
|
|
153
|
+
});
|
|
154
|
+
}(e);
|
|
155
|
+
}, submitProcess: function(e) {
|
|
156
|
+
return _.$emit("clearTableAllStartEditing"), function(t) {
|
|
157
|
+
return new Promise((s, n) => {
|
|
158
|
+
const o = t.pageContext, i = o.systemCode, r = o.backendUrl;
|
|
159
|
+
let c = P(r, o.isTest) + "/dsc/workflow-commons/submit";
|
|
160
|
+
if (c = j(c, i, r, o.isTest), !c) return void v({ showClose: !0, type: "warning", message: T().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
161
|
+
const l = D(t);
|
|
162
|
+
Z(o.code, o.entity.data);
|
|
163
|
+
const m = O.post(c, l);
|
|
164
|
+
m ? m.then((u) => {
|
|
165
|
+
let p = !0;
|
|
166
|
+
u && (H(o.code, o.entity.data), p = X(u, !1, o, t, null)), p === !0 && v({ showClose: !0, type: "success", message: T().t("superPageRuntimeMessage.successfulSubmit") }), _.$emit("clearTableAllEndEditing"), s(!0);
|
|
167
|
+
}).catch((u) => {
|
|
168
|
+
n(u);
|
|
169
|
+
}) : H(o.code, o.entity.data);
|
|
170
|
+
});
|
|
171
|
+
}(e);
|
|
172
|
+
}, submitTask: function(e) {
|
|
173
|
+
return Y(e, "SUBMIT");
|
|
174
|
+
}, approve: function(e) {
|
|
175
|
+
return Y(e, "APPROVE");
|
|
176
|
+
}, refuse: function(e) {
|
|
177
|
+
return Y(e, "REFUSE");
|
|
178
|
+
}, readed: function(e) {
|
|
179
|
+
return Y(e, "READED");
|
|
180
|
+
}, agreement: function(e) {
|
|
181
|
+
return Y(e, "AGREEMENT");
|
|
182
|
+
}, oppose: function(e) {
|
|
183
|
+
return Y(e, "OPPOSE");
|
|
184
|
+
}, kiken: function(e) {
|
|
185
|
+
return Y(e, "KIKEN");
|
|
186
|
+
}, assign: function(e) {
|
|
187
|
+
return function(t) {
|
|
188
|
+
const s = t.pageContext, n = s.code + "_";
|
|
189
|
+
_.$emit(n + "assign-task", t);
|
|
190
|
+
}(e);
|
|
191
|
+
}, copyTask: function(e) {
|
|
192
|
+
return function(t) {
|
|
193
|
+
const s = t.pageContext, n = s.code + "_";
|
|
194
|
+
_.$emit(n + "copy-task", t);
|
|
195
|
+
}(e);
|
|
196
|
+
}, addSigner: function(e) {
|
|
197
|
+
return function(t) {
|
|
198
|
+
const s = t.pageContext, n = s.code + "_";
|
|
199
|
+
_.$emit(n + "add-signer", t);
|
|
200
|
+
}(e);
|
|
201
|
+
}, drawTask: function(e) {
|
|
202
|
+
return function(t) {
|
|
203
|
+
const s = t.pageContext, n = s.backendUrl, o = P(n, s.isTest) + "/dsc/workflow-commons/draw-tasks", i = D(t);
|
|
204
|
+
return L(t, i, o, "superPageRuntimeMessage.successfulDrawTask");
|
|
205
|
+
}(e);
|
|
206
|
+
}, abandonReceive: function(e) {
|
|
207
|
+
return function(t) {
|
|
208
|
+
const s = t.pageContext, n = s.backendUrl, o = P(n, s.isTest) + "/dsc/workflow-commons/abandon-receives", i = D(t);
|
|
209
|
+
return L(t, i, o, "superPageRuntimeMessage.successfulAbandonReceive");
|
|
210
|
+
}(e);
|
|
211
|
+
}, returnToPreviousTask: function(e) {
|
|
212
|
+
return function(t) {
|
|
213
|
+
const s = t.pageContext, n = s.backendUrl, o = P(n, s.isTest) + "/dsc/workflow-commons/return-to-previous-tasks", i = D(t);
|
|
214
|
+
return L(t, i, o, "superPageRuntimeMessage.successfulReturnToPreviousTask");
|
|
215
|
+
}(e);
|
|
216
|
+
}, endInstance: function(e) {
|
|
217
|
+
return function(t) {
|
|
218
|
+
const s = t.pageContext, n = s.backendUrl, o = P(n, s.isTest) + "/dsc/workflow-commons/end-instance", i = D(t);
|
|
219
|
+
return L(t, i, o, "superPageRuntimeMessage.successfulEndInstance");
|
|
220
|
+
}(e);
|
|
221
|
+
}, returnTaskTo: function(e) {
|
|
222
|
+
return function(t) {
|
|
223
|
+
const s = t.pageContext, n = s.code + "_";
|
|
224
|
+
_.$emit(n + "choose-return-node", t);
|
|
225
|
+
}(e);
|
|
226
|
+
}, removeSigner: function(e) {
|
|
227
|
+
return function(t) {
|
|
228
|
+
const s = t.pageContext, n = s.code + "_";
|
|
229
|
+
_.$emit(n + "remove-signer", t);
|
|
230
|
+
}(e);
|
|
231
|
+
}, retrieveTask: function(e) {
|
|
232
|
+
return function(t) {
|
|
233
|
+
const s = t.pageContext, n = s.backendUrl, o = P(n, s.isTest) + "/dsc/workflow-commons/retrieves", i = D(t);
|
|
234
|
+
return L(t, i, o, "superPageRuntimeMessage.successfulRetrieve");
|
|
235
|
+
}(e);
|
|
236
|
+
}, extractWorkflow: function(e) {
|
|
237
|
+
return dt(e);
|
|
238
|
+
}, extractWorkflowEvent: function(e) {
|
|
239
|
+
return function(t) {
|
|
240
|
+
const s = t.pageContext;
|
|
241
|
+
_.$emit(s.code + "_event-call-component", { componentName: "extract-workflow-dialog", componentProps: { pageContext: t.pageContext, configure: t.configureObj } });
|
|
242
|
+
}(e);
|
|
243
|
+
}, cancelExtractWorkflow: function(e) {
|
|
244
|
+
return function(t) {
|
|
245
|
+
const s = t.pageContext, n = s.backendUrl, o = P(n, s.isTest) + "/dsc/workflow-commons/cancel-extract", i = D(t);
|
|
246
|
+
return L(t, i, o, "superPageRuntimeMessage.successfulCancelExtract");
|
|
247
|
+
}(e);
|
|
248
|
+
}, approveExtractWorkflow: function(e) {
|
|
249
|
+
return function(t) {
|
|
250
|
+
const s = t.pageContext, n = s.backendUrl, o = P(n, s.isTest) + "/dsc/workflow-commons/approve-extract", i = D(t);
|
|
251
|
+
return L(t, i, o, "superPageRuntimeMessage.successfulOperation");
|
|
252
|
+
}(e);
|
|
253
|
+
}, refuseExtractWorkflow: function(e) {
|
|
254
|
+
return function(t) {
|
|
255
|
+
const s = t.pageContext, n = s.backendUrl, o = P(n, s.isTest) + "/dsc/workflow-commons/refuse-extract", i = D(t);
|
|
256
|
+
return L(t, i, o, "superPageRuntimeMessage.successfulOperation");
|
|
257
|
+
}(e);
|
|
258
|
+
}, viewDetail: function(e) {
|
|
259
|
+
}, lineEditCreate: function(e) {
|
|
260
|
+
return function(t) {
|
|
261
|
+
const s = t.pageContext, n = t.tableUuid, o = z(s, n);
|
|
262
|
+
o && (t.getDefaultValueFunc = ze, o.createRow(t.listCode, {}, t));
|
|
263
|
+
}(e);
|
|
264
|
+
}, printLabel: function(e) {
|
|
265
|
+
return function(t) {
|
|
266
|
+
let s = null;
|
|
267
|
+
try {
|
|
268
|
+
if (s = t.menuItem ? t.menuItem.templateUuid : t.configureObj.props.base.template[0].templateUuid, !s) throw new Error("未找到模板");
|
|
269
|
+
} catch (n) {
|
|
270
|
+
console.error("打印标签失败,未在配置中找到找到模板", n, t);
|
|
271
|
+
}
|
|
272
|
+
Ze.printLabel(t, s);
|
|
273
|
+
}(e);
|
|
274
|
+
}, queryCharts: function(e) {
|
|
275
|
+
Ne(e);
|
|
276
|
+
}, resetCharts: function(e) {
|
|
277
|
+
var s, n;
|
|
278
|
+
const t = e.pageContext;
|
|
279
|
+
Object.assign(t.entity.data, le((s = t.initChartData) == null ? void 0 : s.data)), Object.assign(t.entity.page, le((n = t.initChartData) == null ? void 0 : n.page)), e.isInitChart = !0, Ne(e);
|
|
280
|
+
}, exportCharts: function(e) {
|
|
281
|
+
(function(t) {
|
|
282
|
+
var a, f, C, w, k, S, h, y, x, M, R, A;
|
|
283
|
+
const s = t.pageContext, n = s.allChartUuids;
|
|
284
|
+
if (!n || n.length == 0) return;
|
|
285
|
+
const o = t.configureObj;
|
|
286
|
+
let i = null;
|
|
287
|
+
o && o.runtime && (i = o.runtime.props);
|
|
288
|
+
const r = i ? i.state : void 0;
|
|
289
|
+
i && (i.state = "disabled");
|
|
290
|
+
const c = [];
|
|
291
|
+
for (let N = 0; N < n.length; N++) {
|
|
292
|
+
const I = n[N], E = z(s, I);
|
|
293
|
+
if (E) {
|
|
294
|
+
const U = E.getConfigure();
|
|
295
|
+
U && U.exportable && U._dynamicShowFlag && E.exportChart && c.push(E.exportChart());
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
if (!c || c.length == 0) return;
|
|
299
|
+
let l, m = s.label;
|
|
300
|
+
m || (m = s.code), l = m;
|
|
301
|
+
const u = { reportDataList: c, beanName: s.beanName, systemCode: s.systemCode, pageCode: s.code }, p = $(s);
|
|
302
|
+
u.additionalParamMap = p;
|
|
303
|
+
const d = (f = (a = o.runtime) == null ? void 0 : a.props) == null ? void 0 : f.title;
|
|
304
|
+
d && (u.currentOperation = d), u.isMobile = J(), u.isShowWatermark = ((w = (C = o.props) == null ? void 0 : C.watermark) == null ? void 0 : w.isShowWatermark) === void 0 ? "true" : ((S = (k = o.props) == null ? void 0 : k.watermark) == null ? void 0 : S.isShowWatermark) + "", u.watermark = (y = (h = o.props) == null ? void 0 : h.watermark) != null && y.content && ((M = (x = o.props) == null ? void 0 : x.watermark) == null ? void 0 : M.content.length) > 0 ? (A = (R = o.props) == null ? void 0 : R.watermark) == null ? void 0 : A.content.join("-~") : "";
|
|
305
|
+
const g = s.backendUrl, b = P(g, s.isTest) + "/dsc/commons/exportChart";
|
|
306
|
+
be(), ae.post(b, u, { responseType: "blob" }).then((N) => {
|
|
307
|
+
const I = document.createElement("a");
|
|
308
|
+
I.style.display = "none", I.href = URL.createObjectURL(N.data), I.setAttribute("download", l + ".xlsx"), document.body.appendChild(I), I.click(), document.body.removeChild(I);
|
|
309
|
+
}).finally(() => {
|
|
310
|
+
i && (i.state = r);
|
|
311
|
+
});
|
|
312
|
+
})(e);
|
|
313
|
+
}, saveQueryCharts: function(e) {
|
|
314
|
+
(function(t) {
|
|
315
|
+
const s = t.pageContext, n = t.configureObj, o = s.code + "_";
|
|
316
|
+
_.$emit(o + "save-chart-condition", { pageContext: s, configureObj: n });
|
|
317
|
+
})(e);
|
|
318
|
+
}, addTransactor: function(e) {
|
|
319
|
+
return function(t) {
|
|
320
|
+
const s = t.pageContext, n = s.code + "_";
|
|
321
|
+
_.$emit(n + "add-transactor", t);
|
|
322
|
+
}(e);
|
|
323
|
+
}, removeTransactor: function(e) {
|
|
324
|
+
return function(t) {
|
|
325
|
+
const s = t.pageContext, n = s.code + "_";
|
|
326
|
+
_.$emit(n + "remove-transactor", t);
|
|
327
|
+
}(e);
|
|
328
|
+
} };
|
|
329
|
+
function Ne(e) {
|
|
330
|
+
const t = e.pageContext, s = t.initChartServiceConfigs;
|
|
331
|
+
if (!s || s.length == 0) return;
|
|
332
|
+
const n = e.configureObj;
|
|
333
|
+
let o = null;
|
|
334
|
+
n && n.runtime && (o = n.runtime.props);
|
|
335
|
+
const i = o ? o.state : void 0;
|
|
336
|
+
o && (o.state = "disabled"), Qe(t, s, void 0, e.isInitChart).then(() => {
|
|
337
|
+
o && (o.state = i);
|
|
338
|
+
}).catch(() => {
|
|
339
|
+
o && (o.state = i);
|
|
340
|
+
});
|
|
341
|
+
}
|
|
342
|
+
function Ut(e, t, s, n) {
|
|
343
|
+
var k, S, h, y, x, M, R, A, N, I, E, U, F;
|
|
344
|
+
e.clickUuid = t.uuid, e.canClick = !1;
|
|
345
|
+
const o = s.templateUuid, i = s.templateName, r = e.systemCode, c = (k = t.props.base) == null ? void 0 : k.logSetting, l = re(e), m = e.beanName, u = t.props.base, p = t.tableName ? t.tableName : e.tableName, d = e.backendUrl, g = nt.getFormViewData(e), b = u.isPermission === void 0 || u.isPermission === "true" || u.isPermission, a = { entity: g, fileName: o, showName: i, beanName: m, isWorkflowForm: l, functionCode: K(t, e), tableName: p, isPermission: b + "", systemCode: r, listCodesMap: e.listCodesMap, pageCode: e.code, pageVersion: e.version, listCodesInitSearchForm: e.listCodesInitSearchForm };
|
|
346
|
+
c && (a.logSettingText = c.join(""));
|
|
347
|
+
const f = (h = (S = t.runtime) == null ? void 0 : S.props) == null ? void 0 : h.title;
|
|
348
|
+
f && (a.currentOperation = f), a.isMobile = J();
|
|
349
|
+
const C = $(e);
|
|
350
|
+
let w;
|
|
351
|
+
a.additionalParamMap = C, a.isShowWatermark = ((x = (y = t.props) == null ? void 0 : y.watermark) == null ? void 0 : x.isShowWatermark) === void 0 ? "true" : ((R = (M = t.props) == null ? void 0 : M.watermark) == null ? void 0 : R.isShowWatermark) + "", a.watermark = (N = (A = t.props) == null ? void 0 : A.watermark) != null && N.content && ((E = (I = t.props) == null ? void 0 : I.watermark) == null ? void 0 : E.content.length) > 0 ? (F = (U = t.props) == null ? void 0 : U.watermark) == null ? void 0 : F.content.join("-~") : "", w = n ? function(B, G, pe, de) {
|
|
352
|
+
return new Promise((me, fe) => {
|
|
353
|
+
const ge = P(G, de) + "/dsc/commons/export-pdf";
|
|
354
|
+
be();
|
|
355
|
+
const ee = ae.post(ge, pe, { headers: { "content-type": "application/json" }, responseType: "blob" });
|
|
356
|
+
window.$message.info("正在导出中..."), ee.then((te) => {
|
|
357
|
+
const ce = new Blob([te.data]), W = document.createElement("a");
|
|
358
|
+
W.download = B.substring(0, B.lastIndexOf(".")) + ".pdf", W.style.display = "none", W.target = "_blank", W.href = URL.createObjectURL(ce), document.body.appendChild(W), W.click(), URL.revokeObjectURL(W.href), document.body.removeChild(W), me(!0);
|
|
359
|
+
}).catch((te) => {
|
|
360
|
+
fe(te);
|
|
361
|
+
});
|
|
362
|
+
});
|
|
363
|
+
}(i, d, a, e.isTest) : function(B, G, pe, de) {
|
|
364
|
+
return new Promise((me, fe) => {
|
|
365
|
+
const ge = P(G, de) + "/dsc/commons/export-reports";
|
|
366
|
+
be(), ae.post(ge, pe, { responseType: "blob" }).then((ee) => {
|
|
367
|
+
const te = new Blob([ee.data]);
|
|
368
|
+
let ce = "报告.xlsx";
|
|
369
|
+
B && (ce = B);
|
|
370
|
+
const W = document.createElement("a");
|
|
371
|
+
W.download = ce, W.style.display = "none", W.target = "_blank", W.href = URL.createObjectURL(te), document.body.appendChild(W), W.click(), URL.revokeObjectURL(W.href), document.body.removeChild(W), me(!0);
|
|
372
|
+
}).catch((ee) => {
|
|
373
|
+
fe(ee);
|
|
374
|
+
});
|
|
375
|
+
});
|
|
376
|
+
}(i, d, a, e.isTest), w && w.then(() => {
|
|
377
|
+
V(e, t);
|
|
378
|
+
}).catch((B) => {
|
|
379
|
+
window.$message.error("导出失败..."), V(e, t);
|
|
380
|
+
});
|
|
381
|
+
}
|
|
382
|
+
function be() {
|
|
383
|
+
ae.defaults.headers.common.Authorization = Te();
|
|
384
|
+
const e = He();
|
|
385
|
+
if (e) {
|
|
386
|
+
const t = "_RUN_CURRENT_ROLE";
|
|
387
|
+
ae.defaults.headers.common[t] = e;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
function xe(e, t) {
|
|
391
|
+
return new Promise((s, n) => {
|
|
392
|
+
const o = e.pageContext, i = e.configureObj, r = e.mainDefaultValueColumns, c = e.dynamicColumnInfo, l = i.props.base.successOperation;
|
|
393
|
+
let m = !1;
|
|
394
|
+
l && l === "noOperation" && (m = !0), Z(o.code, o.entity.data);
|
|
395
|
+
const u = ut(o, i, "/dsc/commons", m, r, c);
|
|
396
|
+
u ? u.then((p) => {
|
|
397
|
+
p && H(o.code, o.entity.data), q(o, i, p, "superPageRuntimeMessage.successfulSave", t), s(p);
|
|
398
|
+
}).catch((p) => {
|
|
399
|
+
n(p);
|
|
400
|
+
}) : (H(o.code, o.entity.data), n("保存时request不存在"));
|
|
401
|
+
});
|
|
402
|
+
}
|
|
403
|
+
function Ue(e, t, s, n, o, i, r) {
|
|
404
|
+
var k, S, h;
|
|
405
|
+
const c = re(e), l = e.systemCode, m = t.props.base.isPermission === void 0 || t.props.base.isPermission === "true" || t.props.base.isPermission, u = K(t, e);
|
|
406
|
+
let p = r;
|
|
407
|
+
p || (p = e.entity.data);
|
|
408
|
+
const d = { entity: p, tableName: e.tableName, formNoRuleCode: e.formNoRuleCode, isWorkflowEntity: c, functionCode: u, isPermission: m + "", listCodesMap: e.listCodesMap, pageCode: e.code, pageVersion: e.version, listCodesInitSearchForm: e.listCodesInitSearchForm };
|
|
409
|
+
i && (d.ids = i), e.judgeHeavyList && (ne(e.judgeHeavyList) ? d.judgeHeavyList = JSON.stringify(e.judgeHeavyList) : d.judgeHeavyList = e.judgeHeavyList);
|
|
410
|
+
const g = t.props.base.conversionCodes;
|
|
411
|
+
g && (ne(g) ? d.dataConversionRule = g.join(",") : typeof g == "string" && (d.dataConversionRule = g));
|
|
412
|
+
const b = Pe(t);
|
|
413
|
+
b && (d.autoSetValueData = b);
|
|
414
|
+
const a = (k = t.props.base) == null ? void 0 : k.logSetting;
|
|
415
|
+
a && (d.logSettingText = a.join("")), d.systemCode || (d.systemCode = l);
|
|
416
|
+
const f = e.beanName;
|
|
417
|
+
f && (d.beanName = f), o && (d.dynamicColumnInfo = o), n && (d.mainDefaultValueColumns = n);
|
|
418
|
+
const C = $(e);
|
|
419
|
+
d.additionalParamMap = C, s !== void 0 && (d.unControlVersion = s);
|
|
420
|
+
const w = (h = (S = t.runtime) == null ? void 0 : S.props) == null ? void 0 : h.title;
|
|
421
|
+
return w && (d.currentOperation = w), d.isMobile = J(), d;
|
|
422
|
+
}
|
|
423
|
+
function lt(e, t, s, n, o, i, r, c) {
|
|
424
|
+
const l = e.systemCode, m = e.backendUrl, u = Ue(e, t, n, o, i, null, r);
|
|
425
|
+
return c && c.tableName && (u.tableName = c.tableName), function(p, d, g, b, a, f) {
|
|
426
|
+
const C = P(d, f);
|
|
427
|
+
let w, k = C + b;
|
|
428
|
+
return k = j(k, p, d, f), w = a && (a.id || a.ID) ? O.put(k, g) : O.post(k, g), w;
|
|
429
|
+
}(l, m, u, s, e.entity.data, e.isTest);
|
|
430
|
+
}
|
|
431
|
+
function ut(e, t, s, n, o, i) {
|
|
432
|
+
return lt(e, t, s, n, o, i, null, null);
|
|
433
|
+
}
|
|
434
|
+
function q(e, t, s, n, o) {
|
|
435
|
+
const i = _e(e, t, o);
|
|
436
|
+
if (i && i === "list") (function(r, c, l, m) {
|
|
437
|
+
let u = c.props.base.successOperation;
|
|
438
|
+
const p = c.props.base.isNeedValueMapping, d = Ee(r, c);
|
|
439
|
+
if (u || pt.includes(c.name) || (u = "refresh"), u === "refresh") d ? z(r, d).refresh() : console.error("tableUuid is empty");
|
|
440
|
+
else if (u === "closeWindow" || u === "closeWindowAndRefresh") {
|
|
441
|
+
const g = le(r.entity.page);
|
|
442
|
+
let b = l;
|
|
443
|
+
b || (b = {}), Object.assign(g, b), he(r, c, g, p);
|
|
444
|
+
}
|
|
445
|
+
m && v({ message: T().t(m), type: "success", showClose: !0 });
|
|
446
|
+
})(e, t, s, n), e.canClick = !0;
|
|
447
|
+
else if (i && i === "form") (function(r, c, l, m) {
|
|
448
|
+
if (l) {
|
|
449
|
+
const u = l;
|
|
450
|
+
let p;
|
|
451
|
+
p = u.entity ? u.entity : u, u.formNo && (r.initFormNo = u.formNo), Ce(r, c, { ...p, ...r.entity.page });
|
|
452
|
+
} else {
|
|
453
|
+
const u = c.props.base.successOperation;
|
|
454
|
+
u && u !== null ? Ce(r, c, { ...r.entity.page }) : r.canClick = !0;
|
|
455
|
+
}
|
|
456
|
+
m && v({ message: T().t(m), type: "success", showClose: !0 });
|
|
457
|
+
})(e, t, s, n);
|
|
458
|
+
else {
|
|
459
|
+
const r = t.props.base.successOperation;
|
|
460
|
+
r && r !== null ? Ce(e, t, null) : e.canClick = !0;
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
function _e(e, t, s) {
|
|
464
|
+
let n;
|
|
465
|
+
return s === void 0 ? n = t.props.base.tableUuid ? "list" : null : s === !1 && (n = "form"), n || (n = e.pageType), n;
|
|
466
|
+
}
|
|
467
|
+
function Ce(e, t, s) {
|
|
468
|
+
const n = t.props.base.successOperation;
|
|
469
|
+
if (!n || n === null) return;
|
|
470
|
+
const o = t.props.base.isNeedValueMapping;
|
|
471
|
+
n === "noOperation" ? e.canClick = !0 : n === "refresh" ? s && (s.id || s.ID) ? We(e, s.ID ? s.ID : s.id) : e.canClick = !0 : n !== "closeWindow" && n !== "closeWindowAndRefresh" || (he(e, t, s, o), e.canClick = !0);
|
|
472
|
+
}
|
|
473
|
+
function he(e, t, s, n) {
|
|
474
|
+
const o = e.entity && e.entity.request ? e.entity.request.jumpMode : null;
|
|
475
|
+
if (o === "openWindow" || o === "newTab") window.parent ? window.parent.close() : window.close();
|
|
476
|
+
else {
|
|
477
|
+
const i = e.tableName, r = n !== void 0 && n === !0 && s && s !== void 0, c = (e.entity && e.entity.request ? e.entity.request.parentPageCode : null) + "_";
|
|
478
|
+
_.$emit(c + "close-dialog", { isNeedValueMapping: r, dataModel: s, sourceConfigureObj: t, sourceTableName: i, jumpMode: o });
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
function _t(e, t, s, n, o) {
|
|
482
|
+
var r;
|
|
483
|
+
o || (o = t.runtime && t.runtime.linkPage && t.runtime.linkPage.valueMappings ? t.runtime.linkPage.valueMappings : null) || (o = (r = t.props.linkPage) == null ? void 0 : r.valueMappings);
|
|
484
|
+
const i = e.tableName;
|
|
485
|
+
(function(c, l, m) {
|
|
486
|
+
if (c && c !== null && l) {
|
|
487
|
+
let u = c;
|
|
488
|
+
Array.isArray(c) && c.length > 0 && (u = c[0]), l.forEach((p) => {
|
|
489
|
+
const d = p.source;
|
|
490
|
+
if (!d) return;
|
|
491
|
+
const g = d.split("."), b = Xe(u, g), a = p.target, f = Ye(null, a);
|
|
492
|
+
Ke(m.entity, f, b);
|
|
493
|
+
});
|
|
494
|
+
}
|
|
495
|
+
})(s, o, e), oe(null, e, t, "setValue", { sourceModel: s, sourceTableName: n, entity: e.entity.data, targetTableName: i });
|
|
496
|
+
}
|
|
497
|
+
const pt = ["dropdown"];
|
|
498
|
+
function Dt(e, t, s, n) {
|
|
499
|
+
var r;
|
|
500
|
+
t && !t.props.base && (t.props.base = {});
|
|
501
|
+
let o = n;
|
|
502
|
+
o || (o = s ? "refresh" : (r = t.props.base) == null ? void 0 : r.successOperation);
|
|
503
|
+
const i = _e(e, t);
|
|
504
|
+
if (i && i === "list" && !o && (o = "refresh"), o === "refresh") {
|
|
505
|
+
if (i && i === "list") {
|
|
506
|
+
const c = Ee(e, t);
|
|
507
|
+
c ? z(e, c).refresh() : console.error("tableUuid is empty");
|
|
508
|
+
} else if (i && i === "form") {
|
|
509
|
+
const c = e.entity.data;
|
|
510
|
+
We(e, c.ID ? c.ID : c.id);
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
function Q(e, t, s, n) {
|
|
515
|
+
return new Promise((o, i) => {
|
|
516
|
+
const r = e.pageContext, c = e.configureObj, l = e.mainDefaultValueColumns, m = e.dynamicColumnInfo, u = e.ids, p = c.props.base.successOperation;
|
|
517
|
+
let d = !1;
|
|
518
|
+
p && p === "noOperation" && (d = !0);
|
|
519
|
+
let g = r.tableName;
|
|
520
|
+
if (t) {
|
|
521
|
+
const a = c.props.base.tableUuid ? c.props.base.tableUuid : e.tableUuid;
|
|
522
|
+
g = ke(r, a);
|
|
523
|
+
} else Z(r.code, r.entity.data);
|
|
524
|
+
const b = function(a, f, C, w, k, S, h, y, x) {
|
|
525
|
+
return new Promise((M, R) => {
|
|
526
|
+
const A = f.props.base.title, N = "superPageRuntimeMessage.whetherToConfirm" + qe(h);
|
|
527
|
+
ue.confirm(T().t(N, { name: A }), T().t("superPageRuntimeMessage.tips"), { confirmButtonText: T().t("superPageRuntimeMessage.sure"), cancelButtonText: T().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
|
|
528
|
+
const I = a.systemCode, E = a.backendUrl, U = Ue(a, f, w, k, S, y, null);
|
|
529
|
+
U.tableName = x;
|
|
530
|
+
let F = P(E, a.isTest) + C;
|
|
531
|
+
F = j(F, I, E, a.isTest), O.post(F, U).then((B) => {
|
|
532
|
+
M(B);
|
|
533
|
+
}).catch((B) => {
|
|
534
|
+
R(B);
|
|
535
|
+
});
|
|
536
|
+
}).catch(() => {
|
|
537
|
+
R("点击了取消按钮");
|
|
538
|
+
});
|
|
539
|
+
});
|
|
540
|
+
}(r, c, n, d, l, m, s, u, g);
|
|
541
|
+
b ? b.then((a) => {
|
|
542
|
+
!t && a && H(r.code, r.entity.data), q(r, c, a, "superPageRuntimeMessage.successfulSave", t), o(a);
|
|
543
|
+
}).catch((a) => {
|
|
544
|
+
i(a);
|
|
545
|
+
}) : (t || H(r.code, r.entity.data), i("request不存在"));
|
|
546
|
+
});
|
|
547
|
+
}
|
|
548
|
+
function jt(e, t) {
|
|
549
|
+
var x, M, R;
|
|
550
|
+
const s = e.pageContext, n = e.configureObj, o = e.tableConfigure, i = n.props.base, r = n.props.base.tableUuid ? n.props.base.tableUuid : e.tableUuid, c = ke(s, r), l = new FormData();
|
|
551
|
+
l.append("multipartFile", t), c && l.append("tableName", c);
|
|
552
|
+
const m = (M = (x = n.runtime) == null ? void 0 : x.props) == null ? void 0 : M.title;
|
|
553
|
+
m && l.append("currentOperation", m), l.append("isMobile", J()), s.importBeanName && l.append("importBeanName", s.importBeanName), s.beanName && l.append("beanName", s.beanName);
|
|
554
|
+
const u = (R = o.props.importSetting) == null ? void 0 : R.listViewImportDuplicate;
|
|
555
|
+
u && l.append("importDuplicateRule", u);
|
|
556
|
+
const p = s.judgeHeavyList;
|
|
557
|
+
p && l.append("judgeHeavyList", JSON.stringify(p));
|
|
558
|
+
const d = Pe(n);
|
|
559
|
+
d && l.append("autoSetValueData", d);
|
|
560
|
+
const g = s.formNoRuleCode;
|
|
561
|
+
g && l.append("formNoRuleCode", g);
|
|
562
|
+
const b = e.listCode;
|
|
563
|
+
b && l.append("listCode", b);
|
|
564
|
+
let a = !1;
|
|
565
|
+
a = i.isAsync !== void 0 && i.isAsync !== null && i.isAsync, l.append("isAsync", a + ""), l.append("pageCode", s.code);
|
|
566
|
+
const f = re(s);
|
|
567
|
+
f != null && l.append("isWorkflowEntity", f + "");
|
|
568
|
+
const C = K(n, s);
|
|
569
|
+
C && l.append("functionCode", C);
|
|
570
|
+
const w = $(s);
|
|
571
|
+
l.append("additionalParamMapStr", JSON.stringify(w));
|
|
572
|
+
const k = i.isPermission === void 0 || i.isPermission === "true" || i.isPermission;
|
|
573
|
+
l.append("isPermission", k + "");
|
|
574
|
+
const S = s.systemCode;
|
|
575
|
+
S && l.append("systemCode", S);
|
|
576
|
+
const h = s.backendUrl;
|
|
577
|
+
let y = P(h, s.isTest) + "/dsc/commons/import-data";
|
|
578
|
+
y = j(y, S, h, s.isTest), O.post(y, l).then((A) => {
|
|
579
|
+
if (a) v({ showClose: !0, type: "success", message: T().t("superPageRuntimeMessage.asyncImport") }), Fe(s);
|
|
580
|
+
else {
|
|
581
|
+
let N = !1;
|
|
582
|
+
A ? (N = !1, v({ dangerouslyUseHTMLString: !0, showClose: !0, type: "warning", message: A })) : (v({ showClose: !0, type: "success", message: T().t("superPageRuntimeMessage.successfulImport") }), N = !0), q(s, n, A, null, !0), s.result = N, V(s, n);
|
|
583
|
+
}
|
|
584
|
+
}).catch((A) => {
|
|
585
|
+
});
|
|
586
|
+
}
|
|
587
|
+
function Wt(e, t) {
|
|
588
|
+
const s = e.props.base;
|
|
589
|
+
if (s.conditionsForExecution && s.conditionsForExecution !== "") {
|
|
590
|
+
if (s.conditionsForExecution === "one") {
|
|
591
|
+
if (!t || t.length !== 1) return v({ showClose: !0, type: "warning", message: T().t("superPageRuntimeMessage.thePreconditionOfTheButtonTo", { message: T().t("superPageRuntimeMessage.onlyOneRecordCanBeselected") }) }), !1;
|
|
592
|
+
} else if (s.conditionsForExecution === "more" && (!t || t.length <= 0)) return v({ showClose: !0, type: "warning", message: T().t("superPageRuntimeMessage.thePreconditionOfTheButtonTo", { message: T().t("superPageRuntimeMessage.selectAtLeastOneRecord") }) }), !1;
|
|
593
|
+
}
|
|
594
|
+
return !0;
|
|
595
|
+
}
|
|
596
|
+
function D(e) {
|
|
597
|
+
var b, a, f;
|
|
598
|
+
const t = e.pageContext, s = e.configureObj, n = t.entity.data, o = t.systemCode, i = t.code;
|
|
599
|
+
let r = K(s, t);
|
|
600
|
+
r || (r = i + ".xxx"), n.id || n.ID || (n.PAGE_CODE = t.code, n.PAGE_VERSION = t.version);
|
|
601
|
+
const c = { entity: n, pageMoel: t.entity.page, formNoRuleCode: t.formNoRuleCode, tableName: t.tableName, emailTemplateCode: t.emailTemplateCode, definitionId: t.definitionId, functionCode: r, systemCode: o, listCodesMap: t.listCodesMap, pageCode: t.code, pageVersion: t.version, listCodesInitSearchForm: t.listCodesInitSearchForm };
|
|
602
|
+
t.completeTaskParam && (c.completeTaskParam = { taskId: t.completeTaskParam.taskId, opinion: t.completeTaskParam.opinion }), t.judgeHeavyList && (ne(t.judgeHeavyList) ? c.judgeHeavyList = JSON.stringify(t.judgeHeavyList) : c.judgeHeavyList = t.judgeHeavyList);
|
|
603
|
+
const l = s.props.base.conversionCodes;
|
|
604
|
+
l && (ne(l) ? c.dataConversionRule = l.join(",") : typeof l == "string" && (c.dataConversionRule = l));
|
|
605
|
+
const m = Pe(s);
|
|
606
|
+
m && (c.autoSetValueData = m), t.beanName && (c.beanName = t.beanName);
|
|
607
|
+
const u = (b = s.props.base) == null ? void 0 : b.logSetting;
|
|
608
|
+
u && (c.logSettingText = u.join("")), c.systemCode || (c.systemCode = o);
|
|
609
|
+
const p = $(t);
|
|
610
|
+
c.additionalParamMap = p, p.ids && p.ids.length > 0 && (typeof p.ids == "string" ? c.ids = p.ids.split(",") : Array.isArray(p.ids) ? c.ids = p.ids : typeof ids == "number" ? c.ids = [p.ids] : console.error("ids参数类型错误"));
|
|
611
|
+
const d = s.props.base.successOperation;
|
|
612
|
+
d && d === "noOperation" && (c.unControlVersion = !0), c.isWorkflowEntity = !0;
|
|
613
|
+
const g = (f = (a = s.runtime) == null ? void 0 : a.props) == null ? void 0 : f.title;
|
|
614
|
+
return g && (c.currentOperation = g), c.isMobile = J(), c;
|
|
615
|
+
}
|
|
616
|
+
function X(e, t, s, n, o) {
|
|
617
|
+
const i = s.code, r = s.version;
|
|
618
|
+
let c;
|
|
619
|
+
if (e) {
|
|
620
|
+
t && (s.initFormNo = e.formNo, s.emailTemplateCode = e.emailTemplateCode), e.entity && (s.entity.data = e.entity, function(m, u) {
|
|
621
|
+
const p = $(u);
|
|
622
|
+
m && p && Ge(p._t_ + "_id", m);
|
|
623
|
+
}(e.entity.id || e.entity.ID, s));
|
|
624
|
+
const l = e.completeTaskResult;
|
|
625
|
+
if (l) {
|
|
626
|
+
const m = l.completeTaskTipType;
|
|
627
|
+
if (m && m === "MESSAGE") {
|
|
628
|
+
const u = l.content;
|
|
629
|
+
return v({ showClose: !0, type: "warning", message: u }), !1;
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
if (e.completeTaskParam) {
|
|
633
|
+
const m = e.completeTaskParam;
|
|
634
|
+
c = m.taskId, n && (n.taskId = c), Se(i, r, "_completeTaskParam", m), s.fieldPermissions = m.fieldPermissions, s.actionPermissions = m.actionPermissions, s.workflowButtonComponent = m.buttonComponent, s.completeTaskParam = m, s.completeTaskParam.opinion = null;
|
|
635
|
+
}
|
|
636
|
+
s.entity || (s.entity = {}), s.entity.task = e.taskParamMap, Se(i, r, "_currentActivityName", e.taskName);
|
|
637
|
+
}
|
|
638
|
+
return n && (n.operationResult = o), t || q(s, n.configureObj, e, null, !1), !0;
|
|
639
|
+
}
|
|
640
|
+
async function Y(e, t) {
|
|
641
|
+
const s = await De(e);
|
|
642
|
+
return new Promise((n, o) => {
|
|
643
|
+
var i;
|
|
644
|
+
if (s) {
|
|
645
|
+
const r = e.pageContext, c = r.systemCode, l = r.backendUrl, m = s === !0 ? (i = r.completeTaskParam) == null ? void 0 : i.opinion : s;
|
|
646
|
+
let u = P(l, r.isTest) + "/dsc/workflow-commons/complete-tasks";
|
|
647
|
+
if (u = j(u, c, l, r.isTest), !u) return void v({ showClose: !0, type: "warning", message: T().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
648
|
+
const p = D(e);
|
|
649
|
+
p.completeTaskParam = { operationResult: t, taskId: r.completeTaskParam ? r.completeTaskParam.taskId : null, opinion: m || null };
|
|
650
|
+
const d = O.post(u, p);
|
|
651
|
+
Z(r.code, r.entity.data), d.then((g) => {
|
|
652
|
+
let b = !0;
|
|
653
|
+
g && (H(r.code, r.entity.data), b = X(g, !1, r, e, t)), b === !0 && v({ showClose: !0, type: "success", message: T().t("superPageRuntimeMessage.successfulCompleteTask") }), n(!0);
|
|
654
|
+
}).catch((g) => {
|
|
655
|
+
o(g);
|
|
656
|
+
});
|
|
657
|
+
} else n(!0);
|
|
658
|
+
});
|
|
659
|
+
}
|
|
660
|
+
function De(e) {
|
|
661
|
+
return new Promise((t, s) => {
|
|
662
|
+
var o, i, r, c, l;
|
|
663
|
+
const n = e.configureObj;
|
|
664
|
+
if (n) {
|
|
665
|
+
if ((o = e.pageContext.workflowOpinion) != null && o.opinion) return void t(e.pageContext.workflowOpinion.opinion);
|
|
666
|
+
let m = !1;
|
|
667
|
+
if ((r = (i = n.props) == null ? void 0 : i.base) != null && r.isMustOpinion && (m = !0), m === !0) {
|
|
668
|
+
const u = e.pageContext, p = (l = (c = n.props) == null ? void 0 : c.base) == null ? void 0 : l.mustOpinionConditions;
|
|
669
|
+
m = ie(u, p);
|
|
670
|
+
}
|
|
671
|
+
m === !0 ? (v({ showClose: !0, type: "warning", message: T().t("superPageRuntimeMessage.pleaseInputOpinion") }), e.pageContext.workflowOpinion.focusOpinionInput = !0, t(!1)) : t(!0);
|
|
672
|
+
} else t(!0);
|
|
673
|
+
});
|
|
674
|
+
}
|
|
675
|
+
function Ft(e, t) {
|
|
676
|
+
if (t) {
|
|
677
|
+
const s = e.pageContext, n = e.configureObj, o = s.backendUrl, i = P(o, s.isTest) + "/dsc/workflow-commons/assigns", r = t.id ? t.id : t.ID ? t.ID : null, c = D(e);
|
|
678
|
+
c.assigneeId = r, L(e, c, i, "superPageRuntimeMessage.successfulAssign").then((l) => {
|
|
679
|
+
V(s, n);
|
|
680
|
+
});
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
function ye(e) {
|
|
684
|
+
var u, p;
|
|
685
|
+
const t = e.pageContext, s = t.entity.data, n = t.systemCode, o = t.code, i = e.configureObj, r = $(t), c = s.ID !== void 0 && s.ID !== null ? s.ID : s.id, l = { beanName: t.beanName, id: c, entity: s, additionalParamMap: r, tableName: t.tableName, functionCode: o + ".xxx", isWorkflowEntity: !0, listCodesMap: t.listCodesMap, pageCode: t.code, pageVersion: t.version, listCodesInitSearchForm: t.listCodesInitSearchForm };
|
|
686
|
+
l.completeTaskParam = { taskId: t.completeTaskParam.taskId, systemCode: n }, l.completeTaskParam.customTaskTitle = je(e);
|
|
687
|
+
const m = (p = (u = i == null ? void 0 : i.runtime) == null ? void 0 : u.props) == null ? void 0 : p.title;
|
|
688
|
+
return m && (l.currentOperation = m), l.isMobile = J(), l;
|
|
689
|
+
}
|
|
690
|
+
function je(e) {
|
|
691
|
+
var s, n, o;
|
|
692
|
+
let t = null;
|
|
693
|
+
if (((n = (s = e.configureObj.props.task) == null ? void 0 : s.title) == null ? void 0 : n.length) > 0) for (let i = 0; i < e.configureObj.props.task.title.length; i++) {
|
|
694
|
+
const r = e.configureObj.props.task.title[i];
|
|
695
|
+
if (r.config) {
|
|
696
|
+
if (!(((o = r.conditions) == null ? void 0 : o.length) > 0)) {
|
|
697
|
+
t = r.config;
|
|
698
|
+
break;
|
|
699
|
+
}
|
|
700
|
+
if (ie(e.pageContext, r.conditions)) {
|
|
701
|
+
t = r.config;
|
|
702
|
+
break;
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
return t;
|
|
707
|
+
}
|
|
708
|
+
function $(e) {
|
|
709
|
+
if (e.entity) {
|
|
710
|
+
let t = le(e.entity.page);
|
|
711
|
+
t || (t = {});
|
|
712
|
+
const s = e.entity.request;
|
|
713
|
+
return s && Object.assign(t, s), t;
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
function Bt(e, t) {
|
|
717
|
+
if (t) {
|
|
718
|
+
const s = e.pageContext, n = e.configureObj, o = s.systemCode, i = s.backendUrl;
|
|
719
|
+
let r = P(i, s.isTest) + "/dsc/workflow-commons/add-signers";
|
|
720
|
+
if (r = j(r, o, i, s.isTest), !r) return void v({ showClose: !0, type: "warning", message: T().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
721
|
+
const c = ye(e);
|
|
722
|
+
c.completeTaskParam.transactors = t.loginNames.join(",").split(",");
|
|
723
|
+
const l = O.post(r, c);
|
|
724
|
+
l && l.then((m) => {
|
|
725
|
+
v({ showClose: !0, type: "success", message: T().t("superPageRuntimeMessage.successfulOperation") }), m.entity && q(s, n, m, null, !1), V(s, n);
|
|
726
|
+
});
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
function Lt(e, t) {
|
|
730
|
+
if (t) {
|
|
731
|
+
const s = e.pageContext, n = e.configureObj, o = s.systemCode, i = s.backendUrl;
|
|
732
|
+
let r = P(i, s.isTest) + "/dsc/workflow-commons/add-transactors";
|
|
733
|
+
if (r = j(r, o, i, s.isTest), !r) return void v({ showClose: !0, type: "warning", message: T().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
734
|
+
const c = ye(e);
|
|
735
|
+
c.completeTaskParam.transactors = t.loginNames.join(",").split(",");
|
|
736
|
+
const l = O.post(r, c);
|
|
737
|
+
l && l.then((m) => {
|
|
738
|
+
v({ showClose: !0, type: "success", message: T().t("superPageRuntimeMessage.successfulOperation") }), m.entity && q(s, n, m, null, !1), V(s, n);
|
|
739
|
+
});
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
async function Vt(e, t) {
|
|
743
|
+
if (t) {
|
|
744
|
+
const s = await function(n) {
|
|
745
|
+
return new Promise((o, i) => {
|
|
746
|
+
var c, l, m, u;
|
|
747
|
+
const r = n.configureObj;
|
|
748
|
+
if (r) {
|
|
749
|
+
let p = (l = (c = r.props) == null ? void 0 : c.base) == null ? void 0 : l.isMustRemark;
|
|
750
|
+
if (p === void 0 || p === !0) {
|
|
751
|
+
p = !0;
|
|
752
|
+
const d = n.pageContext, g = (u = (m = r.props) == null ? void 0 : m.base) == null ? void 0 : u.mustRemarkConditions;
|
|
753
|
+
p = ie(d, g);
|
|
754
|
+
}
|
|
755
|
+
p === !0 ? ue.prompt(T().t("superPageRuntimeMessage.pleaseInputRemark"), T().t("superPageRuntimeMessage.remark"), { confirmButtonText: T().t("superPageRuntimeMessage.sure"), cancelButtonText: T().t("superPageRuntimeMessage.cancel"), inputType: "textarea", inputValue: null, closeOnClickModal: !1, inputValidator: (d) => !(!d || !d.trim()) || T().t("superPageRuntimeMessage.pleaseInputRemark") }).then(({ value: d }) => {
|
|
756
|
+
o(d);
|
|
757
|
+
}).catch(() => {
|
|
758
|
+
o(!1);
|
|
759
|
+
}) : o(!0);
|
|
760
|
+
} else o(!0);
|
|
761
|
+
});
|
|
762
|
+
}(e);
|
|
763
|
+
if (s) {
|
|
764
|
+
const n = e.pageContext, o = e.configureObj, i = n.systemCode, r = n.backendUrl;
|
|
765
|
+
let c = P(r, n.isTest) + "/dsc/workflow-commons/copies";
|
|
766
|
+
if (c = j(c, i, r, n.isTest), !c) return void v({ showClose: !0, type: "warning", message: T().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
767
|
+
const l = ye(e);
|
|
768
|
+
l.completeTaskParam.transactors = t.loginNames.join(",").split(","), s !== !0 && (l.completeTaskParam.remark = s);
|
|
769
|
+
const m = O.post(c, l);
|
|
770
|
+
m && m.then((u) => {
|
|
771
|
+
var p;
|
|
772
|
+
v({ showClose: !0, type: "success", message: T().t("superPageRuntimeMessage.successfulOperation") }), q(n, o, { entity: (p = n.entity) == null ? void 0 : p.data }, null), V(n, o);
|
|
773
|
+
});
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
async function L(e, t, s, n) {
|
|
778
|
+
const o = await De(e);
|
|
779
|
+
return new Promise((i, r) => {
|
|
780
|
+
var c;
|
|
781
|
+
if (o) {
|
|
782
|
+
const l = e.pageContext, m = l.systemCode, u = l.backendUrl;
|
|
783
|
+
if (l.completeTaskParam) {
|
|
784
|
+
const d = o === !0 ? (c = l.completeTaskParam) == null ? void 0 : c.opinion : o;
|
|
785
|
+
t.completeTaskParam = { taskId: l.completeTaskParam.taskId, opinion: d };
|
|
786
|
+
}
|
|
787
|
+
if (!(s = j(s, m, u, l.isTest))) return void v({ showClose: !0, type: "warning", message: T().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
788
|
+
const p = O.post(s, t);
|
|
789
|
+
p && p.then((d) => {
|
|
790
|
+
let g = !0;
|
|
791
|
+
d && (g = X(d, !1, l, e, null)), g === !0 && v({ showClose: !0, type: "success", message: T().t(n) }), i(!0);
|
|
792
|
+
}).catch((d) => {
|
|
793
|
+
r(d);
|
|
794
|
+
});
|
|
795
|
+
} else i(!0);
|
|
796
|
+
});
|
|
797
|
+
}
|
|
798
|
+
function $t(e) {
|
|
799
|
+
const t = e.pageContext, s = t.systemCode, n = t.backendUrl, o = t.completeTaskParam;
|
|
800
|
+
let i = P(n, t.isTest) + "/dsc/workflow-commons/returnable-task/" + o.taskId;
|
|
801
|
+
if (i = j(i, s, n, t.isTest), !i) return void v({ showClose: !0, type: "warning", message: T().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
802
|
+
const r = t.code, c = $(t), l = { beanName: t.beanName, additionalParamMap: c, tableName: t.tableName, functionCode: r + ".xxx", pageCode: t.code };
|
|
803
|
+
return O.post(i, l);
|
|
804
|
+
}
|
|
805
|
+
function qt(e, t) {
|
|
806
|
+
const s = e.pageContext, n = e.configureObj, o = s.backendUrl, i = P(o, s.isTest) + "/dsc/workflow-commons/returnTaskTo", r = D(e);
|
|
807
|
+
t.nodeName && (r.returnToNodeName = t.nodeName), t.nodeId && (r.returnToNodeId = t.nodeId), L(e, r, i, "superPageRuntimeMessage.successfulReturnTaskTo").then((c) => {
|
|
808
|
+
V(s, n);
|
|
809
|
+
});
|
|
810
|
+
}
|
|
811
|
+
function Ht(e) {
|
|
812
|
+
const t = e.pageContext, s = t.systemCode, n = t.backendUrl;
|
|
813
|
+
let o = P(n, t.isTest) + "/dsc/workflow-commons/get-remove-signers";
|
|
814
|
+
const i = D(e);
|
|
815
|
+
if (o = j(o, s, n, t.isTest), o) return O.post(o, i);
|
|
816
|
+
v({ showClose: !0, type: "warning", message: T().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
817
|
+
}
|
|
818
|
+
function Gt(e, t) {
|
|
819
|
+
if (t) {
|
|
820
|
+
const s = e.pageContext, n = e.configureObj, o = s.systemCode, i = s.backendUrl;
|
|
821
|
+
let r = P(i, s.isTest) + "/dsc/workflow-commons/remove-signers";
|
|
822
|
+
if (r = j(r, o, i, s.isTest), !r) return void v({ showClose: !0, type: "warning", message: T().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
823
|
+
const c = t.map((u) => u.id ? u.id : u.ID ? u.ID : null), l = D(e);
|
|
824
|
+
l.ids = c;
|
|
825
|
+
const m = O.post(r, l);
|
|
826
|
+
m && m.then((u) => {
|
|
827
|
+
q(s, n, u, "superPageRuntimeMessage.successfulOperation", !1), V(s, n);
|
|
828
|
+
});
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
function Jt(e) {
|
|
832
|
+
const t = e.pageContext, s = t.systemCode, n = t.backendUrl;
|
|
833
|
+
let o = P(n, t.isTest) + "/dsc/workflow-commons/get-remove-transactors";
|
|
834
|
+
const i = D(e);
|
|
835
|
+
if (o = j(o, s, n, t.isTest), o) return O.post(o, i);
|
|
836
|
+
v({ showClose: !0, type: "warning", message: T().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
837
|
+
}
|
|
838
|
+
function Yt(e, t) {
|
|
839
|
+
if (t) {
|
|
840
|
+
const s = e.pageContext, n = e.configureObj, o = s.systemCode, i = s.backendUrl;
|
|
841
|
+
let r = P(i, s.isTest) + "/dsc/workflow-commons/remove-transactors";
|
|
842
|
+
if (r = j(r, o, i, s.isTest), !r) return void v({ showClose: !0, type: "warning", message: T().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
843
|
+
const c = t.map((u) => u.taskId), l = D(e);
|
|
844
|
+
l.ids = c;
|
|
845
|
+
const m = O.post(r, l);
|
|
846
|
+
m && m.then((u) => {
|
|
847
|
+
q(s, n, u, "superPageRuntimeMessage.successfulOperation", !1), V(s, n);
|
|
848
|
+
});
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
function dt(e) {
|
|
852
|
+
const t = e.pageContext, s = t.backendUrl;
|
|
853
|
+
let n = P(s, t.isTest) + "/dsc/workflow-commons/initiate-extract";
|
|
854
|
+
const o = D(e);
|
|
855
|
+
if (t.completeTaskParam) {
|
|
856
|
+
const i = [];
|
|
857
|
+
e._value.loginName && i.push(e._value.loginName), o.completeTaskParam = { taskId: t.completeTaskParam.taskId, opinion: e._value.opinion, transactors: i, customTaskTitle: je(e) };
|
|
858
|
+
}
|
|
859
|
+
return new Promise((i, r) => {
|
|
860
|
+
const c = e.pageContext, l = c.systemCode, m = c.backendUrl;
|
|
861
|
+
if (n = j(n, l, m, c.isTest), !n) return void v({ showClose: !0, type: "warning", message: T().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
862
|
+
const u = O.post(n, o);
|
|
863
|
+
u && u.then((p) => {
|
|
864
|
+
let d = !0;
|
|
865
|
+
p && (d = X(p, !1, c, e, null)), d === !0 && v({ showClose: !0, type: "success", message: T().t("superPageRuntimeMessage.successfulInitiateExtract") }), i(!0);
|
|
866
|
+
}).catch((p) => {
|
|
867
|
+
r(p);
|
|
868
|
+
});
|
|
869
|
+
});
|
|
870
|
+
}
|
|
871
|
+
function zt(e, t, s, n, o, i) {
|
|
872
|
+
var c, l, m, u, p, d, g, b;
|
|
873
|
+
let r = !1;
|
|
874
|
+
if (n && n.archival) return r;
|
|
875
|
+
if (t && s && (t === "workflowSave" ? r = function(a) {
|
|
876
|
+
return !!((a.processState === void 0 || a.processState === null || a.processState === "UNSUBMIT" && a.active === "WAIT_TRANSACT" && a.theTransactor === !0) && (a.processState === void 0 || a.showButtonSave === !0) || a.processState && a.processState === "SUBMIT" && a.theTransactor === !0 && a.processingMode !== "TYPE_READ" && a.showButtonSave && (a.active === "WAIT_TRANSACT" || a.active === "WAIT_DESIGNATE_TRANSACTOR" || a.active === "WAIT_CHOICE_TACHE" || a.active === "DRAW_WAIT"));
|
|
877
|
+
}(s) : t === "workflowStart" ? r = function(a, f) {
|
|
878
|
+
return !!(a.processState === void 0 || a.processState === null || f && !f.workflow_id && !f.WORKFLOW_ID);
|
|
879
|
+
}(s, i) : t === "submitProcess" ? r = function(a) {
|
|
880
|
+
return (a.processState === void 0 || a.processState === null || a.processState === "UNSUBMIT" && a.active === "WAIT_TRANSACT" && a.theTransactor === !0) && (a.processState === void 0 || a.showButtonSave === !0);
|
|
881
|
+
}(s) : t === "submitTask" ? r = function(a) {
|
|
882
|
+
return !!(a.processState && a.processState === "SUBMIT" && a.theTransactor === !0 && a.active === "WAIT_TRANSACT" && a.processingMode === "EDIT");
|
|
883
|
+
}(s) : t === "drawTask" ? r = function(a) {
|
|
884
|
+
return !!(a.processState && a.processState === "SUBMIT" && a.active && (a.active === "DRAW_WAIT" || a.active === "DEPT_DRAW_WAIT") && a.showButtonDraw);
|
|
885
|
+
}(s) : t === "abandonReceive" ? r = function(a) {
|
|
886
|
+
return !!(a.processState && a.processState === "SUBMIT" && (a.drawTask && a.active === "WAIT_TRANSACT" || a.canAbandonDeptTask && a.active === "WAIT_TRANSACT") && a.showButtonAbandon);
|
|
887
|
+
}(s) : t === "approve" || t === "refuse" ? r = function(a) {
|
|
888
|
+
return !!(a.processState && a.processState === "SUBMIT" && a.active === "WAIT_TRANSACT" && (a.processingMode === "APPROVE" || a.processingMode === "COUNTERSIGN"));
|
|
889
|
+
}(s) : t === "readed" ? r = function(a) {
|
|
890
|
+
return a.active === "WAIT_TRANSACT" && a.processingMode === "TYPE_READ";
|
|
891
|
+
}(s) : t === "assign" ? r = function(a) {
|
|
892
|
+
return !!(a.processState && a.processState === "SUBMIT" && a.processingMode !== "TYPE_READ" && (a.active === "WAIT_TRANSACT" || a.active === "DRAW_WAIT"));
|
|
893
|
+
}(s) : t === "copyTask" ? r = function(a, f) {
|
|
894
|
+
let C = !1;
|
|
895
|
+
return a.processState && a.processState === "SUBMIT" && a.active === "WAIT_TRANSACT" && a.processingMode !== "TYPE_READ" && a.showButtonCopy && (C = !0), f && (f.props.base.state = C ? "" : "hidden"), !0;
|
|
896
|
+
}(s, o) : t === "addSigner" ? r = function(a) {
|
|
897
|
+
return !!(a.processState && a.processState === "SUBMIT" && a.active === "WAIT_TRANSACT" && a.processingMode === "COUNTERSIGN" && a.showButtonAddCounter);
|
|
898
|
+
}(s) : t === "removeSigner" ? r = function(a) {
|
|
899
|
+
return !!(a.processState && a.processState === "SUBMIT" && a.active === "WAIT_TRANSACT" && a.processingMode === "COUNTERSIGN" && a.showButtonDelCounter);
|
|
900
|
+
}(s) : t === "retrieveTask" ? r = function(a) {
|
|
901
|
+
return !!(a.processState && a.processState !== "END" && a.processState === "SUBMIT" && a.showButtonGetBack === !0 && function(f) {
|
|
902
|
+
return !(f.active !== "COMPLETED" || f.processingMode === "TYPE_READ" || !f.showButtonGetBack);
|
|
903
|
+
}(a));
|
|
904
|
+
}(s) : t === "agreement" || t === "oppose" ? r = function(a) {
|
|
905
|
+
return !!(a.processState && a.processState === "SUBMIT" && a.active === "WAIT_TRANSACT" && a.processingMode === "VOTE");
|
|
906
|
+
}(s) : t === "kiken" ? r = function(a) {
|
|
907
|
+
return !!(a.processState && a.processState === "SUBMIT" && a.active === "WAIT_TRANSACT" && a.processingMode === "VOTE" && a.showButtonKiken);
|
|
908
|
+
}(s) : t === "extractWorkflow" ? r = function(a, f, C) {
|
|
909
|
+
var S;
|
|
910
|
+
const w = Re(), k = w ? w.loginName : null;
|
|
911
|
+
if (a != null && a.processState) {
|
|
912
|
+
if (((S = f == null ? void 0 : f.firstNodeInfo) == null ? void 0 : S.nodeId) === (C == null ? void 0 : C.CURRENT_ACTIVITY_ID)) return !1;
|
|
913
|
+
if ((a == null ? void 0 : a.processState) !== "END" && (a == null ? void 0 : a.processState) !== "EXTRACT" && (a == null ? void 0 : a.processState) !== "MANUAL_END" && C && (C.creator === k || C.CREATOR === k)) return !0;
|
|
914
|
+
}
|
|
915
|
+
return !1;
|
|
916
|
+
}(s, n, i) : t === "cancelExtractWorkflow" ? r = function(a, f, C) {
|
|
917
|
+
const w = Re(), k = w ? w.loginName : null;
|
|
918
|
+
return !!((a == null ? void 0 : a.processState) === "EXTRACT" && C && (C.creator === k || C.CREATOR === k));
|
|
919
|
+
}(s, 0, i) : t === "approveExtractWorkflow" || t === "refuseExtractWorkflow" ? r = mt(s) : t === "addTransactor" || t === "removeTransactor" ? r = function(a) {
|
|
920
|
+
return !!(a.processState && a.processState === "SUBMIT" && (a.active === "WAIT_TRANSACT" || a.active === "DRAW_WAIT") && a.processingMode !== "COUNTERSIGN");
|
|
921
|
+
}(s) : function(a, f) {
|
|
922
|
+
return a.processState && a.processState === "SUBMIT" && a.processingMode !== "TYPE_READ" && !function(C) {
|
|
923
|
+
const w = C;
|
|
924
|
+
let k = !0;
|
|
925
|
+
return w && (k = w.taskComplete), k;
|
|
926
|
+
}(f);
|
|
927
|
+
}(s, n) && (r = t !== "returnToPreviousTask" || function(a) {
|
|
928
|
+
return !!a.rebuttable;
|
|
929
|
+
}(s))), o != null && o.check && ["submitTask", "approve", "refuse", "agreement", "oppose", "kiken", "extractWorkflow", "cancelExtractWorkflow", "approveExtractWorkflow", "refuseExtractWorkflow", "returnToPreviousTask", "returnTaskTo"].indexOf(t) !== -1 && r) {
|
|
930
|
+
if (e.workflowOpinion || (e.workflowOpinion = { showOpinionBox: !1 }), (l = (c = o.props) == null ? void 0 : c.base) == null ? void 0 : l.showOpinionBox) {
|
|
931
|
+
e.workflowOpinion.showOpinionBox = !0;
|
|
932
|
+
const f = (u = (m = o.props) == null ? void 0 : m.base) == null ? void 0 : u.showOpinionBoxConditions;
|
|
933
|
+
f && f.length > 0 && (e.workflowOpinion.showOpinionBox = ie(e, f));
|
|
934
|
+
}
|
|
935
|
+
let a = !1;
|
|
936
|
+
if ((d = (p = o.props) == null ? void 0 : p.base) != null && d.isMustOpinion) {
|
|
937
|
+
if (a = !0, a === !0) {
|
|
938
|
+
const f = (b = (g = o.props) == null ? void 0 : g.base) == null ? void 0 : b.mustOpinionConditions;
|
|
939
|
+
f && f.length > 0 && (a = ie(e, f));
|
|
940
|
+
}
|
|
941
|
+
e.workflowOpinion.isRequired = a, a && (e.workflowOpinion.showOpinionBox = !0);
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
return e.workflowOpinion, r;
|
|
945
|
+
}
|
|
946
|
+
function mt(e, t, s) {
|
|
947
|
+
return !(!e.processState || e.processState !== "EXTRACT" || e.active !== "WAIT_TRANSACT");
|
|
948
|
+
}
|
|
949
|
+
function We(e, t) {
|
|
950
|
+
e.entity.page || (e.entity.page = {}), e.entity.page._isRefresh = !0, ft(e, t).then((s) => {
|
|
951
|
+
e.isRefresh = !0;
|
|
952
|
+
});
|
|
953
|
+
}
|
|
954
|
+
function ft(e, t, s) {
|
|
955
|
+
const n = e.pageType;
|
|
956
|
+
return n && n === "form" ? (e.canClick = !1, re(e) ? function(o, i, r) {
|
|
957
|
+
return new Promise((c, l) => {
|
|
958
|
+
const m = o.systemCode, u = o.code, p = o.version, d = $(o);
|
|
959
|
+
let g = i || null, b = i ? [i] : null;
|
|
960
|
+
r === void 0 || r ? (g || (g = d && d.id ? d.id : null), b || (b = d ? d.ids : null)) : (g = null, b = null, d._id = d.id, d.id = null);
|
|
961
|
+
const a = d ? d.taskId : null, f = u, C = { pageCode: u, pageVersion: p, tableName: o.tableName, formNoRuleCode: o.formNoRuleCode, isWorkflowEntity: !0, systemCode: m, functionCode: f + ".workflowGets", listCodesMap: o.listCodesMap, listCodesInitSearchForm: o.listCodesInitSearchForm };
|
|
962
|
+
if (o.listCodesMap, (!o.listCodesMap || Object.keys(o.listCodesMap).length === 0) && o.tableUuids) {
|
|
963
|
+
const h = {};
|
|
964
|
+
o.tableUuids.forEach((y) => {
|
|
965
|
+
const x = ve(u, p, y);
|
|
966
|
+
h[x] = x;
|
|
967
|
+
}), C.listCodesMap = h;
|
|
968
|
+
}
|
|
969
|
+
b && (C.ids = Ae(b)), a ? C.taskId = a : g ? C.id = g : (d && d._t_ && se(d._t_ + "_id") && (C.id = se(d._t_ + "_id")), o.notIdInitializationList && (C.noIdAndTaskIdInitSetting = JSON.stringify(o.notIdInitializationList))), d && (C.additionalParamMap = d), o.beanName && (C.beanName = o.beanName), o.refercePropMap && (C.refercePropMap = o.refercePropMap);
|
|
970
|
+
const w = P(o.backendUrl, o.isTest) + "/dsc/workflow-commons/gets", k = Ie();
|
|
971
|
+
k.restorePageLoadState(), oe(null, o, o, "beforeFormLoadData");
|
|
972
|
+
const S = Me(o.code, C.id);
|
|
973
|
+
O.post(w, C).then(async (h) => {
|
|
974
|
+
S && await Oe(o, C.id, h), o.workflowOpinion = { showOpinionBox: !1 }, o.definitionId = h.definitionId, o.entity.task = h.taskParamMap, o.dataTypeMaps = h.dataTypeMap, X(h, !0, o), o.workflowRules = st(o);
|
|
975
|
+
const y = o.pageType;
|
|
976
|
+
y && y === "form" && function(x) {
|
|
977
|
+
(function(M) {
|
|
978
|
+
const R = /* @__PURE__ */ new Map(), A = M.fieldPermissions;
|
|
979
|
+
if (A !== void 0) for (let N = 0; N < A.length; N++) {
|
|
980
|
+
const I = A[N].name;
|
|
981
|
+
if (I) if (I.indexOf("$") === 0 && I.indexOf(".") > 0) {
|
|
982
|
+
const E = A[N], U = JSON.parse(JSON.stringify(E)), F = I.substring(1, I.indexOf(".")), B = I.substring(I.indexOf(".") + 1);
|
|
983
|
+
if (U.name = B, U && U.name === "all_fields") U.canEdit === !1 ? U.rowIndexes ? R.set(F, [{ name: "all_fields", canEdit: !1, rowIndexes: U.rowIndexes }]) : R.set(F, [{ name: "all_fields", canEdit: !1 }]) : U.rowIndexes ? R.set(F, [{ name: "all_fields", canEdit: !0, rowIndexes: U.rowIndexes }]) : R.set(F, [{ name: "all_fields", canEdit: !0 }]);
|
|
984
|
+
else {
|
|
985
|
+
let G = R.get(F);
|
|
986
|
+
G || (G = []), G.push(U), R.set(F, G);
|
|
987
|
+
}
|
|
988
|
+
} else R.set(I, A[N]);
|
|
989
|
+
}
|
|
990
|
+
M.fieldPermissionMap = R;
|
|
991
|
+
})(x), function(M) {
|
|
992
|
+
const R = M.fieldPermissionMap, A = /* @__PURE__ */ new Map(), N = M.actionPermissions;
|
|
993
|
+
N != null && Object.keys(N).forEach((I) => {
|
|
994
|
+
const E = N[I], U = R.get(I);
|
|
995
|
+
if (U && U.length > 0 && U[0].name === "all_fields" && U[0].canEdit === !1) E.canUpdate = !1, E.canAdd = !1;
|
|
996
|
+
else {
|
|
997
|
+
E && Object.keys(E.deleteCondition).length !== 0 || (E.deleteCondition = null), E && Object.keys(E.updateCondition).length !== 0 || (E.updateCondition = null);
|
|
998
|
+
const F = E.canUpdate, B = E.updateRowIndexes;
|
|
999
|
+
F !== void 0 && F === !1 && B != null && B.length > 0 && R.set(I, [{ name: "all_fields", canEdit: !1, rowIndexes: B }]);
|
|
1000
|
+
}
|
|
1001
|
+
A.set(I, E);
|
|
1002
|
+
}), M.actionPermissionMap = A;
|
|
1003
|
+
}(x);
|
|
1004
|
+
}(o), o.canClick = !0, oe(null, o, o, "afterFormLoadData"), k.setFormPageDataLoadState(!0), c(h);
|
|
1005
|
+
}).catch((h) => {
|
|
1006
|
+
o.canClick = !0, l(h);
|
|
1007
|
+
});
|
|
1008
|
+
});
|
|
1009
|
+
}(e, t, s) : function(o, i, r) {
|
|
1010
|
+
return new Promise((c, l) => {
|
|
1011
|
+
const m = o.systemCode, u = o.code, p = o.version, d = $(o);
|
|
1012
|
+
let g = i || null, b = i ? [i] : null;
|
|
1013
|
+
r === void 0 || r ? (g || (g = d && d.id ? d.id : null), b || (b = d ? d.ids : null)) : (g = null, b = null, d._id = d.id, d.id = null);
|
|
1014
|
+
const a = d ? d.taskId : null, f = u, C = P(o.backendUrl, o.isTest), w = { pageCode: u, pageVersion: p, tableName: o.tableName, formNoRuleCode: o.formNoRuleCode, id: g, systemCode: m, functionCode: f + ".gets", listCodesMap: o.listCodesMap, listCodesInitSearchForm: o.listCodesInitSearchForm };
|
|
1015
|
+
if (!w.id && d && d._t_ && se(d._t_ + "_id") && (w.id = se(d._t_ + "_id")), b && (w.ids = Ae(b)), o.notIdInitializationList && (w.noIdAndTaskIdInitSetting = JSON.stringify(o.notIdInitializationList)), d && (w.additionalParamMap = d), o.beanName && (w.beanName = o.beanName), a && (w.taskId = a), o.listCodesMap, (!o.listCodesMap || Object.keys(o.listCodesMap).length === 0) && o.tableUuids) {
|
|
1016
|
+
const y = {};
|
|
1017
|
+
o.tableUuids.forEach((x) => {
|
|
1018
|
+
const M = ve(u, p, x);
|
|
1019
|
+
y[M] = M;
|
|
1020
|
+
}), w.listCodesMap = y;
|
|
1021
|
+
}
|
|
1022
|
+
o.refercePropMap && (w.refercePropMap = o.refercePropMap);
|
|
1023
|
+
const k = C + "/dsc/commons/gets", S = Ie();
|
|
1024
|
+
S.restorePageLoadState(), oe(null, o, o, "beforeFormLoadData");
|
|
1025
|
+
const h = Me(o.code, w.id);
|
|
1026
|
+
O.post(k, w).then(async (y) => {
|
|
1027
|
+
y && (h && await Oe(o, w.id, y), o.entity.data = y.entity, o.initFormNo = y.formNo);
|
|
1028
|
+
const x = o.customRules, M = o.rules, R = ot(o, x, M);
|
|
1029
|
+
o.rules = R, o.canClick = !0, oe(null, o, o, "afterFormLoadData"), S.setFormPageDataLoadState(!0), c(y);
|
|
1030
|
+
}).catch((y) => {
|
|
1031
|
+
o.canClick = !0, l(y);
|
|
1032
|
+
});
|
|
1033
|
+
});
|
|
1034
|
+
}(e, t, s)) : new Promise((o, i) => {
|
|
1035
|
+
o(!0);
|
|
1036
|
+
});
|
|
1037
|
+
}
|
|
1038
|
+
async function Oe(e, t, s) {
|
|
1039
|
+
try {
|
|
1040
|
+
await ue.confirm("检测到您有未保存的数据,是否继续填写上次未保存的数据?", "提示", { confirmButtonText: "是", cancelButtonText: "否", type: "warning" }), s.entity = rt(e.code, t, s.entity);
|
|
1041
|
+
} catch {
|
|
1042
|
+
}
|
|
1043
|
+
ct(e.code, t);
|
|
1044
|
+
}
|
|
1045
|
+
function Ae(e) {
|
|
1046
|
+
return e && (typeof e == "string" ? e = e.split(",") : typeof e == "number" && (e = [e])), e;
|
|
1047
|
+
}
|
|
1048
|
+
function Pe(e) {
|
|
1049
|
+
const t = e.props.setValueList;
|
|
1050
|
+
if (t) {
|
|
1051
|
+
if (ne(t) && t.length > 0) return JSON.stringify(t);
|
|
1052
|
+
if (typeof t == "string" && t !== "[]") return t;
|
|
1053
|
+
}
|
|
1054
|
+
return null;
|
|
1055
|
+
}
|
|
1056
|
+
function Kt(e, t) {
|
|
1057
|
+
const s = e.entity ? e.entity : {}, n = { data: s.data, page: s.page }, o = { pageCode: e.code, queryCondition: JSON.stringify(n), name: t }, i = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition";
|
|
1058
|
+
return O.post(i, o);
|
|
1059
|
+
}
|
|
1060
|
+
function Xt(e) {
|
|
1061
|
+
const t = e.code, s = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/list/" + t;
|
|
1062
|
+
return O.get(s);
|
|
1063
|
+
}
|
|
1064
|
+
function Qt(e) {
|
|
1065
|
+
const t = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/" + e;
|
|
1066
|
+
return O.delete(t);
|
|
1067
|
+
}
|
|
1068
|
+
function Fe(e) {
|
|
1069
|
+
e.exportNoticeInfo && (e.exportNoticeInfo.noticeInterval && clearInterval(e.exportNoticeInfo.noticeInterval), e.exportNoticeInfo.noticeComponent = null, e.exportNoticeInfo.noticeInterval = null), e.exportNoticeInfo = {}, Le(e.exportNoticeInfo, e.backendUrl, e.code);
|
|
1070
|
+
}
|
|
1071
|
+
function Be(e, t, s) {
|
|
1072
|
+
e.lastFileTask && !e.noticeComponent ? e.noticeComponent = Je({ title: T().t("superPageRuntimeMessage.logTip"), duration: 0, position: "top-right", type: "success", onClose() {
|
|
1073
|
+
e.lastFileTask.taskState === "Success" || e.lastFileTask.taskState === "Fail" || e.lastFileTask.taskState === "PartSuccess" ? we(t, s, e.lastFileTask.id, e) : (e.noticeComponent = null, e.noticeInterval == null && Le(e, t, s));
|
|
1074
|
+
}, message: () => at(it, { isShow: !0, backendUrl: t, lastFileTask: e.lastFileTask, onClickMsg(n) {
|
|
1075
|
+
n.serverPath ? function(o, i, r, c, l, m) {
|
|
1076
|
+
we(l, m, r, c);
|
|
1077
|
+
const u = Te(), p = P(l), d = p + "/common/super-form/downloads?jwt=" + u + "&showName=" + encodeURI(o) + "&serverPath=" + i;
|
|
1078
|
+
window.open(d);
|
|
1079
|
+
}(n.fileName, n.serverPath, n.id, e, t, s) : we(t, s, n.id, e), e.noticeComponent.close(), e.noticeComponent = null;
|
|
1080
|
+
} }) }) : (e.noticeComponent != null && (e.noticeComponent.close(), e.noticeComponent = null), e.noticeInterval && (clearInterval(e.noticeInterval), e.noticeInterval = null));
|
|
1081
|
+
}
|
|
1082
|
+
function Le(e, t, s) {
|
|
1083
|
+
e.noticeInterval || (e.noticeInterval = setInterval(() => {
|
|
1084
|
+
e.noticeComponent || function(n, o, i) {
|
|
1085
|
+
Ve(o, i).then((r) => {
|
|
1086
|
+
n.lastFileTask = r, Be(n, o, i);
|
|
1087
|
+
});
|
|
1088
|
+
}(e, t, s);
|
|
1089
|
+
}, 3e3));
|
|
1090
|
+
}
|
|
1091
|
+
function Ve(e, t) {
|
|
1092
|
+
return et(e, t);
|
|
1093
|
+
}
|
|
1094
|
+
function we(e, t, s, n) {
|
|
1095
|
+
tt(e, s).then(() => {
|
|
1096
|
+
(function(o, i, r) {
|
|
1097
|
+
Ve(i, r).then((c) => {
|
|
1098
|
+
o.lastFileTask = c, Be(o, i, r);
|
|
1099
|
+
});
|
|
1100
|
+
})(n, e, t);
|
|
1101
|
+
});
|
|
1102
|
+
}
|
|
1103
|
+
export {
|
|
1104
|
+
q as dealAfterOperate,
|
|
1105
|
+
X as dealCompleteTaskParam,
|
|
1106
|
+
Qt as deleteChartCondition,
|
|
1107
|
+
Bt as doAddSigner,
|
|
1108
|
+
Lt as doAddTransactor,
|
|
1109
|
+
Ft as doAssign,
|
|
1110
|
+
Vt as doCreateCopyTask,
|
|
1111
|
+
Fe as doFileTaskFunc,
|
|
1112
|
+
jt as doImportFinally,
|
|
1113
|
+
Gt as doRemoveSigners,
|
|
1114
|
+
Yt as doRemoveTransactors,
|
|
1115
|
+
qt as doReturnTaskTo,
|
|
1116
|
+
Ut as exportFormReport,
|
|
1117
|
+
dt as extractWorkflowFunc,
|
|
1118
|
+
$ as getAdditionalParamMap,
|
|
1119
|
+
ft as getFormData,
|
|
1120
|
+
Ht as getRemoveSigner,
|
|
1121
|
+
Jt as getRemoveTransactor,
|
|
1122
|
+
ut as getSaveFormRequest,
|
|
1123
|
+
lt as getSaveFormRequestWithRow,
|
|
1124
|
+
$t as getTaskInformitions,
|
|
1125
|
+
zt as isVisibleWorkflowButton,
|
|
1126
|
+
Wt as judgeDataNumber,
|
|
1127
|
+
Xt as listChartConditions,
|
|
1128
|
+
Dt as refreshFormOrListPage,
|
|
1129
|
+
We as refreshPage,
|
|
1130
|
+
Kt as saveChartConditionBase,
|
|
1131
|
+
Et as standardEvents,
|
|
1132
|
+
_t as updateValuesWhenCloseDialog
|
|
1133
|
+
};
|