super-page-runtime 1.0.12 → 1.0.14
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/{runtime → components/runtime}/utils/charts/chart-util.js +3 -3
- package/dist/es/{wf-editor → components/wf-editor}/wf-editor.vue.js +1 -1
- package/dist/es/index.js +3 -3
- package/dist/lib/{runtime → components/runtime}/utils/charts/chart-util.js +3 -3
- package/dist/lib/{wf-editor → components/wf-editor}/wf-editor.vue.js +1 -1
- package/dist/lib/index.js +3 -3
- package/package.json +3 -2
- package/src/App.vue +9 -0
- 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/components/runtime/index.ts +2 -0
- package/src/components/runtime/utils/api/api-util.ts +176 -0
- package/src/components/runtime/utils/assemblys-config.js +294 -0
- package/src/components/runtime/utils/charts/chart-util.ts +37 -0
- package/src/components/runtime/utils/common-util.ts +96 -0
- package/src/components/runtime/utils/container-style-util.ts +223 -0
- package/src/components/runtime/utils/eventBus.ts +14 -0
- package/src/components/runtime/utils/events/event-util.ts +791 -0
- package/src/components/runtime/utils/events/jump-page-util.ts +0 -0
- package/src/components/runtime/utils/events/standard-event.ts +2075 -0
- package/src/components/runtime/utils/events/validator-util.ts +474 -0
- package/src/components/runtime/utils/global-refs.ts +160 -0
- package/src/components/runtime/utils/interfaces/page-design-types.ts +259 -0
- package/src/components/runtime/utils/page-helper-util.ts +850 -0
- package/src/components/runtime/utils/page-init-util.ts +291 -0
- package/src/components/runtime/utils/page-permission-util.ts +521 -0
- package/src/components/runtime/utils/store-util.ts +41 -0
- package/src/components/runtime/utils/store.ts +3 -0
- package/src/components/runtime/utils/table-utils.ts +31 -0
- package/src/components/runtime/views/assemblys/button/button/button-runtime.vue +46 -0
- package/src/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +27 -0
- package/src/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +85 -0
- package/src/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +61 -0
- package/src/components/runtime/views/assemblys/chart/common/common-attr-assistant.vue +32 -0
- package/src/components/runtime/views/assemblys/chart/common/common-attr-base.vue +60 -0
- package/src/components/runtime/views/assemblys/chart/common/common-attr-drill.vue +39 -0
- package/src/components/runtime/views/assemblys/chart/common/common-attr-groupby.vue +104 -0
- package/src/components/runtime/views/assemblys/chart/common/common-attr-serieslist.vue +145 -0
- package/src/components/runtime/views/assemblys/chart/common/common-attr-sortby.vue +119 -0
- package/src/components/runtime/views/assemblys/chart/common/common-style-custom.vue +28 -0
- package/src/components/runtime/views/assemblys/chart/common/common-style-datazoom.vue +45 -0
- package/src/components/runtime/views/assemblys/chart/common/common-style-font-subtitle.vue +78 -0
- package/src/components/runtime/views/assemblys/chart/common/common-style-font-title.vue +56 -0
- package/src/components/runtime/views/assemblys/chart/common/common-style-grid.vue +70 -0
- package/src/components/runtime/views/assemblys/chart/common/common-style-legend.vue +70 -0
- package/src/components/runtime/views/assemblys/chart/common/common-style-tooltip.vue +140 -0
- package/src/components/runtime/views/assemblys/chart/common/common-style-xaxis.vue +58 -0
- package/src/components/runtime/views/assemblys/chart/common/common-style-yaxis.vue +125 -0
- package/src/components/runtime/views/assemblys/chart/common-series/common-attr-dataset.vue +67 -0
- package/src/components/runtime/views/assemblys/chart/common-series/common-attr-dynamic.vue +57 -0
- package/src/components/runtime/views/assemblys/chart/common-series/common-attr-testdatas.vue +23 -0
- package/src/components/runtime/views/assemblys/chart/common-series/common-style-label.vue +209 -0
- package/src/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +54 -0
- package/src/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +57 -0
- package/src/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +56 -0
- package/src/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +58 -0
- package/src/components/runtime/views/assemblys/common/common-attr-cursor.vue +23 -0
- package/src/components/runtime/views/assemblys/common/common-attr-size.vue +54 -0
- package/src/components/runtime/views/assemblys/common/common-select-table.vue +287 -0
- package/src/components/runtime/views/assemblys/common/common-style-background.vue +46 -0
- package/src/components/runtime/views/assemblys/common/common-style-border.vue +37 -0
- package/src/components/runtime/views/assemblys/common/common-style-custom.vue +35 -0
- package/src/components/runtime/views/assemblys/common/common-style-font-head.vue +53 -0
- package/src/components/runtime/views/assemblys/common/common-style-font.vue +53 -0
- package/src/components/runtime/views/assemblys/common/common-style-margin.vue +34 -0
- package/src/components/runtime/views/assemblys/common/common-style-padding.vue +34 -0
- package/src/components/runtime/views/assemblys/common/common-style-position.vue +39 -0
- package/src/components/runtime/views/assemblys/common/common-style-shadow.vue +37 -0
- package/src/components/runtime/views/assemblys/common/export-form-report-dialog.vue +118 -0
- package/src/components/runtime/views/assemblys/common/remove-signer-dialog.vue +99 -0
- package/src/components/runtime/views/assemblys/common/task-informition-dialog.vue +69 -0
- package/src/components/runtime/views/assemblys/common-attr-events.vue +46 -0
- package/src/components/runtime/views/assemblys/container/card/card-runtime.vue +56 -0
- package/src/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue +56 -0
- package/src/components/runtime/views/assemblys/container/container/container-runtime.vue +50 -0
- package/src/components/runtime/views/assemblys/container/flex/flex-runtime.vue +33 -0
- package/src/components/runtime/views/assemblys/container/form/form-runtime.vue +35 -0
- package/src/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +28 -0
- package/src/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue +51 -0
- package/src/components/runtime/views/assemblys/container/tools/tools-runtime.vue +97 -0
- package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +110 -0
- package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr-event.vue +14 -0
- package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr-style.vue +25 -0
- package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +29 -0
- package/src/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +95 -0
- package/src/components/runtime/views/assemblys/data/component/attr-header.vue +69 -0
- package/src/components/runtime/views/assemblys/data/component/attr-style.vue +64 -0
- package/src/components/runtime/views/assemblys/data/component/column-config.vue +171 -0
- package/src/components/runtime/views/assemblys/data/component/combinedHeader.vue +96 -0
- package/src/components/runtime/views/assemblys/data/component/composite-header.vue +257 -0
- package/src/components/runtime/views/assemblys/data/component/configuration-value.vue +206 -0
- package/src/components/runtime/views/assemblys/data/component/data-origin-tree.vue +117 -0
- package/src/components/runtime/views/assemblys/data/component/data-origin.vue +260 -0
- package/src/components/runtime/views/assemblys/data/component/formatting.vue +200 -0
- package/src/components/runtime/views/assemblys/data/component/in-parameter.vue +56 -0
- package/src/components/runtime/views/assemblys/data/component/querySetting.vue +52 -0
- package/src/components/runtime/views/assemblys/data/component/return-set-table.vue +91 -0
- package/src/components/runtime/views/assemblys/data/component/row-backgroud-color.vue +58 -0
- package/src/components/runtime/views/assemblys/data/component/select-data-table.vue +86 -0
- package/src/components/runtime/views/assemblys/data/table/main-table-runtime.vue +852 -0
- package/src/components/runtime/views/assemblys/data/table/sub-table-runtime.vue +622 -0
- package/src/components/runtime/views/assemblys/data/table/table-runtime.vue +93 -0
- package/src/components/runtime/views/assemblys/data/tree/tree-attr-base.vue +137 -0
- package/src/components/runtime/views/assemblys/data/tree/tree-attr-event.vue +14 -0
- package/src/components/runtime/views/assemblys/data/tree/tree-attr-style.vue +55 -0
- package/src/components/runtime/views/assemblys/data/tree/tree-attr.vue +29 -0
- package/src/components/runtime/views/assemblys/data/tree/tree-design.vue +114 -0
- package/src/components/runtime/views/assemblys/error-attr.vue +15 -0
- package/src/components/runtime/views/assemblys/error-render.vue +17 -0
- package/src/components/runtime/views/assemblys/form/cascader/cascader-design.vue +288 -0
- package/src/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue +192 -0
- package/src/components/runtime/views/assemblys/form/colors/colors-design.vue +16 -0
- package/src/components/runtime/views/assemblys/form/common/analytic-rule.vue +148 -0
- package/src/components/runtime/views/assemblys/form/common/attr-event.vue +82 -0
- package/src/components/runtime/views/assemblys/form/common/attr-header.vue +54 -0
- package/src/components/runtime/views/assemblys/form/common/attr-style.vue +44 -0
- package/src/components/runtime/views/assemblys/form/common/bar-code-rule.vue +104 -0
- package/src/components/runtime/views/assemblys/form/common/condition.vue +147 -0
- package/src/components/runtime/views/assemblys/form/common/data-origin.vue +81 -0
- package/src/components/runtime/views/assemblys/form/common/data-orign-in-parameter.vue +64 -0
- package/src/components/runtime/views/assemblys/form/common/dataorigin-input-table.vue +106 -0
- package/src/components/runtime/views/assemblys/form/common/default-value-setting.vue +362 -0
- package/src/components/runtime/views/assemblys/form/common/dimension-input.vue +68 -0
- package/src/components/runtime/views/assemblys/form/common/dynamic-data-source-setting.vue +115 -0
- package/src/components/runtime/views/assemblys/form/common/formatting-label.vue +81 -0
- package/src/components/runtime/views/assemblys/form/common/grid-num-select.vue +43 -0
- package/src/components/runtime/views/assemblys/form/common/icon-set-dialog.vue +144 -0
- package/src/components/runtime/views/assemblys/form/common/linkage.vue +21 -0
- package/src/components/runtime/views/assemblys/form/common/overall-height.vue +20 -0
- package/src/components/runtime/views/assemblys/form/common/overall-width.vue +48 -0
- package/src/components/runtime/views/assemblys/form/common/pre-suffix.vue +33 -0
- package/src/components/runtime/views/assemblys/form/common/rich-text.vue +100 -0
- package/src/components/runtime/views/assemblys/form/common/row-ul-li.vue +55 -0
- package/src/components/runtime/views/assemblys/form/common/setoption-table.vue +86 -0
- package/src/components/runtime/views/assemblys/form/common/size-input.vue +65 -0
- package/src/components/runtime/views/assemblys/form/common/suffixmodule.vue +82 -0
- package/src/components/runtime/views/assemblys/form/common/title.vue +20 -0
- package/src/components/runtime/views/assemblys/form/common/uploading.vue +34 -0
- package/src/components/runtime/views/assemblys/form/common/verification.vue +79 -0
- package/src/components/runtime/views/assemblys/form/common/voluntarily.vue +27 -0
- package/src/components/runtime/views/assemblys/form/custom/custom-attr-base.vue +81 -0
- package/src/components/runtime/views/assemblys/form/custom/custom-attr-event.vue +14 -0
- package/src/components/runtime/views/assemblys/form/custom/custom-attr-style.vue +14 -0
- package/src/components/runtime/views/assemblys/form/custom/custom-attr.vue +29 -0
- package/src/components/runtime/views/assemblys/form/custom/custom-design.vue +46 -0
- package/src/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +74 -0
- package/src/components/runtime/views/assemblys/form/datetime/datetime-design.vue +19 -0
- package/src/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue +57 -0
- package/src/components/runtime/views/assemblys/form/divider/divider-runtime.vue +40 -0
- package/src/components/runtime/views/assemblys/form/file-picture/picture-design.vue +80 -0
- package/src/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue +76 -0
- package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-base.vue +142 -0
- package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-event.vue +14 -0
- package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-style.vue +14 -0
- package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +29 -0
- package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +84 -0
- package/src/components/runtime/views/assemblys/form/image-upload/imageupload-attr-base.vue +75 -0
- package/src/components/runtime/views/assemblys/form/image-upload/imageupload-attr-event.vue +13 -0
- package/src/components/runtime/views/assemblys/form/image-upload/imageupload-attr-style.vue +14 -0
- package/src/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +29 -0
- package/src/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +66 -0
- package/src/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +57 -0
- package/src/components/runtime/views/assemblys/form/input-show/input-show-attr-base.vue +68 -0
- package/src/components/runtime/views/assemblys/form/input-show/input-show-attr-event.vue +14 -0
- package/src/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +58 -0
- package/src/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +29 -0
- package/src/components/runtime/views/assemblys/form/input-show/input-show-design.vue +132 -0
- package/src/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue +139 -0
- package/src/components/runtime/views/assemblys/form/label/label-runtime.vue +115 -0
- package/src/components/runtime/views/assemblys/form/link/link-runtime.vue +67 -0
- package/src/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +23 -0
- package/src/components/runtime/views/assemblys/form/radio/radio-runtime.vue +197 -0
- package/src/components/runtime/views/assemblys/form/rate/rate-design.vue +16 -0
- package/src/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +153 -0
- package/src/components/runtime/views/assemblys/form/select/select-runtime.vue +241 -0
- package/src/components/runtime/views/assemblys/form/slider/slider-design.vue +16 -0
- package/src/components/runtime/views/assemblys/form/switch/switch-runtime.vue +58 -0
- package/src/components/runtime/views/assemblys/form/tag/tag-runtime.vue +60 -0
- package/src/components/runtime/views/assemblys/form/text/text-design.vue +19 -0
- package/src/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue +60 -0
- package/src/components/runtime/views/assemblys/form/transfer/transfer-design.vue +32 -0
- package/src/components/runtime/views/assemblys/object-render.vue +176 -0
- package/src/components/runtime/views/assemblys/page/page-attr-base-20240429-1.vue +179 -0
- package/src/components/runtime/views/assemblys/page/page-attr-base.vue +252 -0
- package/src/components/runtime/views/assemblys/page/page-attr-events.vue +50 -0
- package/src/components/runtime/views/assemblys/page/page-attr-style.vue +25 -0
- package/src/components/runtime/views/assemblys/page/page-attr.vue +84 -0
- package/src/components/runtime/views/assemblys/page/variable-dialog.vue +242 -0
- package/src/components/runtime/views/assemblys/workflow/component/combination.vue +206 -0
- package/src/components/runtime/views/assemblys/workflow/component/condition-dialog.vue +99 -0
- package/src/components/runtime/views/assemblys/workflow/component/event-dialog.vue +278 -0
- package/src/components/runtime/views/assemblys/workflow/component/journal-set-dialog.vue +174 -0
- package/src/components/runtime/views/assemblys/workflow/component/logical-setup-dialog.vue +155 -0
- package/src/components/runtime/views/assemblys/workflow/component/rule-dialog.vue +47 -0
- package/src/components/runtime/views/assemblys/workflow/component/set-dialog.vue +130 -0
- package/src/components/runtime/views/assemblys/workflow/component/task-trigger-dialog.vue +96 -0
- package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-base.vue +43 -0
- package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-event.vue +14 -0
- package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-style.vue +27 -0
- package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +29 -0
- package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-design.vue +17 -0
- package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-base.vue +60 -0
- package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-event.vue +14 -0
- package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-style.vue +27 -0
- package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +29 -0
- package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-design.vue +17 -0
- package/src/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue +61 -0
- package/src/components/runtime/views/render/page-view.vue +80 -0
- package/src/components/runtime/views/super-page copy.vue +61 -0
- package/src/components/runtime/views/super-page.vue +662 -0
- package/src/components/super-page-dialog/index.ts +2 -0
- package/src/components/super-page-dialog/super-page-dialog.vue +267 -0
- package/src/components/wf-editor/index.ts +2 -0
- package/src/components/wf-editor/wf-editor.vue +15 -0
- package/src/i18n/langs/cn.js +52 -0
- package/src/i18n/langs/en.js +52 -0
- package/src/index.ts +17 -0
- package/src/main.ts +11 -0
- package/src/stores/counter.ts +12 -0
- /package/dist/es/{runtime → components/runtime}/index.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/api/api-util.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/assemblys-config.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/common-util.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/events/event-util.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/events/standard-event.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/events/validator-util.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/global-refs.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/interfaces/page-design-types.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/page-helper-util.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/page-init-util.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/store-util.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/store.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/table-utils.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/button-runtime.vue2.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/button/dropdown/dropdown-runtime.vue2.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/column-line/column-line-runtime.vue2.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/gauge/gauge-runtime.vue2.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/pie/pie-runtime.vue2.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/radar/radar-runtime.vue2.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/chart/scatter/scatter-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/common/export-form-report-dialog.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/collapse/collapse-runtime.vue2.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/container/container-runtime.vue2.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/flex/flex-runtime.vue2.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/form/form-runtime.vue2.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/iframe/iframe-runtime.vue2.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/tabs/tabs-runtime.vue2.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/container/tools/tools-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/data/table/main-table-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.vue.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/data/table/table-runtime.vue2.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/checkbox/checkbox-runtime.vue2.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/date-picker/datepicker-runtime.vue2.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/dept-tree/depttree-runtime.vue2.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/divider/divider-runtime.vue2.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/file-upload/fileupload-runtime.vue2.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-number/input-number-runtime.vue2.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/input-text/inputtext-runtime.vue2.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/label/label-runtime.vue2.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/link/link-runtime.vue2.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/radio/radio-runtime.vue2.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/rich-text/richtext-runtime.vue2.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/select/select-runtime.vue2.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/switch/switch-runtime.vue2.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/tag/tag-runtime.vue2.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/form/textarea/textarea-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/object-render.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/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/super-page.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.vue.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/{wf-editor → components/wf-editor}/wf-editor.css +0 -0
- /package/dist/lib/{runtime → components/runtime}/index.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/api/api-util.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/assemblys-config.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/common-util.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/events/event-util.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/events/standard-event.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/events/validator-util.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/global-refs.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/interfaces/page-design-types.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/page-helper-util.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/page-init-util.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/store-util.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/store.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/table-utils.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/button-runtime.vue2.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/button/dropdown/dropdown-runtime.vue2.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/column-line/column-line-runtime.vue2.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/gauge/gauge-runtime.vue2.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/pie/pie-runtime.vue2.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/radar/radar-runtime.vue2.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/chart/scatter/scatter-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/common/export-form-report-dialog.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/collapse/collapse-runtime.vue2.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/container/container-runtime.vue2.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/flex/flex-runtime.vue2.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/form/form-runtime.vue2.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/iframe/iframe-runtime.vue2.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/tabs/tabs-runtime.vue2.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/container/tools/tools-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/data/table/main-table-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.vue.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/data/table/table-runtime.vue2.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/checkbox/checkbox-runtime.vue2.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/date-picker/datepicker-runtime.vue2.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/dept-tree/depttree-runtime.vue2.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/divider/divider-runtime.vue2.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/file-upload/fileupload-runtime.vue2.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-number/input-number-runtime.vue2.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/input-text/inputtext-runtime.vue2.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/label/label-runtime.vue2.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/link/link-runtime.vue2.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/radio/radio-runtime.vue2.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/rich-text/richtext-runtime.vue2.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/select/select-runtime.vue2.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/switch/switch-runtime.vue2.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/tag/tag-runtime.vue2.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/form/textarea/textarea-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/object-render.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/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/super-page.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.vue.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/{wf-editor → components/wf-editor}/wf-editor.css +0 -0
|
@@ -0,0 +1,521 @@
|
|
|
1
|
+
export enum FuncType {
|
|
2
|
+
/**
|
|
3
|
+
* 公用
|
|
4
|
+
*/
|
|
5
|
+
AUTHENTICATED = 'AUTHENTICATED',
|
|
6
|
+
/**
|
|
7
|
+
* 匿名
|
|
8
|
+
*/
|
|
9
|
+
ANONYMOUS = 'ANONYMOUS',
|
|
10
|
+
/**
|
|
11
|
+
* 专用
|
|
12
|
+
*/
|
|
13
|
+
AUTHORIZED = 'AUTHORIZED'
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* 未指定资源类型时,表示为专用,否则以指定的为准
|
|
17
|
+
*/
|
|
18
|
+
const standardFuncUrlMap = {
|
|
19
|
+
page: {
|
|
20
|
+
label: '页面',
|
|
21
|
+
functions: [
|
|
22
|
+
{
|
|
23
|
+
label: '页面',
|
|
24
|
+
path: 'temp'
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
gets: {
|
|
29
|
+
group: '表单标准功能',
|
|
30
|
+
label: '获取表单数据',
|
|
31
|
+
functions: [
|
|
32
|
+
{
|
|
33
|
+
funcType: FuncType.AUTHENTICATED,
|
|
34
|
+
path: '/commons/gets$POST'
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
workflowGets: {
|
|
39
|
+
group: '标准流程',
|
|
40
|
+
label: '获取表单及流程数据',
|
|
41
|
+
functions: [
|
|
42
|
+
{
|
|
43
|
+
funcType: FuncType.AUTHENTICATED,
|
|
44
|
+
path: '/workflow-commons/gets$POST'
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
save: {
|
|
49
|
+
group: '表单标准功能',
|
|
50
|
+
label: '暂存',
|
|
51
|
+
functions: [
|
|
52
|
+
{
|
|
53
|
+
code: 'create',
|
|
54
|
+
label: '暂存',
|
|
55
|
+
path: '/commons$POST'
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
code: 'update',
|
|
59
|
+
label: '修改',
|
|
60
|
+
path: '/commons$POST'
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
submit: {
|
|
65
|
+
group: '表单标准功能',
|
|
66
|
+
label: '提交',
|
|
67
|
+
functions: [
|
|
68
|
+
{
|
|
69
|
+
path: '/commons/submits$POST'
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
exportForm: {
|
|
74
|
+
group: '表单标准功能',
|
|
75
|
+
label: '导出报告',
|
|
76
|
+
functions: [
|
|
77
|
+
{
|
|
78
|
+
path: '/commons/export-reports$POST'
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
exportPDF: {
|
|
83
|
+
group: '表单标准功能',
|
|
84
|
+
label: '导出PDF',
|
|
85
|
+
functions: [
|
|
86
|
+
{
|
|
87
|
+
path: '/commons/exportPDF$POST'
|
|
88
|
+
}
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
agree: {
|
|
92
|
+
group: '表单标准功能',
|
|
93
|
+
label: '同意',
|
|
94
|
+
functions: [
|
|
95
|
+
{
|
|
96
|
+
path: '/commons/approves$POST'
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
disagree: {
|
|
101
|
+
group: '表单标准功能',
|
|
102
|
+
label: '不同意',
|
|
103
|
+
functions: [
|
|
104
|
+
{
|
|
105
|
+
path: '/commons/refuses$POST'
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
back: {
|
|
110
|
+
group: '表单标准功能',
|
|
111
|
+
label: '返回',
|
|
112
|
+
functions: [] //无资源时表示不需要控制
|
|
113
|
+
},
|
|
114
|
+
workflowSave: {
|
|
115
|
+
group: '流程表单功能',
|
|
116
|
+
label: '暂存',
|
|
117
|
+
functions: [
|
|
118
|
+
{
|
|
119
|
+
funcType: 'AUTHENTICATED', //公用
|
|
120
|
+
path: '/workflow-commons$POST'
|
|
121
|
+
}
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
submitProcess: {
|
|
125
|
+
group: '流程表单功能',
|
|
126
|
+
label: '提交流程',
|
|
127
|
+
functions: [
|
|
128
|
+
{
|
|
129
|
+
funcType: 'AUTHENTICATED', //公用
|
|
130
|
+
path: '/workflow-commons/submit$POST'
|
|
131
|
+
}
|
|
132
|
+
]
|
|
133
|
+
},
|
|
134
|
+
submitTask: {
|
|
135
|
+
group: '流程表单功能',
|
|
136
|
+
label: '提交任务',
|
|
137
|
+
functions: [
|
|
138
|
+
{
|
|
139
|
+
funcType: 'AUTHENTICATED', //公用
|
|
140
|
+
code: 'completeTask.submitTask',
|
|
141
|
+
path: '/workflow-commons/complete-tasks$POST'
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
},
|
|
145
|
+
approve: {
|
|
146
|
+
group: '流程表单功能',
|
|
147
|
+
label: '同意',
|
|
148
|
+
functions: [
|
|
149
|
+
{
|
|
150
|
+
funcType: 'AUTHENTICATED', //公用
|
|
151
|
+
code: 'completeTask.approve',
|
|
152
|
+
path: '/workflow-commons/complete-tasks$POST'
|
|
153
|
+
}
|
|
154
|
+
]
|
|
155
|
+
},
|
|
156
|
+
refuse: {
|
|
157
|
+
group: '流程表单功能',
|
|
158
|
+
label: '不同意',
|
|
159
|
+
functions: [
|
|
160
|
+
{
|
|
161
|
+
funcType: 'AUTHENTICATED', //公用
|
|
162
|
+
code: 'completeTask.refuse',
|
|
163
|
+
path: '/workflow-commons/complete-tasks$POST'
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
assign: {
|
|
168
|
+
group: '流程表单功能',
|
|
169
|
+
label: '指派',
|
|
170
|
+
functions: [
|
|
171
|
+
{
|
|
172
|
+
funcType: 'AUTHENTICATED', //公用
|
|
173
|
+
path: '/workflow-commons/assigns$POST'
|
|
174
|
+
}
|
|
175
|
+
]
|
|
176
|
+
},
|
|
177
|
+
drawTask: {
|
|
178
|
+
group: '流程表单功能',
|
|
179
|
+
label: '领取',
|
|
180
|
+
functions: [
|
|
181
|
+
{
|
|
182
|
+
funcType: 'AUTHENTICATED', //公用
|
|
183
|
+
path: '/workflow-commons/draw-tasks$POST'
|
|
184
|
+
}
|
|
185
|
+
]
|
|
186
|
+
},
|
|
187
|
+
abandonReceive: {
|
|
188
|
+
group: '流程表单功能',
|
|
189
|
+
label: '放弃领取',
|
|
190
|
+
functions: [
|
|
191
|
+
{
|
|
192
|
+
funcType: 'AUTHENTICATED', //公用
|
|
193
|
+
path: '/workflow-commons/abandon-receives$POST'
|
|
194
|
+
}
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
readed: {
|
|
198
|
+
group: '流程表单功能',
|
|
199
|
+
label: '已阅',
|
|
200
|
+
functions: [
|
|
201
|
+
{
|
|
202
|
+
funcType: 'AUTHENTICATED', //公用
|
|
203
|
+
code: 'completeTask.readed',
|
|
204
|
+
path: '/workflow-commons/complete-tasks$POST'
|
|
205
|
+
}
|
|
206
|
+
]
|
|
207
|
+
},
|
|
208
|
+
agreement: {
|
|
209
|
+
group: '流程表单功能',
|
|
210
|
+
label: '赞成',
|
|
211
|
+
functions: [
|
|
212
|
+
{
|
|
213
|
+
funcType: 'AUTHENTICATED', //公用
|
|
214
|
+
code: 'completeTask.agreement',
|
|
215
|
+
path: '/workflow-commons/complete-tasks$POST'
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
oppose: {
|
|
220
|
+
group: '流程表单功能',
|
|
221
|
+
label: '反对',
|
|
222
|
+
functions: [
|
|
223
|
+
{
|
|
224
|
+
funcType: 'AUTHENTICATED', //公用
|
|
225
|
+
code: 'completeTask.oppose',
|
|
226
|
+
path: '/workflow-commons/complete-tasks$POST'
|
|
227
|
+
}
|
|
228
|
+
]
|
|
229
|
+
},
|
|
230
|
+
kiken: {
|
|
231
|
+
group: '流程表单功能',
|
|
232
|
+
label: '弃权',
|
|
233
|
+
functions: [
|
|
234
|
+
{
|
|
235
|
+
funcType: 'AUTHENTICATED', //公用
|
|
236
|
+
code: 'completeTask.kiken',
|
|
237
|
+
path: '/workflow-commons/complete-tasks$POST'
|
|
238
|
+
}
|
|
239
|
+
]
|
|
240
|
+
},
|
|
241
|
+
addSigner: {
|
|
242
|
+
group: '流程表单功能',
|
|
243
|
+
label: '加签',
|
|
244
|
+
functions: [
|
|
245
|
+
{
|
|
246
|
+
funcType: 'AUTHENTICATED', //公用
|
|
247
|
+
path: '/workflow-commons/add-signers$POST'
|
|
248
|
+
}
|
|
249
|
+
]
|
|
250
|
+
},
|
|
251
|
+
removeSigner: {
|
|
252
|
+
group: '流程表单功能',
|
|
253
|
+
label: '减签',
|
|
254
|
+
functions: [
|
|
255
|
+
{
|
|
256
|
+
funcType: 'AUTHENTICATED', //公用
|
|
257
|
+
path: '/workflow-commons/abandon-receives$POST'
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
code: 'getRemoveSigners', //有编码时,以此为准
|
|
261
|
+
label: '获取可减签人员', //有标题时,以此为准
|
|
262
|
+
funcType: 'AUTHENTICATED', //公用
|
|
263
|
+
path: '/workflow-commons/get-remove-signers$POST'
|
|
264
|
+
}
|
|
265
|
+
]
|
|
266
|
+
},
|
|
267
|
+
copyTask: {
|
|
268
|
+
group: '流程表单功能',
|
|
269
|
+
label: '抄送',
|
|
270
|
+
functions: [
|
|
271
|
+
{
|
|
272
|
+
funcType: 'AUTHENTICATED', //公用
|
|
273
|
+
path: '/workflow-commons/copies$POST'
|
|
274
|
+
}
|
|
275
|
+
]
|
|
276
|
+
},
|
|
277
|
+
retrieveTask: {
|
|
278
|
+
group: '流程表单功能',
|
|
279
|
+
label: '取回',
|
|
280
|
+
functions: [
|
|
281
|
+
{
|
|
282
|
+
funcType: 'AUTHENTICATED', //公用
|
|
283
|
+
path: '/workflow-commons/retrieves$POST'
|
|
284
|
+
}
|
|
285
|
+
]
|
|
286
|
+
},
|
|
287
|
+
returnToPreviousTask: {
|
|
288
|
+
group: '流程表单功能',
|
|
289
|
+
label: '驳回',
|
|
290
|
+
functions: [
|
|
291
|
+
{
|
|
292
|
+
funcType: 'AUTHENTICATED', //公用
|
|
293
|
+
path: '/workflow-commons/returnTaskTo$POST'
|
|
294
|
+
}
|
|
295
|
+
]
|
|
296
|
+
},
|
|
297
|
+
returnTaskTo: {
|
|
298
|
+
group: '流程表单功能',
|
|
299
|
+
label: '退回',
|
|
300
|
+
functions: [
|
|
301
|
+
{
|
|
302
|
+
funcType: 'AUTHENTICATED', //公用
|
|
303
|
+
path: '/workflow-commons/return-to-previous-tasks$POST'
|
|
304
|
+
}
|
|
305
|
+
]
|
|
306
|
+
},
|
|
307
|
+
endInstance: {
|
|
308
|
+
group: '流程表单功能',
|
|
309
|
+
label: '强制结束',
|
|
310
|
+
functions: [
|
|
311
|
+
{
|
|
312
|
+
funcType: 'AUTHENTICATED', //公用
|
|
313
|
+
path: '/workflow-commons/end-instance$POST'
|
|
314
|
+
}
|
|
315
|
+
]
|
|
316
|
+
},
|
|
317
|
+
listData: {
|
|
318
|
+
group: '列表功能',
|
|
319
|
+
label: '列表数据',
|
|
320
|
+
functions: [
|
|
321
|
+
{
|
|
322
|
+
funcType: 'AUTHENTICATED', //公用
|
|
323
|
+
path: '/commons/list$POST'
|
|
324
|
+
}
|
|
325
|
+
]
|
|
326
|
+
},
|
|
327
|
+
listSubData: {
|
|
328
|
+
group: '列表功能',
|
|
329
|
+
label: '列表子级',
|
|
330
|
+
functions: [
|
|
331
|
+
{
|
|
332
|
+
funcType: 'AUTHENTICATED', //公用
|
|
333
|
+
path: '/commons/list-subs$POST'
|
|
334
|
+
}
|
|
335
|
+
]
|
|
336
|
+
},
|
|
337
|
+
saveList: {
|
|
338
|
+
group: '列表功能',
|
|
339
|
+
label: '暂存',
|
|
340
|
+
functions: [
|
|
341
|
+
{
|
|
342
|
+
code: 'create',
|
|
343
|
+
label: '暂存',
|
|
344
|
+
path: '/commons$POST'
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
funcType: 'AUTHENTICATED', //公用
|
|
348
|
+
code: 'update',
|
|
349
|
+
label: '修改',
|
|
350
|
+
path: '/commons$POST'
|
|
351
|
+
}
|
|
352
|
+
]
|
|
353
|
+
},
|
|
354
|
+
delete: {
|
|
355
|
+
group: '列表功能',
|
|
356
|
+
label: '删除',
|
|
357
|
+
functions: [
|
|
358
|
+
{
|
|
359
|
+
path: '/commons/{tableName}$DELETE'
|
|
360
|
+
}
|
|
361
|
+
]
|
|
362
|
+
},
|
|
363
|
+
submitList: {
|
|
364
|
+
group: '列表功能',
|
|
365
|
+
label: '提交',
|
|
366
|
+
functions: [
|
|
367
|
+
{
|
|
368
|
+
path: '/commons/batch-submits$POST'
|
|
369
|
+
}
|
|
370
|
+
]
|
|
371
|
+
},
|
|
372
|
+
agreeList: {
|
|
373
|
+
group: '列表功能',
|
|
374
|
+
label: '同意',
|
|
375
|
+
functions: [
|
|
376
|
+
{
|
|
377
|
+
path: '/commons/batch-approves$POST'
|
|
378
|
+
}
|
|
379
|
+
]
|
|
380
|
+
},
|
|
381
|
+
disagreeList: {
|
|
382
|
+
group: '列表功能',
|
|
383
|
+
label: '不同意',
|
|
384
|
+
functions: [
|
|
385
|
+
{
|
|
386
|
+
path: '/commons/batch-refuses$POST'
|
|
387
|
+
}
|
|
388
|
+
]
|
|
389
|
+
},
|
|
390
|
+
import: {
|
|
391
|
+
group: '列表功能',
|
|
392
|
+
label: '导入',
|
|
393
|
+
functions: [
|
|
394
|
+
{
|
|
395
|
+
path: '/commons/import-data$POST'
|
|
396
|
+
}
|
|
397
|
+
]
|
|
398
|
+
},
|
|
399
|
+
export: {
|
|
400
|
+
group: '列表功能',
|
|
401
|
+
label: '导出',
|
|
402
|
+
functions: [
|
|
403
|
+
{
|
|
404
|
+
path: '/commons/export-list-data$POST /commons/export-reports$POST'
|
|
405
|
+
}
|
|
406
|
+
]
|
|
407
|
+
},
|
|
408
|
+
search: {
|
|
409
|
+
group: '列表功能',
|
|
410
|
+
label: '查询',
|
|
411
|
+
functions: []
|
|
412
|
+
},
|
|
413
|
+
downloadTemplate: {
|
|
414
|
+
group: '列表功能',
|
|
415
|
+
label: '下载导入模板',
|
|
416
|
+
functions: [
|
|
417
|
+
{
|
|
418
|
+
path: '/commons/download-files$GET'
|
|
419
|
+
}
|
|
420
|
+
]
|
|
421
|
+
},
|
|
422
|
+
lineEditCreate: {
|
|
423
|
+
group: '列表行编辑功能',
|
|
424
|
+
label: '新建',
|
|
425
|
+
functions: [
|
|
426
|
+
{
|
|
427
|
+
code: 'create',
|
|
428
|
+
label: '暂存',
|
|
429
|
+
path: '/commons$POST'
|
|
430
|
+
}
|
|
431
|
+
]
|
|
432
|
+
},
|
|
433
|
+
lineEditSave: {
|
|
434
|
+
group: '列表行编辑功能',
|
|
435
|
+
label: '保存',
|
|
436
|
+
functions: [
|
|
437
|
+
{
|
|
438
|
+
code: 'create',
|
|
439
|
+
label: '保存',
|
|
440
|
+
path: '/commons$POST'
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
code: 'update',
|
|
444
|
+
label: '修改',
|
|
445
|
+
path: '/commons$POST'
|
|
446
|
+
}
|
|
447
|
+
]
|
|
448
|
+
},
|
|
449
|
+
lineEditDelete: {
|
|
450
|
+
group: '列表行编辑功能',
|
|
451
|
+
label: '删除',
|
|
452
|
+
functions: [
|
|
453
|
+
{
|
|
454
|
+
code: 'delete',
|
|
455
|
+
path: '/commons/{tableName}$DELETE'
|
|
456
|
+
}
|
|
457
|
+
]
|
|
458
|
+
},
|
|
459
|
+
lineEditUpdate: {
|
|
460
|
+
group: '列表行编辑功能',
|
|
461
|
+
label: '修改',
|
|
462
|
+
functions: [
|
|
463
|
+
{
|
|
464
|
+
code: 'update',
|
|
465
|
+
label: '修改',
|
|
466
|
+
path: '/commons$POST'
|
|
467
|
+
}
|
|
468
|
+
]
|
|
469
|
+
},
|
|
470
|
+
restoreEdit: {
|
|
471
|
+
group: '列表行编辑功能',
|
|
472
|
+
label: '取消编辑',
|
|
473
|
+
functions: []
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* 根据资源简码缓存信息
|
|
479
|
+
*/
|
|
480
|
+
const functionMap: any = {}
|
|
481
|
+
/**
|
|
482
|
+
* 根据简码获取对应的资源信息
|
|
483
|
+
* @param eventName 方法名
|
|
484
|
+
* @returns
|
|
485
|
+
*/
|
|
486
|
+
export function getStandPermissionInfo(eventName: string) {
|
|
487
|
+
return eventName ? standardFuncUrlMap[eventName] : undefined
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* 获取资源信息
|
|
492
|
+
* @param simpleCode
|
|
493
|
+
* @returns
|
|
494
|
+
*/
|
|
495
|
+
export function getFunctionInfo(simpleCode: string) {
|
|
496
|
+
if (!simpleCode) {
|
|
497
|
+
return undefined
|
|
498
|
+
}
|
|
499
|
+
let funcInfo: any = functionMap[simpleCode]
|
|
500
|
+
if (funcInfo == undefined) {
|
|
501
|
+
for (let eventName in standardFuncUrlMap) {
|
|
502
|
+
const functions = standardFuncUrlMap[eventName].functions
|
|
503
|
+
if (!functions) {
|
|
504
|
+
continue
|
|
505
|
+
}
|
|
506
|
+
for (let f of functions) {
|
|
507
|
+
const tempCode = f.code ? f.code : eventName
|
|
508
|
+
if (simpleCode === tempCode) {
|
|
509
|
+
funcInfo = f
|
|
510
|
+
break
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
if (funcInfo) {
|
|
514
|
+
break
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
//设置默认值
|
|
518
|
+
functionMap[simpleCode] = funcInfo ? funcInfo : ''
|
|
519
|
+
}
|
|
520
|
+
return funcInfo ? funcInfo : undefined
|
|
521
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import store from './store'
|
|
2
|
+
// 获得store中缓存的信息。返回的是Object对象,不是json字符串
|
|
3
|
+
export function getStoreInfo(pageCode, pageVersion, key) {
|
|
4
|
+
const pageCodeStoreInfo = store.get(getPageStoreKey(pageCode, pageVersion))
|
|
5
|
+
if (pageCodeStoreInfo) {
|
|
6
|
+
return pageCodeStoreInfo[key]
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// 往store中缓存信息
|
|
11
|
+
export function setStoreInfo(pageCode, pageVersion, key:string, value:any) {
|
|
12
|
+
const pageKey = getPageStoreKey(pageCode, pageVersion)
|
|
13
|
+
let pageCodeStoreInfo = store.get(pageKey)
|
|
14
|
+
if (!pageCodeStoreInfo) {
|
|
15
|
+
pageCodeStoreInfo = {}
|
|
16
|
+
store.set(pageKey, pageCodeStoreInfo)
|
|
17
|
+
}
|
|
18
|
+
pageCodeStoreInfo[key] = value
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* 删除某属性
|
|
22
|
+
* @param {*} pageCode
|
|
23
|
+
* @param {*} key
|
|
24
|
+
*/
|
|
25
|
+
export function deleteStoreInfo(pageCode, pageVersion, key) {
|
|
26
|
+
let pageCodeStoreInfo = store.get(getPageStoreKey(pageCode, pageVersion))
|
|
27
|
+
if (pageCodeStoreInfo && pageCodeStoreInfo[key]) {
|
|
28
|
+
delete pageCodeStoreInfo[key]
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* 获得页面缓存的key
|
|
35
|
+
* @param pageCode
|
|
36
|
+
* @param pageVersion
|
|
37
|
+
* @returns
|
|
38
|
+
*/
|
|
39
|
+
export function getPageStoreKey(pageCode, pageVersion) {
|
|
40
|
+
return pageCode + ':' + pageVersion
|
|
41
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { getBaseUrl } from './common-util'
|
|
2
|
+
import http from 'agilebuilder-ui/src/utils/request'
|
|
3
|
+
// import eventBus from './eventBus'
|
|
4
|
+
export function getDataTypeMap(system, tableName) {
|
|
5
|
+
return new Promise((resolve, reject) => {
|
|
6
|
+
// TODO:是否需要区分预览
|
|
7
|
+
// if (this.isPreview) {
|
|
8
|
+
// // 预览时不需要获得字段类型
|
|
9
|
+
// resolve(true)
|
|
10
|
+
// } else {
|
|
11
|
+
getDataTypeMapRequest(system, tableName)
|
|
12
|
+
.then((dataTypeMap) => {
|
|
13
|
+
resolve(dataTypeMap)
|
|
14
|
+
})
|
|
15
|
+
.catch(() => {
|
|
16
|
+
reject(new Error('获得数据表:' + tableName + '的字段类型集合失败'))
|
|
17
|
+
})
|
|
18
|
+
// }
|
|
19
|
+
})
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export function getDataTypeMapRequest(system, tableName) {
|
|
23
|
+
const baseUrl = getBaseUrl(system)
|
|
24
|
+
return http.get(baseUrl + '/dsc/commons/tables/' + tableName + '/data-types')
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// 弹框显示页面,例如:列表页面super-grid字段的超链接弹框、表单页面子表字段的超链接弹框、表单页面超链接或按钮弹框。
|
|
28
|
+
// 此处只需要直接弹出来就行了,弹框前事件、跳转页面配置解析已在对应位置(super-grid或super-form)代码解析了
|
|
29
|
+
export function popupToPage(params) {
|
|
30
|
+
window['$eventBus'].$emit(params.pageCode + '_open-dialog', params)
|
|
31
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-button
|
|
3
|
+
:disabled="designProperty.state === 'disabled'"
|
|
4
|
+
:class="runtimeClass"
|
|
5
|
+
:style="runtimeStyle"
|
|
6
|
+
:type="designProperty.type"
|
|
7
|
+
:size="designProperty.size"
|
|
8
|
+
:text="designProperty.text"
|
|
9
|
+
:round="designProperty.round"
|
|
10
|
+
:plain="designProperty.plain"
|
|
11
|
+
@click="handleEvent($event, pageContext, configure, 'click')"
|
|
12
|
+
>
|
|
13
|
+
<template v-if="designProperty.title && designProperty.iconPosition == 'right'">
|
|
14
|
+
{{ designProperty.title }}
|
|
15
|
+
<template v-if="designProperty.iconValue"> </template>
|
|
16
|
+
</template>
|
|
17
|
+
<template v-if="designProperty.iconType && designProperty.iconValue">
|
|
18
|
+
<SuperIcon
|
|
19
|
+
:iconType="designProperty.iconType"
|
|
20
|
+
:iconValue="designProperty.iconValue"
|
|
21
|
+
></SuperIcon>
|
|
22
|
+
</template>
|
|
23
|
+
<template v-if="designProperty.title && designProperty.iconPosition != 'right'">
|
|
24
|
+
<template v-if="designProperty.iconValue"> </template>
|
|
25
|
+
{{ designProperty.title }}
|
|
26
|
+
</template>
|
|
27
|
+
</el-button>
|
|
28
|
+
</template>
|
|
29
|
+
<script lang="ts" setup>
|
|
30
|
+
import { SuperIcon } from 'agilebuilder-ui'
|
|
31
|
+
import { ref } from 'vue'
|
|
32
|
+
import type { Component, PageContext } from '../../../../utils/interfaces/page-design-types'
|
|
33
|
+
import { handleEvent } from '../../../../utils/events/event-util'
|
|
34
|
+
|
|
35
|
+
interface MyProps {
|
|
36
|
+
pageContext: PageContext
|
|
37
|
+
configure: Component
|
|
38
|
+
}
|
|
39
|
+
const props = defineProps<MyProps>()
|
|
40
|
+
|
|
41
|
+
//获取默认的样式及配置
|
|
42
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {}
|
|
43
|
+
const designProperty = runtimeInfo.props ? runtimeInfo.props : {}
|
|
44
|
+
const runtimeStyle = runtimeInfo.style
|
|
45
|
+
const runtimeClass = runtimeInfo.class
|
|
46
|
+
</script>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-button-group
|
|
3
|
+
:class="runtimeClass"
|
|
4
|
+
:style="runtimeStyle">
|
|
5
|
+
<template v-for="(element,itemIndex) in configure.items" :key="element.uuid">
|
|
6
|
+
<ObjectRender
|
|
7
|
+
:pageContext="pageContext"
|
|
8
|
+
:configure="element"></ObjectRender>
|
|
9
|
+
</template>
|
|
10
|
+
</el-button-group>
|
|
11
|
+
</template>
|
|
12
|
+
<script lang='ts' setup>
|
|
13
|
+
import {ref, watch} from 'vue';
|
|
14
|
+
import ObjectRender from '../../object-render.vue'
|
|
15
|
+
import type { Component,PageContext} from '@/components/design/utils/interfaces/page-design-types';
|
|
16
|
+
interface MyProps{
|
|
17
|
+
pageContext:PageContext,
|
|
18
|
+
configure:Component
|
|
19
|
+
}
|
|
20
|
+
const props = defineProps<MyProps>();
|
|
21
|
+
|
|
22
|
+
//自身引用
|
|
23
|
+
const runtimeInfo = props.configure.runtime?props.configure.runtime:{};
|
|
24
|
+
//运行时的自身详细参数
|
|
25
|
+
const runtimeStyle = runtimeInfo.style;
|
|
26
|
+
const runtimeClass = runtimeInfo.class;
|
|
27
|
+
</script>
|