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,278 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-dialog
|
|
3
|
+
model-value
|
|
4
|
+
title="事件配置"
|
|
5
|
+
append-to-body
|
|
6
|
+
@before-close="$emit('close')"
|
|
7
|
+
>
|
|
8
|
+
<el-row style="padding-bottom: 8px">
|
|
9
|
+
<el-button
|
|
10
|
+
:icon="CirclePlus"
|
|
11
|
+
plain
|
|
12
|
+
type="primary"
|
|
13
|
+
@click="add"
|
|
14
|
+
>
|
|
15
|
+
添加
|
|
16
|
+
</el-button>
|
|
17
|
+
<el-button
|
|
18
|
+
:icon="Delete"
|
|
19
|
+
plain
|
|
20
|
+
type="primary"
|
|
21
|
+
@click="remove"
|
|
22
|
+
>
|
|
23
|
+
删除
|
|
24
|
+
</el-button>
|
|
25
|
+
</el-row>
|
|
26
|
+
<el-table highlight-current-row @current-change="handleCurrentChange" :data="list" style="width: 100%">
|
|
27
|
+
<el-table-column prop="name" label="事件" align="center">
|
|
28
|
+
<template #default="scope">
|
|
29
|
+
<el-select
|
|
30
|
+
v-model="scope.row.type"
|
|
31
|
+
size="default"
|
|
32
|
+
>
|
|
33
|
+
<el-option v-for="(item,index) in eventList" :key="index" :label="item.label" :value="item.function"/>
|
|
34
|
+
</el-select>
|
|
35
|
+
</template>
|
|
36
|
+
</el-table-column>
|
|
37
|
+
<el-table-column prop="name" label="JS脚本" align="center">
|
|
38
|
+
<template #default="scope">
|
|
39
|
+
<el-button type="primary" @click="opanJSscript(scope.row,scope.$index)">编辑</el-button>
|
|
40
|
+
</template>
|
|
41
|
+
</el-table-column>
|
|
42
|
+
<el-table-column prop="name" label="是否显示" align="center">
|
|
43
|
+
<template #default="scope">
|
|
44
|
+
<el-switch v-model="scope.row.type" />
|
|
45
|
+
</template>
|
|
46
|
+
</el-table-column>
|
|
47
|
+
<el-table-column prop="date" label="按钮显示条件" align="center">
|
|
48
|
+
<template #default="scope">
|
|
49
|
+
<el-input size="default" @click="opencombinationDialog(scope.row)" />
|
|
50
|
+
</template>
|
|
51
|
+
</el-table-column>
|
|
52
|
+
<el-table-column prop="name" label="是否启用必填校验" align="center">
|
|
53
|
+
<template #default="scope">
|
|
54
|
+
<el-switch v-model="scope.row.type" />
|
|
55
|
+
</template>
|
|
56
|
+
</el-table-column>
|
|
57
|
+
<el-table-column prop="name" label="成功后" align="center">
|
|
58
|
+
<template #default="scope">
|
|
59
|
+
<el-select
|
|
60
|
+
v-model="scope.row.type"
|
|
61
|
+
size="default"
|
|
62
|
+
>
|
|
63
|
+
<el-option label="无操作" value="noOperation"/>
|
|
64
|
+
<el-option label="刷新" value="refresh"/>
|
|
65
|
+
<el-option label="关闭窗口" value="closeWindow"/>
|
|
66
|
+
<el-option label="关闭窗口并刷新列表" value="closeWindowAndRefresh"/>
|
|
67
|
+
</el-select>
|
|
68
|
+
</template>
|
|
69
|
+
</el-table-column>
|
|
70
|
+
<el-table-column prop="name" label="日志设置" align="center">
|
|
71
|
+
<template #default="scope">
|
|
72
|
+
<el-button type="primary" @click="journalSetVisible = true">编辑</el-button>
|
|
73
|
+
</template>
|
|
74
|
+
</el-table-column>
|
|
75
|
+
<el-table-column prop="name" label="任务触发" align="center">
|
|
76
|
+
<template #default="scope">
|
|
77
|
+
<el-button type="primary" @click="openTaskTriggerDialog(scope.row)">编辑</el-button>
|
|
78
|
+
</template>
|
|
79
|
+
</el-table-column>
|
|
80
|
+
</el-table>
|
|
81
|
+
<el-dialog tittle="JS脚本" v-model="JSscriptVisible">
|
|
82
|
+
<Codemirror
|
|
83
|
+
v-model="jsData"
|
|
84
|
+
:options="codemirrorOptions"
|
|
85
|
+
/>
|
|
86
|
+
<template #footer>
|
|
87
|
+
<div class="dialog-footer">
|
|
88
|
+
<el-button @click="JSscriptVisible = true">取消</el-button>
|
|
89
|
+
<el-button type="primary" @click="JSscriptVisibleClose">
|
|
90
|
+
确定
|
|
91
|
+
</el-button>
|
|
92
|
+
</div>
|
|
93
|
+
</template>
|
|
94
|
+
</el-dialog>
|
|
95
|
+
|
|
96
|
+
<template #footer>
|
|
97
|
+
<div class="dialog-footer">
|
|
98
|
+
<el-button @click="$emit('close')">取消</el-button>
|
|
99
|
+
<el-button type="primary" @click="$emit('close')">
|
|
100
|
+
确定
|
|
101
|
+
</el-button>
|
|
102
|
+
</div>
|
|
103
|
+
</template>
|
|
104
|
+
<!--可配置条件-->
|
|
105
|
+
<combinationDialog
|
|
106
|
+
:list="combinationList"
|
|
107
|
+
@close="closeCombination"
|
|
108
|
+
v-if="combinationVisible" />
|
|
109
|
+
|
|
110
|
+
<!--日志设置-->
|
|
111
|
+
<journalSetDialog
|
|
112
|
+
@close="closeJournalSet"
|
|
113
|
+
v-if="journalSetVisible" />
|
|
114
|
+
|
|
115
|
+
<!--任务触发-->
|
|
116
|
+
<taskTriggerDialog
|
|
117
|
+
:list="taskList"
|
|
118
|
+
@close="closeTask"
|
|
119
|
+
v-if="taskVisible" />
|
|
120
|
+
</el-dialog>
|
|
121
|
+
</template>
|
|
122
|
+
|
|
123
|
+
<script setup lang="ts">
|
|
124
|
+
import {CirclePlus,Delete} from '@element-plus/icons-vue'
|
|
125
|
+
import combinationDialog from './combination.vue'
|
|
126
|
+
import taskTriggerDialog from './task-trigger-dialog.vue'
|
|
127
|
+
import journalSetDialog from './journal-set-dialog.vue'
|
|
128
|
+
import {Codemirror} from 'vue-codemirror'
|
|
129
|
+
import {ref} from "vue";
|
|
130
|
+
|
|
131
|
+
const props = defineProps({
|
|
132
|
+
list:Array
|
|
133
|
+
});
|
|
134
|
+
const currentRow = ref({})
|
|
135
|
+
const combinationVisible = ref(false)
|
|
136
|
+
const combinationList = ref({})
|
|
137
|
+
const taskVisible = ref(false)
|
|
138
|
+
const taskList = ref({})
|
|
139
|
+
const journalSetVisible = ref(false)
|
|
140
|
+
const JSscriptVisible = ref(false)
|
|
141
|
+
const jsData = ref('')
|
|
142
|
+
const clickRowIndex = ref(null)
|
|
143
|
+
|
|
144
|
+
const eventList = [
|
|
145
|
+
{
|
|
146
|
+
label: '保存',
|
|
147
|
+
function: 'startInstance',
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
label: '提交流程',
|
|
151
|
+
function: 'submitProcess',
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
label: '办理任务',
|
|
155
|
+
function: 'completeTask',
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
label: 'retrieveTask',
|
|
159
|
+
function: 'retrieveTask',
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
label: '指派',
|
|
163
|
+
function: 'assignTask',
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
label: '领取',
|
|
167
|
+
function: 'drawTask',
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
label: '放弃领取',
|
|
171
|
+
function: 'abandonDraw',
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
label: '驳回',
|
|
175
|
+
function: 'returnToPreviousTask',
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
label: '退回',
|
|
179
|
+
function: 'returnTaskTo',
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
label: '强制结束',
|
|
183
|
+
function: 'endInstance',
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
label: '加签',
|
|
187
|
+
function: 'addSigner',
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
label: '减签',
|
|
191
|
+
function: 'removeSigner',
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
label: '抄送',
|
|
195
|
+
function: 'createCopyTask',
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
label: '选择办理人',
|
|
199
|
+
function: 'selectTransactors',
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
label: '选择环节',
|
|
203
|
+
function: 'selectTaches',
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
label: '导出报告',
|
|
207
|
+
function: 'exportReport',
|
|
208
|
+
},
|
|
209
|
+
]
|
|
210
|
+
|
|
211
|
+
const codemirrorOptions = {
|
|
212
|
+
tabSize: 4,
|
|
213
|
+
styleActiveLine: true,
|
|
214
|
+
lineNumbers: true,
|
|
215
|
+
line: true,
|
|
216
|
+
mode: 'text/javascript',
|
|
217
|
+
lineWrapping: true, // 自动换行
|
|
218
|
+
theme: 'default',
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
function closeJournalSet(){
|
|
222
|
+
journalSetVisible.value = false
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
function closeCombination(){
|
|
226
|
+
combinationVisible.value = false
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
function opencombinationDialog(row:object){
|
|
230
|
+
combinationList.value = row.combination
|
|
231
|
+
combinationVisible.value = true
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
function openTaskTriggerDialog(row:object){
|
|
235
|
+
taskList.value = row.task
|
|
236
|
+
taskVisible.value = true
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
function closeTask (){
|
|
240
|
+
taskVisible.value = false
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
function opanJSscript(row:object,index){
|
|
244
|
+
JSscriptVisible.value = true
|
|
245
|
+
jsData.value = row.jsContent
|
|
246
|
+
clickRowIndex.value = index
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
function JSscriptVisibleClose() {
|
|
250
|
+
props.list.forEach((item,index) =>{
|
|
251
|
+
if (index === clickRowIndex.value){
|
|
252
|
+
item.jsContent = jsData.value
|
|
253
|
+
}
|
|
254
|
+
})
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
function remove(){
|
|
258
|
+
props.list = props.list.filter(item => item !== currentRow.value)
|
|
259
|
+
}
|
|
260
|
+
function handleCurrentChange(val){
|
|
261
|
+
currentRow.value = val
|
|
262
|
+
}
|
|
263
|
+
function add(){
|
|
264
|
+
props.list.push({
|
|
265
|
+
leftBracket:'',
|
|
266
|
+
propName:'',
|
|
267
|
+
operator:'',
|
|
268
|
+
propValueType:'',
|
|
269
|
+
rightBracket:'',
|
|
270
|
+
joinSign:'',
|
|
271
|
+
jsContent:''
|
|
272
|
+
})
|
|
273
|
+
}
|
|
274
|
+
</script>
|
|
275
|
+
|
|
276
|
+
<style scoped>
|
|
277
|
+
|
|
278
|
+
</style>
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-dialog
|
|
3
|
+
model-value
|
|
4
|
+
title="自动设值"
|
|
5
|
+
append-to-body
|
|
6
|
+
width="40%"
|
|
7
|
+
@before-close="$emit('close')"
|
|
8
|
+
>
|
|
9
|
+
<el-tag
|
|
10
|
+
v-for="(item,index) in dynamicTags"
|
|
11
|
+
:key="index"
|
|
12
|
+
closable
|
|
13
|
+
size="large"
|
|
14
|
+
:type="getType(item)"
|
|
15
|
+
@close="removeTag(item)"
|
|
16
|
+
>
|
|
17
|
+
{{item.name}}
|
|
18
|
+
</el-tag>
|
|
19
|
+
<el-input
|
|
20
|
+
v-if="textStatr"
|
|
21
|
+
size="default"
|
|
22
|
+
style="width: 200px;margin-left: 10px"
|
|
23
|
+
v-model="inputTag"
|
|
24
|
+
@blur="handleInputConfirm"
|
|
25
|
+
@keyup.enter="handleInputConfirm"/>
|
|
26
|
+
<el-button-group v-else style="margin-left: 10px">
|
|
27
|
+
<el-button size="default" type="primary" :icon="EditPen" @click="tagText">输入文字</el-button>
|
|
28
|
+
<el-button size="default" type="primary" @click="fidldDialogVisible = true">
|
|
29
|
+
选择字段<el-icon class="el-icon--right"><Search /></el-icon>
|
|
30
|
+
</el-button>
|
|
31
|
+
</el-button-group>
|
|
32
|
+
<el-dialog
|
|
33
|
+
v-model="fidldDialogVisible"
|
|
34
|
+
width=30%
|
|
35
|
+
title="选择字段"
|
|
36
|
+
>
|
|
37
|
+
<el-tabs
|
|
38
|
+
v-model="activeName"
|
|
39
|
+
type="card"
|
|
40
|
+
class="demo-tabs"
|
|
41
|
+
>
|
|
42
|
+
<el-tab-pane label="标准字段" name="standard">
|
|
43
|
+
<el-radio-group v-model="selectField" class="ml-4">
|
|
44
|
+
<el-radio
|
|
45
|
+
v-for="(item,index) in standardData"
|
|
46
|
+
:value="item.value"
|
|
47
|
+
:key="index"
|
|
48
|
+
size="large">
|
|
49
|
+
{{ item.name }}
|
|
50
|
+
</el-radio>
|
|
51
|
+
</el-radio-group>
|
|
52
|
+
</el-tab-pane>
|
|
53
|
+
<el-tab-pane label="数据库字段" name="database">
|
|
54
|
+
<el-radio-group v-model="selectField" class="ml-4">
|
|
55
|
+
<el-radio
|
|
56
|
+
v-for="(item,index) in databaseField"
|
|
57
|
+
:value="item.value"
|
|
58
|
+
:key="index"
|
|
59
|
+
size="large">
|
|
60
|
+
{{ item.name }}
|
|
61
|
+
</el-radio>
|
|
62
|
+
</el-radio-group>
|
|
63
|
+
</el-tab-pane>
|
|
64
|
+
</el-tabs>
|
|
65
|
+
<template #footer>
|
|
66
|
+
<div class="dialog-footer">
|
|
67
|
+
<el-button @click="fidldDialogVisible = true">取消</el-button>
|
|
68
|
+
<el-button type="primary" @click="addRadioConfirm">
|
|
69
|
+
确定
|
|
70
|
+
</el-button>
|
|
71
|
+
</div>
|
|
72
|
+
</template>
|
|
73
|
+
</el-dialog>
|
|
74
|
+
<template #footer>
|
|
75
|
+
<div class="dialog-footer">
|
|
76
|
+
<el-button @click="$emit('close')">取消</el-button>
|
|
77
|
+
<el-button type="primary" @click="$emit('close')">
|
|
78
|
+
确定
|
|
79
|
+
</el-button>
|
|
80
|
+
</div>
|
|
81
|
+
</template>
|
|
82
|
+
</el-dialog>
|
|
83
|
+
</template>
|
|
84
|
+
|
|
85
|
+
<script setup lang="ts">
|
|
86
|
+
import {
|
|
87
|
+
EditPen,
|
|
88
|
+
Search,
|
|
89
|
+
} from '@element-plus/icons-vue'
|
|
90
|
+
import {ref} from "vue";
|
|
91
|
+
const dynamicTags = ref([
|
|
92
|
+
{name:111,type:'1'},
|
|
93
|
+
{name:222,type:'2'},
|
|
94
|
+
{name:333,type:'2'},
|
|
95
|
+
{name:444,type:'2'},
|
|
96
|
+
{name:555,type:'1'},
|
|
97
|
+
{name:555,type:'1'},
|
|
98
|
+
{name:555,type:'1'},
|
|
99
|
+
{name:555,type:'1'},
|
|
100
|
+
{name:555,type:'1'},
|
|
101
|
+
{name:555,type:'1'},
|
|
102
|
+
{name:555,type:'1'},
|
|
103
|
+
])
|
|
104
|
+
const standardData = [
|
|
105
|
+
{name:'当前时间',type:'2',value:'${context.currentTime}'},
|
|
106
|
+
{name:'当前用户登录名',type:'2',value:'${context.currentTransactor}'},
|
|
107
|
+
{name:'当前用户姓名',type:'2',value:'${context.currentTransactorName}'},
|
|
108
|
+
{name:'当前用户id',type:'2',value:'${context.currentTransactorId}'},
|
|
109
|
+
{name:'当前用户部门id',type:'2',value:'${context.currentTransactorMainDepartmentId}'},
|
|
110
|
+
{name:'当前用户部门名称',type:'2',value:'${context.currentTransactorMainDepartment}'},
|
|
111
|
+
{name:'当前用户角色id',type:'2',value:'${context.currentTransactorRoleId}'},
|
|
112
|
+
{name:'当前用户角色名称',type:'2',value:'${context.currentTransactorRole}'},
|
|
113
|
+
{name:'当前用户工作组id',type:'2',value:'${context.currentTransactorWorkGroupId}'},
|
|
114
|
+
{name:'当前用户工作组名称',type:'2',value:'${context.currentTransactorWorkGroup}'},
|
|
115
|
+
{name:'当前用户所属分支名称',type:'2',value:'${context.currentTransactorBranchName}'},
|
|
116
|
+
{name:'当前用户所属分支id',type:'2',value:'${context.currentTransactorBranchId}'},
|
|
117
|
+
]
|
|
118
|
+
const databaseField = [
|
|
119
|
+
{name:'数据库字段1',type:'2',value:'${context.database1}'},
|
|
120
|
+
{name:'数据库字段2',type:'2',value:'${context.database2}'},
|
|
121
|
+
{name:'数据库字段3',type:'2',value:'${context.database3}'},
|
|
122
|
+
]
|
|
123
|
+
const textStatr = ref(false)
|
|
124
|
+
const inputTag = ref('')
|
|
125
|
+
const fidldDialogVisible = ref(false)
|
|
126
|
+
const selectField = ref('')
|
|
127
|
+
const activeName = ref('standard')
|
|
128
|
+
|
|
129
|
+
// 获取tag type
|
|
130
|
+
function getType(tab:object){
|
|
131
|
+
if (tab.type === '2'){
|
|
132
|
+
return 'success'
|
|
133
|
+
}else {
|
|
134
|
+
return null
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
// 添加输入项
|
|
139
|
+
function handleInputConfirm(){
|
|
140
|
+
if (inputTag.value != ''){
|
|
141
|
+
let obj = {name:inputTag.value}
|
|
142
|
+
dynamicTags.value.push(obj)
|
|
143
|
+
textStatr.value = false
|
|
144
|
+
inputTag.value = ''
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
// 添加选择项
|
|
148
|
+
function addRadioConfirm(){
|
|
149
|
+
if (selectField.value != ''){
|
|
150
|
+
let obj = {name:selectField.value}
|
|
151
|
+
dynamicTags.value.push(obj)
|
|
152
|
+
fidldDialogVisible.value = false
|
|
153
|
+
selectField.value = ''
|
|
154
|
+
}else {
|
|
155
|
+
fidldDialogVisible.value = false
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
function removeTag(tagItem:object) {
|
|
160
|
+
dynamicTags.value = dynamicTags.value.filter(item => item!= tagItem)
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
// 获取文字
|
|
164
|
+
function tagText(){
|
|
165
|
+
textStatr.value = true
|
|
166
|
+
inputTag.value = ''
|
|
167
|
+
}
|
|
168
|
+
</script>
|
|
169
|
+
|
|
170
|
+
<style scoped>
|
|
171
|
+
.el-tag{
|
|
172
|
+
margin-left: 10px;
|
|
173
|
+
}
|
|
174
|
+
</style>
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-dialog
|
|
3
|
+
model-value
|
|
4
|
+
title="逻辑设置"
|
|
5
|
+
append-to-body
|
|
6
|
+
@before-close="$emit('close')"
|
|
7
|
+
>
|
|
8
|
+
<el-row style="padding-bottom: 8px">
|
|
9
|
+
<el-button
|
|
10
|
+
:icon="CirclePlus"
|
|
11
|
+
plain
|
|
12
|
+
type="primary"
|
|
13
|
+
@click="add"
|
|
14
|
+
>
|
|
15
|
+
添加
|
|
16
|
+
</el-button>
|
|
17
|
+
<el-button
|
|
18
|
+
:icon="Delete"
|
|
19
|
+
plain
|
|
20
|
+
type="primary"
|
|
21
|
+
@click="remove"
|
|
22
|
+
>
|
|
23
|
+
删除
|
|
24
|
+
</el-button>
|
|
25
|
+
</el-row>
|
|
26
|
+
<el-table highlight-current-row @current-change="handleCurrentChange" :data="list" style="width: 100%">
|
|
27
|
+
<el-table-column prop="date" label="节点" align="center">
|
|
28
|
+
<template #default="scope">
|
|
29
|
+
<el-select
|
|
30
|
+
v-model="scope.row.nodeId"
|
|
31
|
+
clearable
|
|
32
|
+
>
|
|
33
|
+
<el-option label="1" value="1"/>
|
|
34
|
+
</el-select>
|
|
35
|
+
</template>
|
|
36
|
+
</el-table-column>
|
|
37
|
+
<el-table-column label="可执行条件" align="center">
|
|
38
|
+
<template #default="scope">
|
|
39
|
+
<el-button type="primary" @click="opencombinationDialog(scope.row)">编辑</el-button>
|
|
40
|
+
</template>
|
|
41
|
+
</el-table-column>
|
|
42
|
+
<el-table-column label="自动赋值" align="center">
|
|
43
|
+
<template #default="scope">
|
|
44
|
+
<el-button type="primary" @click="openSetVisible(scope.row)">编辑</el-button>
|
|
45
|
+
</template>
|
|
46
|
+
</el-table-column>
|
|
47
|
+
<el-table-column label="转换规则" align="center">
|
|
48
|
+
<template #default="scope">
|
|
49
|
+
<el-button type="primary" @click="openRuleVisible(scope.row)">编辑</el-button>
|
|
50
|
+
</template>
|
|
51
|
+
</el-table-column>
|
|
52
|
+
<el-table-column prop="date" label="不同意时意见是否必填" align="center">
|
|
53
|
+
<template #default="scope">
|
|
54
|
+
<el-switch v-model="scope.row.isOpinionRequired" />
|
|
55
|
+
</template>
|
|
56
|
+
</el-table-column>
|
|
57
|
+
</el-table>
|
|
58
|
+
<template #footer>
|
|
59
|
+
<div class="dialog-footer">
|
|
60
|
+
<el-button @click="$emit('close')">取消</el-button>
|
|
61
|
+
<el-button type="primary" @click="$emit('close')">
|
|
62
|
+
确定
|
|
63
|
+
</el-button>
|
|
64
|
+
</div>
|
|
65
|
+
</template>
|
|
66
|
+
|
|
67
|
+
<!--可执行条件-->
|
|
68
|
+
<combinationDialog
|
|
69
|
+
:list="combinationList"
|
|
70
|
+
@close="closeCombination"
|
|
71
|
+
v-if="combinationVisible" />
|
|
72
|
+
|
|
73
|
+
<!--自动赋值-->
|
|
74
|
+
<setDialog
|
|
75
|
+
:list="setList"
|
|
76
|
+
v-if="setVisible"
|
|
77
|
+
@close="closeSetDialog"/>
|
|
78
|
+
|
|
79
|
+
<!--转换规则-->
|
|
80
|
+
<ruleDialog
|
|
81
|
+
:list="ruleList"
|
|
82
|
+
v-if="ruleVisible"
|
|
83
|
+
@close="closeRuleDialog"/>
|
|
84
|
+
</el-dialog>
|
|
85
|
+
</template>
|
|
86
|
+
|
|
87
|
+
<script setup lang="ts">
|
|
88
|
+
import {ref} from "vue";
|
|
89
|
+
import {CirclePlus,Delete} from '@element-plus/icons-vue'
|
|
90
|
+
import combinationDialog from './combination.vue'
|
|
91
|
+
import setDialog from '../component/set-dialog.vue'
|
|
92
|
+
import ruleDialog from '../component/rule-dialog.vue'
|
|
93
|
+
|
|
94
|
+
const props = defineProps({
|
|
95
|
+
list:Array
|
|
96
|
+
});
|
|
97
|
+
const $emit = defineEmits(['remove'])
|
|
98
|
+
const currentRow = ref({})
|
|
99
|
+
const combinationVisible = ref(false)
|
|
100
|
+
const combinationList = ref([])
|
|
101
|
+
const setVisible = ref(false)
|
|
102
|
+
const setList = ref([])
|
|
103
|
+
const ruleVisible = ref(false)
|
|
104
|
+
const ruleList = ref([])
|
|
105
|
+
|
|
106
|
+
function opencombinationDialog(row:object){
|
|
107
|
+
combinationList.value = row.executable
|
|
108
|
+
combinationVisible.value = true
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
function openSetVisible(row:object) {
|
|
112
|
+
setList.value = row.voluntarily
|
|
113
|
+
setVisible.value = true
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
function openRuleVisible(row:object) {
|
|
117
|
+
ruleList.value = row.transition
|
|
118
|
+
ruleVisible.value = true
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
function closeCombination(){
|
|
122
|
+
combinationVisible.value = false
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
function remove(){
|
|
126
|
+
$emit('remove',currentRow.value)
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
function closeSetDialog(){
|
|
130
|
+
setVisible.value = false
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
function closeRuleDialog() {
|
|
134
|
+
ruleVisible.value = false
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
function add(){
|
|
138
|
+
props.list.push({
|
|
139
|
+
leftBracket:'',
|
|
140
|
+
propName:'',
|
|
141
|
+
operator:'',
|
|
142
|
+
propValueType:'',
|
|
143
|
+
rightBracket:'',
|
|
144
|
+
joinSign:''
|
|
145
|
+
})
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
function handleCurrentChange(val){
|
|
149
|
+
currentRow.value = val
|
|
150
|
+
}
|
|
151
|
+
</script>
|
|
152
|
+
|
|
153
|
+
<style scoped>
|
|
154
|
+
|
|
155
|
+
</style>
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-dialog
|
|
3
|
+
model-value
|
|
4
|
+
title="转换规则"
|
|
5
|
+
append-to-body
|
|
6
|
+
@before-close="$emit('close')"
|
|
7
|
+
>
|
|
8
|
+
<el-table highlight-current-row @current-change="handleCurrentChange" :data="list" style="width: 100%">
|
|
9
|
+
<el-table-column type="selection" width="55" />
|
|
10
|
+
<el-table-column type="index" label="序号" />
|
|
11
|
+
<el-table-column prop="date" label="规则编号" align="center" />
|
|
12
|
+
<el-table-column prop="date" label="规则名称" align="center" />
|
|
13
|
+
</el-table>
|
|
14
|
+
<template #footer>
|
|
15
|
+
<div class="dialog-footer">
|
|
16
|
+
<el-button @click="$emit('close')">取消</el-button>
|
|
17
|
+
<el-button type="primary" @click="$emit('close')">
|
|
18
|
+
确定
|
|
19
|
+
</el-button>
|
|
20
|
+
</div>
|
|
21
|
+
</template>
|
|
22
|
+
</el-dialog>
|
|
23
|
+
</template>
|
|
24
|
+
|
|
25
|
+
<script setup lang="ts">
|
|
26
|
+
import {ref} from "vue";
|
|
27
|
+
|
|
28
|
+
const props = defineProps({
|
|
29
|
+
list:Array
|
|
30
|
+
});
|
|
31
|
+
const currentRow = ref({})
|
|
32
|
+
const combinationVisible = ref(false)
|
|
33
|
+
const combinationList = ref({})
|
|
34
|
+
|
|
35
|
+
function opencombinationDialog(row:object){
|
|
36
|
+
combinationList.value = row.combination
|
|
37
|
+
combinationVisible.value = true
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
function handleCurrentChange(val){
|
|
41
|
+
currentRow.value = val
|
|
42
|
+
}
|
|
43
|
+
</script>
|
|
44
|
+
|
|
45
|
+
<style scoped>
|
|
46
|
+
|
|
47
|
+
</style>
|