super-page-runtime 1.0.15 → 1.0.16
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/.eslintrc.cjs +26 -0
- package/.prettierrc.json +8 -0
- package/App.vue +9 -0
- package/components/index.ts +17 -0
- package/components/runtime/index.ts +2 -0
- package/components/runtime/utils/assemblys-config.js +294 -0
- package/components/runtime/views/assemblys/button/button/button-runtime.vue +49 -0
- package/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +26 -0
- package/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +93 -0
- package/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +59 -0
- package/components/runtime/views/assemblys/chart/common/common-attr-assistant.vue +32 -0
- package/components/runtime/views/assemblys/chart/common/common-attr-base.vue +60 -0
- package/components/runtime/views/assemblys/chart/common/common-attr-drill.vue +39 -0
- package/components/runtime/views/assemblys/chart/common/common-attr-groupby.vue +104 -0
- package/components/runtime/views/assemblys/chart/common/common-attr-serieslist.vue +145 -0
- package/components/runtime/views/assemblys/chart/common/common-attr-sortby.vue +119 -0
- package/components/runtime/views/assemblys/chart/common/common-style-custom.vue +28 -0
- package/components/runtime/views/assemblys/chart/common/common-style-datazoom.vue +45 -0
- package/components/runtime/views/assemblys/chart/common/common-style-font-subtitle.vue +78 -0
- package/components/runtime/views/assemblys/chart/common/common-style-font-title.vue +56 -0
- package/components/runtime/views/assemblys/chart/common/common-style-grid.vue +70 -0
- package/components/runtime/views/assemblys/chart/common/common-style-legend.vue +70 -0
- package/components/runtime/views/assemblys/chart/common/common-style-tooltip.vue +140 -0
- package/components/runtime/views/assemblys/chart/common/common-style-xaxis.vue +58 -0
- package/components/runtime/views/assemblys/chart/common/common-style-yaxis.vue +125 -0
- package/components/runtime/views/assemblys/chart/common-series/common-attr-dataset.vue +67 -0
- package/components/runtime/views/assemblys/chart/common-series/common-attr-dynamic.vue +57 -0
- package/components/runtime/views/assemblys/chart/common-series/common-attr-testdatas.vue +23 -0
- package/components/runtime/views/assemblys/chart/common-series/common-style-label.vue +209 -0
- package/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +46 -0
- package/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +56 -0
- package/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +55 -0
- package/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +57 -0
- package/components/runtime/views/assemblys/common/common-attr-cursor.vue +23 -0
- package/components/runtime/views/assemblys/common/common-attr-size.vue +54 -0
- package/components/runtime/views/assemblys/common/common-select-table.vue +287 -0
- package/components/runtime/views/assemblys/common/common-style-background.vue +46 -0
- package/components/runtime/views/assemblys/common/common-style-border.vue +37 -0
- package/components/runtime/views/assemblys/common/common-style-custom.vue +35 -0
- package/components/runtime/views/assemblys/common/common-style-font-head.vue +53 -0
- package/components/runtime/views/assemblys/common/common-style-font.vue +53 -0
- package/components/runtime/views/assemblys/common/common-style-margin.vue +34 -0
- package/components/runtime/views/assemblys/common/common-style-padding.vue +34 -0
- package/components/runtime/views/assemblys/common/common-style-position.vue +39 -0
- package/components/runtime/views/assemblys/common/common-style-shadow.vue +37 -0
- package/components/runtime/views/assemblys/common/export-form-report-dialog.vue +108 -0
- package/components/runtime/views/assemblys/common/remove-signer-dialog.vue +99 -0
- package/components/runtime/views/assemblys/common/task-informition-dialog.vue +69 -0
- package/components/runtime/views/assemblys/common-attr-events.vue +46 -0
- package/components/runtime/views/assemblys/container/card/card-runtime.vue +59 -0
- package/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue +59 -0
- package/components/runtime/views/assemblys/container/container/container-runtime.vue +41 -0
- package/components/runtime/views/assemblys/container/flex/flex-runtime.vue +35 -0
- package/components/runtime/views/assemblys/container/form/form-runtime.vue +37 -0
- package/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +32 -0
- package/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue +54 -0
- package/components/runtime/views/assemblys/container/tools/tools-runtime.vue +99 -0
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +117 -0
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr-event.vue +14 -0
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr-style.vue +25 -0
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +28 -0
- package/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +103 -0
- package/components/runtime/views/assemblys/data/component/attr-header.vue +69 -0
- package/components/runtime/views/assemblys/data/component/attr-style.vue +64 -0
- package/components/runtime/views/assemblys/data/component/column-config.vue +171 -0
- package/components/runtime/views/assemblys/data/component/combinedHeader.vue +96 -0
- package/components/runtime/views/assemblys/data/component/composite-header.vue +257 -0
- package/components/runtime/views/assemblys/data/component/configuration-value.vue +206 -0
- package/components/runtime/views/assemblys/data/component/data-origin-tree.vue +117 -0
- package/components/runtime/views/assemblys/data/component/data-origin.vue +260 -0
- package/components/runtime/views/assemblys/data/component/formatting.vue +200 -0
- package/components/runtime/views/assemblys/data/component/in-parameter.vue +56 -0
- package/components/runtime/views/assemblys/data/component/querySetting.vue +52 -0
- package/components/runtime/views/assemblys/data/component/return-set-table.vue +91 -0
- package/components/runtime/views/assemblys/data/component/row-backgroud-color.vue +58 -0
- package/components/runtime/views/assemblys/data/component/select-data-table.vue +86 -0
- package/components/runtime/views/assemblys/data/table/main-table-runtime.vue +858 -0
- package/components/runtime/views/assemblys/data/table/sub-table-runtime.vue +625 -0
- package/components/runtime/views/assemblys/data/table/table-runtime.vue +93 -0
- package/components/runtime/views/assemblys/data/tree/tree-attr-base.vue +137 -0
- package/components/runtime/views/assemblys/data/tree/tree-attr-event.vue +14 -0
- package/components/runtime/views/assemblys/data/tree/tree-attr-style.vue +55 -0
- package/components/runtime/views/assemblys/data/tree/tree-attr.vue +28 -0
- package/components/runtime/views/assemblys/data/tree/tree-design.vue +125 -0
- package/components/runtime/views/assemblys/error-attr.vue +15 -0
- package/components/runtime/views/assemblys/error-render.vue +17 -0
- package/components/runtime/views/assemblys/form/cascader/cascader-design.vue +288 -0
- package/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue +198 -0
- package/components/runtime/views/assemblys/form/colors/colors-design.vue +16 -0
- package/components/runtime/views/assemblys/form/common/analytic-rule.vue +148 -0
- package/components/runtime/views/assemblys/form/common/attr-event.vue +82 -0
- package/components/runtime/views/assemblys/form/common/attr-header.vue +54 -0
- package/components/runtime/views/assemblys/form/common/attr-style.vue +44 -0
- package/components/runtime/views/assemblys/form/common/bar-code-rule.vue +104 -0
- package/components/runtime/views/assemblys/form/common/condition.vue +147 -0
- package/components/runtime/views/assemblys/form/common/data-origin.vue +81 -0
- package/components/runtime/views/assemblys/form/common/data-orign-in-parameter.vue +64 -0
- package/components/runtime/views/assemblys/form/common/dataorigin-input-table.vue +106 -0
- package/components/runtime/views/assemblys/form/common/default-value-setting.vue +362 -0
- package/components/runtime/views/assemblys/form/common/dimension-input.vue +68 -0
- package/components/runtime/views/assemblys/form/common/dynamic-data-source-setting.vue +115 -0
- package/components/runtime/views/assemblys/form/common/formatting-label.vue +81 -0
- package/components/runtime/views/assemblys/form/common/grid-num-select.vue +43 -0
- package/components/runtime/views/assemblys/form/common/icon-set-dialog.vue +144 -0
- package/components/runtime/views/assemblys/form/common/linkage.vue +21 -0
- package/components/runtime/views/assemblys/form/common/overall-height.vue +20 -0
- package/components/runtime/views/assemblys/form/common/overall-width.vue +48 -0
- package/components/runtime/views/assemblys/form/common/pre-suffix.vue +33 -0
- package/components/runtime/views/assemblys/form/common/rich-text.vue +100 -0
- package/components/runtime/views/assemblys/form/common/row-ul-li.vue +55 -0
- package/components/runtime/views/assemblys/form/common/setoption-table.vue +86 -0
- package/components/runtime/views/assemblys/form/common/size-input.vue +65 -0
- package/components/runtime/views/assemblys/form/common/suffixmodule.vue +82 -0
- package/components/runtime/views/assemblys/form/common/title.vue +20 -0
- package/components/runtime/views/assemblys/form/common/uploading.vue +34 -0
- package/components/runtime/views/assemblys/form/common/verification.vue +79 -0
- package/components/runtime/views/assemblys/form/common/voluntarily.vue +27 -0
- package/components/runtime/views/assemblys/form/custom/custom-attr-base.vue +81 -0
- package/components/runtime/views/assemblys/form/custom/custom-attr-event.vue +14 -0
- package/components/runtime/views/assemblys/form/custom/custom-attr-style.vue +14 -0
- package/components/runtime/views/assemblys/form/custom/custom-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/custom/custom-design.vue +57 -0
- package/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +80 -0
- package/components/runtime/views/assemblys/form/datetime/datetime-design.vue +19 -0
- package/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue +60 -0
- package/components/runtime/views/assemblys/form/divider/divider-runtime.vue +44 -0
- package/components/runtime/views/assemblys/form/file-picture/picture-design.vue +80 -0
- package/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue +79 -0
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-base.vue +142 -0
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-event.vue +14 -0
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-style.vue +14 -0
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +104 -0
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-base.vue +75 -0
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-event.vue +13 -0
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-style.vue +14 -0
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +76 -0
- package/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +62 -0
- package/components/runtime/views/assemblys/form/input-show/input-show-attr-base.vue +68 -0
- package/components/runtime/views/assemblys/form/input-show/input-show-attr-event.vue +14 -0
- package/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +70 -0
- package/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/input-show/input-show-design.vue +155 -0
- package/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue +142 -0
- package/components/runtime/views/assemblys/form/label/label-runtime.vue +143 -0
- package/components/runtime/views/assemblys/form/link/link-runtime.vue +70 -0
- package/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +24 -0
- package/components/runtime/views/assemblys/form/radio/radio-runtime.vue +203 -0
- package/components/runtime/views/assemblys/form/rate/rate-design.vue +16 -0
- package/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +169 -0
- package/components/runtime/views/assemblys/form/select/select-runtime.vue +247 -0
- package/components/runtime/views/assemblys/form/slider/slider-design.vue +16 -0
- package/components/runtime/views/assemblys/form/switch/switch-runtime.vue +63 -0
- package/components/runtime/views/assemblys/form/tag/tag-runtime.vue +65 -0
- package/components/runtime/views/assemblys/form/text/text-design.vue +19 -0
- package/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue +63 -0
- package/components/runtime/views/assemblys/form/transfer/transfer-design.vue +32 -0
- package/components/runtime/views/assemblys/object-render.vue +176 -0
- package/components/runtime/views/assemblys/page/page-attr-base-20240429-1.vue +179 -0
- package/components/runtime/views/assemblys/page/page-attr-base.vue +259 -0
- package/components/runtime/views/assemblys/page/page-attr-events.vue +50 -0
- package/components/runtime/views/assemblys/page/page-attr-style.vue +25 -0
- package/components/runtime/views/assemblys/page/page-attr.vue +84 -0
- package/components/runtime/views/assemblys/page/variable-dialog.vue +242 -0
- package/components/runtime/views/assemblys/workflow/component/combination.vue +206 -0
- package/components/runtime/views/assemblys/workflow/component/condition-dialog.vue +99 -0
- package/components/runtime/views/assemblys/workflow/component/event-dialog.vue +278 -0
- package/components/runtime/views/assemblys/workflow/component/journal-set-dialog.vue +174 -0
- package/components/runtime/views/assemblys/workflow/component/logical-setup-dialog.vue +155 -0
- package/components/runtime/views/assemblys/workflow/component/rule-dialog.vue +47 -0
- package/components/runtime/views/assemblys/workflow/component/set-dialog.vue +130 -0
- package/components/runtime/views/assemblys/workflow/component/task-trigger-dialog.vue +96 -0
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-base.vue +43 -0
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-event.vue +14 -0
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-style.vue +27 -0
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +28 -0
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-design.vue +17 -0
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-base.vue +60 -0
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-event.vue +14 -0
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-style.vue +27 -0
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +28 -0
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-design.vue +17 -0
- package/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue +64 -0
- package/components/runtime/views/render/page-view.vue +80 -0
- package/components/runtime/views/super-page copy.vue +61 -0
- package/components/runtime/views/super-page.vue +667 -0
- package/components/super-page-dialog/index.ts +2 -0
- package/components/super-page-dialog/super-page-dialog.vue +267 -0
- package/components/wf-editor/index.ts +2 -0
- package/components/wf-editor/wf-editor.vue +15 -0
- package/cypress/e2e/example.cy.ts +8 -0
- package/cypress/e2e/tsconfig.json +10 -0
- package/cypress/fixtures/example.json +5 -0
- package/cypress/support/commands.ts +39 -0
- package/cypress/support/e2e.ts +20 -0
- package/cypress.config.ts +8 -0
- package/env.d.ts +1 -0
- package/index.html +13 -0
- package/{dist/lib/components → lib}/runtime/views/assemblys/button/button/button-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/common/export-form-report-dialog.vue.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/main-table-runtime.vue.js +4 -4
- package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +5 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +3 -3
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/label/label-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/link/link-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/select/select-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/object-render.vue.js +4 -4
- package/{dist/lib/components → lib}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/super-page.vue.js +7 -7
- package/{dist/lib/components → lib}/wf-editor/wf-editor.vue.js +1 -1
- package/main.ts +11 -0
- package/package-ws.json +70 -0
- package/package.json +3 -7
- package/tsconfig copy.json +17 -0
- package/tsconfig.app copy.json +14 -0
- package/tsconfig.app.json +14 -0
- package/tsconfig.json +17 -0
- package/tsconfig.node copy.json +19 -0
- package/tsconfig.node.json +19 -0
- package/tsconfig.vitest copy.json +11 -0
- package/tsconfig.vitest.json +11 -0
- package/vite.config copy.ts +109 -0
- package/vite.config.ts +86 -0
- package/vitest.config.ts +14 -0
- package/dist/es/_virtual/_plugin-vue_export-helper.js +0 -10
- package/dist/es/components/index.js +0 -8
- package/dist/es/components/runtime/index.js +0 -4
- package/dist/es/components/runtime/utils/assemblys-config.js +0 -257
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -55
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -36
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -111
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -54
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -43
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -51
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -51
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -52
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -142
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -128
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -105
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -73
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -74
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -79
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -43
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -44
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -30
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -69
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -75
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -641
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -453
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -83
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +0 -23
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -157
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -83
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -60
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -41
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -75
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -128
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -134
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -78
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -30
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -158
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -175
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -202
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -66
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +0 -143
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -62
- package/dist/es/components/runtime/views/super-page.vue.js +0 -480
- package/dist/es/components/runtime/views/super-page.vue2.js +0 -4
- package/dist/es/components/super-page-dialog/index.js +0 -4
- package/dist/es/components/super-page-dialog/super-page-dialog.vue.js +0 -74
- package/dist/es/components/super-page-dialog/super-page-dialog.vue2.js +0 -4
- package/dist/es/components/wf-editor/index.js +0 -4
- package/dist/es/components/wf-editor/wf-editor.vue.js +0 -16
- package/dist/es/src/assets/chart-themes/theme1.js +0 -8
- package/dist/es/src/assets/chart-themes/theme2.js +0 -8
- package/dist/es/src/assets/chart-themes/theme3.js +0 -8
- package/dist/es/src/utils/api/api-util.js +0 -128
- package/dist/es/src/utils/charts/chart-util.js +0 -15
- package/dist/es/src/utils/common-util.js +0 -81
- package/dist/es/src/utils/events/event-util.js +0 -525
- package/dist/es/src/utils/events/standard-event.js +0 -1623
- package/dist/es/src/utils/events/validator-util.js +0 -389
- package/dist/es/src/utils/global-refs.js +0 -65
- package/dist/es/src/utils/interfaces/page-design-types.js +0 -9
- package/dist/es/src/utils/page-helper-util.js +0 -503
- package/dist/es/src/utils/page-init-util.js +0 -200
- package/dist/es/src/utils/store-util.js +0 -17
- package/dist/es/src/utils/store.js +0 -4
- package/dist/es/src/utils/table-utils.js +0 -23
- package/dist/lib/components/index.d.ts +0 -5
- package/dist/lib/components/runtime/index.d.ts +0 -3
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +0 -91
- package/dist/lib/components/super-page-dialog/index.d.ts +0 -3
- package/dist/lib/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -36
- package/dist/lib/components/wf-editor/index.d.ts +0 -3
- package/dist/lib/components/wf-editor/wf-editor.css +0 -4
- package/dist/lib/components/wf-editor/wf-editor.vue.d.ts +0 -2
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/src/utils/api/api-util.d.ts +0 -11
- package/dist/lib/src/utils/common-util.d.ts +0 -11
- package/dist/lib/src/utils/events/event-util.d.ts +0 -48
- package/dist/lib/src/utils/events/standard-event.d.ts +0 -61
- package/dist/lib/src/utils/events/validator-util.d.ts +0 -4
- package/dist/lib/src/utils/global-refs.d.ts +0 -59
- package/dist/lib/src/utils/interfaces/page-design-types.d.ts +0 -221
- package/dist/lib/src/utils/page-helper-util.d.ts +0 -87
- package/dist/lib/src/utils/page-init-util.d.ts +0 -38
- package/dist/lib/src/utils/store-util.d.ts +0 -15
- package/dist/lib/src/utils/store.d.ts +0 -2
- package/lib/components/index.js +0 -8
- /package/{dist/lib → lib}/_virtual/_plugin-vue_export-helper.js +0 -0
- /package/{dist/es → lib}/components/index.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/index.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/error-render.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/object-render.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/super-page.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/super-page-dialog/index.d.ts +0 -0
- /package/{dist/es → lib}/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/wf-editor/index.d.ts +0 -0
- /package/{dist/es → lib}/components/wf-editor/wf-editor.vue.d.ts +0 -0
- /package/{dist/es → lib}/favicon.ico +0 -0
- /package/{dist/lib/components → lib}/index.js +0 -0
- /package/{dist/lib/components → lib}/runtime/index.js +0 -0
- /package/{dist/lib/components → lib}/runtime/utils/assemblys-config.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/error-render.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/error-render.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/object-render.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/super-page.vue2.js +0 -0
- /package/{dist/lib → lib}/src/assets/chart-themes/theme1.js +0 -0
- /package/{dist/lib → lib}/src/assets/chart-themes/theme2.js +0 -0
- /package/{dist/lib → lib}/src/assets/chart-themes/theme3.js +0 -0
- /package/{dist/es → lib}/src/utils/api/api-util.d.ts +0 -0
- /package/{dist/lib → lib}/src/utils/api/api-util.js +0 -0
- /package/{dist/lib → lib}/src/utils/charts/chart-util.js +0 -0
- /package/{dist/es → lib}/src/utils/common-util.d.ts +0 -0
- /package/{dist/lib → lib}/src/utils/common-util.js +0 -0
- /package/{dist/es → lib}/src/utils/events/event-util.d.ts +0 -0
- /package/{dist/lib → lib}/src/utils/events/event-util.js +0 -0
- /package/{dist/es → lib}/src/utils/events/standard-event.d.ts +0 -0
- /package/{dist/lib → lib}/src/utils/events/standard-event.js +0 -0
- /package/{dist/es → lib}/src/utils/events/validator-util.d.ts +0 -0
- /package/{dist/lib → lib}/src/utils/events/validator-util.js +0 -0
- /package/{dist/es → lib}/src/utils/global-refs.d.ts +0 -0
- /package/{dist/lib → lib}/src/utils/global-refs.js +0 -0
- /package/{dist/es → lib}/src/utils/interfaces/page-design-types.d.ts +0 -0
- /package/{dist/lib → lib}/src/utils/interfaces/page-design-types.js +0 -0
- /package/{dist/es → lib}/src/utils/page-helper-util.d.ts +0 -0
- /package/{dist/lib → lib}/src/utils/page-helper-util.js +0 -0
- /package/{dist/es → lib}/src/utils/page-init-util.d.ts +0 -0
- /package/{dist/lib → lib}/src/utils/page-init-util.js +0 -0
- /package/{dist/es → lib}/src/utils/store-util.d.ts +0 -0
- /package/{dist/lib → lib}/src/utils/store-util.js +0 -0
- /package/{dist/es → lib}/src/utils/store.d.ts +0 -0
- /package/{dist/lib → lib}/src/utils/store.js +0 -0
- /package/{dist/lib → lib}/src/utils/table-utils.js +0 -0
- /package/{dist/lib/components → lib}/super-page-dialog/index.js +0 -0
- /package/{dist/lib/components → lib}/super-page-dialog/super-page-dialog.vue.js +0 -0
- /package/{dist/lib/components → lib}/super-page-dialog/super-page-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/wf-editor/index.js +0 -0
- /package/{dist/es/components → lib}/wf-editor/wf-editor.css +0 -0
- /package/{dist → public}/favicon.ico +0 -0
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-dialog v-model="dialogTableVisible" title="选择数据模型" width="800">
|
|
3
|
+
<div style="background-color:rgba(88,147,239,0.06);padding:10px;">
|
|
4
|
+
<el-select
|
|
5
|
+
v-model="searchModel.systemCode"
|
|
6
|
+
placeholder="当前应用"
|
|
7
|
+
clearable
|
|
8
|
+
@change="confirmSearch"
|
|
9
|
+
style="width:120px">
|
|
10
|
+
<el-option
|
|
11
|
+
v-for="item in allSystems"
|
|
12
|
+
:key="item.value"
|
|
13
|
+
:label="item.label"
|
|
14
|
+
:value="item.value"
|
|
15
|
+
/>
|
|
16
|
+
</el-select>
|
|
17
|
+
<el-select
|
|
18
|
+
v-model="searchModel.tableType"
|
|
19
|
+
placeholder="表和视图"
|
|
20
|
+
clearable
|
|
21
|
+
@change="confirmSearch"
|
|
22
|
+
style="width:120px;margin-left:10px;">
|
|
23
|
+
<el-option value="1" label="表"></el-option>
|
|
24
|
+
<el-option value="2" label="视图"></el-option>
|
|
25
|
+
</el-select>
|
|
26
|
+
<el-input v-model="searchModel.searchValue" style="width:240px;margin-left:10px;" placeholder="请输入名称或别名" />
|
|
27
|
+
<el-button type="primary" style="margin-left:10px;" :icon="Search" @click="confirmSearch">确定</el-button>
|
|
28
|
+
<el-button style="margin-left:10px;" :icon="RefreshLeft" @click="resetSearch">重置</el-button>
|
|
29
|
+
</div>
|
|
30
|
+
<el-table :data="tableDatas" stripe
|
|
31
|
+
:height="tableHeight"
|
|
32
|
+
@sort-change="handleSortChange">
|
|
33
|
+
<!-- 添加序号列 -->
|
|
34
|
+
<el-table-column type="index" label="序" width="50">
|
|
35
|
+
<!-- 自定义索引 (可选,如果需要从1开始计数) -->
|
|
36
|
+
<template #default="scope">
|
|
37
|
+
{{ scope.$index + 1 }}
|
|
38
|
+
</template>
|
|
39
|
+
</el-table-column>
|
|
40
|
+
<el-table-column label="操作" width="80">
|
|
41
|
+
<template #default="scope">
|
|
42
|
+
<el-button type="primary" size="small" @click="confirmSelectTable(scope)">选择</el-button>
|
|
43
|
+
</template>
|
|
44
|
+
</el-table-column>
|
|
45
|
+
<el-table-column property="dataView" label="类型" width="70">
|
|
46
|
+
<template #default="scope">
|
|
47
|
+
<el-text v-if="!scope.dataView" class="mx-1" type="primary">数据表</el-text>
|
|
48
|
+
<el-text v-if="scope.dataView" class="mx-1" type="success">视图</el-text>
|
|
49
|
+
</template>
|
|
50
|
+
</el-table-column>
|
|
51
|
+
<el-table-column property="name" label="名称" width="200" sortable="custom"/>
|
|
52
|
+
<el-table-column property="alias" label="别名"/>
|
|
53
|
+
</el-table>
|
|
54
|
+
<el-pagination
|
|
55
|
+
style="margin-top:10px;justify-content:center;"
|
|
56
|
+
v-model:current-page="pagination.currentPage"
|
|
57
|
+
v-model:page-size="pagination.pageSize"
|
|
58
|
+
:page-sizes="[20, 30, 50, 100]"
|
|
59
|
+
background
|
|
60
|
+
layout="sizes,prev,pager,next,jumper,total"
|
|
61
|
+
:total="pagination.total"
|
|
62
|
+
@size-change="confirmSearch"
|
|
63
|
+
@current-change="confirmSearch"
|
|
64
|
+
/>
|
|
65
|
+
</el-dialog>
|
|
66
|
+
</template>
|
|
67
|
+
<script lang='ts' setup>
|
|
68
|
+
import {reactive,ref} from 'vue';
|
|
69
|
+
import {Search,RefreshLeft} from '@element-plus/icons';
|
|
70
|
+
import http from 'agilebuilder-ui/src/utils/request';
|
|
71
|
+
import { EnableStates } from '../../../utils/interfaces/page-design-types';
|
|
72
|
+
|
|
73
|
+
interface MyProps{
|
|
74
|
+
systemCode:string,
|
|
75
|
+
systemVersion:number
|
|
76
|
+
}
|
|
77
|
+
const props = defineProps<MyProps>();
|
|
78
|
+
|
|
79
|
+
//定义事件
|
|
80
|
+
const emits = defineEmits(["selectTable"]);
|
|
81
|
+
//表格高度
|
|
82
|
+
const tableHeight = ref(300);
|
|
83
|
+
|
|
84
|
+
//弹框是否打开的标识
|
|
85
|
+
const dialogTableVisible = ref(false);
|
|
86
|
+
//查询模型
|
|
87
|
+
const searchModel:any = reactive({
|
|
88
|
+
systemCode:'',
|
|
89
|
+
tableType:null,
|
|
90
|
+
searchValue:''
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
//重置
|
|
94
|
+
function resetSearch(){
|
|
95
|
+
searchModel.systemCode = '';
|
|
96
|
+
searchModel.tableType = null;
|
|
97
|
+
searchModel.searchValue = '';
|
|
98
|
+
|
|
99
|
+
confirmSearch();
|
|
100
|
+
}
|
|
101
|
+
//分页对象
|
|
102
|
+
const pagination = reactive({
|
|
103
|
+
currentPage: 1,
|
|
104
|
+
pageSize: 20,
|
|
105
|
+
showTotal: true,
|
|
106
|
+
total: 0
|
|
107
|
+
});
|
|
108
|
+
//所有数据表数据
|
|
109
|
+
const tableDatas = ref([]);
|
|
110
|
+
|
|
111
|
+
//可选下拉的应用系统
|
|
112
|
+
const allSystems = ref([{
|
|
113
|
+
value:'',
|
|
114
|
+
version:1,
|
|
115
|
+
label:''
|
|
116
|
+
}]);
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* 确定选择
|
|
120
|
+
* @param scopeData 行数据
|
|
121
|
+
*/
|
|
122
|
+
function confirmSelectTable(scopeData:any){
|
|
123
|
+
const tableInfo:any = {
|
|
124
|
+
name:scopeData.row.name,
|
|
125
|
+
alias:scopeData.row.alias
|
|
126
|
+
};
|
|
127
|
+
if(searchModel.systemCode&&searchModel.systemCode!=props.systemCode){
|
|
128
|
+
let systemCode = searchModel.systemCode;
|
|
129
|
+
let items = allSystems.value.filter((item)=>{
|
|
130
|
+
return item.value==systemCode;
|
|
131
|
+
});
|
|
132
|
+
tableInfo.systemVersion = items.length>0?items[0].version:1;
|
|
133
|
+
tableInfo.systemCode = systemCode;
|
|
134
|
+
}
|
|
135
|
+
//触发事件
|
|
136
|
+
emits("selectTable",tableInfo);
|
|
137
|
+
//隐藏
|
|
138
|
+
dialogTableVisible.value = false;
|
|
139
|
+
}
|
|
140
|
+
let firstInited = false;
|
|
141
|
+
/**
|
|
142
|
+
* 打开对象框
|
|
143
|
+
*/
|
|
144
|
+
function openDialog(){
|
|
145
|
+
//计算高度
|
|
146
|
+
let tempHeight = window.innerHeight-140-176;
|
|
147
|
+
if(tempHeight>500){
|
|
148
|
+
tempHeight = 500;
|
|
149
|
+
}else if(tempHeight<100){
|
|
150
|
+
tempHeight = 100;
|
|
151
|
+
}
|
|
152
|
+
tableHeight.value = tempHeight;
|
|
153
|
+
|
|
154
|
+
dialogTableVisible.value = true;
|
|
155
|
+
//查询所有业务系统
|
|
156
|
+
if(!firstInited){
|
|
157
|
+
firstInited = true;
|
|
158
|
+
queryAllSystems();
|
|
159
|
+
setTimeout(() => {
|
|
160
|
+
//默认查询
|
|
161
|
+
confirmSearch();
|
|
162
|
+
},100);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* 查询所有的应用系统
|
|
168
|
+
*/
|
|
169
|
+
function queryAllSystems(){
|
|
170
|
+
//查询所有的
|
|
171
|
+
http.post('/component/super-charts/findAllSystem').then((res: any) => {
|
|
172
|
+
const datas:any[] = res;
|
|
173
|
+
const systemCodes:string[] = [];
|
|
174
|
+
const tempMap:any = {};
|
|
175
|
+
for(let item of datas){
|
|
176
|
+
//是否删除
|
|
177
|
+
if(item.deleted){
|
|
178
|
+
continue;
|
|
179
|
+
}
|
|
180
|
+
//状态
|
|
181
|
+
if(item.enabledState!=EnableStates.ENABLE){
|
|
182
|
+
continue;
|
|
183
|
+
}
|
|
184
|
+
const hisData = tempMap[item.code];
|
|
185
|
+
//高版本时
|
|
186
|
+
if(hisData!=null&&item.publishVersion>hisData.publishVersion){
|
|
187
|
+
tempMap[item.code] = item;
|
|
188
|
+
}else if(hisData==null){
|
|
189
|
+
tempMap[item.code] = item;
|
|
190
|
+
systemCodes.push(item.code);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
//组装对象
|
|
194
|
+
allSystems.value = [];
|
|
195
|
+
for(let code of systemCodes){
|
|
196
|
+
const item = tempMap[code];
|
|
197
|
+
//当前应用时,显示当前的版本
|
|
198
|
+
const publishVersion:number = code===props.systemCode?props.systemVersion:item.publishVersion;
|
|
199
|
+
allSystems.value.push({
|
|
200
|
+
value:code,
|
|
201
|
+
label:item.name+"("+publishVersion+")",
|
|
202
|
+
version:publishVersion
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* 排序
|
|
210
|
+
*/
|
|
211
|
+
let sortColumnInfo:any = null;
|
|
212
|
+
function handleSortChange({ column}){
|
|
213
|
+
sortColumnInfo = column;
|
|
214
|
+
//重新查询
|
|
215
|
+
confirmSearch();
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* 确定查询
|
|
219
|
+
*/
|
|
220
|
+
function confirmSearch(){
|
|
221
|
+
const param:any = {
|
|
222
|
+
//code: 'MMS_MODULE_PAGE',
|
|
223
|
+
pagination: { currentPage:pagination.currentPage, pageSize: pagination.pageSize, showTotal: true },
|
|
224
|
+
searchForm: [],
|
|
225
|
+
dynamicColumnInfo: [],
|
|
226
|
+
sorts:[]
|
|
227
|
+
}
|
|
228
|
+
//添加排序字段
|
|
229
|
+
if(sortColumnInfo!=null){
|
|
230
|
+
param.sorts.push({
|
|
231
|
+
prop:sortColumnInfo.property,
|
|
232
|
+
order:sortColumnInfo.order=='ascending'?'asc':'desc'
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
//过滤条件
|
|
236
|
+
//运算符,值为cn.ambitionq.enumeration.Operator枚举类的属性值
|
|
237
|
+
if(searchModel.searchValue){
|
|
238
|
+
param.searchForm.push({
|
|
239
|
+
propName:'name',
|
|
240
|
+
propDbName:'name',
|
|
241
|
+
operator:'like',
|
|
242
|
+
dataType:'string',
|
|
243
|
+
propValue:searchModel.searchValue,
|
|
244
|
+
joinSign:'or'
|
|
245
|
+
});
|
|
246
|
+
param.searchForm.push({
|
|
247
|
+
propName:'alias',
|
|
248
|
+
propDbName:'alias',
|
|
249
|
+
operator:'like',
|
|
250
|
+
dataType:'string',
|
|
251
|
+
propValue:searchModel.searchValue
|
|
252
|
+
});
|
|
253
|
+
}
|
|
254
|
+
let systemCode = searchModel.systemCode;
|
|
255
|
+
let publishVersion = -1;
|
|
256
|
+
if(!systemCode){
|
|
257
|
+
systemCode = props.systemCode;
|
|
258
|
+
publishVersion = props.systemVersion;
|
|
259
|
+
}else{
|
|
260
|
+
let items = allSystems.value.filter((item)=>{
|
|
261
|
+
return item.value==systemCode;
|
|
262
|
+
});
|
|
263
|
+
publishVersion = items.length>0?items[0].version:-1;
|
|
264
|
+
}
|
|
265
|
+
const tableType = searchModel.tableType?searchModel.tableType:0;
|
|
266
|
+
///mms/data-tables/list/{systemCode}/{type}/{publishVersion}
|
|
267
|
+
const url = '/mms/data-tables/list/'+systemCode+"/"+tableType+"/"+publishVersion;
|
|
268
|
+
console.log("searc",url)
|
|
269
|
+
//
|
|
270
|
+
http.post(url, param).then((res: any) => {
|
|
271
|
+
tableDatas.value = res.data
|
|
272
|
+
pagination.currentPage = res.page;//当前页码
|
|
273
|
+
pagination.pageSize = res.size;//每页记录数
|
|
274
|
+
pagination.total = res.total;//总记录数
|
|
275
|
+
//res.totalPages;//总页数
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* 定义打开窗口的方法
|
|
281
|
+
*/
|
|
282
|
+
defineExpose({
|
|
283
|
+
openDialog
|
|
284
|
+
});
|
|
285
|
+
</script>
|
|
286
|
+
|
|
287
|
+
../../../utils/interfaces/page-runtime-types
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-collapse-item
|
|
3
|
+
title="背景"
|
|
4
|
+
name="styleBackground"
|
|
5
|
+
class="amb-design-attr-group-header">
|
|
6
|
+
<div style="padding:8px 0px 0px 0px;">
|
|
7
|
+
<el-form-item label="颜色" style="margin-top:4px;">
|
|
8
|
+
<el-color-picker v-model="configure.style.backgroundColor" />
|
|
9
|
+
</el-form-item>
|
|
10
|
+
<el-form-item label="图片" style="margin-top:-10px;margin-bottom:-15px;">
|
|
11
|
+
<el-upload
|
|
12
|
+
class="avatar-uploader"
|
|
13
|
+
action="https://run.mocky.io/v3/9d059bf9-4660-45f2-925d-ce80ad6c4d15"
|
|
14
|
+
:show-file-list="false"
|
|
15
|
+
:on-success="handleAvatarSuccess"
|
|
16
|
+
:before-upload="beforeAvatarUpload">
|
|
17
|
+
<img v-if="configure.style.backgroundImage" :src="configure.style.backgroundImage" class="avatar" />
|
|
18
|
+
<el-icon v-else class="avatar-uploader-icon"><Plus /></el-icon>
|
|
19
|
+
</el-upload>
|
|
20
|
+
</el-form-item>
|
|
21
|
+
</div>
|
|
22
|
+
</el-collapse-item>
|
|
23
|
+
</template>
|
|
24
|
+
<script lang='ts' setup>
|
|
25
|
+
import {} from 'vue';
|
|
26
|
+
import { Plus } from '@element-plus/icons-vue'
|
|
27
|
+
import type { UploadProps } from 'element-plus'
|
|
28
|
+
const props = defineProps({
|
|
29
|
+
configure:{
|
|
30
|
+
type:Object,
|
|
31
|
+
required:true
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
function beforeAvatarUpload(){
|
|
36
|
+
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
//图片上传
|
|
40
|
+
const handleAvatarSuccess: UploadProps['onSuccess'] = (
|
|
41
|
+
response,
|
|
42
|
+
uploadFile
|
|
43
|
+
) => {
|
|
44
|
+
props.configure.style.backgroundImage = URL.createObjectURL(uploadFile.raw!)
|
|
45
|
+
}
|
|
46
|
+
</script>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-collapse-item
|
|
3
|
+
title="边框"
|
|
4
|
+
name="styleBorder"
|
|
5
|
+
class="amb-design-attr-group-header">
|
|
6
|
+
<div style="padding:8px 0px 0px 0px;">
|
|
7
|
+
<el-form-item label="颜色" class="amb-design-attr-item" style="margin-top:4px;">
|
|
8
|
+
<el-color-picker v-model="configure.style.borderColor" />
|
|
9
|
+
</el-form-item>
|
|
10
|
+
<el-form-item label="线宽" style="margin-top:-10px;">
|
|
11
|
+
<el-input-number v-model="configure.style.borderWidth" :min="0" :max="40">
|
|
12
|
+
</el-input-number>
|
|
13
|
+
</el-form-item>
|
|
14
|
+
<el-form-item label="线型" style="margin-top:-10px;">
|
|
15
|
+
<el-radio-group v-model="configure.style.borderType">
|
|
16
|
+
<el-radio-button value="solid">实线</el-radio-button>
|
|
17
|
+
<el-radio-button value="dotted">点线</el-radio-button>
|
|
18
|
+
<el-radio-button value="dashed">虚线</el-radio-button>
|
|
19
|
+
</el-radio-group>
|
|
20
|
+
</el-form-item>
|
|
21
|
+
<el-form-item label="圆角" style="margin-top:-10px;margin-bottom:-15px;">
|
|
22
|
+
<el-input-number v-model="configure.style.radius" :min="0" :max="40">
|
|
23
|
+
</el-input-number>
|
|
24
|
+
</el-form-item>
|
|
25
|
+
</div>
|
|
26
|
+
</el-collapse-item>
|
|
27
|
+
</template>
|
|
28
|
+
<script lang='ts' setup>
|
|
29
|
+
import {} from 'vue';
|
|
30
|
+
defineProps({
|
|
31
|
+
configure:{
|
|
32
|
+
type:Object,
|
|
33
|
+
required:true
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
</script>
|
|
37
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-collapse-item
|
|
3
|
+
title="自定义"
|
|
4
|
+
name="styleCustom"
|
|
5
|
+
class="amb-design-attr-group-header">
|
|
6
|
+
<div style="padding:8px 0px 0px 0px;">
|
|
7
|
+
<el-form label-position="top">
|
|
8
|
+
<el-form-item label=" class(多个分号;隔开)" style="margin-top:4px;">
|
|
9
|
+
<el-input
|
|
10
|
+
v-model="configure.style.customClass"
|
|
11
|
+
placeholder=""
|
|
12
|
+
>
|
|
13
|
+
</el-input>
|
|
14
|
+
</el-form-item>
|
|
15
|
+
<el-form-item label=" style" style="margin-top:-10px;margin-bottom:-15px;">
|
|
16
|
+
<el-input
|
|
17
|
+
v-model="configure.style.customStyle"
|
|
18
|
+
:rows="5"
|
|
19
|
+
type="textarea"
|
|
20
|
+
placeholder=""
|
|
21
|
+
/>
|
|
22
|
+
</el-form-item>
|
|
23
|
+
</el-form>
|
|
24
|
+
</div>
|
|
25
|
+
</el-collapse-item>
|
|
26
|
+
</template>
|
|
27
|
+
<script lang='ts' setup>
|
|
28
|
+
defineProps({
|
|
29
|
+
configure:{
|
|
30
|
+
type:Object,
|
|
31
|
+
required:true
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
</script>
|
|
35
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-collapse-item
|
|
3
|
+
title="标题"
|
|
4
|
+
name="styleFontHead"
|
|
5
|
+
class="amb-design-attr-group-header">
|
|
6
|
+
<div style="padding:8px 0px 0px 0px;">
|
|
7
|
+
<el-row style="margin-top:4px;">
|
|
8
|
+
<el-col :span="9">
|
|
9
|
+
<el-form-item label="加粗">
|
|
10
|
+
<el-switch v-model="configure.style.headerFontWeight"/>
|
|
11
|
+
</el-form-item>
|
|
12
|
+
</el-col>
|
|
13
|
+
<el-col :span="12">
|
|
14
|
+
<el-form-item label="倾斜">
|
|
15
|
+
<el-switch v-model="configure.style.headerIncline"/>
|
|
16
|
+
</el-form-item>
|
|
17
|
+
</el-col>
|
|
18
|
+
</el-row>
|
|
19
|
+
<el-form-item
|
|
20
|
+
label="字号" style="margin-top:-10px;">
|
|
21
|
+
<el-select
|
|
22
|
+
v-model="configure.style.headerFontSize"
|
|
23
|
+
placeholder="默认"
|
|
24
|
+
clearable>
|
|
25
|
+
<el-option
|
|
26
|
+
v-for="item in fontSizes"
|
|
27
|
+
:label="item" :value="item"/>
|
|
28
|
+
</el-select>
|
|
29
|
+
</el-form-item>
|
|
30
|
+
<el-form-item label="颜色" style="margin-top:-10px;">
|
|
31
|
+
<el-color-picker v-model="configure.style.headerColor" />
|
|
32
|
+
</el-form-item>
|
|
33
|
+
<el-form-item label="左右对齐" style="margin-top:-10px;margin-bottom:-15px;">
|
|
34
|
+
<el-radio-group v-model="configure.style.headerTextAlign">
|
|
35
|
+
<el-radio-button value="left">左</el-radio-button>
|
|
36
|
+
<el-radio-button value="center">中</el-radio-button>
|
|
37
|
+
<el-radio-button value="right">右</el-radio-button>
|
|
38
|
+
</el-radio-group>
|
|
39
|
+
</el-form-item>
|
|
40
|
+
</div>
|
|
41
|
+
</el-collapse-item>
|
|
42
|
+
</template>
|
|
43
|
+
<script lang='ts' setup>
|
|
44
|
+
defineProps({
|
|
45
|
+
configure:{
|
|
46
|
+
type:Object,
|
|
47
|
+
required:true
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
//字号
|
|
51
|
+
const fontSizes = ["8px","10px","12px","14px","16px","18px","20px","24px","28px"];
|
|
52
|
+
</script>
|
|
53
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-collapse-item
|
|
3
|
+
title="字体"
|
|
4
|
+
name="styleFont"
|
|
5
|
+
class="amb-design-attr-group-header">
|
|
6
|
+
<div style="padding:8px 0px 0px 0px;">
|
|
7
|
+
<el-row style="margin-top:4px;">
|
|
8
|
+
<el-col :span="9">
|
|
9
|
+
<el-form-item label="加粗">
|
|
10
|
+
<el-switch v-model="configure.style.fontWeight"/>
|
|
11
|
+
</el-form-item>
|
|
12
|
+
</el-col>
|
|
13
|
+
<el-col :span="12">
|
|
14
|
+
<el-form-item label="倾斜">
|
|
15
|
+
<el-switch v-model="configure.style.incline"/>
|
|
16
|
+
</el-form-item>
|
|
17
|
+
</el-col>
|
|
18
|
+
</el-row>
|
|
19
|
+
<el-form-item
|
|
20
|
+
label="字号" style="margin-top:-10px;">
|
|
21
|
+
<el-select
|
|
22
|
+
v-model="configure.style.fontSize"
|
|
23
|
+
placeholder="默认"
|
|
24
|
+
clearable>
|
|
25
|
+
<el-option
|
|
26
|
+
v-for="item in fontSizes"
|
|
27
|
+
:label="item" :value="item"/>
|
|
28
|
+
</el-select>
|
|
29
|
+
</el-form-item>
|
|
30
|
+
<el-form-item label="颜色" style="margin-top:-10px;">
|
|
31
|
+
<el-color-picker v-model="configure.style.color" />
|
|
32
|
+
</el-form-item>
|
|
33
|
+
<el-form-item label="左右对齐" style="margin-top:-10px;margin-bottom:-15px;">
|
|
34
|
+
<el-radio-group v-model="configure.style.textAlign">
|
|
35
|
+
<el-radio-button value="left">左</el-radio-button>
|
|
36
|
+
<el-radio-button value="center">中</el-radio-button>
|
|
37
|
+
<el-radio-button value="right">右</el-radio-button>
|
|
38
|
+
</el-radio-group>
|
|
39
|
+
</el-form-item>
|
|
40
|
+
</div>
|
|
41
|
+
</el-collapse-item>
|
|
42
|
+
</template>
|
|
43
|
+
<script lang='ts' setup>
|
|
44
|
+
defineProps({
|
|
45
|
+
configure:{
|
|
46
|
+
type:Object,
|
|
47
|
+
required:true
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
//字号
|
|
51
|
+
const fontSizes = ["8px","10px","12px","14px","16px","18px","20px","24px","28px"];
|
|
52
|
+
</script>
|
|
53
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-collapse-item
|
|
3
|
+
title="Margin"
|
|
4
|
+
name="styleMargin"
|
|
5
|
+
class="amb-design-attr-group-header">
|
|
6
|
+
<div style="padding:8px 0px 0px 0px;">
|
|
7
|
+
<el-form-item label="上边距" style="margin-top:4px;">
|
|
8
|
+
<el-input-number v-model="configure.style.marginTop" :min="0" :max="40">
|
|
9
|
+
</el-input-number>
|
|
10
|
+
</el-form-item>
|
|
11
|
+
<el-form-item label="右边距" style="margin-top:-10px;">
|
|
12
|
+
<el-input-number v-model="configure.style.marginRight" :min="0" :max="40">
|
|
13
|
+
</el-input-number>
|
|
14
|
+
</el-form-item>
|
|
15
|
+
<el-form-item label="下边距" style="margin-top:-10px;">
|
|
16
|
+
<el-input-number v-model="configure.style.marginBottom" :min="0" :max="40">
|
|
17
|
+
</el-input-number>
|
|
18
|
+
</el-form-item>
|
|
19
|
+
<el-form-item label="左边距" style="margin-top:-10px;margin-bottom:-15px;">
|
|
20
|
+
<el-input-number v-model="configure.style.marginLeft" :min="0" :max="40">
|
|
21
|
+
</el-input-number>
|
|
22
|
+
</el-form-item>
|
|
23
|
+
</div>
|
|
24
|
+
</el-collapse-item>
|
|
25
|
+
</template>
|
|
26
|
+
<script lang='ts' setup>
|
|
27
|
+
defineProps({
|
|
28
|
+
configure:{
|
|
29
|
+
type:Object,
|
|
30
|
+
required:true
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
</script>
|
|
34
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-collapse-item
|
|
3
|
+
title="Padding"
|
|
4
|
+
name="stylePadding"
|
|
5
|
+
class="amb-design-attr-group-header">
|
|
6
|
+
<div style="padding:8px 0px 0px 0px;">
|
|
7
|
+
<el-form-item label="上边距" style="margin-top:4px;">
|
|
8
|
+
<el-input-number v-model="configure.style.paddingTop" :min="0" :max="100">
|
|
9
|
+
</el-input-number>
|
|
10
|
+
</el-form-item>
|
|
11
|
+
<el-form-item label="右边距" style="margin-top:-10px;">
|
|
12
|
+
<el-input-number v-model="configure.style.paddingRight" :min="0" :max="100">
|
|
13
|
+
</el-input-number>
|
|
14
|
+
</el-form-item>
|
|
15
|
+
<el-form-item label="下边距" style="margin-top:-10px;">
|
|
16
|
+
<el-input-number v-model="configure.style.paddingBottom" :min="0" :max="100">
|
|
17
|
+
</el-input-number>
|
|
18
|
+
</el-form-item>
|
|
19
|
+
<el-form-item label="左边距" style="margin-top:-10px;margin-bottom:-15px;">
|
|
20
|
+
<el-input-number v-model="configure.style.paddingLeft" :min="0" :max="100">
|
|
21
|
+
</el-input-number>
|
|
22
|
+
</el-form-item>
|
|
23
|
+
</div>
|
|
24
|
+
</el-collapse-item>
|
|
25
|
+
</template>
|
|
26
|
+
<script lang='ts' setup>
|
|
27
|
+
defineProps({
|
|
28
|
+
configure:{
|
|
29
|
+
type:Object,
|
|
30
|
+
required:true
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
</script>
|
|
34
|
+
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-collapse-item
|
|
3
|
+
title="定位"
|
|
4
|
+
name="stylePosition"
|
|
5
|
+
class="amb-design-attr-group-header">
|
|
6
|
+
<div style="padding:8px 0px 0px 0px;">
|
|
7
|
+
<el-radio-group v-model="configure.style.position" style="padding:0px 8px 0px 30px;margin-bottom:-15px;">
|
|
8
|
+
<el-radio value="relative">relative</el-radio>
|
|
9
|
+
<el-radio value="absolute">absolute</el-radio>
|
|
10
|
+
<el-radio value="fixed">fixed</el-radio>
|
|
11
|
+
<el-radio value="sticky">sticky</el-radio>
|
|
12
|
+
</el-radio-group>
|
|
13
|
+
<el-form-item v-if="configure.style.position&&configure.style.position!='relative'" label="X坐标" style="margin-top:20px;">
|
|
14
|
+
<el-input v-model="configure.style.left">
|
|
15
|
+
<template #suffix>
|
|
16
|
+
px
|
|
17
|
+
</template>
|
|
18
|
+
</el-input>
|
|
19
|
+
</el-form-item>
|
|
20
|
+
<el-form-item v-if="configure.style.position&&configure.style.position!='relative'" label="Y坐标" style="margin-top:-10px;margin-bottom:-15px;">
|
|
21
|
+
<el-input v-model="configure.style.top">
|
|
22
|
+
<template #suffix>
|
|
23
|
+
px
|
|
24
|
+
</template>
|
|
25
|
+
</el-input>
|
|
26
|
+
</el-form-item>
|
|
27
|
+
</div>
|
|
28
|
+
</el-collapse-item>
|
|
29
|
+
</template>
|
|
30
|
+
<script lang='ts' setup>
|
|
31
|
+
import {} from 'vue';
|
|
32
|
+
defineProps({
|
|
33
|
+
configure:{
|
|
34
|
+
type:Object,
|
|
35
|
+
required:true
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
</script>
|
|
39
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-collapse-item
|
|
3
|
+
title="阴影"
|
|
4
|
+
name="styleShadow"
|
|
5
|
+
class="amb-design-attr-group-header">
|
|
6
|
+
<div style="padding:8px 0px 0px 0px;">
|
|
7
|
+
<el-form-item label="颜色" style="margin-top:4px;margin-bottom:-15px;">
|
|
8
|
+
<el-color-picker v-model="configure.style.shadowColor" />
|
|
9
|
+
</el-form-item>
|
|
10
|
+
<el-form-item v-if="configure.style.shadowColor" label="上" style="margin-top:23px;">
|
|
11
|
+
<el-input-number v-model="configure.style.shadowTop" :min="0" :max="40">
|
|
12
|
+
</el-input-number>
|
|
13
|
+
</el-form-item>
|
|
14
|
+
<el-form-item v-if="configure.style.shadowColor" label="右" style="margin-top:-10px;">
|
|
15
|
+
<el-input-number v-model="configure.style.shadowRight" :min="0" :max="40">
|
|
16
|
+
</el-input-number>
|
|
17
|
+
</el-form-item>
|
|
18
|
+
<el-form-item v-if="configure.style.shadowColor" label="下" style="margin-top:-10px;">
|
|
19
|
+
<el-input-number v-model="configure.style.shadowBottom" :min="0" :max="40">
|
|
20
|
+
</el-input-number>
|
|
21
|
+
</el-form-item>
|
|
22
|
+
<el-form-item v-if="configure.style.shadowColor" label="左" style="margin-top:-10px;margin-bottom:-15px;">
|
|
23
|
+
<el-input-number v-model="configure.style.shadowLeft" :min="0" :max="40">
|
|
24
|
+
</el-input-number>
|
|
25
|
+
</el-form-item>
|
|
26
|
+
</div>
|
|
27
|
+
</el-collapse-item>
|
|
28
|
+
</template>
|
|
29
|
+
<script lang='ts' setup>
|
|
30
|
+
defineProps({
|
|
31
|
+
configure:{
|
|
32
|
+
type:Object,
|
|
33
|
+
required:true
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
</script>
|
|
37
|
+
|