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,171 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<el-dialog
|
|
4
|
+
model-value
|
|
5
|
+
title="Tips"
|
|
6
|
+
width="800"
|
|
7
|
+
:before-close="beforeClose"
|
|
8
|
+
>
|
|
9
|
+
<el-button type="primary" style="margin:8px 0">确定</el-button>
|
|
10
|
+
<el-table :data="tableData" style="width: 100%" @row-dblclick="handleCellEnter" @row-click="rowClick" :cell-style="columnbackgroundStyle">
|
|
11
|
+
<el-table-column type="index" label="序号" align="center" width="60" />
|
|
12
|
+
<el-table-column label="操作" align="center" width="160">
|
|
13
|
+
<template #default="scope">
|
|
14
|
+
<el-button type="primary" plain @click="add">添加</el-button>
|
|
15
|
+
<el-button type="danger" plain @click="remove(scope.row)">删除</el-button>
|
|
16
|
+
</template>
|
|
17
|
+
</el-table-column>
|
|
18
|
+
<el-table-column prop="address" align="center">
|
|
19
|
+
<template #header>
|
|
20
|
+
列名
|
|
21
|
+
<span style="color: red;">*</span>
|
|
22
|
+
</template>
|
|
23
|
+
<template #default="scope">
|
|
24
|
+
<el-input v-if="scope.row.isEdit" v-model="scope.row.columnName"/>
|
|
25
|
+
<span v-else>{{scope.row.columnName}}</span>
|
|
26
|
+
</template>
|
|
27
|
+
</el-table-column>
|
|
28
|
+
<el-table-column prop="address" label="变量名" align="center">
|
|
29
|
+
<template #default="scope">
|
|
30
|
+
<el-input v-if="scope.row.isEdit" v-model="scope.row.variableName"/>
|
|
31
|
+
<span v-else>{{scope.row.variableName}}</span>
|
|
32
|
+
</template>
|
|
33
|
+
</el-table-column>
|
|
34
|
+
<el-table-column prop="address" label="显示" align="center">
|
|
35
|
+
<template #default="scope">
|
|
36
|
+
<el-switch v-if="scope.row.isEdit" v-model="scope.row.show" />
|
|
37
|
+
<span v-else>{{scope.row.show}}</span>
|
|
38
|
+
</template>
|
|
39
|
+
</el-table-column>
|
|
40
|
+
<el-table-column prop="address" label="编辑组件" align="center">
|
|
41
|
+
<template #default="scope">
|
|
42
|
+
<el-select v-if="scope.row.isEdit" v-model="scope.row.moduleType" placeholder="请选择">
|
|
43
|
+
<el-option
|
|
44
|
+
v-for="item in getFormComponentOptions()"
|
|
45
|
+
:key="item.name"
|
|
46
|
+
:label="item.label"
|
|
47
|
+
:value="item.name"
|
|
48
|
+
/>
|
|
49
|
+
</el-select>
|
|
50
|
+
<span v-else>{{scope.row.moduleType}}</span>
|
|
51
|
+
</template>
|
|
52
|
+
</el-table-column>
|
|
53
|
+
<el-table-column prop="address" label="导出" align="center">
|
|
54
|
+
<template #default="scope">
|
|
55
|
+
<el-switch v-if="scope.row.isEdit" v-model="scope.row.export" />
|
|
56
|
+
<span v-else>{{scope.row.export}}</span>
|
|
57
|
+
</template>
|
|
58
|
+
</el-table-column>
|
|
59
|
+
<el-table-column prop="address" label="左右对齐" align="center">
|
|
60
|
+
<template #default="scope">
|
|
61
|
+
<el-select v-if="scope.row.isEdit" v-model="scope.row.align" placeholder="请选择">
|
|
62
|
+
<el-option label="靠左" value="left"/>
|
|
63
|
+
<el-option label="居中" value="center"/>
|
|
64
|
+
<el-option label="靠右" value="right"/>
|
|
65
|
+
</el-select>
|
|
66
|
+
<span v-else>{{scope.row.align}}</span>
|
|
67
|
+
</template>
|
|
68
|
+
</el-table-column>
|
|
69
|
+
<el-table-column prop="address" label="冻结" align="center">
|
|
70
|
+
<template #default="scope">
|
|
71
|
+
<el-select v-if="scope.row.isEdit" v-model="scope.row.disabled" placeholder="请选择">
|
|
72
|
+
<el-option label="是" :value="true"/>
|
|
73
|
+
<el-option label="否" :value="false"/>
|
|
74
|
+
</el-select>
|
|
75
|
+
<span v-else>{{scope.row.disabled}}</span>
|
|
76
|
+
</template>
|
|
77
|
+
</el-table-column>
|
|
78
|
+
</el-table>
|
|
79
|
+
<template #footer>
|
|
80
|
+
<div class="dialog-footer">
|
|
81
|
+
<el-button @click="$emit('close')">取消</el-button>
|
|
82
|
+
<el-button type="primary" @click="$emit('close')">确定</el-button>
|
|
83
|
+
</div>
|
|
84
|
+
</template>
|
|
85
|
+
</el-dialog>
|
|
86
|
+
</div>
|
|
87
|
+
</template>
|
|
88
|
+
<script lang='ts' setup>
|
|
89
|
+
import { getFormComponentOptions } from '../../../../utils/assemblys-config.js'
|
|
90
|
+
import { ref,confineProps } from 'vue';
|
|
91
|
+
// const props = defineProps({
|
|
92
|
+
// configure:Object
|
|
93
|
+
// });
|
|
94
|
+
|
|
95
|
+
const emit = defineEmits(['close'])
|
|
96
|
+
|
|
97
|
+
const tableData = ref([
|
|
98
|
+
{
|
|
99
|
+
columnName: 'columnName',
|
|
100
|
+
variableName: 'variableName',
|
|
101
|
+
moduleType:'1',
|
|
102
|
+
show: true,
|
|
103
|
+
export:false,
|
|
104
|
+
align:'center',
|
|
105
|
+
disabled:false
|
|
106
|
+
},
|
|
107
|
+
])
|
|
108
|
+
const modelDableData = ref([
|
|
109
|
+
{
|
|
110
|
+
date: '2016-05-03',
|
|
111
|
+
name: 'Tom',
|
|
112
|
+
address: 'No. 189, Grove St, Los Angeles',
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
date: '2016-05-02',
|
|
116
|
+
name: 'Tom',
|
|
117
|
+
address: 'No. 189, Grove St, Los Angeles',
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
date: '2016-05-04',
|
|
121
|
+
name: 'Tom',
|
|
122
|
+
address: 'No. 189, Grove St, Los Angeles',
|
|
123
|
+
}
|
|
124
|
+
])
|
|
125
|
+
|
|
126
|
+
function rowClick() {
|
|
127
|
+
tableData.value.forEach(item =>{
|
|
128
|
+
item['isEdit'] = false
|
|
129
|
+
})
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
function handleCellEnter(row:object) {
|
|
133
|
+
tableData.value.forEach(item =>{
|
|
134
|
+
item['isEdit'] = false
|
|
135
|
+
})
|
|
136
|
+
row.isEdit = true
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
function handleCellLeave(row:object) {
|
|
140
|
+
row.isEdit = false
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
function add() {
|
|
144
|
+
let obj = {
|
|
145
|
+
columnName: 'columnName',
|
|
146
|
+
variableName: '',
|
|
147
|
+
moduleType:'1',
|
|
148
|
+
show: true,
|
|
149
|
+
export:false,
|
|
150
|
+
align:'center',
|
|
151
|
+
disabled:false
|
|
152
|
+
}
|
|
153
|
+
tableData.value.push(obj)
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
function remove(row:object) {
|
|
157
|
+
tableData.value = tableData.value.filter(item => item != row)
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
function beforeClose() {
|
|
161
|
+
emit('close')
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
function columnbackgroundStyle({ row, column, rowIndex, columnIndex }){
|
|
165
|
+
if (row.isEdit){
|
|
166
|
+
return {background:'rgb(88, 147, 239,.4)',border:'none'}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
</script>
|
|
170
|
+
<style scoped>
|
|
171
|
+
</style>
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-collapse-item
|
|
3
|
+
title="导入配置"
|
|
4
|
+
name="combinedHeader"
|
|
5
|
+
class="amb-design-attr-group-header">
|
|
6
|
+
<div style="padding:8px 0px 0px 0px;">
|
|
7
|
+
<el-button type="primary" @click="dialogVisible = true">添加字段</el-button>
|
|
8
|
+
<el-tree
|
|
9
|
+
:data="data"
|
|
10
|
+
:props="defaultProps"
|
|
11
|
+
@node-click="handleNodeClick"
|
|
12
|
+
/>
|
|
13
|
+
<el-dialog
|
|
14
|
+
v-model="dialogVisible"
|
|
15
|
+
title="Tips"
|
|
16
|
+
width="500"
|
|
17
|
+
>
|
|
18
|
+
<el-form ref="formRef" :model="form" label-width="auto" style="max-width: 600px">
|
|
19
|
+
<el-form-item label="表头字段" required>
|
|
20
|
+
<el-select
|
|
21
|
+
v-model="form.label"
|
|
22
|
+
style="width: 100%"
|
|
23
|
+
>
|
|
24
|
+
<el-option label="t_time" value="t_time"/>
|
|
25
|
+
</el-select>
|
|
26
|
+
</el-form-item>
|
|
27
|
+
<el-form-item label="跳过校验">
|
|
28
|
+
<el-checkbox v-model="form.skipVerification"/>
|
|
29
|
+
</el-form-item>
|
|
30
|
+
</el-form>
|
|
31
|
+
<template #footer>
|
|
32
|
+
<div class="dialog-footer">
|
|
33
|
+
<el-button @click="dialogVisible = false">取消</el-button>
|
|
34
|
+
<el-button type="primary" @click="addTreeData" >
|
|
35
|
+
确认
|
|
36
|
+
</el-button>
|
|
37
|
+
</div>
|
|
38
|
+
</template>
|
|
39
|
+
</el-dialog>
|
|
40
|
+
</div>
|
|
41
|
+
</el-collapse-item>
|
|
42
|
+
</template>
|
|
43
|
+
|
|
44
|
+
<script lang="ts" setup>
|
|
45
|
+
import {ref} from "vue";
|
|
46
|
+
|
|
47
|
+
interface Tree {
|
|
48
|
+
label: string
|
|
49
|
+
children?: Tree[]
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
const dialogVisible = ref(false)
|
|
53
|
+
const form = ref({})
|
|
54
|
+
const formRef = ref(null)
|
|
55
|
+
const handleNodeClick = (data: Tree) => {
|
|
56
|
+
console.log(data)
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
const data = ref([
|
|
60
|
+
{
|
|
61
|
+
label: 'Level one 1',
|
|
62
|
+
children: [
|
|
63
|
+
{
|
|
64
|
+
label: 'Level two 1-1',
|
|
65
|
+
children: [
|
|
66
|
+
{
|
|
67
|
+
label: 'Level three 1-1-1',
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
}
|
|
73
|
+
])
|
|
74
|
+
|
|
75
|
+
const defaultProps = {
|
|
76
|
+
children: 'children',
|
|
77
|
+
label: 'label',
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
function addTreeData() {
|
|
81
|
+
formRef.value.validate(valid =>{
|
|
82
|
+
if (valid){
|
|
83
|
+
if (form.value.id){
|
|
84
|
+
dialogVisible.value = false
|
|
85
|
+
}else {
|
|
86
|
+
data.value.push(form)
|
|
87
|
+
dialogVisible.value = false
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
})
|
|
91
|
+
}
|
|
92
|
+
</script>
|
|
93
|
+
|
|
94
|
+
<style scoped>
|
|
95
|
+
|
|
96
|
+
</style>
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-button type="primary" plain @click="showQuery = !showQuery">查询</el-button>
|
|
3
|
+
<el-button type="primary" @click="dialogVisible = true">添加顶级菜单</el-button>
|
|
4
|
+
<div style="display: flex;margin:8px 0;" v-if="showQuery">
|
|
5
|
+
<el-input style="width: 100%;margin-right: 10px" />
|
|
6
|
+
<el-button type="primary" plain>查询</el-button>
|
|
7
|
+
</div>
|
|
8
|
+
<el-tree
|
|
9
|
+
style="max-width: 600px"
|
|
10
|
+
:data="data"
|
|
11
|
+
draggable
|
|
12
|
+
:props="defaultProps"
|
|
13
|
+
@node-click="handleNodeClick"
|
|
14
|
+
@node-contextmenu="nodeContextmenu"
|
|
15
|
+
/>
|
|
16
|
+
<div v-show="menuVisible">
|
|
17
|
+
<ul v-if="selectNode" id="menu" ref="headerMenu" class="context-menu">
|
|
18
|
+
<li
|
|
19
|
+
id="menu-4994-1-0"
|
|
20
|
+
class="menu__item"
|
|
21
|
+
tabindex="-1"
|
|
22
|
+
@click="() => operationalMenuFun('createCombinedHeader')"
|
|
23
|
+
>
|
|
24
|
+
<el-icon>
|
|
25
|
+
<Plus/>
|
|
26
|
+
</el-icon>
|
|
27
|
+
创建节点
|
|
28
|
+
</li>
|
|
29
|
+
<li
|
|
30
|
+
id="menu-4994-1-1"
|
|
31
|
+
class="menu__item"
|
|
32
|
+
tabindex="-1"
|
|
33
|
+
@click="() => operationalMenuFun('updateCombinedHeader')"
|
|
34
|
+
>
|
|
35
|
+
<el-icon>
|
|
36
|
+
<EditPen/>
|
|
37
|
+
</el-icon>
|
|
38
|
+
修改节点
|
|
39
|
+
</li>
|
|
40
|
+
<li
|
|
41
|
+
id="menu-4994-1-2"
|
|
42
|
+
class="menu__item"
|
|
43
|
+
tabindex="-1"
|
|
44
|
+
@click="() => operationalMenuFun('addListColumn')"
|
|
45
|
+
>
|
|
46
|
+
<el-icon>
|
|
47
|
+
<FolderAdd/>
|
|
48
|
+
</el-icon>
|
|
49
|
+
添加字段
|
|
50
|
+
</li>
|
|
51
|
+
<li
|
|
52
|
+
id="menu-4994-1-3"
|
|
53
|
+
class="menu__item"
|
|
54
|
+
tabindex="-1"
|
|
55
|
+
@click="() => operationalMenuFun('moveToRootNode')"
|
|
56
|
+
>
|
|
57
|
+
<el-icon>
|
|
58
|
+
<Document/>
|
|
59
|
+
</el-icon>
|
|
60
|
+
移动字段到根节点
|
|
61
|
+
</li>
|
|
62
|
+
<li
|
|
63
|
+
id="menu-4994-1-4"
|
|
64
|
+
class="menu__item"
|
|
65
|
+
tabindex="-1"
|
|
66
|
+
@click="() => operationalMenuFun('childMoveToRootNode')"
|
|
67
|
+
>
|
|
68
|
+
<el-icon>
|
|
69
|
+
<Document/>
|
|
70
|
+
</el-icon>
|
|
71
|
+
移出子字段到根节点
|
|
72
|
+
</li>
|
|
73
|
+
<li
|
|
74
|
+
id="menu-4994-1-5"
|
|
75
|
+
class="menu__item"
|
|
76
|
+
tabindex="-1"
|
|
77
|
+
@click="() => operationalMenuFun('deleteNode')"
|
|
78
|
+
>
|
|
79
|
+
<el-icon>
|
|
80
|
+
<Delete/>
|
|
81
|
+
</el-icon>
|
|
82
|
+
删除节点
|
|
83
|
+
</li>
|
|
84
|
+
</ul>
|
|
85
|
+
</div>
|
|
86
|
+
<el-dialog
|
|
87
|
+
v-model="dialogVisible"
|
|
88
|
+
title="Tips"
|
|
89
|
+
width="500"
|
|
90
|
+
>
|
|
91
|
+
<el-form ref="formRef" :model="form" label-width="auto" style="max-width: 600px">
|
|
92
|
+
<el-form-item label="名称" required>
|
|
93
|
+
<el-input v-model="form.label" />
|
|
94
|
+
</el-form-item>
|
|
95
|
+
<el-form-item label="显示顺序">
|
|
96
|
+
<el-input v-model="form.displayOrder" />
|
|
97
|
+
</el-form-item>
|
|
98
|
+
</el-form>
|
|
99
|
+
<template #footer>
|
|
100
|
+
<div class="dialog-footer">
|
|
101
|
+
<el-button @click="dialogVisible = false">取消</el-button>
|
|
102
|
+
<el-button type="primary" @click="addTreeData" >
|
|
103
|
+
确认
|
|
104
|
+
</el-button>
|
|
105
|
+
</div>
|
|
106
|
+
</template>
|
|
107
|
+
</el-dialog>
|
|
108
|
+
</template>
|
|
109
|
+
|
|
110
|
+
<script lang="ts" setup>
|
|
111
|
+
import {ref,reactive} from "vue";
|
|
112
|
+
import {Delete,Document,FolderAdd,EditPen,Plus} from '@element-plus/icons-vue'
|
|
113
|
+
const showQuery = ref(false)
|
|
114
|
+
const dialogVisible = ref(false)
|
|
115
|
+
const form = ref({})
|
|
116
|
+
const formRef = ref(null)
|
|
117
|
+
const menuVisible = ref(false)
|
|
118
|
+
const data = ref([
|
|
119
|
+
{
|
|
120
|
+
label: 'Level one 1',
|
|
121
|
+
children: [
|
|
122
|
+
{
|
|
123
|
+
label: 'Level two 1-1',
|
|
124
|
+
children: [
|
|
125
|
+
{
|
|
126
|
+
label: 'Level three 1-1-1',
|
|
127
|
+
},
|
|
128
|
+
],
|
|
129
|
+
},
|
|
130
|
+
],
|
|
131
|
+
}
|
|
132
|
+
])
|
|
133
|
+
const selectNode = ref({})
|
|
134
|
+
|
|
135
|
+
const defaultProps = {
|
|
136
|
+
children: 'children',
|
|
137
|
+
label: 'label',
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
function addTreeData() {
|
|
141
|
+
formRef.value.validate(valid =>{
|
|
142
|
+
if (valid){
|
|
143
|
+
if (form.value.id){
|
|
144
|
+
dialogVisible.value = false
|
|
145
|
+
}else {
|
|
146
|
+
data.value.push(form)
|
|
147
|
+
dialogVisible.value = false
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
})
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
function handleNodeClick(data:any, node:any){
|
|
154
|
+
menuVisible.value = false
|
|
155
|
+
selectNode.value = node
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
function nodeContextmenu(event:Event, data:object) {
|
|
159
|
+
// if (
|
|
160
|
+
// data.type !== 'ListColumn' &&
|
|
161
|
+
// selectNode.value.data.type !== 'ListColumn'
|
|
162
|
+
// ) {
|
|
163
|
+
// if (selectNode.value && selectNode.value.data) {
|
|
164
|
+
// if (selectNode.value.data.mainId === data.mainId) {
|
|
165
|
+
menuVisible.value = true
|
|
166
|
+
const menu = document.querySelector('#menu')
|
|
167
|
+
const scrollTop =
|
|
168
|
+
document.documentElement.scrollTop || document.body.scrollTop
|
|
169
|
+
menu.style.display = 'block'
|
|
170
|
+
menu.style.left = event.clientX + 30 + 'px'
|
|
171
|
+
// 当滑动滚动条时也能准确获取菜单位置
|
|
172
|
+
menu.style.top = event.clientY + scrollTop - 22 + 'px'
|
|
173
|
+
// } else {
|
|
174
|
+
// ElMessage({
|
|
175
|
+
// showClose: true,
|
|
176
|
+
// type: 'warning',
|
|
177
|
+
// message: 'pleaseSelectTheCorrespondingNodeFirst',
|
|
178
|
+
// })
|
|
179
|
+
// }
|
|
180
|
+
// } else {
|
|
181
|
+
// ElMessage({
|
|
182
|
+
// showClose: true,
|
|
183
|
+
// type: 'warning',
|
|
184
|
+
// message: '请先选中节点',
|
|
185
|
+
// })
|
|
186
|
+
// }
|
|
187
|
+
// }
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
// 触发菜单
|
|
191
|
+
function operationalMenuFun(type) {
|
|
192
|
+
menuVisible.value = false
|
|
193
|
+
if (type === 'updateCombinedHeader') {
|
|
194
|
+
// 修改节点
|
|
195
|
+
form.value = selectNode.value.data
|
|
196
|
+
form.value['id'] = 1
|
|
197
|
+
dialogVisible.value = true
|
|
198
|
+
} else if (type === 'createCombinedHeader') {
|
|
199
|
+
// 创建普通节点
|
|
200
|
+
form.value = {}
|
|
201
|
+
dialogVisible.value = true
|
|
202
|
+
} else if (type === 'addListColumn') {
|
|
203
|
+
// 添加字段
|
|
204
|
+
this.openChoiceColumn()
|
|
205
|
+
} else if (type === 'moveToRootNode') {
|
|
206
|
+
// 移出字段到根节点
|
|
207
|
+
this.moveToRootNode()
|
|
208
|
+
} else if (type === 'childMoveToRootNode') {
|
|
209
|
+
// 移出子字段到根节点
|
|
210
|
+
this.childMoveToRootNode()
|
|
211
|
+
} else if (type === 'deleteNode') {
|
|
212
|
+
// 删除节点
|
|
213
|
+
if (this.selectNode && this.selectNode.data) {
|
|
214
|
+
this.remove(this.selectNode, this.selectNode.data)
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
</script>
|
|
219
|
+
|
|
220
|
+
<style scoped>
|
|
221
|
+
li {
|
|
222
|
+
color: #333;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.context-menu {
|
|
226
|
+
position: fixed;
|
|
227
|
+
background: #fff;
|
|
228
|
+
z-index: 999;
|
|
229
|
+
padding: 5px;
|
|
230
|
+
margin: 0;
|
|
231
|
+
margin-top: 30px;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.context-menu li {
|
|
235
|
+
min-width: 75px;
|
|
236
|
+
height: 28px;
|
|
237
|
+
line-height: 28px;
|
|
238
|
+
text-align: left;
|
|
239
|
+
color: #1a1a1a;
|
|
240
|
+
cursor: pointer;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.context-menu li:hover {
|
|
244
|
+
background: #5893ef;
|
|
245
|
+
color: #fff;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.context-menu {
|
|
249
|
+
border: 1px solid #eee;
|
|
250
|
+
box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
|
|
251
|
+
border-radius: 5px;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
li {
|
|
255
|
+
list-style-type: none;
|
|
256
|
+
}
|
|
257
|
+
</style>
|