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
|
@@ -1,1101 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const e = require("../common-util.js"), t = require("agilebuilder-ui/src/utils/request"), s = require("agilebuilder-ui/src/utils/util"), n = require("element-plus"), o = require("agilebuilder-ui/src/utils/auth"), a = require("../global-refs.js"), i = require("../eventBus.js"), r = require("axios"), c = require("./event-util.js"), l = require("../store-util.js"), u = require("../page-init-util.js"), p = require("../page-helper-util.js"), d = require("./print-label.js"), m = require("../table-utils.js"), g = require("./validator-util.js"), f = require("../api/page-expose-util.js"), C = require("../page-store.js"), b = require("agilebuilder-ui/src/utils/common-util"), w = require("vue"), T = require("../../views/assemblys/common/file-task-notice.vue.js"), k = { save: function(e2) {
|
|
4
|
-
return P(e2, false);
|
|
5
|
-
}, saveList: function(e2) {
|
|
6
|
-
return P(e2, true);
|
|
7
|
-
}, exportForm: function(e2) {
|
|
8
|
-
const t2 = e2.pageContext.code + "_";
|
|
9
|
-
i.$emit(t2 + "export-form-report", e2);
|
|
10
|
-
}, exportPDF: function(e2) {
|
|
11
|
-
const t2 = e2.pageContext.code + "_";
|
|
12
|
-
i.$emit(t2 + "export-pdf-report", e2);
|
|
13
|
-
}, submit: function(e2) {
|
|
14
|
-
return A(e2, false, "submit", "/dsc/commons/submits");
|
|
15
|
-
}, submitList: function(e2) {
|
|
16
|
-
return A(e2, true, "submit", "/dsc/commons/batch-submits");
|
|
17
|
-
}, agree: function(e2) {
|
|
18
|
-
return A(e2, false, "agree", "/dsc/commons/approves");
|
|
19
|
-
}, agreeList: function(e2) {
|
|
20
|
-
return A(e2, true, "agree", "/dsc/commons/batch-approves");
|
|
21
|
-
}, disagree: function(e2) {
|
|
22
|
-
return A(e2, false, "disagree", "/dsc/commons/refuses");
|
|
23
|
-
}, disagreeList: function(e2) {
|
|
24
|
-
return A(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
|
-
N(t2, e2.configureObj, s2, n2);
|
|
28
|
-
}, delete: function(o2) {
|
|
29
|
-
return function(o3) {
|
|
30
|
-
return new Promise((i2, r2) => {
|
|
31
|
-
const c2 = o3.ids;
|
|
32
|
-
if (!c2 || 0 === c2.length) return n.ElMessage({ showClose: true, type: "warning", message: s.getI18n().t("superPageRuntimeMessage.pleaseSelectRecord") }), void i2(true);
|
|
33
|
-
n.ElMessageBox.confirm(s.getI18n().t("superPageRuntimeMessage.whetherToConfirmDeletion"), s.getI18n().t("superPageRuntimeMessage.tips"), { confirmButtonText: s.getI18n().t("superPageRuntimeMessage.sure"), cancelButtonText: s.getI18n().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
|
|
34
|
-
var _a, _b, _c;
|
|
35
|
-
const s2 = o3.pageContext, n2 = o3.configureObj, l2 = n2.props.base, p2 = s2.systemCode, d2 = s2.backendUrl, g2 = n2.props.base.tableUuid ? n2.props.base.tableUuid : o3.tableUuid, f2 = m.getTableNameByTableUuid(s2, g2);
|
|
36
|
-
let C2 = e.getBaseUrl(d2, s2.isTest) + "/dsc/commons/" + f2;
|
|
37
|
-
C2 = e.getRealRestApiPath(C2, p2, d2, s2.isTest);
|
|
38
|
-
const w2 = void 0 === l2.isPermission || "true" === l2.isPermission || l2.isPermission, T2 = e.isWorkflowPage(s2), k2 = u.getPermissionCodes(n2, s2), h2 = { ids: c2, functionCode: k2, isPermission: w2 + "", systemCode: p2, isWorkflowEntity: T2, listCodesMap: s2.listCodesMap, pageCode: s2.code, pageVersion: s2.version };
|
|
39
|
-
s2.beanName && (h2.beanName = s2.beanName);
|
|
40
|
-
const y2 = n2.props.deleteLogicSetting;
|
|
41
|
-
y2 && ("object" == typeof y2 ? h2.deleteLogicSetting = JSON.stringify(y2) : "string" == typeof y2 && (h2.deleteLogicSetting = y2));
|
|
42
|
-
const P2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
|
|
43
|
-
P2 && (h2.logSettingText = P2.join(""));
|
|
44
|
-
const R2 = n2.props.base.isSafeDelete;
|
|
45
|
-
R2 && (h2.isSafeDelete = R2);
|
|
46
|
-
const I2 = (_c = (_b = n2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
|
|
47
|
-
I2 && (h2.currentOperation = I2), h2.isMobile = b.isMobileBrowser(), t.delete(C2, { data: h2 }).then((e2) => {
|
|
48
|
-
const t2 = a.getComponentRef(s2, g2);
|
|
49
|
-
t2 && (t2.isDeleteChange(true), t2.clearSelections()), v(s2, n2, e2, "superPageRuntimeMessage.successfulDelete", true), i2(true);
|
|
50
|
-
}).catch((e2) => {
|
|
51
|
-
r2(e2);
|
|
52
|
-
});
|
|
53
|
-
}).catch(() => {
|
|
54
|
-
r2();
|
|
55
|
-
});
|
|
56
|
-
});
|
|
57
|
-
}(o2);
|
|
58
|
-
}, downloadTemplate: function(t2) {
|
|
59
|
-
!function(t3) {
|
|
60
|
-
var _a, _b, _c;
|
|
61
|
-
const s2 = t3.pageContext, n2 = t3.configureObj, a2 = n2.props.base, i2 = e.packageTemplateFiles(a2.templateFiles, s2, n2);
|
|
62
|
-
let r2, c2;
|
|
63
|
-
i2 && i2.length > 0 && (r2 = i2[0].templateUuid, c2 = i2[0].templateName);
|
|
64
|
-
const l2 = s2.systemCode, p2 = s2.backendUrl, d2 = c2;
|
|
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) : s2.label && (m2 += "&showName=" + encodeURI(s2.label) + ".xlsx");
|
|
67
|
-
const g2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
|
|
68
|
-
g2 && (m2 += "&logSettingText=" + g2.join(""));
|
|
69
|
-
l2 && (m2 += "&systemCode=" + l2);
|
|
70
|
-
const f2 = t3.listCode;
|
|
71
|
-
f2 && (m2 += "&listCode=" + f2);
|
|
72
|
-
s2.beanName && (m2 += "&beanName=" + s2.beanName);
|
|
73
|
-
const C2 = u.getPermissionCodes(n2, s2);
|
|
74
|
-
C2 && (m2 += "&functionCode=" + C2);
|
|
75
|
-
s2.tableName && (m2 += "&tableName=" + s2.tableName);
|
|
76
|
-
s2.code && (m2 += "&pageCode=" + s2.code);
|
|
77
|
-
s2.version && (m2 += "&pageVersion=" + s2.version);
|
|
78
|
-
const w2 = o.getToken();
|
|
79
|
-
w2 && (m2 += "&JWT=" + w2);
|
|
80
|
-
const T2 = (_c = (_b = n2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
|
|
81
|
-
T2 && (m2 += "¤tOperation=" + encodeURI(T2));
|
|
82
|
-
m2 += "&isMobile=" + b.isMobileBrowser();
|
|
83
|
-
const k2 = "_RUN_CURRENT_ROLE", h2 = o.getSessionCache(k2);
|
|
84
|
-
h2 && (m2 += "&" + k2 + "=" + h2);
|
|
85
|
-
if (a2) {
|
|
86
|
-
m2 += "&isPermission=" + (void 0 === a2.isPermission || "true" === a2.isPermission || a2.isPermission);
|
|
87
|
-
}
|
|
88
|
-
const y2 = e.getBaseUrl(p2, s2.isTest);
|
|
89
|
-
window.open(y2 + "/dsc/commons/download-files" + m2);
|
|
90
|
-
}(t2);
|
|
91
|
-
}, import: function(e2) {
|
|
92
|
-
const t2 = e2.pageContext.code + "_";
|
|
93
|
-
i.$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, c2 = {};
|
|
99
|
-
r2 && r2.length > 0 && (c2.data = r2);
|
|
100
|
-
let l2 = n2.label;
|
|
101
|
-
l2 || (l2 = 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 = u.getPermissionCodes(o2, n2), g2 = l2, 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(c2, g2, i2, m2, null, f2, p2, n2.code, d2), p2 && setTimeout(() => {
|
|
106
|
-
J(n2);
|
|
107
|
-
}, 100);
|
|
108
|
-
});
|
|
109
|
-
}(e2);
|
|
110
|
-
}, search: function(e2) {
|
|
111
|
-
const t2 = e2.pageContext, s2 = e2.tableUuid;
|
|
112
|
-
a.getComponentRef(t2, s2).refresh();
|
|
113
|
-
}, showSearch: function(e2) {
|
|
114
|
-
const t2 = e2.pageContext, s2 = e2.tableUuid;
|
|
115
|
-
a.getComponentRef(t2, s2).showMobileSearch();
|
|
116
|
-
}, workflowSave: function(o2) {
|
|
117
|
-
return i.$emit("clearTableAllStartEditing"), async function(o3) {
|
|
118
|
-
return new Promise((a2, r2) => {
|
|
119
|
-
const c2 = o3.pageContext, l2 = c2.entity.data, u2 = c2.systemCode, p2 = c2.backendUrl;
|
|
120
|
-
let d2 = e.getBaseUrl(p2, c2.isTest) + "/dsc/workflow-commons";
|
|
121
|
-
if (d2 = e.getRealRestApiPath(d2, u2, p2, c2.isTest), !d2) return void n.ElMessage({ showClose: true, type: "warning", message: s.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
122
|
-
const m2 = U(o3);
|
|
123
|
-
let g2;
|
|
124
|
-
g2 = l2.id || l2.ID ? t.put(d2, m2) : t.post(d2, m2), g2.then((e2) => {
|
|
125
|
-
let t2 = true;
|
|
126
|
-
e2 && (t2 = O(e2, false, c2, o3, null)), true === t2 && n.ElMessage({ showClose: true, type: "success", message: s.getI18n().t("superPageRuntimeMessage.successfulSave") }), i.$emit("clearTableAllEndEditing"), a2(true);
|
|
127
|
-
}).catch((e2) => {
|
|
128
|
-
r2(e2);
|
|
129
|
-
});
|
|
130
|
-
});
|
|
131
|
-
}(o2);
|
|
132
|
-
}, workflowStart: function(o2) {
|
|
133
|
-
return i.$emit("clearTableAllStartEditing"), async function(o3) {
|
|
134
|
-
return new Promise((a2, r2) => {
|
|
135
|
-
const c2 = o3.pageContext, l2 = c2.entity.data, u2 = c2.systemCode, p2 = c2.backendUrl;
|
|
136
|
-
let d2 = e.getBaseUrl(p2, c2.isTest) + "/dsc/workflow-commons/start";
|
|
137
|
-
if (d2 = e.getRealRestApiPath(d2, u2, p2, c2.isTest), !d2) return void n.ElMessage({ showClose: true, type: "warning", message: s.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
138
|
-
const m2 = U(o3);
|
|
139
|
-
let g2;
|
|
140
|
-
l2.workflow_id || l2.WORKFLOW_ID ? (d2 = e.getBaseUrl(p2, c2.isTest) + "/dsc/workflow-commons", d2 = e.getRealRestApiPath(d2, u2, p2, c2.isTest), g2 = t.put(d2, m2)) : g2 = t.post(d2, m2), g2.then((e2) => {
|
|
141
|
-
let t2 = true;
|
|
142
|
-
e2 && (t2 = O(e2, false, c2, o3, null)), true === t2 && n.ElMessage({ showClose: true, type: "success", message: s.getI18n().t("superPageRuntimeMessage.successfulStart") }), i.$emit("clearTableAllEndEditing"), a2(true);
|
|
143
|
-
}).catch((e2) => {
|
|
144
|
-
r2(e2);
|
|
145
|
-
});
|
|
146
|
-
});
|
|
147
|
-
}(o2);
|
|
148
|
-
}, submitProcess: function(o2) {
|
|
149
|
-
return i.$emit("clearTableAllStartEditing"), function(o3) {
|
|
150
|
-
return new Promise((a2, r2) => {
|
|
151
|
-
const c2 = o3.pageContext, l2 = c2.systemCode, u2 = c2.backendUrl;
|
|
152
|
-
let p2 = e.getBaseUrl(u2, c2.isTest) + "/dsc/workflow-commons/submit";
|
|
153
|
-
if (p2 = e.getRealRestApiPath(p2, l2, u2, c2.isTest), !p2) return void n.ElMessage({ showClose: true, type: "warning", message: s.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
154
|
-
const d2 = U(o3), m2 = t.post(p2, d2);
|
|
155
|
-
m2 && m2.then((e2) => {
|
|
156
|
-
let t2 = true;
|
|
157
|
-
e2 && (t2 = O(e2, false, c2, o3, null)), true === t2 && n.ElMessage({ showClose: true, type: "success", message: s.getI18n().t("superPageRuntimeMessage.successfulSubmit") }), i.$emit("clearTableAllEndEditing"), a2(true);
|
|
158
|
-
}).catch((e2) => {
|
|
159
|
-
r2(e2);
|
|
160
|
-
});
|
|
161
|
-
});
|
|
162
|
-
}(o2);
|
|
163
|
-
}, submitTask: function(e2) {
|
|
164
|
-
return B(e2, "SUBMIT");
|
|
165
|
-
}, approve: function(e2) {
|
|
166
|
-
return B(e2, "APPROVE");
|
|
167
|
-
}, refuse: function(e2) {
|
|
168
|
-
return B(e2, "REFUSE");
|
|
169
|
-
}, readed: function(e2) {
|
|
170
|
-
return B(e2, "READED");
|
|
171
|
-
}, agreement: function(e2) {
|
|
172
|
-
return B(e2, "AGREEMENT");
|
|
173
|
-
}, oppose: function(e2) {
|
|
174
|
-
return B(e2, "OPPOSE");
|
|
175
|
-
}, kiken: function(e2) {
|
|
176
|
-
return B(e2, "KIKEN");
|
|
177
|
-
}, assign: function(e2) {
|
|
178
|
-
return function(e3) {
|
|
179
|
-
const t2 = e3.pageContext, s2 = t2.code + "_";
|
|
180
|
-
i.$emit(s2 + "assign-task", e3);
|
|
181
|
-
}(e2);
|
|
182
|
-
}, copyTask: function(e2) {
|
|
183
|
-
return function(e3) {
|
|
184
|
-
const t2 = e3.pageContext, s2 = t2.code + "_";
|
|
185
|
-
i.$emit(s2 + "copy-task", e3);
|
|
186
|
-
}(e2);
|
|
187
|
-
}, addSigner: function(e2) {
|
|
188
|
-
return function(e3) {
|
|
189
|
-
const t2 = e3.pageContext, s2 = t2.code + "_";
|
|
190
|
-
i.$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 = U(t3);
|
|
195
|
-
return F(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 = U(t3);
|
|
200
|
-
return F(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 = U(t3);
|
|
205
|
-
return F(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 = U(t3);
|
|
210
|
-
return F(t3, a2, o2, "superPageRuntimeMessage.successfulEndInstance");
|
|
211
|
-
}(t2);
|
|
212
|
-
}, returnTaskTo: function(e2) {
|
|
213
|
-
return function(e3) {
|
|
214
|
-
const t2 = e3.pageContext, s2 = t2.code + "_";
|
|
215
|
-
i.$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
|
-
i.$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 = U(t3);
|
|
225
|
-
return F(t3, a2, o2, "superPageRuntimeMessage.successfulRetrieve");
|
|
226
|
-
}(t2);
|
|
227
|
-
}, extractWorkflow: function(e2) {
|
|
228
|
-
return L(e2);
|
|
229
|
-
}, extractWorkflowEvent: function(e2) {
|
|
230
|
-
return function(e3) {
|
|
231
|
-
const t2 = e3.pageContext;
|
|
232
|
-
i.$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 = U(t3);
|
|
237
|
-
return F(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 = U(t3);
|
|
242
|
-
return F(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 = U(t3);
|
|
247
|
-
return F(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, n2 = a.getComponentRef(t2, s2);
|
|
253
|
-
n2 && (e3.getDefaultValueFunc = u.getDefaultValue, n2.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
|
-
d.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(t2) {
|
|
272
|
-
!function(t3) {
|
|
273
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
|
274
|
-
const s2 = t3.pageContext, n2 = s2.allChartUuids;
|
|
275
|
-
if (!n2 || 0 == n2.length) return;
|
|
276
|
-
const o2 = t3.configureObj;
|
|
277
|
-
let i2 = null;
|
|
278
|
-
o2 && o2.runtime && (i2 = o2.runtime.props);
|
|
279
|
-
const c2 = i2 ? i2.state : void 0;
|
|
280
|
-
i2 && (i2.state = "disabled");
|
|
281
|
-
const l2 = [];
|
|
282
|
-
for (let e2 = 0; e2 < n2.length; e2++) {
|
|
283
|
-
const t4 = n2[e2], o3 = a.getComponentRef(s2, t4);
|
|
284
|
-
if (o3) {
|
|
285
|
-
const e3 = o3.getConfigure();
|
|
286
|
-
e3 && e3.exportable && e3._dynamicShowFlag && o3.exportChart && l2.push(o3.exportChart());
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
if (!l2 || 0 == l2.length) return;
|
|
290
|
-
let u2, p2 = s2.label;
|
|
291
|
-
p2 || (p2 = s2.code);
|
|
292
|
-
u2 = p2;
|
|
293
|
-
const d2 = { reportDataList: l2, beanName: s2.beanName, systemCode: s2.systemCode, pageCode: s2.code }, m2 = W(s2);
|
|
294
|
-
d2.additionalParamMap = m2;
|
|
295
|
-
const g2 = (_b = (_a = o2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
|
|
296
|
-
g2 && (d2.currentOperation = g2);
|
|
297
|
-
d2.isMobile = b.isMobileBrowser(), d2.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) + "", d2.watermark = ((_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("-~") : "";
|
|
298
|
-
const f2 = s2.backendUrl, C2 = e.getBaseUrl(f2, s2.isTest) + "/dsc/commons/exportChart";
|
|
299
|
-
y();
|
|
300
|
-
r.post(C2, d2, { responseType: "blob" }).then((e2) => {
|
|
301
|
-
const t4 = document.createElement("a");
|
|
302
|
-
t4.style.display = "none", t4.href = URL.createObjectURL(e2.data), t4.setAttribute("download", u2 + ".xlsx"), document.body.appendChild(t4), t4.click(), document.body.removeChild(t4);
|
|
303
|
-
}).finally(() => {
|
|
304
|
-
i2 && (i2.state = c2);
|
|
305
|
-
});
|
|
306
|
-
}(t2);
|
|
307
|
-
}, saveQueryCharts: function(e2) {
|
|
308
|
-
!function(e3) {
|
|
309
|
-
const t2 = e3.pageContext, s2 = e3.configureObj, n2 = t2.code + "_";
|
|
310
|
-
i.$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
|
-
i.$emit(s2 + "add-transactor", e3);
|
|
316
|
-
}(e2);
|
|
317
|
-
}, removeTransactor: function(e2) {
|
|
318
|
-
return function(e3) {
|
|
319
|
-
const t2 = e3.pageContext, s2 = t2.code + "_";
|
|
320
|
-
i.$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"), p.updateChartDatasources(t2, s2, void 0, e2.isInitChart).then(() => {
|
|
331
|
-
o2 && (o2.state = a2);
|
|
332
|
-
}).catch(() => {
|
|
333
|
-
o2 && (o2.state = a2);
|
|
334
|
-
});
|
|
335
|
-
}
|
|
336
|
-
function y() {
|
|
337
|
-
r.defaults.headers.common.Authorization = o.getToken();
|
|
338
|
-
const e2 = o.getRunCurrentRole();
|
|
339
|
-
if (e2) {
|
|
340
|
-
const t2 = "_RUN_CURRENT_ROLE";
|
|
341
|
-
r.defaults.headers.common[t2] = e2;
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
function P(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 = M(o2, a2, "/dsc/commons", l2, i2, r2);
|
|
350
|
-
u2 ? u2.then((e3) => {
|
|
351
|
-
v(o2, a2, e3, "superPageRuntimeMessage.successfulSave", t2), s2(e3);
|
|
352
|
-
}).catch((e3) => {
|
|
353
|
-
n2(e3);
|
|
354
|
-
}) : n2("保存时request不存在");
|
|
355
|
-
});
|
|
356
|
-
}
|
|
357
|
-
function R(t2, s2, n2, o2, a2, i2, r2) {
|
|
358
|
-
var _a, _b, _c;
|
|
359
|
-
const c2 = e.isWorkflowPage(t2), l2 = t2.systemCode, p2 = void 0 === s2.props.base.isPermission || "true" === s2.props.base.isPermission || s2.props.base.isPermission, d2 = u.getPermissionCodes(s2, t2);
|
|
360
|
-
let m2 = r2;
|
|
361
|
-
m2 || (m2 = t2.entity.data);
|
|
362
|
-
const g2 = { entity: m2, tableName: t2.tableName, formNoRuleCode: t2.formNoRuleCode, isWorkflowEntity: c2, functionCode: d2, isPermission: p2 + "", listCodesMap: t2.listCodesMap, pageCode: t2.code, pageVersion: t2.version, listCodesInitSearchForm: t2.listCodesInitSearchForm };
|
|
363
|
-
i2 && (g2.ids = i2), t2.judgeHeavyList && (e.isArrayFn(t2.judgeHeavyList) ? g2.judgeHeavyList = JSON.stringify(t2.judgeHeavyList) : g2.judgeHeavyList = t2.judgeHeavyList);
|
|
364
|
-
const f2 = s2.props.base.conversionCodes;
|
|
365
|
-
f2 && (e.isArrayFn(f2) ? g2.dataConversionRule = f2.join(",") : "string" == typeof f2 && (g2.dataConversionRule = f2));
|
|
366
|
-
const C2 = G(s2);
|
|
367
|
-
C2 && (g2.autoSetValueData = C2);
|
|
368
|
-
const w2 = (_a = s2.props.base) == null ? void 0 : _a.logSetting;
|
|
369
|
-
w2 && (g2.logSettingText = w2.join("")), g2.systemCode || (g2.systemCode = l2);
|
|
370
|
-
const T2 = t2.beanName;
|
|
371
|
-
T2 && (g2.beanName = T2), a2 && (g2.dynamicColumnInfo = a2), o2 && (g2.mainDefaultValueColumns = o2);
|
|
372
|
-
const k2 = W(t2);
|
|
373
|
-
g2.additionalParamMap = k2, void 0 !== n2 && (g2.unControlVersion = n2);
|
|
374
|
-
const h2 = (_c = (_b = s2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
|
|
375
|
-
return h2 && (g2.currentOperation = h2), g2.isMobile = b.isMobileBrowser(), g2;
|
|
376
|
-
}
|
|
377
|
-
function I(s2, n2, o2, a2, i2, r2, c2, l2) {
|
|
378
|
-
const u2 = s2.systemCode, p2 = s2.backendUrl, d2 = R(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.put(u3, o3) : t.post(u3, o3);
|
|
383
|
-
return l3;
|
|
384
|
-
}(u2, p2, d2, o2, s2.entity.data, s2.isTest);
|
|
385
|
-
}
|
|
386
|
-
function M(e2, t2, s2, n2, o2, a2) {
|
|
387
|
-
return I(e2, t2, s2, n2, o2, a2, null, null);
|
|
388
|
-
}
|
|
389
|
-
function v(t2, o2, i2, r2, l2) {
|
|
390
|
-
const u2 = S(t2, o2, l2);
|
|
391
|
-
if (u2 && "list" === u2) !function(t3, o3, i3, r3) {
|
|
392
|
-
let l3 = o3.props.base.successOperation;
|
|
393
|
-
const u3 = o3.props.base.isNeedValueMapping, p2 = c.getTableUuid(t3, o3);
|
|
394
|
-
l3 || E.includes(o3.name) || (l3 = "refresh");
|
|
395
|
-
if ("refresh" === l3) if (p2) {
|
|
396
|
-
a.getComponentRef(t3, p2).refresh();
|
|
397
|
-
} else console.error("tableUuid is empty");
|
|
398
|
-
else if ("closeWindow" === l3 || "closeWindowAndRefresh" === l3) {
|
|
399
|
-
const s2 = e.deepCopy(t3.entity.page);
|
|
400
|
-
let n2 = i3;
|
|
401
|
-
n2 || (n2 = {}), Object.assign(s2, n2), N(t3, o3, s2, u3);
|
|
402
|
-
}
|
|
403
|
-
r3 && n.ElMessage({ message: s.getI18n().t(r3), type: "success", showClose: true });
|
|
404
|
-
}(t2, o2, i2, r2), t2.canClick = true;
|
|
405
|
-
else if (u2 && "form" === u2) !function(e2, t3, o3, a2) {
|
|
406
|
-
if (o3) {
|
|
407
|
-
const s2 = o3;
|
|
408
|
-
let n2;
|
|
409
|
-
n2 = s2.entity ? s2.entity : s2, s2.formNo && (e2.initFormNo = s2.formNo);
|
|
410
|
-
x(e2, t3, { ...n2, ...e2.entity.page });
|
|
411
|
-
} else {
|
|
412
|
-
const s2 = t3.props.base.successOperation;
|
|
413
|
-
if (s2 && null !== s2) {
|
|
414
|
-
x(e2, t3, { ...e2.entity.page });
|
|
415
|
-
} else e2.canClick = true;
|
|
416
|
-
}
|
|
417
|
-
a2 && n.ElMessage({ message: s.getI18n().t(a2), type: "success", showClose: true });
|
|
418
|
-
}(t2, o2, i2, r2);
|
|
419
|
-
else {
|
|
420
|
-
const e2 = o2.props.base.successOperation;
|
|
421
|
-
e2 && null !== e2 ? x(t2, o2, null) : t2.canClick = true;
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
function S(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 x(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) ? V(e2, s2.ID ? s2.ID : s2.id) : e2.canClick = true : "closeWindow" !== n2 && "closeWindowAndRefresh" !== n2 || (N(e2, t2, s2, o2), e2.canClick = true);
|
|
433
|
-
}
|
|
434
|
-
function N(e2, t2, s2, n2) {
|
|
435
|
-
const o2 = e2.entity && e2.entity.request ? e2.entity.request.jumpMode : null;
|
|
436
|
-
if ("openWindow" === o2 || "newTab" === o2) window.parent ? window.parent.close() : window.close();
|
|
437
|
-
else {
|
|
438
|
-
const a2 = e2.tableName, r2 = void 0 !== n2 && true === n2 && s2 && void 0 !== s2, c2 = (e2.entity && e2.entity.request ? e2.entity.request.parentPageCode : null) + "_";
|
|
439
|
-
i.$emit(c2 + "close-dialog", { isNeedValueMapping: r2, dataModel: s2, sourceConfigureObj: t2, sourceTableName: a2, jumpMode: o2 });
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
const E = ["dropdown"];
|
|
443
|
-
function A(o2, a2, i2, r2) {
|
|
444
|
-
return new Promise((c2, l2) => {
|
|
445
|
-
const u2 = o2.pageContext, p2 = o2.configureObj, d2 = o2.mainDefaultValueColumns, g2 = o2.dynamicColumnInfo, f2 = o2.ids, C2 = p2.props.base.successOperation;
|
|
446
|
-
let b2 = false;
|
|
447
|
-
C2 && "noOperation" === C2 && (b2 = true);
|
|
448
|
-
let w2 = u2.tableName;
|
|
449
|
-
if (a2) {
|
|
450
|
-
const e2 = p2.props.base.tableUuid ? p2.props.base.tableUuid : o2.tableUuid;
|
|
451
|
-
w2 = m.getTableNameByTableUuid(u2, e2);
|
|
452
|
-
}
|
|
453
|
-
const T2 = function(o3, a3, i3, r3, c3, l3, u3, p3, d3) {
|
|
454
|
-
return new Promise((m2, g3) => {
|
|
455
|
-
const f3 = a3.props.base.title, C3 = "superPageRuntimeMessage.whetherToConfirm" + e.upperFirstCase(u3);
|
|
456
|
-
n.ElMessageBox.confirm(s.getI18n().t(C3, { name: f3 }), s.getI18n().t("superPageRuntimeMessage.tips"), { confirmButtonText: s.getI18n().t("superPageRuntimeMessage.sure"), cancelButtonText: s.getI18n().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
|
|
457
|
-
const s2 = o3.systemCode, n2 = o3.backendUrl, u4 = R(o3, a3, r3, c3, l3, p3, null);
|
|
458
|
-
u4.tableName = d3;
|
|
459
|
-
let f4 = e.getBaseUrl(n2, o3.isTest) + i3;
|
|
460
|
-
f4 = e.getRealRestApiPath(f4, s2, n2, o3.isTest), t.post(f4, u4).then((e2) => {
|
|
461
|
-
m2(e2);
|
|
462
|
-
}).catch((e2) => {
|
|
463
|
-
g3(e2);
|
|
464
|
-
});
|
|
465
|
-
}).catch(() => {
|
|
466
|
-
g3("点击了取消按钮");
|
|
467
|
-
});
|
|
468
|
-
});
|
|
469
|
-
}(u2, p2, r2, b2, d2, g2, i2, f2, w2);
|
|
470
|
-
T2 ? T2.then((e2) => {
|
|
471
|
-
v(u2, p2, e2, "superPageRuntimeMessage.successfulSave", a2), c2(e2);
|
|
472
|
-
}).catch((e2) => {
|
|
473
|
-
l2(e2);
|
|
474
|
-
}) : l2("request不存在");
|
|
475
|
-
});
|
|
476
|
-
}
|
|
477
|
-
function U(t2) {
|
|
478
|
-
var _a, _b, _c;
|
|
479
|
-
const s2 = t2.pageContext, n2 = t2.configureObj, o2 = s2.entity.data, a2 = s2.systemCode, i2 = s2.code;
|
|
480
|
-
let r2 = u.getPermissionCodes(n2, s2);
|
|
481
|
-
r2 || (r2 = i2 + ".xxx"), o2.id || o2.ID || (o2.PAGE_CODE = s2.code, o2.PAGE_VERSION = s2.version);
|
|
482
|
-
const c2 = { entity: o2, pageMoel: s2.entity.page, formNoRuleCode: s2.formNoRuleCode, tableName: s2.tableName, emailTemplateCode: s2.emailTemplateCode, definitionId: s2.definitionId, functionCode: r2, systemCode: a2, listCodesMap: s2.listCodesMap, pageCode: s2.code, pageVersion: s2.version, listCodesInitSearchForm: s2.listCodesInitSearchForm };
|
|
483
|
-
s2.completeTaskParam && (c2.completeTaskParam = { taskId: s2.completeTaskParam.taskId, opinion: s2.completeTaskParam.opinion }), s2.judgeHeavyList && (e.isArrayFn(s2.judgeHeavyList) ? c2.judgeHeavyList = JSON.stringify(s2.judgeHeavyList) : c2.judgeHeavyList = s2.judgeHeavyList);
|
|
484
|
-
const l2 = n2.props.base.conversionCodes;
|
|
485
|
-
l2 && (e.isArrayFn(l2) ? c2.dataConversionRule = l2.join(",") : "string" == typeof l2 && (c2.dataConversionRule = l2));
|
|
486
|
-
const p2 = G(n2);
|
|
487
|
-
p2 && (c2.autoSetValueData = p2), s2.beanName && (c2.beanName = s2.beanName);
|
|
488
|
-
const d2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
|
|
489
|
-
d2 && (c2.logSettingText = d2.join("")), c2.systemCode || (c2.systemCode = a2);
|
|
490
|
-
const m2 = W(s2);
|
|
491
|
-
c2.additionalParamMap = m2, m2.ids && m2.ids.length > 0 && ("string" == typeof m2.ids ? c2.ids = m2.ids.split(",") : Array.isArray(m2.ids) ? c2.ids = m2.ids : "number" == typeof ids ? c2.ids = [m2.ids] : console.error("ids参数类型错误"));
|
|
492
|
-
const g2 = n2.props.base.successOperation;
|
|
493
|
-
g2 && "noOperation" === g2 && (c2.unControlVersion = true), c2.isWorkflowEntity = true;
|
|
494
|
-
const f2 = (_c = (_b = n2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
|
|
495
|
-
return f2 && (c2.currentOperation = f2), c2.isMobile = b.isMobileBrowser(), c2;
|
|
496
|
-
}
|
|
497
|
-
function O(e2, t2, s2, a2, i2) {
|
|
498
|
-
const r2 = s2.code, c2 = s2.version;
|
|
499
|
-
let u2;
|
|
500
|
-
if (e2) {
|
|
501
|
-
t2 && (s2.initFormNo = e2.formNo, s2.emailTemplateCode = e2.emailTemplateCode), e2.entity && (s2.entity.data = e2.entity, function(e3, t3) {
|
|
502
|
-
const s3 = W(t3);
|
|
503
|
-
e3 && s3 && o.setSessionCache(s3._t_ + "_id", e3);
|
|
504
|
-
}(e2.entity.id || e2.entity.ID, s2));
|
|
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 n.ElMessage({ showClose: true, type: "warning", message: e4 }), false;
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
if (e2.completeTaskParam) {
|
|
514
|
-
const t3 = e2.completeTaskParam;
|
|
515
|
-
u2 = t3.taskId, a2 && (a2.taskId = u2), l.setStoreInfo(r2, c2, "_completeTaskParam", t3), s2.fieldPermissions = t3.fieldPermissions, s2.actionPermissions = t3.actionPermissions, s2.workflowButtonComponent = t3.buttonComponent, s2.completeTaskParam = t3, s2.completeTaskParam.opinion = null;
|
|
516
|
-
}
|
|
517
|
-
s2.entity || (s2.entity = {}), s2.entity.task = e2.taskParamMap, l.setStoreInfo(r2, c2, "_currentActivityName", e2.taskName);
|
|
518
|
-
}
|
|
519
|
-
return a2 && (a2.operationResult = i2), t2 || v(s2, a2.configureObj, e2, null, false), true;
|
|
520
|
-
}
|
|
521
|
-
async function B(o2, a2) {
|
|
522
|
-
const i2 = await _(o2);
|
|
523
|
-
return new Promise((r2, c2) => {
|
|
524
|
-
var _a;
|
|
525
|
-
if (i2) {
|
|
526
|
-
const l2 = o2.pageContext, u2 = l2.systemCode, p2 = l2.backendUrl, d2 = true === i2 ? (_a = l2.completeTaskParam) == null ? void 0 : _a.opinion : i2;
|
|
527
|
-
let m2 = e.getBaseUrl(p2, l2.isTest) + "/dsc/workflow-commons/complete-tasks";
|
|
528
|
-
if (m2 = e.getRealRestApiPath(m2, u2, p2, l2.isTest), !m2) return void n.ElMessage({ showClose: true, type: "warning", message: s.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
529
|
-
const g2 = U(o2);
|
|
530
|
-
g2.completeTaskParam = { operationResult: a2, taskId: l2.completeTaskParam ? l2.completeTaskParam.taskId : null, opinion: d2 || null };
|
|
531
|
-
t.post(m2, g2).then((e2) => {
|
|
532
|
-
let t2 = true;
|
|
533
|
-
e2 && (t2 = O(e2, false, l2, o2, a2)), true === t2 && n.ElMessage({ showClose: true, type: "success", message: s.getI18n().t("superPageRuntimeMessage.successfulCompleteTask") }), r2(true);
|
|
534
|
-
}).catch((e2) => {
|
|
535
|
-
c2(e2);
|
|
536
|
-
});
|
|
537
|
-
} else r2(true);
|
|
538
|
-
});
|
|
539
|
-
}
|
|
540
|
-
function _(e2) {
|
|
541
|
-
return new Promise((t2, 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 t2(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 t3 = e2.pageContext, s2 = (_e = (_d = a2.props) == null ? void 0 : _d.base) == null ? void 0 : _e.mustOpinionConditions;
|
|
549
|
-
o3 = p.caculateShowCondition(t3, s2);
|
|
550
|
-
}
|
|
551
|
-
true === o3 ? (n.ElMessage({ showClose: true, type: "warning", message: s.getI18n().t("superPageRuntimeMessage.pleaseInputOpinion") }), e2.pageContext.workflowOpinion.focusOpinionInput = true, t2(false)) : t2(true);
|
|
552
|
-
} else t2(true);
|
|
553
|
-
});
|
|
554
|
-
}
|
|
555
|
-
function j(e2) {
|
|
556
|
-
var _a, _b;
|
|
557
|
-
const t2 = e2.pageContext, s2 = t2.entity.data, n2 = t2.systemCode, o2 = t2.code, a2 = e2.configureObj, i2 = W(t2), r2 = void 0 !== s2.ID && null !== s2.ID ? s2.ID : s2.id, c2 = { beanName: t2.beanName, id: r2, entity: s2, additionalParamMap: i2, tableName: t2.tableName, functionCode: o2 + ".xxx", isWorkflowEntity: true, listCodesMap: t2.listCodesMap, pageCode: t2.code, pageVersion: t2.version, listCodesInitSearchForm: t2.listCodesInitSearchForm };
|
|
558
|
-
c2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, systemCode: n2 }, c2.completeTaskParam.customTaskTitle = D(e2);
|
|
559
|
-
const l2 = (_b = (_a = a2 == null ? void 0 : a2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
|
|
560
|
-
return l2 && (c2.currentOperation = l2), c2.isMobile = b.isMobileBrowser(), c2;
|
|
561
|
-
}
|
|
562
|
-
function D(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 (p.caculateShowCondition(e2.pageContext, n2.conditions)) {
|
|
573
|
-
t2 = n2.config;
|
|
574
|
-
break;
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
|
-
return t2;
|
|
579
|
-
}
|
|
580
|
-
function W(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 F(o2, a2, i2, r2) {
|
|
589
|
-
const c2 = await _(o2);
|
|
590
|
-
return new Promise((l2, u2) => {
|
|
591
|
-
var _a;
|
|
592
|
-
if (c2) {
|
|
593
|
-
const p2 = o2.pageContext, d2 = p2.systemCode, m2 = p2.backendUrl;
|
|
594
|
-
if (p2.completeTaskParam) {
|
|
595
|
-
const e2 = true === c2 ? (_a = p2.completeTaskParam) == null ? void 0 : _a.opinion : c2;
|
|
596
|
-
a2.completeTaskParam = { taskId: p2.completeTaskParam.taskId, opinion: e2 };
|
|
597
|
-
}
|
|
598
|
-
if (!(i2 = e.getRealRestApiPath(i2, d2, m2, p2.isTest))) return void n.ElMessage({ showClose: true, type: "warning", message: s.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
599
|
-
const g2 = t.post(i2, a2);
|
|
600
|
-
g2 && g2.then((e2) => {
|
|
601
|
-
let t2 = true;
|
|
602
|
-
e2 && (t2 = O(e2, false, p2, o2, null)), true === t2 && n.ElMessage({ showClose: true, type: "success", message: s.getI18n().t(r2) }), l2(true);
|
|
603
|
-
}).catch((e2) => {
|
|
604
|
-
u2(e2);
|
|
605
|
-
});
|
|
606
|
-
} else l2(true);
|
|
607
|
-
});
|
|
608
|
-
}
|
|
609
|
-
function L(o2) {
|
|
610
|
-
const a2 = o2.pageContext, i2 = a2.backendUrl;
|
|
611
|
-
let r2 = e.getBaseUrl(i2, a2.isTest) + "/dsc/workflow-commons/initiate-extract";
|
|
612
|
-
const c2 = U(o2);
|
|
613
|
-
if (a2.completeTaskParam) {
|
|
614
|
-
const e2 = [];
|
|
615
|
-
o2._value.loginName && e2.push(o2._value.loginName), c2.completeTaskParam = { taskId: a2.completeTaskParam.taskId, opinion: o2._value.opinion, transactors: e2, customTaskTitle: D(o2) };
|
|
616
|
-
}
|
|
617
|
-
return new Promise((a3, i3) => {
|
|
618
|
-
const l2 = o2.pageContext, u2 = l2.systemCode, p2 = l2.backendUrl;
|
|
619
|
-
if (r2 = e.getRealRestApiPath(r2, u2, p2, l2.isTest), !r2) return void n.ElMessage({ showClose: true, type: "warning", message: s.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
620
|
-
const d2 = t.post(r2, c2);
|
|
621
|
-
d2 && d2.then((e2) => {
|
|
622
|
-
let t2 = true;
|
|
623
|
-
e2 && (t2 = O(e2, false, l2, o2, null)), true === t2 && n.ElMessage({ showClose: true, type: "success", message: s.getI18n().t("superPageRuntimeMessage.successfulInitiateExtract") }), a3(true);
|
|
624
|
-
}).catch((e2) => {
|
|
625
|
-
i3(e2);
|
|
626
|
-
});
|
|
627
|
-
});
|
|
628
|
-
}
|
|
629
|
-
function q(e2, t2, s2) {
|
|
630
|
-
return !(!e2.processState || "EXTRACT" !== e2.processState || "WAIT_TRANSACT" !== e2.active);
|
|
631
|
-
}
|
|
632
|
-
function V(e2, t2) {
|
|
633
|
-
e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true, $(e2, t2).then((t3) => {
|
|
634
|
-
e2.isRefresh = true;
|
|
635
|
-
});
|
|
636
|
-
}
|
|
637
|
-
function $(s2, n2, a2) {
|
|
638
|
-
const i2 = s2.pageType;
|
|
639
|
-
if (i2 && "form" === i2) {
|
|
640
|
-
s2.canClick = false;
|
|
641
|
-
return e.isWorkflowPage(s2) ? function(s3, n3, a3) {
|
|
642
|
-
return new Promise((i3, r2) => {
|
|
643
|
-
const l2 = s3.systemCode, u2 = s3.code, p2 = s3.version, d2 = W(s3);
|
|
644
|
-
let m2 = n3 || null, f2 = n3 ? [n3] : null;
|
|
645
|
-
void 0 === a3 || a3 ? (m2 || (m2 = d2 && d2.id ? d2.id : null), f2 || (f2 = d2 ? d2.ids : null)) : (m2 = null, f2 = null, d2._id = d2.id, d2.id = null);
|
|
646
|
-
const b2 = d2 ? d2.taskId : null, w2 = u2, T2 = { pageCode: u2, pageVersion: p2, tableName: s3.tableName, formNoRuleCode: s3.formNoRuleCode, isWorkflowEntity: true, systemCode: l2, functionCode: w2 + ".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(u2, p2, s4);
|
|
651
|
-
t2[n4] = n4;
|
|
652
|
-
}), T2.listCodesMap = t2;
|
|
653
|
-
}
|
|
654
|
-
f2 && (T2.ids = H(f2)), b2 ? T2.taskId = b2 : m2 ? T2.id = m2 : (d2 && d2._t_ && o.getSessionCache(d2._t_ + "_id") && (T2.id = o.getSessionCache(d2._t_ + "_id")), s3.notIdInitializationList && (T2.noIdAndTaskIdInitSetting = JSON.stringify(s3.notIdInitializationList))), d2 && (T2.additionalParamMap = d2), s3.beanName && (T2.beanName = s3.beanName), s3.refercePropMap && (T2.refercePropMap = s3.refercePropMap);
|
|
655
|
-
const k2 = e.getBaseUrl(s3.backendUrl, s3.isTest) + "/dsc/workflow-commons/gets", h2 = C.usePageContextStore();
|
|
656
|
-
h2.restorePageLoadState(), c.handleEvent(null, s3, s3, "beforeFormLoadData"), t.post(k2, T2).then((e2) => {
|
|
657
|
-
s3.workflowOpinion = { showOpinionBox: false }, s3.definitionId = e2.definitionId, s3.entity.task = e2.taskParamMap, s3.dataTypeMaps = e2.dataTypeMap, O(e2, true, s3), s3.workflowRules = g.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 o2 = s4[e5], a4 = JSON.parse(JSON.stringify(o2)), i4 = 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(i4, [{ name: "all_fields", canEdit: false, rowIndexes: a4.rowIndexes }]) : t3.set(i4, [{ name: "all_fields", canEdit: false }]) : a4.rowIndexes ? t3.set(i4, [{ name: "all_fields", canEdit: true, rowIndexes: a4.rowIndexes }]) : t3.set(i4, [{ name: "all_fields", canEdit: true }]);
|
|
667
|
-
else {
|
|
668
|
-
let e6 = t3.get(i4);
|
|
669
|
-
e6 || (e6 = []), e6.push(a4), t3.set(i4, 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 o2 = n4[e5], a4 = t3.get(e5);
|
|
679
|
-
if (a4 && a4.length > 0 && "all_fields" === a4[0].name && false === a4[0].canEdit) o2.canUpdate = false, o2.canAdd = false;
|
|
680
|
-
else {
|
|
681
|
-
o2 && 0 !== Object.keys(o2.deleteCondition).length || (o2.deleteCondition = null), o2 && 0 !== Object.keys(o2.updateCondition).length || (o2.updateCondition = null);
|
|
682
|
-
const s5 = o2.canUpdate, n5 = o2.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, o2);
|
|
686
|
-
});
|
|
687
|
-
}
|
|
688
|
-
e4.actionPermissionMap = s4;
|
|
689
|
-
}(e3);
|
|
690
|
-
}(s3), s3.canClick = true, c.handleEvent(null, s3, s3, "afterFormLoadData"), h2.setFormPageDataLoadState(true), i3(e2);
|
|
691
|
-
}).catch((e2) => {
|
|
692
|
-
s3.canClick = true, r2(e2);
|
|
693
|
-
});
|
|
694
|
-
});
|
|
695
|
-
}(s2, n2, a2) : function(s3, n3, a3) {
|
|
696
|
-
return new Promise((i3, r2) => {
|
|
697
|
-
const l2 = s3.systemCode, u2 = s3.code, p2 = s3.version, d2 = W(s3);
|
|
698
|
-
let m2 = n3 || null, f2 = n3 ? [n3] : null;
|
|
699
|
-
void 0 === a3 || a3 ? (m2 || (m2 = d2 && d2.id ? d2.id : null), f2 || (f2 = d2 ? d2.ids : null)) : (m2 = null, f2 = null, d2._id = d2.id, d2.id = null);
|
|
700
|
-
const b2 = d2 ? d2.taskId : null, w2 = u2, T2 = e.getBaseUrl(s3.backendUrl, s3.isTest), k2 = { pageCode: u2, pageVersion: p2, tableName: s3.tableName, formNoRuleCode: s3.formNoRuleCode, id: m2, systemCode: l2, functionCode: w2 + ".gets", listCodesMap: s3.listCodesMap, listCodesInitSearchForm: s3.listCodesInitSearchForm };
|
|
701
|
-
if (!k2.id && d2 && d2._t_ && o.getSessionCache(d2._t_ + "_id") && (k2.id = o.getSessionCache(d2._t_ + "_id")), f2 && (k2.ids = H(f2)), s3.notIdInitializationList && (k2.noIdAndTaskIdInitSetting = JSON.stringify(s3.notIdInitializationList)), d2 && (k2.additionalParamMap = d2), s3.beanName && (k2.beanName = s3.beanName), b2 && (k2.taskId = b2), 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(u2, p2, s4);
|
|
705
|
-
t2[n4] = n4;
|
|
706
|
-
}), k2.listCodesMap = t2;
|
|
707
|
-
}
|
|
708
|
-
s3.refercePropMap && (k2.refercePropMap = s3.refercePropMap);
|
|
709
|
-
const h2 = T2 + "/dsc/commons/gets", y2 = C.usePageContextStore();
|
|
710
|
-
y2.restorePageLoadState(), c.handleEvent(null, s3, s3, "beforeFormLoadData"), t.post(h2, k2).then((e2) => {
|
|
711
|
-
e2 && (s3.entity.data = e2.entity, s3.initFormNo = e2.formNo);
|
|
712
|
-
const t2 = s3.customRules, n4 = s3.rules, o2 = g.packageCustomRules(s3, t2, n4);
|
|
713
|
-
s3.rules = o2, s3.canClick = true, c.handleEvent(null, s3, s3, "afterFormLoadData"), y2.setFormPageDataLoadState(true), i3(e2);
|
|
714
|
-
}).catch((e2) => {
|
|
715
|
-
s3.canClick = true, r2(e2);
|
|
716
|
-
});
|
|
717
|
-
});
|
|
718
|
-
}(s2, n2, a2);
|
|
719
|
-
}
|
|
720
|
-
return new Promise((e2, t2) => {
|
|
721
|
-
e2(true);
|
|
722
|
-
});
|
|
723
|
-
}
|
|
724
|
-
function H(e2) {
|
|
725
|
-
return e2 && ("string" == typeof e2 ? e2 = e2.split(",") : "number" == typeof e2 && (e2 = [e2])), e2;
|
|
726
|
-
}
|
|
727
|
-
function G(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 J(e2) {
|
|
736
|
-
e2.exportNoticeInfo && (e2.exportNoticeInfo.noticeInterval && clearInterval(e2.exportNoticeInfo.noticeInterval), e2.exportNoticeInfo.noticeComponent = null, e2.exportNoticeInfo.noticeInterval = null), e2.exportNoticeInfo = {}, z(e2.exportNoticeInfo, e2.backendUrl, e2.code);
|
|
737
|
-
}
|
|
738
|
-
function Y(t2, a2, i2) {
|
|
739
|
-
t2.lastFileTask && !t2.noticeComponent ? t2.noticeComponent = n.ElNotification({ title: s.getI18n().t("superPageRuntimeMessage.logTip"), duration: 0, position: "top-right", type: "success", onClose() {
|
|
740
|
-
"Success" === t2.lastFileTask.taskState || "Fail" === t2.lastFileTask.taskState || "PartSuccess" === t2.lastFileTask.taskState ? X(a2, i2, t2.lastFileTask.id, t2) : (t2.noticeComponent = null, null == t2.noticeInterval && z(t2, a2, i2));
|
|
741
|
-
}, message: () => w.h(T, { isShow: true, backendUrl: a2, lastFileTask: t2.lastFileTask, onClickMsg(s2) {
|
|
742
|
-
s2.serverPath ? function(t3, s3, n2, a3, i3, r2) {
|
|
743
|
-
X(i3, r2, n2, a3);
|
|
744
|
-
const c2 = o.getToken(), l2 = e.getBaseUrl(i3), u2 = l2 + "/common/super-form/downloads?jwt=" + c2 + "&showName=" + encodeURI(t3) + "&serverPath=" + s3;
|
|
745
|
-
window.open(u2);
|
|
746
|
-
}(s2.fileName, s2.serverPath, s2.id, t2, a2, i2) : X(a2, i2, s2.id, t2), t2.noticeComponent.close(), t2.noticeComponent = null;
|
|
747
|
-
} }) }) : (null != t2.noticeComponent && (t2.noticeComponent.close(), t2.noticeComponent = null), t2.noticeInterval && (clearInterval(t2.noticeInterval), t2.noticeInterval = null));
|
|
748
|
-
}
|
|
749
|
-
function z(e2, t2, s2) {
|
|
750
|
-
e2.noticeInterval || (e2.noticeInterval = setInterval(() => {
|
|
751
|
-
e2.noticeComponent || function(e3, t3, s3) {
|
|
752
|
-
K(t3, s3).then((n2) => {
|
|
753
|
-
e3.lastFileTask = n2, Y(e3, t3, s3);
|
|
754
|
-
});
|
|
755
|
-
}(e2, t2, s2);
|
|
756
|
-
}, 3e3));
|
|
757
|
-
}
|
|
758
|
-
function K(e2, t2) {
|
|
759
|
-
return m.getCurrentUserFileTasks(e2, t2);
|
|
760
|
-
}
|
|
761
|
-
function X(e2, t2, s2, n2) {
|
|
762
|
-
m.setFileTaskRead(e2, s2).then(() => {
|
|
763
|
-
!function(e3, t3, s3) {
|
|
764
|
-
K(t3, s3).then((n3) => {
|
|
765
|
-
e3.lastFileTask = n3, Y(e3, t3, s3);
|
|
766
|
-
});
|
|
767
|
-
}(n2, e2, t2);
|
|
768
|
-
});
|
|
769
|
-
}
|
|
770
|
-
exports.dealAfterOperate = v, exports.dealCompleteTaskParam = O, exports.deleteChartCondition = function(e2) {
|
|
771
|
-
const s2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/" + e2;
|
|
772
|
-
return t.delete(s2);
|
|
773
|
-
}, exports.doAddSigner = function(o2, a2) {
|
|
774
|
-
if (a2) {
|
|
775
|
-
const i2 = o2.pageContext, r2 = o2.configureObj, l2 = i2.systemCode, u2 = i2.backendUrl;
|
|
776
|
-
let p2 = e.getBaseUrl(u2, i2.isTest) + "/dsc/workflow-commons/add-signers";
|
|
777
|
-
if (p2 = e.getRealRestApiPath(p2, l2, u2, i2.isTest), !p2) return void n.ElMessage({ showClose: true, type: "warning", message: s.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
778
|
-
const d2 = j(o2);
|
|
779
|
-
d2.completeTaskParam.transactors = a2.loginNames.join(",").split(",");
|
|
780
|
-
const m2 = t.post(p2, d2);
|
|
781
|
-
m2 && m2.then((e2) => {
|
|
782
|
-
n.ElMessage({ showClose: true, type: "success", message: s.getI18n().t("superPageRuntimeMessage.successfulOperation") }), e2.entity && v(i2, r2, e2, null, false), c.doAfterClickEvent(i2, r2);
|
|
783
|
-
});
|
|
784
|
-
}
|
|
785
|
-
}, exports.doAddTransactor = function(o2, a2) {
|
|
786
|
-
if (a2) {
|
|
787
|
-
const i2 = o2.pageContext, r2 = o2.configureObj, l2 = i2.systemCode, u2 = i2.backendUrl;
|
|
788
|
-
let p2 = e.getBaseUrl(u2, i2.isTest) + "/dsc/workflow-commons/add-transactors";
|
|
789
|
-
if (p2 = e.getRealRestApiPath(p2, l2, u2, i2.isTest), !p2) return void n.ElMessage({ showClose: true, type: "warning", message: s.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
790
|
-
const d2 = j(o2);
|
|
791
|
-
d2.completeTaskParam.transactors = a2.loginNames.join(",").split(",");
|
|
792
|
-
const m2 = t.post(p2, d2);
|
|
793
|
-
m2 && m2.then((e2) => {
|
|
794
|
-
n.ElMessage({ showClose: true, type: "success", message: s.getI18n().t("superPageRuntimeMessage.successfulOperation") }), e2.entity && v(i2, r2, e2, null, false), c.doAfterClickEvent(i2, r2);
|
|
795
|
-
});
|
|
796
|
-
}
|
|
797
|
-
}, exports.doAssign = function(t2, s2) {
|
|
798
|
-
if (s2) {
|
|
799
|
-
const n2 = t2.pageContext, o2 = t2.configureObj, a2 = n2.backendUrl, i2 = e.getBaseUrl(a2, n2.isTest) + "/dsc/workflow-commons/assigns", r2 = s2.id ? s2.id : s2.ID ? s2.ID : null, l2 = U(t2);
|
|
800
|
-
l2.assigneeId = r2, F(t2, l2, i2, "superPageRuntimeMessage.successfulAssign").then((e2) => {
|
|
801
|
-
c.doAfterClickEvent(n2, o2);
|
|
802
|
-
});
|
|
803
|
-
}
|
|
804
|
-
}, exports.doCreateCopyTask = async function(o2, a2) {
|
|
805
|
-
if (a2) {
|
|
806
|
-
const i2 = await function(e2) {
|
|
807
|
-
return new Promise((t2, 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 t3 = e2.pageContext, s2 = (_d = (_c = a3.props) == null ? void 0 : _c.base) == null ? void 0 : _d.mustRemarkConditions;
|
|
815
|
-
o4 = p.caculateShowCondition(t3, s2);
|
|
816
|
-
}
|
|
817
|
-
true === o4 ? n.ElMessageBox.prompt(s.getI18n().t("superPageRuntimeMessage.pleaseInputRemark"), s.getI18n().t("superPageRuntimeMessage.remark"), { confirmButtonText: s.getI18n().t("superPageRuntimeMessage.sure"), cancelButtonText: s.getI18n().t("superPageRuntimeMessage.cancel"), inputType: "textarea", inputValue: null, closeOnClickModal: false, inputValidator: (e3) => !(!e3 || !e3.trim()) || s.getI18n().t("superPageRuntimeMessage.pleaseInputRemark") }).then(({ value: e3 }) => {
|
|
818
|
-
t2(e3);
|
|
819
|
-
}).catch(() => {
|
|
820
|
-
t2(false);
|
|
821
|
-
}) : t2(true);
|
|
822
|
-
} else t2(true);
|
|
823
|
-
});
|
|
824
|
-
}(o2);
|
|
825
|
-
if (i2) {
|
|
826
|
-
const r2 = o2.pageContext, l2 = o2.configureObj, u2 = r2.systemCode, p2 = r2.backendUrl;
|
|
827
|
-
let d2 = e.getBaseUrl(p2, r2.isTest) + "/dsc/workflow-commons/copies";
|
|
828
|
-
if (d2 = e.getRealRestApiPath(d2, u2, p2, r2.isTest), !d2) return void n.ElMessage({ showClose: true, type: "warning", message: s.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
829
|
-
const m2 = j(o2);
|
|
830
|
-
m2.completeTaskParam.transactors = a2.loginNames.join(",").split(","), true !== i2 && (m2.completeTaskParam.remark = i2);
|
|
831
|
-
const g2 = t.post(d2, m2);
|
|
832
|
-
g2 && g2.then((e2) => {
|
|
833
|
-
n.ElMessage({ showClose: true, type: "success", message: s.getI18n().t("superPageRuntimeMessage.successfulOperation") }), c.doAfterClickEvent(r2, l2);
|
|
834
|
-
});
|
|
835
|
-
}
|
|
836
|
-
}
|
|
837
|
-
}, exports.doFileTaskFunc = J, exports.doImportFinally = function(o2, a2) {
|
|
838
|
-
var _a, _b, _c;
|
|
839
|
-
const i2 = o2.pageContext, r2 = o2.configureObj, l2 = o2.tableConfigure, p2 = r2.props.base, d2 = r2.props.base.tableUuid ? r2.props.base.tableUuid : o2.tableUuid, g2 = m.getTableNameByTableUuid(i2, d2), f2 = new FormData();
|
|
840
|
-
f2.append("multipartFile", a2), g2 && f2.append("tableName", g2);
|
|
841
|
-
const C2 = (_b = (_a = r2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
|
|
842
|
-
C2 && f2.append("currentOperation", C2), f2.append("isMobile", b.isMobileBrowser()), i2.importBeanName && f2.append("importBeanName", i2.importBeanName), i2.beanName && f2.append("beanName", i2.beanName);
|
|
843
|
-
const w2 = (_c = l2.props.importSetting) == null ? void 0 : _c.listViewImportDuplicate;
|
|
844
|
-
w2 && f2.append("importDuplicateRule", w2);
|
|
845
|
-
const T2 = i2.judgeHeavyList;
|
|
846
|
-
T2 && f2.append("judgeHeavyList", JSON.stringify(T2));
|
|
847
|
-
const k2 = G(r2);
|
|
848
|
-
k2 && f2.append("autoSetValueData", k2);
|
|
849
|
-
const h2 = i2.formNoRuleCode;
|
|
850
|
-
h2 && f2.append("formNoRuleCode", h2);
|
|
851
|
-
const y2 = o2.listCode;
|
|
852
|
-
y2 && f2.append("listCode", y2);
|
|
853
|
-
let P2 = false;
|
|
854
|
-
P2 = void 0 !== p2.isAsync && null !== p2.isAsync && p2.isAsync, f2.append("isAsync", P2 + ""), f2.append("pageCode", i2.code);
|
|
855
|
-
const R2 = e.isWorkflowPage(i2);
|
|
856
|
-
null != R2 && f2.append("isWorkflowEntity", R2 + "");
|
|
857
|
-
const I2 = u.getPermissionCodes(r2, i2);
|
|
858
|
-
I2 && f2.append("functionCode", I2);
|
|
859
|
-
const M2 = W(i2);
|
|
860
|
-
f2.append("additionalParamMapStr", JSON.stringify(M2));
|
|
861
|
-
const S2 = void 0 === p2.isPermission || "true" === p2.isPermission || p2.isPermission;
|
|
862
|
-
f2.append("isPermission", S2 + "");
|
|
863
|
-
const x2 = i2.systemCode;
|
|
864
|
-
x2 && f2.append("systemCode", x2);
|
|
865
|
-
const N2 = i2.backendUrl;
|
|
866
|
-
let E2 = e.getBaseUrl(N2, i2.isTest) + "/dsc/commons/import-data";
|
|
867
|
-
E2 = e.getRealRestApiPath(E2, x2, N2, i2.isTest), t.post(E2, f2).then((e2) => {
|
|
868
|
-
if (P2) n.ElMessage({ showClose: true, type: "success", message: s.getI18n().t("superPageRuntimeMessage.asyncImport") }), J(i2);
|
|
869
|
-
else {
|
|
870
|
-
let t2 = false;
|
|
871
|
-
e2 ? (t2 = false, n.ElMessage({ dangerouslyUseHTMLString: true, showClose: true, type: "warning", message: e2 })) : (n.ElMessage({ showClose: true, type: "success", message: s.getI18n().t("superPageRuntimeMessage.successfulImport") }), t2 = true), v(i2, r2, e2, null, true), i2.result = t2, c.doAfterClickEvent(i2, r2);
|
|
872
|
-
}
|
|
873
|
-
}).catch((e2) => {
|
|
874
|
-
});
|
|
875
|
-
}, exports.doRemoveSigners = function(o2, a2) {
|
|
876
|
-
if (a2) {
|
|
877
|
-
const i2 = o2.pageContext, r2 = o2.configureObj, l2 = i2.systemCode, u2 = i2.backendUrl;
|
|
878
|
-
let p2 = e.getBaseUrl(u2, i2.isTest) + "/dsc/workflow-commons/remove-signers";
|
|
879
|
-
if (p2 = e.getRealRestApiPath(p2, l2, u2, i2.isTest), !p2) return void n.ElMessage({ showClose: true, type: "warning", message: s.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
880
|
-
const d2 = a2.map((e2) => e2.id ? e2.id : e2.ID ? e2.ID : null), m2 = U(o2);
|
|
881
|
-
m2.ids = d2;
|
|
882
|
-
const g2 = t.post(p2, m2);
|
|
883
|
-
g2 && g2.then((e2) => {
|
|
884
|
-
v(i2, r2, e2, "superPageRuntimeMessage.successfulOperation", false), c.doAfterClickEvent(i2, r2);
|
|
885
|
-
});
|
|
886
|
-
}
|
|
887
|
-
}, exports.doRemoveTransactors = function(o2, a2) {
|
|
888
|
-
if (a2) {
|
|
889
|
-
const i2 = o2.pageContext, r2 = o2.configureObj, l2 = i2.systemCode, u2 = i2.backendUrl;
|
|
890
|
-
let p2 = e.getBaseUrl(u2, i2.isTest) + "/dsc/workflow-commons/remove-transactors";
|
|
891
|
-
if (p2 = e.getRealRestApiPath(p2, l2, u2, i2.isTest), !p2) return void n.ElMessage({ showClose: true, type: "warning", message: s.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
892
|
-
const d2 = a2.map((e2) => e2.taskId), m2 = U(o2);
|
|
893
|
-
m2.ids = d2;
|
|
894
|
-
const g2 = t.post(p2, m2);
|
|
895
|
-
g2 && g2.then((e2) => {
|
|
896
|
-
v(i2, r2, e2, "superPageRuntimeMessage.successfulOperation", false), c.doAfterClickEvent(i2, r2);
|
|
897
|
-
});
|
|
898
|
-
}
|
|
899
|
-
}, exports.doReturnTaskTo = function(t2, s2) {
|
|
900
|
-
const n2 = t2.pageContext, o2 = t2.configureObj, a2 = n2.backendUrl, i2 = e.getBaseUrl(a2, n2.isTest) + "/dsc/workflow-commons/returnTaskTo", r2 = U(t2);
|
|
901
|
-
s2.nodeName && (r2.returnToNodeName = s2.nodeName), s2.nodeId && (r2.returnToNodeId = s2.nodeId), F(t2, r2, i2, "superPageRuntimeMessage.successfulReturnTaskTo").then((e2) => {
|
|
902
|
-
c.doAfterClickEvent(n2, o2);
|
|
903
|
-
});
|
|
904
|
-
}, exports.exportFormReport = function(t2, s2, n2, o2) {
|
|
905
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
|
|
906
|
-
t2.clickUuid = s2.uuid, t2.canClick = false;
|
|
907
|
-
const a2 = n2.templateUuid, i2 = n2.templateName, l2 = t2.systemCode, p2 = (_a = s2.props.base) == null ? void 0 : _a.logSetting, d2 = e.isWorkflowPage(t2), m2 = t2.beanName, g2 = s2.props.base, C2 = s2.tableName ? s2.tableName : t2.tableName, w2 = t2.backendUrl, T2 = f.functions.getFormViewData(t2), k2 = void 0 === g2.isPermission || "true" === g2.isPermission || g2.isPermission, h2 = { entity: T2, fileName: a2, showName: i2, beanName: m2, isWorkflowForm: d2, functionCode: u.getPermissionCodes(s2, t2), tableName: C2, isPermission: k2 + "", systemCode: l2, listCodesMap: t2.listCodesMap, pageCode: t2.code, pageVersion: t2.version, listCodesInitSearchForm: t2.listCodesInitSearchForm };
|
|
908
|
-
p2 && (h2.logSettingText = p2.join(""));
|
|
909
|
-
const P2 = (_c = (_b = s2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
|
|
910
|
-
P2 && (h2.currentOperation = P2), h2.isMobile = b.isMobileBrowser();
|
|
911
|
-
const R2 = W(t2);
|
|
912
|
-
let I2;
|
|
913
|
-
h2.additionalParamMap = R2, h2.isShowWatermark = void 0 === ((_e = (_d = s2.props) == null ? void 0 : _d.watermark) == null ? void 0 : _e.isShowWatermark) ? "true" : ((_g = (_f = s2.props) == null ? void 0 : _f.watermark) == null ? void 0 : _g.isShowWatermark) + "", h2.watermark = ((_i = (_h = s2.props) == null ? void 0 : _h.watermark) == null ? void 0 : _i.content) && ((_k = (_j = s2.props) == null ? void 0 : _j.watermark) == null ? void 0 : _k.content.length) > 0 ? (_m = (_l = s2.props) == null ? void 0 : _l.watermark) == null ? void 0 : _m.content.join("-~") : "", I2 = o2 ? function(t3, s3, n3, o3) {
|
|
914
|
-
return new Promise((a3, i3) => {
|
|
915
|
-
const c2 = e.getBaseUrl(s3, o3) + "/dsc/commons/export-pdf";
|
|
916
|
-
y();
|
|
917
|
-
const l3 = r.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 = t3.substring(0, t3.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), a3(true);
|
|
921
|
-
}).catch((e2) => {
|
|
922
|
-
i3(e2);
|
|
923
|
-
});
|
|
924
|
-
});
|
|
925
|
-
}(i2, w2, h2, t2.isTest) : function(t3, s3, n3, o3) {
|
|
926
|
-
return new Promise((a3, i3) => {
|
|
927
|
-
const c2 = e.getBaseUrl(s3, o3) + "/dsc/commons/export-reports";
|
|
928
|
-
y();
|
|
929
|
-
r.post(c2, n3, { responseType: "blob" }).then((e2) => {
|
|
930
|
-
const s4 = new Blob([e2.data]);
|
|
931
|
-
let n4 = "报告.xlsx";
|
|
932
|
-
t3 && (n4 = t3);
|
|
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), a3(true);
|
|
935
|
-
}).catch((e2) => {
|
|
936
|
-
i3(e2);
|
|
937
|
-
});
|
|
938
|
-
});
|
|
939
|
-
}(i2, w2, h2, t2.isTest), I2 && I2.then(() => {
|
|
940
|
-
c.doAfterClickEvent(t2, s2);
|
|
941
|
-
}).catch((e2) => {
|
|
942
|
-
window.$message.error("导出失败..."), c.doAfterClickEvent(t2, s2);
|
|
943
|
-
});
|
|
944
|
-
}, exports.extractWorkflowFunc = L, exports.getAdditionalParamMap = W, exports.getFormData = $, exports.getRemoveSigner = function(o2) {
|
|
945
|
-
const a2 = o2.pageContext, i2 = a2.systemCode, r2 = a2.backendUrl;
|
|
946
|
-
let c2 = e.getBaseUrl(r2, a2.isTest) + "/dsc/workflow-commons/get-remove-signers";
|
|
947
|
-
const l2 = U(o2);
|
|
948
|
-
if (c2 = e.getRealRestApiPath(c2, i2, r2, a2.isTest), c2) return t.post(c2, l2);
|
|
949
|
-
n.ElMessage({ showClose: true, type: "warning", message: s.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
950
|
-
}, exports.getRemoveTransactor = function(o2) {
|
|
951
|
-
const a2 = o2.pageContext, i2 = a2.systemCode, r2 = a2.backendUrl;
|
|
952
|
-
let c2 = e.getBaseUrl(r2, a2.isTest) + "/dsc/workflow-commons/get-remove-transactors";
|
|
953
|
-
const l2 = U(o2);
|
|
954
|
-
if (c2 = e.getRealRestApiPath(c2, i2, r2, a2.isTest), c2) return t.post(c2, l2);
|
|
955
|
-
n.ElMessage({ showClose: true, type: "warning", message: s.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
956
|
-
}, exports.getSaveFormRequest = M, exports.getSaveFormRequestWithRow = I, exports.getTaskInformitions = function(o2) {
|
|
957
|
-
const a2 = o2.pageContext, i2 = a2.systemCode, r2 = a2.backendUrl, c2 = a2.completeTaskParam;
|
|
958
|
-
let l2 = e.getBaseUrl(r2, a2.isTest) + "/dsc/workflow-commons/returnable-task/" + c2.taskId;
|
|
959
|
-
if (l2 = e.getRealRestApiPath(l2, i2, r2, a2.isTest), !l2) return void n.ElMessage({ showClose: true, type: "warning", message: s.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
|
|
960
|
-
const u2 = a2.code, p2 = W(a2), d2 = { beanName: a2.beanName, additionalParamMap: p2, tableName: a2.tableName, functionCode: u2 + ".xxx", pageCode: a2.code };
|
|
961
|
-
return t.post(l2, d2);
|
|
962
|
-
}, exports.isVisibleWorkflowButton = function(e2, t2, s2, n2, a2, i2) {
|
|
963
|
-
var _a, _b, _c, _d;
|
|
964
|
-
let r2 = false;
|
|
965
|
-
if (t2 && s2 && ("workflowSave" === t2 ? 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
|
-
}(s2) : "workflowStart" === t2 ? r2 = function(e3, t3) {
|
|
970
|
-
if (void 0 === e3.processState || null === e3.processState || t3 && !t3.workflow_id && !t3.WORKFLOW_ID) return true;
|
|
971
|
-
return false;
|
|
972
|
-
}(s2, i2) : "submitProcess" === t2 ? 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
|
-
}(s2) : "submitTask" === t2 ? 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
|
-
}(s2) : "drawTask" === t2 ? 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
|
-
}(s2) : "abandonReceive" === t2 ? 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
|
-
}(s2) : "approve" === t2 || "refuse" === t2 ? 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
|
-
}(s2) : "readed" === t2 ? r2 = function(e3) {
|
|
988
|
-
if ("WAIT_TRANSACT" === e3.active && "TYPE_READ" === e3.processingMode) return true;
|
|
989
|
-
return false;
|
|
990
|
-
}(s2) : "assign" === t2 ? 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
|
-
}(s2) : "copyTask" === t2 ? r2 = function(e3, t3) {
|
|
994
|
-
let s3 = false;
|
|
995
|
-
e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "TYPE_READ" !== e3.processingMode && e3.showButtonCopy && (s3 = true);
|
|
996
|
-
t3 && (t3.props.base.state = s3 ? "" : "hidden");
|
|
997
|
-
return true;
|
|
998
|
-
}(s2, a2) : "addSigner" === t2 ? 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
|
-
}(s2) : "removeSigner" === t2 ? 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
|
-
}(s2) : "retrieveTask" === t2 ? 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
|
-
}(s2) : "agreement" === t2 || "oppose" === t2 ? r2 = function(e3) {
|
|
1013
|
-
if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "VOTE" === e3.processingMode) return true;
|
|
1014
|
-
return false;
|
|
1015
|
-
}(s2) : "kiken" === t2 ? 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
|
-
}(s2) : "extractWorkflow" === t2 ? r2 = function(e3, t3, s3) {
|
|
1019
|
-
var _a2;
|
|
1020
|
-
const n3 = o.getCurrentUser(), a3 = n3 ? n3.loginName : null;
|
|
1021
|
-
if (e3 == null ? void 0 : e3.processState) {
|
|
1022
|
-
if (((_a2 = t3 == null ? void 0 : t3.firstNodeInfo) == null ? void 0 : _a2.nodeId) === (s3 == null ? void 0 : s3.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) && s3 && (s3.creator === a3 || s3.CREATOR === a3)) return true;
|
|
1024
|
-
}
|
|
1025
|
-
return false;
|
|
1026
|
-
}(s2, n2, i2) : "cancelExtractWorkflow" === t2 ? r2 = function(e3, t3, s3) {
|
|
1027
|
-
const n3 = o.getCurrentUser(), a3 = n3 ? n3.loginName : null;
|
|
1028
|
-
if ("EXTRACT" === (e3 == null ? void 0 : e3.processState) && s3 && (s3.creator === a3 || s3.CREATOR === a3)) return true;
|
|
1029
|
-
return false;
|
|
1030
|
-
}(s2, 0, i2) : "approveExtractWorkflow" === t2 || "refuseExtractWorkflow" === t2 ? r2 = q(s2) : "addTransactor" === t2 || "removeTransactor" === t2 ? 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
|
-
}(s2) : function(e3, t3) {
|
|
1034
|
-
return e3.processState && "SUBMIT" === e3.processState && "TYPE_READ" !== e3.processingMode && !function(e4) {
|
|
1035
|
-
const t4 = e4;
|
|
1036
|
-
let s3 = true;
|
|
1037
|
-
t4 && (s3 = t4.taskComplete);
|
|
1038
|
-
return s3;
|
|
1039
|
-
}(t3);
|
|
1040
|
-
}(s2, n2) && (r2 = "returnToPreviousTask" !== t2 || function(e3) {
|
|
1041
|
-
if (e3.rebuttable) return true;
|
|
1042
|
-
return false;
|
|
1043
|
-
}(s2))), (a2 == null ? void 0 : a2.check) && -1 !== ["submitTask", "approve", "refuse", "agreement", "oppose", "kiken", "extractWorkflow", "cancelExtractWorkflow", "approveExtractWorkflow", "refuseExtractWorkflow", "returnToPreviousTask"].indexOf(t2) && r2 && e2) {
|
|
1044
|
-
e2.workflowOpinion ? e2.workflowOpinion.showOpinionBox = true : e2.workflowOpinion = { showOpinionBox: true };
|
|
1045
|
-
let t3 = false;
|
|
1046
|
-
if ((_b = (_a = a2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isMustOpinion) {
|
|
1047
|
-
if (t3 = true, true === t3) {
|
|
1048
|
-
const s3 = (_d = (_c = a2.props) == null ? void 0 : _c.base) == null ? void 0 : _d.mustOpinionConditions;
|
|
1049
|
-
t3 = p.caculateShowCondition(e2, s3);
|
|
1050
|
-
}
|
|
1051
|
-
e2.workflowOpinion.isRequired = t3;
|
|
1052
|
-
}
|
|
1053
|
-
}
|
|
1054
|
-
return r2;
|
|
1055
|
-
}, exports.judgeDataNumber = function(e2, t2) {
|
|
1056
|
-
const o2 = e2.props.base;
|
|
1057
|
-
if (o2.conditionsForExecution && "" !== o2.conditionsForExecution) {
|
|
1058
|
-
if ("one" === o2.conditionsForExecution) {
|
|
1059
|
-
if (!t2 || 1 !== t2.length) return n.ElMessage({ showClose: true, type: "warning", message: s.getI18n().t("superPageRuntimeMessage.thePreconditionOfTheButtonTo", { message: s.getI18n().t("superPageRuntimeMessage.onlyOneRecordCanBeselected") }) }), false;
|
|
1060
|
-
} else if ("more" === o2.conditionsForExecution && (!t2 || t2.length <= 0)) return n.ElMessage({ showClose: true, type: "warning", message: s.getI18n().t("superPageRuntimeMessage.thePreconditionOfTheButtonTo", { message: s.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.get(n2);
|
|
1066
|
-
}, exports.refreshFormOrListPage = function(e2, t2, s2, n2) {
|
|
1067
|
-
var _a;
|
|
1068
|
-
t2 && !t2.props.base && (t2.props.base = {});
|
|
1069
|
-
let o2 = n2;
|
|
1070
|
-
o2 || (o2 = s2 ? "refresh" : (_a = t2.props.base) == null ? void 0 : _a.successOperation);
|
|
1071
|
-
const i2 = S(e2, t2);
|
|
1072
|
-
if (i2 && "list" === i2 && !o2 && (o2 = "refresh"), "refresh" === o2) {
|
|
1073
|
-
if (i2 && "list" === i2) {
|
|
1074
|
-
const s3 = c.getTableUuid(e2, t2);
|
|
1075
|
-
if (s3) {
|
|
1076
|
-
a.getComponentRef(e2, s3).refresh();
|
|
1077
|
-
} else console.error("tableUuid is empty");
|
|
1078
|
-
} else if (i2 && "form" === i2) {
|
|
1079
|
-
const t3 = e2.entity.data;
|
|
1080
|
-
V(e2, t3.ID ? t3.ID : t3.id);
|
|
1081
|
-
}
|
|
1082
|
-
}
|
|
1083
|
-
}, exports.refreshPage = V, 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.post(i2, a2);
|
|
1086
|
-
}, exports.standardEvents = k, 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 = p.getVariableValue(n3, o3), i2 = e4.target, r2 = u.getModelFields(null, i2);
|
|
1097
|
-
p.setVariableValue(s3.entity, r2, a3);
|
|
1098
|
-
});
|
|
1099
|
-
}
|
|
1100
|
-
}(s2, o2, e2), c.handleEvent(null, e2, t2, "setValue", { sourceModel: s2, sourceTableName: n2, entity: e2.entity.data, targetTableName: a2 });
|
|
1101
|
-
};
|