super-page-runtime 1.0.13 → 1.0.15
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/index.d.ts +5 -0
- package/dist/es/{runtime → components/runtime}/views/assemblys/button/button/button-runtime.vue2.js +1 -1
- package/dist/es/{runtime → components/runtime}/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +1 -1
- package/dist/es/{runtime → components/runtime}/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
- package/dist/es/{runtime → components/runtime}/views/assemblys/chart/gauge/gauge-runtime.vue2.js +2 -9
- package/dist/es/{runtime → components/runtime}/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
- package/dist/es/{runtime → components/runtime}/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
- package/dist/es/{runtime → components/runtime}/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
- package/dist/es/{runtime → components/runtime}/views/assemblys/common/export-form-report-dialog.vue.js +3 -9
- package/dist/es/{runtime → components/runtime}/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -1
- package/dist/es/{runtime → components/runtime}/views/assemblys/container/container/container-runtime.vue2.js +0 -1
- package/dist/es/{runtime → components/runtime}/views/assemblys/container/flex/flex-runtime.vue2.js +0 -1
- package/dist/es/{runtime → components/runtime}/views/assemblys/container/form/form-runtime.vue2.js +0 -1
- package/dist/es/{runtime → components/runtime}/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -1
- package/dist/es/{runtime → components/runtime}/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -1
- package/dist/es/{runtime → components/runtime}/views/assemblys/container/tools/tools-runtime.vue2.js +0 -1
- package/dist/es/{runtime → components/runtime}/views/assemblys/data/table/main-table-runtime.vue.js +4 -5
- package/dist/es/{runtime → components/runtime}/views/assemblys/data/table/sub-table-runtime.vue.js +5 -5
- package/dist/es/{runtime → components/runtime}/views/assemblys/data/table/table-runtime.vue2.js +0 -5
- package/dist/es/{runtime → components/runtime}/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +2 -2
- package/dist/es/{runtime → components/runtime}/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +2 -2
- package/dist/es/{runtime → components/runtime}/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +1 -5
- package/dist/es/{runtime → components/runtime}/views/assemblys/form/divider/divider-runtime.vue2.js +1 -1
- package/dist/es/{runtime → components/runtime}/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
- package/dist/es/{runtime → components/runtime}/views/assemblys/form/input-number/input-number-runtime.vue2.js +2 -2
- package/dist/es/{runtime → components/runtime}/views/assemblys/form/input-text/inputtext-runtime.vue2.js +3 -3
- package/dist/es/{runtime → components/runtime}/views/assemblys/form/label/label-runtime.vue2.js +10 -4
- package/dist/es/{runtime → components/runtime}/views/assemblys/form/link/link-runtime.vue2.js +2 -2
- package/dist/es/{runtime → components/runtime}/views/assemblys/form/radio/radio-runtime.vue2.js +2 -2
- package/dist/es/{runtime → components/runtime}/views/assemblys/form/rich-text/richtext-runtime.vue2.js +15 -3
- package/dist/es/{runtime → components/runtime}/views/assemblys/form/select/select-runtime.vue2.js +2 -2
- package/dist/es/{runtime → components/runtime}/views/assemblys/form/switch/switch-runtime.vue2.js +2 -2
- package/dist/es/{runtime → components/runtime}/views/assemblys/form/tag/tag-runtime.vue2.js +2 -2
- package/dist/es/{runtime → components/runtime}/views/assemblys/form/textarea/textarea-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/object-render.vue.d.ts +1 -1
- package/dist/es/{runtime → components/runtime}/views/assemblys/object-render.vue.js +5 -5
- package/dist/es/{runtime → components/runtime}/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/super-page.vue.d.ts +1 -1
- package/dist/es/{runtime → components/runtime}/views/super-page.vue.js +7 -8
- package/dist/es/{super-page-dialog → components/super-page-dialog}/super-page-dialog.vue.js +0 -1
- package/dist/es/components/wf-editor/wf-editor.css +4 -0
- package/dist/es/{wf-editor → components/wf-editor}/wf-editor.vue.js +3 -3
- package/dist/es/src/utils/charts/chart-util.js +15 -0
- package/dist/es/{components/runtime → src}/utils/events/event-util.d.ts +1 -1
- package/dist/lib/components/index.d.ts +5 -0
- package/dist/lib/{runtime → components/runtime}/views/assemblys/button/button/button-runtime.vue2.js +1 -1
- package/dist/lib/{runtime → components/runtime}/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +1 -1
- package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
- package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/gauge/gauge-runtime.vue2.js +2 -9
- package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
- package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
- package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
- package/dist/lib/{runtime → components/runtime}/views/assemblys/common/export-form-report-dialog.vue.js +3 -9
- package/dist/lib/{runtime → components/runtime}/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -1
- package/dist/lib/{runtime → components/runtime}/views/assemblys/container/container/container-runtime.vue2.js +0 -1
- package/dist/lib/{runtime → components/runtime}/views/assemblys/container/flex/flex-runtime.vue2.js +0 -1
- package/dist/lib/{runtime → components/runtime}/views/assemblys/container/form/form-runtime.vue2.js +0 -1
- package/dist/lib/{runtime → components/runtime}/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -1
- package/dist/lib/{runtime → components/runtime}/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -1
- package/dist/lib/{runtime → components/runtime}/views/assemblys/container/tools/tools-runtime.vue2.js +0 -1
- package/dist/lib/{runtime → components/runtime}/views/assemblys/data/table/main-table-runtime.vue.js +4 -5
- package/dist/lib/{runtime → components/runtime}/views/assemblys/data/table/sub-table-runtime.vue.js +5 -5
- package/dist/lib/{runtime → components/runtime}/views/assemblys/data/table/table-runtime.vue2.js +0 -5
- package/dist/lib/{runtime → components/runtime}/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +2 -2
- package/dist/lib/{runtime → components/runtime}/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +2 -2
- package/dist/lib/{runtime → components/runtime}/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +1 -5
- package/dist/lib/{runtime → components/runtime}/views/assemblys/form/divider/divider-runtime.vue2.js +1 -1
- package/dist/lib/{runtime → components/runtime}/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
- package/dist/lib/{runtime → components/runtime}/views/assemblys/form/input-number/input-number-runtime.vue2.js +2 -2
- package/dist/lib/{runtime → components/runtime}/views/assemblys/form/input-text/inputtext-runtime.vue2.js +3 -3
- package/dist/lib/{runtime → components/runtime}/views/assemblys/form/label/label-runtime.vue2.js +10 -4
- package/dist/lib/{runtime → components/runtime}/views/assemblys/form/link/link-runtime.vue2.js +2 -2
- package/dist/lib/{runtime → components/runtime}/views/assemblys/form/radio/radio-runtime.vue2.js +2 -2
- package/dist/lib/{runtime → components/runtime}/views/assemblys/form/rich-text/richtext-runtime.vue2.js +15 -3
- package/dist/lib/{runtime → components/runtime}/views/assemblys/form/select/select-runtime.vue2.js +2 -2
- package/dist/lib/{runtime → components/runtime}/views/assemblys/form/switch/switch-runtime.vue2.js +2 -2
- package/dist/lib/{runtime → components/runtime}/views/assemblys/form/tag/tag-runtime.vue2.js +2 -2
- package/dist/lib/{runtime → components/runtime}/views/assemblys/form/textarea/textarea-runtime.vue2.js +2 -2
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +1 -1
- package/dist/lib/{runtime → components/runtime}/views/assemblys/object-render.vue.js +5 -5
- package/dist/lib/{runtime → components/runtime}/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +2 -2
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +1 -1
- package/dist/lib/{runtime → components/runtime}/views/super-page.vue.js +7 -8
- package/dist/lib/{super-page-dialog → components/super-page-dialog}/super-page-dialog.vue.js +0 -1
- package/dist/lib/components/wf-editor/wf-editor.css +4 -0
- package/dist/lib/{wf-editor → components/wf-editor}/wf-editor.vue.js +3 -3
- package/dist/lib/src/utils/charts/chart-util.js +15 -0
- package/dist/lib/{components/runtime → src}/utils/events/event-util.d.ts +1 -1
- package/lib/components/index.js +8 -0
- package/package.json +5 -4
- package/src/assets/base.css +86 -0
- package/src/assets/chart-themes/theme1.ts +6 -0
- package/src/assets/chart-themes/theme2.ts +6 -0
- package/src/assets/chart-themes/theme3.ts +6 -0
- package/src/assets/images/button/button-group.png +0 -0
- package/src/assets/images/button/button.png +0 -0
- package/src/assets/images/chart/chart-column.png +0 -0
- package/src/assets/images/chart/chart-gauge.png +0 -0
- package/src/assets/images/chart/chart-pie.png +0 -0
- package/src/assets/images/chart/chart-radar.png +0 -0
- package/src/assets/images/chart/chart-scatter.png +0 -0
- package/src/assets/images/container/container-card.png +0 -0
- package/src/assets/images/container/container-collapse.png +0 -0
- package/src/assets/images/container/container-container.png +0 -0
- package/src/assets/images/container/container-flex.png +0 -0
- package/src/assets/images/container/container-form.png +0 -0
- package/src/assets/images/container/container-iframe.png +0 -0
- package/src/assets/images/container/container-normal.png +0 -0
- package/src/assets/images/container/container-tabs.png +0 -0
- package/src/assets/images/container/container-tools.png +0 -0
- package/src/assets/images/data/data-process.png +0 -0
- package/src/assets/images/data/data-step.png +0 -0
- package/src/assets/images/data/data-table-column.png +0 -0
- package/src/assets/images/data/data-table.png +0 -0
- package/src/assets/images/data/data-timeline.png +0 -0
- package/src/assets/images/data/data-tree.png +0 -0
- package/src/assets/images/form/form-cascader.png +0 -0
- package/src/assets/images/form/form-check.png +0 -0
- package/src/assets/images/form/form-color.png +0 -0
- package/src/assets/images/form/form-count.png +0 -0
- package/src/assets/images/form/form-custom.png +0 -0
- package/src/assets/images/form/form-date.png +0 -0
- package/src/assets/images/form/form-dept.png +0 -0
- package/src/assets/images/form/form-divider.png +0 -0
- package/src/assets/images/form/form-file.png +0 -0
- package/src/assets/images/form/form-image-upload.png +0 -0
- package/src/assets/images/form/form-img.png +0 -0
- package/src/assets/images/form/form-input.png +0 -0
- package/src/assets/images/form/form-label.png +0 -0
- package/src/assets/images/form/form-link.png +0 -0
- package/src/assets/images/form/form-radio.png +0 -0
- package/src/assets/images/form/form-scan.png +0 -0
- package/src/assets/images/form/form-score.png +0 -0
- package/src/assets/images/form/form-select.png +0 -0
- package/src/assets/images/form/form-slider.png +0 -0
- package/src/assets/images/form/form-space.png +0 -0
- package/src/assets/images/form/form-switch.png +0 -0
- package/src/assets/images/form/form-text.png +0 -0
- package/src/assets/images/form/form-textarea.png +0 -0
- package/src/assets/images/form/form-transfer.png +0 -0
- package/src/assets/images/form/form-zoom.png +0 -0
- package/src/assets/images/group-button.png +0 -0
- package/src/assets/images/group-chart.png +0 -0
- package/src/assets/images/group-container.png +0 -0
- package/src/assets/images/group-data.png +0 -0
- package/src/assets/images/group-form.png +0 -0
- package/src/assets/images/group-workflow.png +0 -0
- package/src/assets/images/workflow/workflow-button.png +0 -0
- package/src/assets/images/workflow/workflow-history-texts.png +0 -0
- package/src/assets/images/workflow/workflow-history.png +0 -0
- package/src/assets/images/workflow/workflow-imagehistory.png +0 -0
- package/src/assets/images/workflow/workflow-texthistory .png +0 -0
- package/src/assets/logo.svg +1 -0
- package/src/assets/main.css +1 -0
- package/src/i18n/langs/cn.js +52 -0
- package/src/i18n/langs/en.js +52 -0
- package/src/stores/counter.ts +12 -0
- package/src/utils/api/api-util.ts +176 -0
- package/src/utils/charts/chart-util.ts +41 -0
- package/src/utils/common-util.ts +96 -0
- package/src/utils/container-style-util.ts +237 -0
- package/src/utils/eventBus.ts +14 -0
- package/src/utils/events/event-util.ts +790 -0
- package/src/utils/events/jump-page-util.ts +0 -0
- package/src/utils/events/standard-event.ts +2075 -0
- package/src/utils/events/validator-util.ts +474 -0
- package/src/utils/global-refs.ts +160 -0
- package/src/utils/interfaces/page-design-types.ts +259 -0
- package/src/utils/page-helper-util.ts +850 -0
- package/src/utils/page-init-util.ts +291 -0
- package/src/utils/page-permission-util.ts +521 -0
- package/src/utils/store-util.ts +41 -0
- package/src/utils/store.ts +3 -0
- package/src/utils/table-utils.ts +31 -0
- package/dist/es/index.d.ts +0 -5
- package/dist/es/runtime/utils/charts/chart-util.js +0 -15
- package/dist/es/wf-editor/wf-editor.css +0 -4
- package/dist/lib/index.d.ts +0 -5
- package/dist/lib/runtime/utils/charts/chart-util.js +0 -15
- package/dist/lib/wf-editor/wf-editor.css +0 -4
- /package/dist/es/{index.js → components/index.js} +0 -0
- /package/dist/es/{runtime → components/runtime}/index.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/assemblys-config.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/button/button/button-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/pie/pie-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/radar/radar-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/common/export-form-report-dialog.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/common/remove-signer-dialog.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/common/remove-signer-dialog.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/common/task-informition-dialog.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/common/task-informition-dialog.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/container/card/card-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/container/card/card-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/container/container/container-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/container/flex/flex-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/container/form/form-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/container/tools/tools-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/data/table/main-table-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/data/table/table-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/error-render.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/error-render.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/divider/divider-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/label/label-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/link/link-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/radio/radio-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/select/select-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/switch/switch-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/tag/tag-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/object-render.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/super-page.vue2.js +0 -0
- /package/dist/es/{super-page-dialog → components/super-page-dialog}/index.js +0 -0
- /package/dist/es/{super-page-dialog → components/super-page-dialog}/super-page-dialog.vue2.js +0 -0
- /package/dist/es/{wf-editor → components/wf-editor}/index.js +0 -0
- /package/dist/es/{assets → src/assets}/chart-themes/theme1.js +0 -0
- /package/dist/es/{assets → src/assets}/chart-themes/theme2.js +0 -0
- /package/dist/es/{assets → src/assets}/chart-themes/theme3.js +0 -0
- /package/dist/es/{components/runtime → src}/utils/api/api-util.d.ts +0 -0
- /package/dist/es/{runtime → src}/utils/api/api-util.js +0 -0
- /package/dist/es/{components/runtime → src}/utils/common-util.d.ts +0 -0
- /package/dist/es/{runtime → src}/utils/common-util.js +0 -0
- /package/dist/es/{runtime → src}/utils/events/event-util.js +0 -0
- /package/dist/es/{components/runtime → src}/utils/events/standard-event.d.ts +0 -0
- /package/dist/es/{runtime → src}/utils/events/standard-event.js +0 -0
- /package/dist/es/{components/runtime → src}/utils/events/validator-util.d.ts +0 -0
- /package/dist/es/{runtime → src}/utils/events/validator-util.js +0 -0
- /package/dist/es/{components/runtime → src}/utils/global-refs.d.ts +0 -0
- /package/dist/es/{runtime → src}/utils/global-refs.js +0 -0
- /package/dist/es/{components/runtime → src}/utils/interfaces/page-design-types.d.ts +0 -0
- /package/dist/es/{runtime → src}/utils/interfaces/page-design-types.js +0 -0
- /package/dist/es/{components/runtime → src}/utils/page-helper-util.d.ts +0 -0
- /package/dist/es/{runtime → src}/utils/page-helper-util.js +0 -0
- /package/dist/es/{components/runtime → src}/utils/page-init-util.d.ts +0 -0
- /package/dist/es/{runtime → src}/utils/page-init-util.js +0 -0
- /package/dist/es/{components/runtime → src}/utils/store-util.d.ts +0 -0
- /package/dist/es/{runtime → src}/utils/store-util.js +0 -0
- /package/dist/es/{components/runtime → src}/utils/store.d.ts +0 -0
- /package/dist/es/{runtime → src}/utils/store.js +0 -0
- /package/dist/es/{runtime → src}/utils/table-utils.js +0 -0
- /package/dist/lib/{index.js → components/index.js} +0 -0
- /package/dist/lib/{runtime → components/runtime}/index.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/assemblys-config.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/button/button/button-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/pie/pie-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/radar/radar-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/common/export-form-report-dialog.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/common/remove-signer-dialog.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/common/remove-signer-dialog.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/common/task-informition-dialog.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/common/task-informition-dialog.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/card/card-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/card/card-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/container/container-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/flex/flex-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/form/form-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/tools/tools-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/data/table/main-table-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/data/table/table-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/error-render.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/error-render.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/divider/divider-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/label/label-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/link/link-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/radio/radio-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/select/select-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/switch/switch-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/tag/tag-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/object-render.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/super-page.vue2.js +0 -0
- /package/dist/lib/{super-page-dialog → components/super-page-dialog}/index.js +0 -0
- /package/dist/lib/{super-page-dialog → components/super-page-dialog}/super-page-dialog.vue2.js +0 -0
- /package/dist/lib/{wf-editor → components/wf-editor}/index.js +0 -0
- /package/dist/lib/{assets → src/assets}/chart-themes/theme1.js +0 -0
- /package/dist/lib/{assets → src/assets}/chart-themes/theme2.js +0 -0
- /package/dist/lib/{assets → src/assets}/chart-themes/theme3.js +0 -0
- /package/dist/lib/{components/runtime → src}/utils/api/api-util.d.ts +0 -0
- /package/dist/lib/{runtime → src}/utils/api/api-util.js +0 -0
- /package/dist/lib/{components/runtime → src}/utils/common-util.d.ts +0 -0
- /package/dist/lib/{runtime → src}/utils/common-util.js +0 -0
- /package/dist/lib/{runtime → src}/utils/events/event-util.js +0 -0
- /package/dist/lib/{components/runtime → src}/utils/events/standard-event.d.ts +0 -0
- /package/dist/lib/{runtime → src}/utils/events/standard-event.js +0 -0
- /package/dist/lib/{components/runtime → src}/utils/events/validator-util.d.ts +0 -0
- /package/dist/lib/{runtime → src}/utils/events/validator-util.js +0 -0
- /package/dist/lib/{components/runtime → src}/utils/global-refs.d.ts +0 -0
- /package/dist/lib/{runtime → src}/utils/global-refs.js +0 -0
- /package/dist/lib/{components/runtime → src}/utils/interfaces/page-design-types.d.ts +0 -0
- /package/dist/lib/{runtime → src}/utils/interfaces/page-design-types.js +0 -0
- /package/dist/lib/{components/runtime → src}/utils/page-helper-util.d.ts +0 -0
- /package/dist/lib/{runtime → src}/utils/page-helper-util.js +0 -0
- /package/dist/lib/{components/runtime → src}/utils/page-init-util.d.ts +0 -0
- /package/dist/lib/{runtime → src}/utils/page-init-util.js +0 -0
- /package/dist/lib/{components/runtime → src}/utils/store-util.d.ts +0 -0
- /package/dist/lib/{runtime → src}/utils/store-util.js +0 -0
- /package/dist/lib/{components/runtime → src}/utils/store.d.ts +0 -0
- /package/dist/lib/{runtime → src}/utils/store.js +0 -0
- /package/dist/lib/{runtime → src}/utils/table-utils.js +0 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/* color palette from <https://github.com/vuejs/theme> */
|
|
2
|
+
:root {
|
|
3
|
+
--vt-c-white: #ffffff;
|
|
4
|
+
--vt-c-white-soft: #f8f8f8;
|
|
5
|
+
--vt-c-white-mute: #f2f2f2;
|
|
6
|
+
|
|
7
|
+
--vt-c-black: #181818;
|
|
8
|
+
--vt-c-black-soft: #222222;
|
|
9
|
+
--vt-c-black-mute: #282828;
|
|
10
|
+
|
|
11
|
+
--vt-c-indigo: #2c3e50;
|
|
12
|
+
|
|
13
|
+
--vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
|
|
14
|
+
--vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
|
|
15
|
+
--vt-c-divider-dark-1: rgba(84, 84, 84, 0.65);
|
|
16
|
+
--vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
|
|
17
|
+
|
|
18
|
+
--vt-c-text-light-1: var(--vt-c-indigo);
|
|
19
|
+
--vt-c-text-light-2: rgba(60, 60, 60, 0.66);
|
|
20
|
+
--vt-c-text-dark-1: var(--vt-c-white);
|
|
21
|
+
--vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* semantic color variables for this project */
|
|
25
|
+
:root {
|
|
26
|
+
--color-background: var(--vt-c-white);
|
|
27
|
+
--color-background-soft: var(--vt-c-white-soft);
|
|
28
|
+
--color-background-mute: var(--vt-c-white-mute);
|
|
29
|
+
|
|
30
|
+
--color-border: var(--vt-c-divider-light-2);
|
|
31
|
+
--color-border-hover: var(--vt-c-divider-light-1);
|
|
32
|
+
|
|
33
|
+
--color-heading: var(--vt-c-text-light-1);
|
|
34
|
+
--color-text: var(--vt-c-text-light-1);
|
|
35
|
+
|
|
36
|
+
--section-gap: 160px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@media (prefers-color-scheme: dark) {
|
|
40
|
+
:root {
|
|
41
|
+
--color-background: var(--vt-c-black);
|
|
42
|
+
--color-background-soft: var(--vt-c-black-soft);
|
|
43
|
+
--color-background-mute: var(--vt-c-black-mute);
|
|
44
|
+
|
|
45
|
+
--color-border: var(--vt-c-divider-dark-2);
|
|
46
|
+
--color-border-hover: var(--vt-c-divider-dark-1);
|
|
47
|
+
|
|
48
|
+
--color-heading: var(--vt-c-text-dark-1);
|
|
49
|
+
--color-text: var(--vt-c-text-dark-2);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
*,
|
|
54
|
+
*::before,
|
|
55
|
+
*::after {
|
|
56
|
+
box-sizing: border-box;
|
|
57
|
+
margin: 0;
|
|
58
|
+
font-weight: normal;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
body {
|
|
62
|
+
min-height: 100vh;
|
|
63
|
+
color: var(--color-text);
|
|
64
|
+
background: var(--color-background);
|
|
65
|
+
transition:
|
|
66
|
+
color 0.5s,
|
|
67
|
+
background-color 0.5s;
|
|
68
|
+
line-height: 1.6;
|
|
69
|
+
font-family:
|
|
70
|
+
Inter,
|
|
71
|
+
-apple-system,
|
|
72
|
+
BlinkMacSystemFont,
|
|
73
|
+
'Segoe UI',
|
|
74
|
+
Roboto,
|
|
75
|
+
Oxygen,
|
|
76
|
+
Ubuntu,
|
|
77
|
+
Cantarell,
|
|
78
|
+
'Fira Sans',
|
|
79
|
+
'Droid Sans',
|
|
80
|
+
'Helvetica Neue',
|
|
81
|
+
sans-serif;
|
|
82
|
+
font-size: 15px;
|
|
83
|
+
text-rendering: optimizeLegibility;
|
|
84
|
+
-webkit-font-smoothing: antialiased;
|
|
85
|
+
-moz-osx-font-smoothing: grayscale;
|
|
86
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 261.76 226.69"><path d="M161.096.001l-30.225 52.351L100.647.001H-.005l130.877 226.688L261.749.001z" fill="#41b883"/><path d="M161.096.001l-30.225 52.351L100.647.001H52.346l78.526 136.01L209.398.001z" fill="#34495e"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import './base.css';
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
const cn = {
|
|
2
|
+
superPageRuntimeMessage:{
|
|
3
|
+
successfulSave: '保存成功',
|
|
4
|
+
recordLine:'第 {row} 行记录',
|
|
5
|
+
tableListSubTableDataVerificationFailed: '表单子表数据校验失败',
|
|
6
|
+
formDataVerificationFailed: '表单数据校验失败',
|
|
7
|
+
successfulOperation: '操作成功',
|
|
8
|
+
selectTemplate: '选择模板',
|
|
9
|
+
temlpate: '模板',
|
|
10
|
+
operating: '操作',
|
|
11
|
+
export: '导出',
|
|
12
|
+
tips: '提示',
|
|
13
|
+
sure: '确定',
|
|
14
|
+
cancel: '取消',
|
|
15
|
+
whetherToConfirmSubmit: '确定{name}吗?',
|
|
16
|
+
whetherToConfirmAgree: '确定{name}吗?',
|
|
17
|
+
whetherToConfirmDisagree: '确定{name}吗?',
|
|
18
|
+
pleaseSelectRecord:'请选择记录',
|
|
19
|
+
whetherToConfirmDeletion: '确定删除吗?',
|
|
20
|
+
successfulDelete: '删除成功',
|
|
21
|
+
noFileSelected: '请选择一个文件',
|
|
22
|
+
asyncImport: '正在异步导入,请等待消息通知!',
|
|
23
|
+
successfulImport: '导入成功',
|
|
24
|
+
thePreconditionOfTheButtonTo: '该按钮前置条件为[{message}]',
|
|
25
|
+
onlyOneRecordCanBeselected: '只能选择一条记录',
|
|
26
|
+
selectAtLeastOneRecord: '请至少选择一条记录',
|
|
27
|
+
requestPathEmpty: '后台请求路径为空',
|
|
28
|
+
successfulSubmit: '提交成功',
|
|
29
|
+
successfulCompleteTask: '任务办理成功',
|
|
30
|
+
successfulAssign: '指派任务成功',
|
|
31
|
+
successfulRetrieve: '取回任务成功',
|
|
32
|
+
successfulDrawTask: '领取任务成功',
|
|
33
|
+
successfulAbandonReceive: '放弃任务成功',
|
|
34
|
+
successfulReturnToPreviousTask: '退回上一环节成功',
|
|
35
|
+
successfulEndInstance: '强制结束流程成功',
|
|
36
|
+
selectNode:'选择环节',
|
|
37
|
+
nodeName:'环节名称',
|
|
38
|
+
nodeId:'环节编码',
|
|
39
|
+
pleaseSelectNode:'请选择环节',
|
|
40
|
+
successfulReturnTaskTo: '退回成功',
|
|
41
|
+
selectRemoveUsers: '选择减签任务',
|
|
42
|
+
transactorName: '办理人姓名',
|
|
43
|
+
transactor: '办理人登录名',
|
|
44
|
+
trustorName: '委托人姓名',
|
|
45
|
+
pleaseSelectRemoverUsers: '请选择减签用户',
|
|
46
|
+
required:'{label}必填',
|
|
47
|
+
formatMismatch:'{label}格式不匹配',
|
|
48
|
+
overMaxLength:'{label}最多只能输入{value}字符',
|
|
49
|
+
limitMinLength:'{label}至少输入{value}字符'
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
export default cn
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
const en = {
|
|
2
|
+
superPageRuntimeMessage:{
|
|
3
|
+
successfulSave: 'Save succeeded',
|
|
4
|
+
recordLine:'Record line {row}',
|
|
5
|
+
tableListSubTableDataVerificationFailed: 'Table List Sub Table Data Verification Failed',
|
|
6
|
+
formDataVerificationFailed: 'Form Data Verification Failed',
|
|
7
|
+
successfulOperation: 'Operation successful',
|
|
8
|
+
selectTemplate: 'Select Template',
|
|
9
|
+
temlpate: 'Template',
|
|
10
|
+
operating: 'Operate',
|
|
11
|
+
export: 'Export',
|
|
12
|
+
tips: 'Tip',
|
|
13
|
+
sure: 'Sure',
|
|
14
|
+
cancel: 'Cancel',
|
|
15
|
+
whetherToConfirmSubmit: 'Are you sure to {name}?',
|
|
16
|
+
whetherToConfirmAgree: 'Are you sure to {name}?',
|
|
17
|
+
whetherToConfirmDisagree: 'Are you sure to {name}?',
|
|
18
|
+
pleaseSelectRecord: 'Please select the record',
|
|
19
|
+
whetherToConfirmDeletion: 'Are you sure to delete?',
|
|
20
|
+
successfulDelete: 'Delete succeeded',
|
|
21
|
+
noFileSelected: 'Please select a file',
|
|
22
|
+
asyncImport: 'Asynchronous import, please wait for message notification!',
|
|
23
|
+
successfulImport: 'Import succeeded',
|
|
24
|
+
thePreconditionOfTheButtonTo: 'The Precondition Of The Button To [{message}]',
|
|
25
|
+
onlyOneRecordCanBeselected: 'Only One Record Can Be Selected',
|
|
26
|
+
selectAtLeastOneRecord: 'Please Select At Least One Record',
|
|
27
|
+
requestPathEmpty: 'Backend request path is empty',
|
|
28
|
+
successfulSubmit: 'Submit succeeded',
|
|
29
|
+
successfulCompleteTask: 'Task handled successfully',
|
|
30
|
+
successfulAssign: 'Task assigned successfully',
|
|
31
|
+
successfulRetrieve: 'Retrieve task succeeded',
|
|
32
|
+
successfulDrawTask: 'Task received successfully',
|
|
33
|
+
successfulAbandonReceive: 'The task was abandoned successfully',
|
|
34
|
+
successfulReturnToPreviousTask:'Successfully returned to the previous phase',
|
|
35
|
+
successfulEndInstance: 'Forced to end the process successfully',
|
|
36
|
+
selectNode:'Select Node',
|
|
37
|
+
nodeName:'Node Name',
|
|
38
|
+
nodeId:'Node Code',
|
|
39
|
+
pleaseSelectNode:'Please Select Node',
|
|
40
|
+
successfulReturnTaskTo: 'Returned successfully',
|
|
41
|
+
selectRemoveUsers: 'Select Remove Task',
|
|
42
|
+
transactorName: 'Transactor Name',
|
|
43
|
+
transactor: 'Transactor Loginname',
|
|
44
|
+
trustorName: 'Trustor Name',
|
|
45
|
+
pleaseSelectRemoverUsers: 'Please select remove task',
|
|
46
|
+
required:'{label} is required',
|
|
47
|
+
formatMismatch:'{label} Format mismatch',
|
|
48
|
+
overMaxLength:'{label} can only input a maximum of {value} characters',
|
|
49
|
+
limitMinLength:'Enter at least {value} characters for {label}'
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
export default en
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ref, computed } from 'vue'
|
|
2
|
+
import { defineStore } from 'pinia'
|
|
3
|
+
|
|
4
|
+
export const useCounterStore = defineStore('counter', () => {
|
|
5
|
+
const count = ref(0)
|
|
6
|
+
const doubleCount = computed(() => count.value * 2)
|
|
7
|
+
function increment() {
|
|
8
|
+
count.value++
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
return { count, doubleCount, increment }
|
|
12
|
+
})
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
|
|
2
|
+
import {
|
|
3
|
+
getSystemBackendUrl
|
|
4
|
+
} from 'agilebuilder-ui/src/utils/common-util'
|
|
5
|
+
import { getSessionCache } from 'agilebuilder-ui/src/utils/auth'
|
|
6
|
+
import http from 'agilebuilder-ui/src/utils/request'
|
|
7
|
+
import {getBaseUrl} from '../common-util'
|
|
8
|
+
import {dealCompleteTaskParam} from '../events/standard-event'
|
|
9
|
+
/**
|
|
10
|
+
* 设值自定义校验规则。推荐在按钮的beforeValidateForm事件中调用该方法。
|
|
11
|
+
* @param params 事件中的params参数
|
|
12
|
+
* @param customRules 自定义的校验规则
|
|
13
|
+
*/
|
|
14
|
+
export function setCustomRules(pageContext, customRules) {
|
|
15
|
+
//TODO: 流程表单时自定义验证规则实现方式
|
|
16
|
+
if (pageContext) {
|
|
17
|
+
pageContext.customRules = customRules
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* 获得表单数据
|
|
22
|
+
* @param pageContext
|
|
23
|
+
*/
|
|
24
|
+
export function getData(pageContext) {
|
|
25
|
+
const pageType = pageContext.pageType
|
|
26
|
+
if(pageType && pageType === 'form') {
|
|
27
|
+
console.log('获取表单数据getData--pageContext=', pageContext)
|
|
28
|
+
const isWorkflow = pageContext.workflowCode ? true : false
|
|
29
|
+
if (isWorkflow) {
|
|
30
|
+
// 表示是流程表单
|
|
31
|
+
return getWorkflowFormData(pageContext)
|
|
32
|
+
} else {
|
|
33
|
+
// 表示是普通表单
|
|
34
|
+
return getCommonFormData(pageContext)
|
|
35
|
+
}
|
|
36
|
+
} else {
|
|
37
|
+
return new Promise((resolve,reject)=>{
|
|
38
|
+
resolve(true)
|
|
39
|
+
})
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// 获得普通表单数据
|
|
44
|
+
function getCommonFormData(pageContext) {
|
|
45
|
+
return new Promise((resolve, reject) => {
|
|
46
|
+
const system = pageContext.entity.system
|
|
47
|
+
const pageCode = pageContext.code
|
|
48
|
+
const pageVersion = pageContext.version
|
|
49
|
+
const additionalParamMap = pageContext.entity.request
|
|
50
|
+
const dataId = additionalParamMap ? additionalParamMap.id : null
|
|
51
|
+
const ids = additionalParamMap ? additionalParamMap.ids : null
|
|
52
|
+
const taskId = additionalParamMap ? additionalParamMap.taskId : null
|
|
53
|
+
const permissionPrefix = system.code + '.' + pageCode
|
|
54
|
+
const backendUrl = getSystemBackendUrl(system.backendUrl)
|
|
55
|
+
const param = {
|
|
56
|
+
pageCode: pageCode,
|
|
57
|
+
pageVersion: pageVersion,
|
|
58
|
+
tableName: pageContext.tableName,
|
|
59
|
+
formNoRuleCode: pageContext.formNoRuleCode,
|
|
60
|
+
id: dataId,
|
|
61
|
+
systemCode: system.code,
|
|
62
|
+
functionCode: permissionPrefix + '.get',
|
|
63
|
+
tableNames: pageContext.tableNames
|
|
64
|
+
}
|
|
65
|
+
if (!param.id && additionalParamMap &&
|
|
66
|
+
additionalParamMap._t_ && getSessionCache(additionalParamMap._t_ + '_id')) {
|
|
67
|
+
param.id = getSessionCache(additionalParamMap._t_ + '_id')
|
|
68
|
+
}
|
|
69
|
+
if (ids) {
|
|
70
|
+
param['ids'] = ids
|
|
71
|
+
}
|
|
72
|
+
if (pageContext.notIdInitializationList) {
|
|
73
|
+
param['noIdAndTaskIdInitSetting'] = JSON.stringify(pageContext.notIdInitializationList)
|
|
74
|
+
}
|
|
75
|
+
if (additionalParamMap) {
|
|
76
|
+
param['additionalParamMap'] = additionalParamMap
|
|
77
|
+
}
|
|
78
|
+
if (pageContext.beanName) {
|
|
79
|
+
param['beanName'] = pageContext.beanName
|
|
80
|
+
}
|
|
81
|
+
if (taskId) {
|
|
82
|
+
param['taskId'] = taskId
|
|
83
|
+
}
|
|
84
|
+
const urlForView = backendUrl + '/dsc/commons/gets'
|
|
85
|
+
http.post(urlForView, param).then((commonEntity) => {
|
|
86
|
+
if (commonEntity) {
|
|
87
|
+
pageContext.entity.data = commonEntity.entity
|
|
88
|
+
// 获得表单编码规则解析结果
|
|
89
|
+
// TODO: 临时表单编码处理
|
|
90
|
+
pageContext.initFormNo = commonEntity.formNo
|
|
91
|
+
|
|
92
|
+
// if (this.dataId) {
|
|
93
|
+
// // 是否是新建表单
|
|
94
|
+
// setStoreInfo(this.pageCode, '_isCreateformData', false)
|
|
95
|
+
// } else {
|
|
96
|
+
// setStoreInfo(this.pageCode, '_isCreateformData', true)
|
|
97
|
+
// }
|
|
98
|
+
// TODO: dataTypeMap处理
|
|
99
|
+
// this.dataTypeMap = formParam.dataTypeMap
|
|
100
|
+
}
|
|
101
|
+
resolve(commonEntity)
|
|
102
|
+
}).catch(error => {
|
|
103
|
+
reject(error)
|
|
104
|
+
})
|
|
105
|
+
})
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
// 获得流程表单数据
|
|
109
|
+
function getWorkflowFormData(pageContext) {
|
|
110
|
+
return new Promise((resolve,reject)=>{
|
|
111
|
+
const system = pageContext.entity.system
|
|
112
|
+
const pageCode = pageContext.code
|
|
113
|
+
const pageVersion = pageContext.version
|
|
114
|
+
const additionalParamMap = pageContext.entity.request
|
|
115
|
+
const dataId = additionalParamMap ? additionalParamMap.id : null
|
|
116
|
+
const ids = additionalParamMap ? additionalParamMap.ids : null
|
|
117
|
+
const taskId = additionalParamMap ? additionalParamMap.taskId : null
|
|
118
|
+
const permissionPrefix = system.code + '.' + pageCode
|
|
119
|
+
const param = {
|
|
120
|
+
pageCode: pageCode,
|
|
121
|
+
pageVersion: pageVersion,
|
|
122
|
+
tableName: pageContext.tableName,
|
|
123
|
+
formNoRuleCode: pageContext.formNoRuleCode,
|
|
124
|
+
isWorkflowEntity:true,
|
|
125
|
+
systemCode: system.code,
|
|
126
|
+
functionCode: permissionPrefix + '.get',
|
|
127
|
+
tableNames: pageContext.tableNames
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
if (ids) {
|
|
131
|
+
param['ids'] = ids
|
|
132
|
+
}
|
|
133
|
+
if (taskId) {
|
|
134
|
+
// 办理任务页面
|
|
135
|
+
param['taskId'] = this.taskId
|
|
136
|
+
} else if (dataId) {
|
|
137
|
+
// 修改页面
|
|
138
|
+
param['id'] = dataId
|
|
139
|
+
} else {
|
|
140
|
+
if (additionalParamMap &&
|
|
141
|
+
additionalParamMap._t_ && getSessionCache(additionalParamMap._t_ + '_id')) {
|
|
142
|
+
param['id'] = getSessionCache(additionalParamMap._t_ + '_id')
|
|
143
|
+
}
|
|
144
|
+
// 新建页面
|
|
145
|
+
if (pageContext.notIdInitializationList) {
|
|
146
|
+
param['noIdAndTaskIdInitSetting'] = JSON.stringify(pageContext.notIdInitializationList)
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
}
|
|
150
|
+
if (additionalParamMap) {
|
|
151
|
+
param['additionalParamMap'] = additionalParamMap
|
|
152
|
+
}
|
|
153
|
+
if (pageContext.beanName) {
|
|
154
|
+
param['beanName'] = pageContext.beanName
|
|
155
|
+
}
|
|
156
|
+
const baseUrl = getBaseUrl(system)
|
|
157
|
+
const urlForView = baseUrl + '/dsc/workflow-commons/gets'
|
|
158
|
+
http.post(urlForView, param).then((commonEntity) => {
|
|
159
|
+
pageContext.definitionId = commonEntity.definitionId
|
|
160
|
+
pageContext.entity.task = commonEntity.taskParamMap
|
|
161
|
+
|
|
162
|
+
// if (this.dataId) {
|
|
163
|
+
// setStoreInfo(this.pageCode, '_isCreateformData', false)
|
|
164
|
+
// } else {
|
|
165
|
+
// setStoreInfo(this.pageCode, '_isCreateformData', true)
|
|
166
|
+
// }
|
|
167
|
+
// TODO: dataTypeMap处理
|
|
168
|
+
// this.dataTypeMap = formParam.dataTypeMap
|
|
169
|
+
|
|
170
|
+
dealCompleteTaskParam(commonEntity, true, pageContext)
|
|
171
|
+
resolve(commonEntity)
|
|
172
|
+
}).catch(error => {
|
|
173
|
+
reject(error)
|
|
174
|
+
})
|
|
175
|
+
})
|
|
176
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import theme1 from '../../assets/chart-themes/theme1'
|
|
2
|
+
import theme2 from '../../assets/chart-themes/theme2'
|
|
3
|
+
import theme3 from '../../assets/chart-themes/theme3'
|
|
4
|
+
|
|
5
|
+
//缓存主题
|
|
6
|
+
const themeMap: any = {
|
|
7
|
+
theme1: theme1,
|
|
8
|
+
theme2: theme2,
|
|
9
|
+
theme3: theme3
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* 获取主题对象
|
|
14
|
+
* @param themeName 获取自定义的主题名称
|
|
15
|
+
* @returns
|
|
16
|
+
*/
|
|
17
|
+
export function getCustomTheme(themeName: string) {
|
|
18
|
+
console.log('getdd', themeName)
|
|
19
|
+
return themeMap[themeName]
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* 获取所有主题对象
|
|
24
|
+
* @returns
|
|
25
|
+
*/
|
|
26
|
+
export function getCustomThemeOptions(): Array<any> {
|
|
27
|
+
return [
|
|
28
|
+
{
|
|
29
|
+
value: 'theme1',
|
|
30
|
+
label: '主题1'
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
value: 'theme2',
|
|
34
|
+
label: '主题2'
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
value: 'theme3',
|
|
38
|
+
label: '主题3'
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|