super-page-runtime 1.0.13 → 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,34 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-collapse-item
|
|
3
|
+
title="上传"
|
|
4
|
+
name="uploadConfig"
|
|
5
|
+
class="amb-design-attr-group-header">
|
|
6
|
+
<div style="padding:8px 0px 0px 0px;">
|
|
7
|
+
<slot name="addition" :row="uploadConfig"></slot>
|
|
8
|
+
<el-form-item label="立即上传" class="amb-design-attr-item">
|
|
9
|
+
<el-switch v-model="uploadConfig.autoUpload" />
|
|
10
|
+
</el-form-item>
|
|
11
|
+
<el-form-item label="上传地址" class="amb-design-attr-item">
|
|
12
|
+
<el-input v-model="uploadConfig.action" placeholder="请输入" />
|
|
13
|
+
</el-form-item>
|
|
14
|
+
<el-form-item label="附件多选" class="amb-design-attr-item">
|
|
15
|
+
<el-switch v-model="uploadConfig.multiple" />
|
|
16
|
+
</el-form-item>
|
|
17
|
+
<el-form-item label="文件字段名" class="amb-design-attr-item">
|
|
18
|
+
<el-input v-model="uploadConfig.name" placeholder="请输入" />
|
|
19
|
+
</el-form-item>
|
|
20
|
+
<el-form-item label="文件限制(M)" class="amb-design-attr-item">
|
|
21
|
+
<el-input-number v-model="uploadConfig.limitFileSize" />
|
|
22
|
+
</el-form-item>
|
|
23
|
+
<el-form-item label="实时删除" class="amb-design-attr-item">
|
|
24
|
+
<el-switch v-model="uploadConfig.isDeleteNow" />
|
|
25
|
+
</el-form-item>
|
|
26
|
+
</div>
|
|
27
|
+
</el-collapse-item>
|
|
28
|
+
</template>
|
|
29
|
+
<script lang='ts' setup>
|
|
30
|
+
const props = defineProps({
|
|
31
|
+
uploadConfig:Object
|
|
32
|
+
});
|
|
33
|
+
</script>
|
|
34
|
+
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-collapse-item
|
|
3
|
+
title="校验"
|
|
4
|
+
name="verification"
|
|
5
|
+
class="amb-design-attr-group-header">
|
|
6
|
+
<div style="padding:8px 0px 0px 0px;">
|
|
7
|
+
<el-form-item class="amb-design-attr-item" label-width="0">
|
|
8
|
+
<el-checkbox v-model="verification.required" label="必填"/>
|
|
9
|
+
</el-form-item>
|
|
10
|
+
<el-checkbox-group v-model="verification.type">
|
|
11
|
+
<el-form-item class="amb-design-attr-item" label-width="0">
|
|
12
|
+
<el-checkbox label="整形" value="int" />
|
|
13
|
+
<el-checkbox label="数字" value="number" />
|
|
14
|
+
<el-checkbox label="bool" value="boolean" />
|
|
15
|
+
</el-form-item>
|
|
16
|
+
<el-form-item class="amb-design-attr-item" label-width="0">
|
|
17
|
+
<el-checkbox label="邮件" value="mail" />
|
|
18
|
+
<el-checkbox label="网址" value="ip" />
|
|
19
|
+
</el-form-item>
|
|
20
|
+
</el-checkbox-group>
|
|
21
|
+
<el-form-item class="amb-design-attr-item" label-width="0">
|
|
22
|
+
<el-col :span="8">
|
|
23
|
+
<el-checkbox v-model="verification.verifyMinLength" label="最小长度" value="min" />
|
|
24
|
+
</el-col>
|
|
25
|
+
<el-col :span="14">
|
|
26
|
+
<el-input-number
|
|
27
|
+
v-model="verification.minLength"
|
|
28
|
+
class="mx-4"
|
|
29
|
+
:min="0"
|
|
30
|
+
controls-position="right"
|
|
31
|
+
placeholder="请输入"
|
|
32
|
+
/>
|
|
33
|
+
</el-col>
|
|
34
|
+
</el-form-item>
|
|
35
|
+
<el-form-item class="amb-design-attr-item" label-width="0">
|
|
36
|
+
<el-col :span="8">
|
|
37
|
+
<el-checkbox v-model="verification.verifyMaxLength" label="最大长度" value="max" />
|
|
38
|
+
</el-col>
|
|
39
|
+
<el-col :span="14">
|
|
40
|
+
<el-input-number
|
|
41
|
+
v-model="verification.maxLength"
|
|
42
|
+
class="mx-4"
|
|
43
|
+
:min="0"
|
|
44
|
+
controls-position="right"
|
|
45
|
+
placeholder="请输入"
|
|
46
|
+
/>
|
|
47
|
+
</el-col>
|
|
48
|
+
</el-form-item>
|
|
49
|
+
<el-form-item class="amb-design-attr-item" label-width="0">
|
|
50
|
+
<el-col :span="8">
|
|
51
|
+
<el-checkbox v-model="verification.verifyRegex" label="正则" value="regex" />
|
|
52
|
+
</el-col>
|
|
53
|
+
<el-col :span="14">
|
|
54
|
+
<el-input
|
|
55
|
+
v-model="verification.regex"
|
|
56
|
+
class="mx-4"
|
|
57
|
+
controls-position="right"
|
|
58
|
+
placeholder="请输入"
|
|
59
|
+
/>
|
|
60
|
+
</el-col>
|
|
61
|
+
</el-form-item>
|
|
62
|
+
<el-form-item class="amb-design-attr-item" label-width="0">
|
|
63
|
+
<el-col :span="8">
|
|
64
|
+
<el-checkbox label="自定义" value="custom" />
|
|
65
|
+
</el-col>
|
|
66
|
+
<el-col :span="14">
|
|
67
|
+
<el-button>自定义逻辑</el-button><el-button :icon="Search" circle />
|
|
68
|
+
</el-col>
|
|
69
|
+
</el-form-item>
|
|
70
|
+
</div>
|
|
71
|
+
</el-collapse-item>
|
|
72
|
+
</template>
|
|
73
|
+
<script lang='ts' setup>
|
|
74
|
+
import { Search } from '@element-plus/icons-vue'
|
|
75
|
+
defineProps({
|
|
76
|
+
verification:Object
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
</script>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-collapse-item
|
|
3
|
+
title="选择后自动设置"
|
|
4
|
+
name="voluntarily"
|
|
5
|
+
class="amb-design-attr-group-header">
|
|
6
|
+
<div style="padding:8px 0px 0px 0px;">
|
|
7
|
+
<RowUlLi
|
|
8
|
+
type="input"
|
|
9
|
+
:tittle="true"
|
|
10
|
+
:showIndex="true"
|
|
11
|
+
leftTittle="可选属性"
|
|
12
|
+
rightTittle="设置到变量"
|
|
13
|
+
:list="voluntarily"></RowUlLi>
|
|
14
|
+
</div>
|
|
15
|
+
</el-collapse-item>
|
|
16
|
+
</template>
|
|
17
|
+
|
|
18
|
+
<script setup lang="ts">
|
|
19
|
+
import RowUlLi from '../common/row-ul-li.vue'
|
|
20
|
+
const props = defineProps({
|
|
21
|
+
voluntarily:Object,
|
|
22
|
+
});
|
|
23
|
+
</script>
|
|
24
|
+
|
|
25
|
+
<style scoped>
|
|
26
|
+
|
|
27
|
+
</style>
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form label-width="80px" size="small">
|
|
3
|
+
<el-collapse v-model="openCollapseItems" style="margin-top:6px;">
|
|
4
|
+
<el-collapse-item
|
|
5
|
+
title="基本"
|
|
6
|
+
name="base"
|
|
7
|
+
class="amb-design-attr-group-header">
|
|
8
|
+
<div style="padding:8px 0px 0px 0px;">
|
|
9
|
+
<el-form-item label="组件类型" class="amb-design-attr-item">
|
|
10
|
+
<el-select v-model="configure.name" placeholder="请选择" >
|
|
11
|
+
<el-option
|
|
12
|
+
v-for="item in getFormComponentOptions()"
|
|
13
|
+
:key="item.name"
|
|
14
|
+
:label="item.label"
|
|
15
|
+
:value="item.name"
|
|
16
|
+
/>
|
|
17
|
+
</el-select>
|
|
18
|
+
</el-form-item>
|
|
19
|
+
<el-form-item label="组件名" class="amb-design-attr-item">
|
|
20
|
+
<el-input v-model="configure.props.base.name" placeholder="请输入" />
|
|
21
|
+
</el-form-item>
|
|
22
|
+
<el-form-item label="绑定变量" class="amb-design-attr-item">
|
|
23
|
+
<el-input v-model="configure.props.base.prop" placeholder="请输入" />
|
|
24
|
+
</el-form-item>
|
|
25
|
+
<el-form-item label="标题" class="amb-design-attr-item">
|
|
26
|
+
<el-input v-model="configure.props.base.title" placeholder="请输入" />
|
|
27
|
+
</el-form-item>
|
|
28
|
+
<el-form-item label="状态" class="amb-design-attr-item">
|
|
29
|
+
<el-radio-group v-model="configure.props.base.state" class="ml-4">
|
|
30
|
+
<el-radio value="default">普通</el-radio>
|
|
31
|
+
<el-radio value="disabled">禁用</el-radio>
|
|
32
|
+
<el-radio value="hidden">隐藏</el-radio>
|
|
33
|
+
</el-radio-group>
|
|
34
|
+
</el-form-item>
|
|
35
|
+
</div>
|
|
36
|
+
</el-collapse-item>
|
|
37
|
+
<el-collapse-item
|
|
38
|
+
title="参数"
|
|
39
|
+
name="parameter"
|
|
40
|
+
class="amb-design-attr-group-header">
|
|
41
|
+
<div style="padding:8px 0px 0px 0px;">
|
|
42
|
+
<RowUlLi type="input" :list="configure.props.parameter"></RowUlLi>
|
|
43
|
+
</div>
|
|
44
|
+
</el-collapse-item>
|
|
45
|
+
<el-collapse-item
|
|
46
|
+
title="校验"
|
|
47
|
+
name="verification"
|
|
48
|
+
class="amb-design-attr-group-header">
|
|
49
|
+
<div style="padding:8px 0px 0px 0px;">
|
|
50
|
+
<el-form-item class="amb-design-attr-item" label-width="0">
|
|
51
|
+
<el-checkbox v-model="configure.props.verification.required" label="必填"/>
|
|
52
|
+
</el-form-item>
|
|
53
|
+
<el-form-item class="amb-design-attr-item" label-width="0">
|
|
54
|
+
<el-col :span="8">
|
|
55
|
+
<el-checkbox label="自定义" value="custom" />
|
|
56
|
+
</el-col>
|
|
57
|
+
<el-col :span="14">
|
|
58
|
+
<el-button>自定义逻辑</el-button><el-button :icon="Search" circle />
|
|
59
|
+
</el-col>
|
|
60
|
+
</el-form-item>
|
|
61
|
+
</div>
|
|
62
|
+
</el-collapse-item>
|
|
63
|
+
<CommonAttrSize :size="configure.props.size" />
|
|
64
|
+
<Title :title="configure.props.title" />
|
|
65
|
+
</el-collapse>
|
|
66
|
+
</el-form>
|
|
67
|
+
</template>
|
|
68
|
+
<script lang='ts' setup>
|
|
69
|
+
import { ref } from 'vue';
|
|
70
|
+
import { getFormComponentOptions } from '../../../../utils/assemblys-config.js'
|
|
71
|
+
import CommonAttrSize from '../../common/common-attr-size.vue'
|
|
72
|
+
import Title from '../common/title.vue'
|
|
73
|
+
import RowUlLi from '../common/row-ul-li.vue'
|
|
74
|
+
|
|
75
|
+
defineProps({
|
|
76
|
+
configure: Object,
|
|
77
|
+
default: () => ({props: {}})
|
|
78
|
+
});
|
|
79
|
+
const openCollapseItems = ref("")
|
|
80
|
+
|
|
81
|
+
</script>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form label-width="80px" size="small">
|
|
3
|
+
<AttrEvent :events="events"></AttrEvent>
|
|
4
|
+
</el-form>
|
|
5
|
+
</template>
|
|
6
|
+
<script lang='ts' setup>
|
|
7
|
+
import { ref, computed, defineEmits } from 'vue';
|
|
8
|
+
import AttrEvent from '../common/attr-event.vue'
|
|
9
|
+
import {getFormComponentOptions} from '../../../../utils/assemblys-config.js'
|
|
10
|
+
defineProps({
|
|
11
|
+
configure:Object
|
|
12
|
+
});
|
|
13
|
+
const events = ['click', 'change', 'show', 'hidden']
|
|
14
|
+
</script>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form label-width="80px" size="small">
|
|
3
|
+
<el-collapse v-model="openCollapseItems" style="margin-top:6px;">
|
|
4
|
+
<AttrStyle :configure="configure"></AttrStyle>
|
|
5
|
+
</el-collapse>
|
|
6
|
+
</el-form>
|
|
7
|
+
</template>
|
|
8
|
+
<script lang='ts' setup>
|
|
9
|
+
import { defineProps } from 'vue';
|
|
10
|
+
import AttrStyle from '../common/attr-style.vue'
|
|
11
|
+
defineProps({
|
|
12
|
+
configure:Object
|
|
13
|
+
});
|
|
14
|
+
</script>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="amb-design-attr-content">
|
|
3
|
+
<AttrHeader v-model="currentConfigType"/>
|
|
4
|
+
<div class="amb-design-attr-list">
|
|
5
|
+
<AttrBase v-show="currentConfigType === 'base'" :configure="configure"></AttrBase>
|
|
6
|
+
<AttrStyle v-show="currentConfigType === 'style'" :configure="configure"></AttrStyle>
|
|
7
|
+
<AttrEvent v-show="currentConfigType === 'event'" :configure="configure"></AttrEvent>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
</template>
|
|
11
|
+
<script lang='ts' setup>
|
|
12
|
+
import AttrBase from './custom-attr-base.vue';
|
|
13
|
+
import AttrStyle from './custom-attr-style.vue';
|
|
14
|
+
import AttrHeader from '../common/attr-header.vue'
|
|
15
|
+
import AttrEvent from './custom-attr-event.vue';
|
|
16
|
+
import { ref } from 'vue';
|
|
17
|
+
|
|
18
|
+
defineProps({
|
|
19
|
+
configure: {
|
|
20
|
+
type: Object,
|
|
21
|
+
default: () => ({ title: 'Text',props: {type: 'input-text'} }) // 设置默认值
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
let currentConfigType = ref("base")
|
|
25
|
+
|
|
26
|
+
</script>
|
|
27
|
+
<style >
|
|
28
|
+
@import '../../../../../../assets/design-attr.css';
|
|
29
|
+
</style>
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div :class="designClass" :style="designStyle">
|
|
3
|
+
<el-form-item
|
|
4
|
+
:required="designProperty.required?true:false"
|
|
5
|
+
:class="designClass"
|
|
6
|
+
:label-width="designProperty.labelWidth"
|
|
7
|
+
:style="designStyle">
|
|
8
|
+
<template #label>
|
|
9
|
+
<div :style="designHeaderStyle">
|
|
10
|
+
{{ designProperty.title?designProperty.title:'custom' }}
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
<el-button
|
|
14
|
+
:disabled="designProperty.state === 'disabled'? true : false"
|
|
15
|
+
:size="designProperty.size"
|
|
16
|
+
type="primary">
|
|
17
|
+
自定义组件
|
|
18
|
+
</el-button>
|
|
19
|
+
</el-form-item>
|
|
20
|
+
</div>
|
|
21
|
+
</template>
|
|
22
|
+
<script lang='ts' setup>
|
|
23
|
+
import {caculateDetailComponentStyle,caculateComponentProps} from "../../../../utils/form-design-util";
|
|
24
|
+
import {FullScreen} from '@element-plus/icons-vue'
|
|
25
|
+
import {ref, watch} from 'vue';
|
|
26
|
+
const props = defineProps({
|
|
27
|
+
configure:Object
|
|
28
|
+
});
|
|
29
|
+
//定义自身详细参数
|
|
30
|
+
const designStyle = ref({});
|
|
31
|
+
const designClass = ref('');
|
|
32
|
+
const designHeaderStyle = ref({});
|
|
33
|
+
const designProperty = ref({})
|
|
34
|
+
//监控配置样式的变化
|
|
35
|
+
watch(props.configure.style,()=>{
|
|
36
|
+
caculateDetailComponentStyle(props.configure,designStyle,designClass,designHeaderStyle);
|
|
37
|
+
},{immediate:true});
|
|
38
|
+
|
|
39
|
+
//监控配置属性的变化
|
|
40
|
+
watch(props.configure.props,()=>{
|
|
41
|
+
caculateComponentProps(props.configure,designProperty)
|
|
42
|
+
},{immediate:true});
|
|
43
|
+
</script>
|
|
44
|
+
<style scoped>
|
|
45
|
+
|
|
46
|
+
</style>
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form-item
|
|
3
|
+
:required="designProperty.required"
|
|
4
|
+
:class="runtimeClass"
|
|
5
|
+
:label-width="designProperty.labelWidth"
|
|
6
|
+
:style="runtimeStyle">
|
|
7
|
+
<template #label>
|
|
8
|
+
<div v-if="designProperty.tittleShow" :style="{...headerStyle}">
|
|
9
|
+
{{ designProperty.title}}
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
12
|
+
<el-time-picker
|
|
13
|
+
v-if="designProperty.dateType=='time'||designProperty.dateType=='timerange'"
|
|
14
|
+
:is-range="designProperty.dateType=='timerange'"
|
|
15
|
+
range-separator="-"
|
|
16
|
+
:clearable="designProperty.clearable"
|
|
17
|
+
:disabled="designProperty.state === 'disabled'"
|
|
18
|
+
:readonly="designProperty.state === 'readonly'"
|
|
19
|
+
:size="designProperty.size"
|
|
20
|
+
:placeholder="designProperty.placeholder"
|
|
21
|
+
:start-placeholder="designProperty.placeholder"
|
|
22
|
+
:end-placeholder="designProperty.endPlaceholder"
|
|
23
|
+
:format="designProperty.format"
|
|
24
|
+
v-model="dynamicModelMethod"
|
|
25
|
+
:shortcuts="designProperty.shortcuts"
|
|
26
|
+
:type="designProperty.dateType"
|
|
27
|
+
/>
|
|
28
|
+
<el-date-picker v-else
|
|
29
|
+
:clearable="designProperty.clearable"
|
|
30
|
+
:disabled="designProperty.state === 'disabled'"
|
|
31
|
+
:readonly="designProperty.state === 'readonly'"
|
|
32
|
+
:size="designProperty.size"
|
|
33
|
+
:placeholder="designProperty.placeholder"
|
|
34
|
+
:start-placeholder="designProperty.placeholder"
|
|
35
|
+
:end-placeholder="designProperty.endPlaceholder"
|
|
36
|
+
:format="designProperty.format"
|
|
37
|
+
v-model="dynamicModelMethod"
|
|
38
|
+
:shortcuts="designProperty.shortcuts"
|
|
39
|
+
:type="designProperty.dateType"/>
|
|
40
|
+
</el-form-item>
|
|
41
|
+
</template>
|
|
42
|
+
<script lang='ts' setup>
|
|
43
|
+
import {computed} from "vue";
|
|
44
|
+
import type { Component,PageContext} from '../../../../utils/interfaces/page-design-types';
|
|
45
|
+
import { getFormModelFields} from '../../../../utils/page-init-util';
|
|
46
|
+
import { getVariableValue,setVariableValue} from '../../../../utils/page-helper-util';
|
|
47
|
+
//定义的属性对象
|
|
48
|
+
interface MyProps{
|
|
49
|
+
//页面对象
|
|
50
|
+
pageContext:PageContext,
|
|
51
|
+
configure:Component
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
const props = defineProps<MyProps>();
|
|
55
|
+
|
|
56
|
+
const entity:any = props.pageContext.entity?props.pageContext.entity:{};
|
|
57
|
+
let dynamicFields:string[] = getFormModelFields(props.pageContext,props.configure);
|
|
58
|
+
//绑定模型的字段
|
|
59
|
+
const dynamicModelMethod = computed({
|
|
60
|
+
get(){
|
|
61
|
+
return getVariableValue(entity,dynamicFields);
|
|
62
|
+
},
|
|
63
|
+
set(value){
|
|
64
|
+
setVariableValue(entity,dynamicFields,value);
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
//运行时信息
|
|
69
|
+
const runtimeInfo:any = props.configure.runtime?props.configure.runtime:{};
|
|
70
|
+
const runtimeStyle = runtimeInfo.style;
|
|
71
|
+
const runtimeClass = runtimeInfo.class;
|
|
72
|
+
const headerStyle = runtimeInfo.headerStyle;
|
|
73
|
+
const designProperty:any = runtimeInfo.props?runtimeInfo.props:{};
|
|
74
|
+
</script>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form-item :label="configure.title" :label-position="right">
|
|
3
|
+
<el-date-picker
|
|
4
|
+
v-model="configure.fieldName"
|
|
5
|
+
type="date"
|
|
6
|
+
placeholder="Pick a day"/>
|
|
7
|
+
</el-form-item>
|
|
8
|
+
</template>
|
|
9
|
+
<script lang='ts' setup>
|
|
10
|
+
const props = defineProps({
|
|
11
|
+
configure:Object
|
|
12
|
+
});
|
|
13
|
+
if(props.configure.title==undefined){
|
|
14
|
+
props.configure.title = 'Date or Time';
|
|
15
|
+
}
|
|
16
|
+
</script>
|
|
17
|
+
<style scoped>
|
|
18
|
+
|
|
19
|
+
</style>
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form-item
|
|
3
|
+
:required="designProperty.required"
|
|
4
|
+
:class="runtimeClass"
|
|
5
|
+
:label-width="designProperty.labelWidth"
|
|
6
|
+
:style="runtimeStyle"
|
|
7
|
+
>
|
|
8
|
+
<template #label>
|
|
9
|
+
<div v-if="designProperty.tittleShow" :style="{ ...headerStyle }">
|
|
10
|
+
{{ designProperty.title }}
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
<OrganizationInput
|
|
14
|
+
:disabled="designProperty.state == 'disabled'"
|
|
15
|
+
:multiple="designProperty.multiple"
|
|
16
|
+
:treeType="designProperty.treeType"
|
|
17
|
+
v-model="dataModel[fieldName]"
|
|
18
|
+
:models="dataModel"
|
|
19
|
+
:fields="autoSetFields"
|
|
20
|
+
:size="designProperty.size"
|
|
21
|
+
placeholder="请选择"
|
|
22
|
+
:separator="designProperty.separator"
|
|
23
|
+
></OrganizationInput>
|
|
24
|
+
</el-form-item>
|
|
25
|
+
</template>
|
|
26
|
+
<script lang="ts" setup>
|
|
27
|
+
import { ref, watch } from 'vue'
|
|
28
|
+
import type { Component, PageContext } from '../../../../utils/interfaces/page-design-types'
|
|
29
|
+
import { getFormModelFields } from '../../../../utils/page-init-util'
|
|
30
|
+
import { getVariableValue, setVariableValue } from '../../../../utils/page-helper-util'
|
|
31
|
+
|
|
32
|
+
interface MyProps {
|
|
33
|
+
pageContext: PageContext
|
|
34
|
+
configure: Component
|
|
35
|
+
}
|
|
36
|
+
const props = defineProps<MyProps>()
|
|
37
|
+
|
|
38
|
+
const entity: any = props.pageContext.entity ? props.pageContext.entity : {}
|
|
39
|
+
if (!entity.data) {
|
|
40
|
+
entity.data = {}
|
|
41
|
+
}
|
|
42
|
+
const dataModel = entity.data
|
|
43
|
+
//设计时有限制只能选择data
|
|
44
|
+
let dynamicFields: string[] = getFormModelFields(props.pageContext, props.configure)
|
|
45
|
+
const fieldName =
|
|
46
|
+
dynamicFields.length > 0 ? dynamicFields[dynamicFields.length - 1] : props.configure.uuid
|
|
47
|
+
|
|
48
|
+
//获取默认的样式及配置
|
|
49
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {}
|
|
50
|
+
const designProperty = runtimeInfo.props ? runtimeInfo.props : {}
|
|
51
|
+
const runtimeStyle = runtimeInfo.style
|
|
52
|
+
const runtimeClass = runtimeInfo.class
|
|
53
|
+
const headerStyle = runtimeInfo.headerStyle
|
|
54
|
+
|
|
55
|
+
//关联字段设置
|
|
56
|
+
const autoSetFields = designProperty.autoSetFields ? designProperty.autoSetFields : []
|
|
57
|
+
</script>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-divider
|
|
3
|
+
:direction="designProperty.direction"
|
|
4
|
+
:border-style="designProperty.borderType"
|
|
5
|
+
:content-position="designProperty.titlePosition">
|
|
6
|
+
<div :style="headerStyle">
|
|
7
|
+
{{dynamicValue}}
|
|
8
|
+
</div>
|
|
9
|
+
</el-divider>
|
|
10
|
+
</template>
|
|
11
|
+
<script lang='ts' setup>
|
|
12
|
+
import {computed} from "vue";
|
|
13
|
+
import type { Component,PageContext} from '../../../../utils/interfaces/page-design-types';
|
|
14
|
+
import {formatVariableValue} from '../../../../utils/page-helper-util';
|
|
15
|
+
|
|
16
|
+
//定义的属性对象
|
|
17
|
+
interface MyProps{
|
|
18
|
+
//页面对象
|
|
19
|
+
pageContext:PageContext,
|
|
20
|
+
configure:Component
|
|
21
|
+
}
|
|
22
|
+
const props = defineProps<MyProps>();
|
|
23
|
+
|
|
24
|
+
//定义自身详细参数
|
|
25
|
+
//运行时信息
|
|
26
|
+
const runtimeInfo:any = props.configure.runtime?props.configure.runtime:{};
|
|
27
|
+
const headerStyle = runtimeInfo.headerStyle;
|
|
28
|
+
const designProperty:any = runtimeInfo.props?runtimeInfo.props:{};
|
|
29
|
+
|
|
30
|
+
//定义内容
|
|
31
|
+
let contentVariable = designProperty.value;
|
|
32
|
+
//显示内容
|
|
33
|
+
const dynamicValue = computed(()=>{
|
|
34
|
+
if(!contentVariable){
|
|
35
|
+
return '';
|
|
36
|
+
}
|
|
37
|
+
const resultValue = formatVariableValue(props.pageContext,contentVariable);
|
|
38
|
+
return resultValue==undefined||resultValue==null?'':resultValue;
|
|
39
|
+
})
|
|
40
|
+
</script>
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form-item :label="configure.title" :label-position="right">
|
|
3
|
+
<el-upload
|
|
4
|
+
v-model:file-list="fileList"
|
|
5
|
+
action="https://run.mocky.io/v3/9d059bf9-4660-45f2-925d-ce80ad6c4d15"
|
|
6
|
+
list-type="picture-card"
|
|
7
|
+
:on-preview="handlePictureCardPreview"
|
|
8
|
+
:on-remove="handleRemove"
|
|
9
|
+
>
|
|
10
|
+
<el-icon><Plus /></el-icon>
|
|
11
|
+
</el-upload>
|
|
12
|
+
<el-dialog v-model="dialogVisible">
|
|
13
|
+
<img w-full :src="dialogImageUrl" alt="Preview Image" />
|
|
14
|
+
</el-dialog>
|
|
15
|
+
</el-form-item>
|
|
16
|
+
</template>
|
|
17
|
+
<script lang='ts' setup>
|
|
18
|
+
import { ref } from 'vue'
|
|
19
|
+
import { ElMessage, ElMessageBox } from 'element-plus'
|
|
20
|
+
import { Plus } from '@element-plus/icons-vue'
|
|
21
|
+
import type { UploadProps, UploadUserFile } from 'element-plus'
|
|
22
|
+
|
|
23
|
+
//配置参数
|
|
24
|
+
const props = defineProps({
|
|
25
|
+
configure:Object
|
|
26
|
+
});
|
|
27
|
+
if(props.configure.title==undefined){
|
|
28
|
+
props.configure.title = '';
|
|
29
|
+
}
|
|
30
|
+
const dialogImageUrl = ref('')
|
|
31
|
+
const dialogVisible = ref(false)
|
|
32
|
+
|
|
33
|
+
//默认的文件
|
|
34
|
+
const fileList = ref<UploadUserFile[]>([
|
|
35
|
+
{
|
|
36
|
+
name: 'food.jpeg',
|
|
37
|
+
url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100',
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
name: 'plant-1.png',
|
|
41
|
+
url: 'https://element-plus.org/images/plant-1.png',
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
name: 'food.jpeg',
|
|
45
|
+
url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100',
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: 'plant-2.png',
|
|
49
|
+
url: 'https://element-plus.org/images/plant-2.png',
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
name: 'food.jpeg',
|
|
53
|
+
url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100',
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
name: 'figure-1.png',
|
|
57
|
+
url: 'https://element-plus.org/images/figure-1.png',
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
name: 'food.jpeg',
|
|
61
|
+
url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100',
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: 'figure-2.png',
|
|
65
|
+
url: 'https://element-plus.org/images/figure-2.png',
|
|
66
|
+
},
|
|
67
|
+
])
|
|
68
|
+
|
|
69
|
+
const handleRemove: UploadProps['onRemove'] = (file, uploadFiles) => {
|
|
70
|
+
console.log(file, uploadFiles)
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
const handlePictureCardPreview: UploadProps['onPreview'] = (uploadFile) => {
|
|
74
|
+
dialogImageUrl.value = uploadFile.url!
|
|
75
|
+
dialogVisible.value = true
|
|
76
|
+
}
|
|
77
|
+
</script>
|
|
78
|
+
<style scoped>
|
|
79
|
+
|
|
80
|
+
</style>
|