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