yg-yygl 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/account/index.d.ts +132 -0
- package/dist/api/account/index.mjs +92 -0
- package/dist/api/account/types.d.ts +58 -0
- package/dist/api/account/types.mjs +0 -0
- package/dist/api/app-menu/config/index.d.ts +167 -0
- package/dist/api/app-menu/config/index.mjs +76 -0
- package/dist/api/app-menu/config/types.d.ts +91 -0
- package/dist/api/app-menu/config/types.mjs +0 -0
- package/dist/api/app-menu/index.d.ts +140 -0
- package/dist/api/app-menu/index.mjs +95 -0
- package/dist/api/app-menu/menu.d.ts +107 -0
- package/dist/api/app-menu/menu.mjs +85 -0
- package/dist/api/app-menu/menuTypes.d.ts +143 -0
- package/dist/api/app-menu/menuTypes.mjs +0 -0
- package/dist/api/app-menu/types.d.ts +112 -0
- package/dist/api/app-menu/types.mjs +0 -0
- package/dist/api/cache/index.d.ts +49 -0
- package/dist/api/cache/index.mjs +19 -0
- package/dist/api/codegen/index.d.ts +81 -0
- package/dist/api/codegen/index.mjs +225 -0
- package/dist/api/codegen/template-file.d.ts +39 -0
- package/dist/api/codegen/template-file.mjs +45 -0
- package/dist/api/codegen/template-group.d.ts +43 -0
- package/dist/api/codegen/template-group.mjs +52 -0
- package/dist/api/codegen/types.d.ts +1 -0
- package/dist/api/codegen/types.mjs +1 -0
- package/dist/api/column-manager/index.d.ts +30 -0
- package/dist/api/column-manager/index.mjs +31 -0
- package/dist/api/column-manager/types.d.ts +28 -0
- package/dist/api/column-manager/types.mjs +0 -0
- package/dist/api/consult/index.d.ts +100 -0
- package/dist/api/consult/index.mjs +45 -0
- package/dist/api/data-connect/index.d.ts +39 -0
- package/dist/api/data-connect/index.mjs +25 -0
- package/dist/api/data-connect/types.d.ts +74 -0
- package/dist/api/data-connect/types.mjs +0 -0
- package/dist/api/data-interface/index.d.ts +113 -0
- package/dist/api/data-interface/index.mjs +75 -0
- package/dist/api/data-interface/types.d.ts +253 -0
- package/dist/api/data-interface/types.mjs +23 -0
- package/dist/api/data-modeling/index.d.ts +96 -0
- package/dist/api/data-modeling/index.mjs +76 -0
- package/dist/api/data-modeling/types.d.ts +59 -0
- package/dist/api/data-modeling/types.mjs +0 -0
- package/dist/api/department/index.d.ts +20 -0
- package/dist/api/department/index.mjs +81 -0
- package/dist/api/dic/index.d.ts +193 -0
- package/dist/api/dic/index.mjs +141 -0
- package/dist/api/dic/types.d.ts +52 -0
- package/dist/api/dic/types.mjs +0 -0
- package/dist/api/dictionary/index.d.ts +76 -0
- package/dist/api/dictionary/index.mjs +38 -0
- package/dist/api/example/index.d.ts +5 -0
- package/dist/api/example/index.mjs +16 -0
- package/dist/api/file-config/index.d.ts +38 -0
- package/dist/api/file-config/index.mjs +25 -0
- package/dist/api/file-config/types.d.ts +77 -0
- package/dist/api/file-config/types.mjs +6 -0
- package/dist/api/file-info/index.d.ts +23 -0
- package/dist/api/file-info/index.mjs +25 -0
- package/dist/api/file-info/types.d.ts +53 -0
- package/dist/api/file-info/types.mjs +0 -0
- package/dist/api/icon/index.d.ts +75 -0
- package/dist/api/icon/index.mjs +64 -0
- package/dist/api/icon/types.d.ts +48 -0
- package/dist/api/icon/types.mjs +0 -0
- package/dist/api/index.d.ts +22 -0
- package/dist/api/index.mjs +33 -0
- package/dist/api/interface-oauth/index.d.ts +101 -0
- package/dist/api/interface-oauth/index.mjs +74 -0
- package/dist/api/interface-oauth/types.d.ts +118 -0
- package/dist/api/interface-oauth/types.mjs +0 -0
- package/dist/api/launchpage/index.d.ts +37 -0
- package/dist/api/launchpage/index.mjs +22 -0
- package/dist/api/llm/index.d.ts +21 -0
- package/dist/api/llm/index.mjs +56 -0
- package/dist/api/llm/types.d.ts +111 -0
- package/dist/api/llm/types.mjs +0 -0
- package/dist/api/log/index.d.ts +18 -0
- package/dist/api/log/index.mjs +13 -0
- package/dist/api/log/types.d.ts +59 -0
- package/dist/api/log/types.mjs +0 -0
- package/dist/api/login/index.d.ts +68 -0
- package/dist/api/login/index.mjs +41 -0
- package/dist/api/login/types.d.ts +112 -0
- package/dist/api/login/types.mjs +0 -0
- package/dist/api/login/util.d.ts +24 -0
- package/dist/api/login/util.mjs +103 -0
- package/dist/api/mail/index.d.ts +147 -0
- package/dist/api/mail/index.mjs +116 -0
- package/dist/api/mail/types.d.ts +248 -0
- package/dist/api/mail/types.mjs +0 -0
- package/dist/api/menu/index.d.ts +73 -0
- package/dist/api/menu/index.mjs +57 -0
- package/dist/api/menu/types.d.ts +90 -0
- package/dist/api/menu/types.mjs +0 -0
- package/dist/api/msg/index.d.ts +142 -0
- package/dist/api/msg/index.mjs +87 -0
- package/dist/api/msg/types.d.ts +149 -0
- package/dist/api/msg/types.mjs +0 -0
- package/dist/api/notice/index.d.ts +25 -0
- package/dist/api/notice/index.mjs +13 -0
- package/dist/api/online-user/index.d.ts +14 -0
- package/dist/api/online-user/index.mjs +7 -0
- package/dist/api/online-user/types.d.ts +19 -0
- package/dist/api/online-user/types.mjs +0 -0
- package/dist/api/personal-center/index.d.ts +3 -0
- package/dist/api/personal-center/index.mjs +12 -0
- package/dist/api/personal-center/types.d.ts +37 -0
- package/dist/api/personal-center/types.mjs +0 -0
- package/dist/api/post/index.d.ts +67 -0
- package/dist/api/post/index.mjs +49 -0
- package/dist/api/preference/index.d.ts +12 -0
- package/dist/api/preference/index.mjs +7 -0
- package/dist/api/preference/types.d.ts +10 -0
- package/dist/api/preference/types.mjs +0 -0
- package/dist/api/quartz/index.d.ts +49 -0
- package/dist/api/quartz/index.mjs +40 -0
- package/dist/api/request.d.ts +31 -0
- package/dist/api/request.mjs +52 -0
- package/dist/api/role/index.d.ts +123 -0
- package/dist/api/role/index.mjs +55 -0
- package/dist/api/seal/demo-types.d.ts +105 -0
- package/dist/api/seal/demo-types.mjs +0 -0
- package/dist/api/seal/demo.d.ts +17 -0
- package/dist/api/seal/demo.mjs +33 -0
- package/dist/api/seal/index.d.ts +92 -0
- package/dist/api/seal/index.mjs +57 -0
- package/dist/api/seal/types.d.ts +158 -0
- package/dist/api/seal/types.mjs +11 -0
- package/dist/api/sensitiveword/index.d.ts +18 -0
- package/dist/api/sensitiveword/index.mjs +52 -0
- package/dist/api/sensitiveword/types.d.ts +73 -0
- package/dist/api/sensitiveword/types.mjs +0 -0
- package/dist/api/server-monitor/index.d.ts +69 -0
- package/dist/api/server-monitor/index.mjs +10 -0
- package/dist/api/sms/index.d.ts +134 -0
- package/dist/api/sms/index.mjs +107 -0
- package/dist/api/sms/types.d.ts +192 -0
- package/dist/api/sms/types.mjs +0 -0
- package/dist/api/sys/menu.d.ts +100 -0
- package/dist/api/sys/menu.mjs +51 -0
- package/dist/api/sys-config/index.d.ts +46 -0
- package/dist/api/sys-config/index.mjs +18 -0
- package/dist/api/template-config/index.d.ts +45 -0
- package/dist/api/template-config/index.mjs +31 -0
- package/dist/api/tenant/index.d.ts +59 -0
- package/dist/api/tenant/index.mjs +53 -0
- package/dist/api/tenant/types.d.ts +68 -0
- package/dist/api/tenant/types.mjs +0 -0
- package/dist/api/user/index.d.ts +32 -0
- package/dist/api/user/index.mjs +74 -0
- package/dist/api/user/types.d.ts +67 -0
- package/dist/api/user/types.mjs +0 -0
- package/dist/components/account-item/index.d.ts +1 -0
- package/dist/components/account-item/index.mjs +1 -0
- package/dist/components/account-item/src/account-item.d.vue.ts +17 -0
- package/dist/components/account-item/src/account-item.vue +121 -0
- package/dist/components/account-item/src/account-item.vue.d.ts +17 -0
- package/dist/components/account-switch-dialog/index.d.ts +3 -0
- package/dist/components/account-switch-dialog/index.mjs +3 -0
- package/dist/components/account-switch-dialog/src/account-switch-dialog.d.vue.ts +9 -0
- package/dist/components/account-switch-dialog/src/account-switch-dialog.vue +238 -0
- package/dist/components/account-switch-dialog/src/account-switch-dialog.vue.d.ts +9 -0
- package/dist/components/app-menu-tree/index.d.ts +1 -0
- package/dist/components/app-menu-tree/index.mjs +1 -0
- package/dist/components/app-menu-tree/src/app-menu-tree.d.vue.ts +2 -0
- package/dist/components/app-menu-tree/src/app-menu-tree.vue +47 -0
- package/dist/components/app-menu-tree/src/app-menu-tree.vue.d.ts +2 -0
- package/dist/components/avatar-cropper/index.d.ts +1 -0
- package/dist/components/avatar-cropper/index.mjs +1 -0
- package/dist/components/avatar-cropper/src/avatar-cropper.d.vue.ts +90 -0
- package/dist/components/avatar-cropper/src/avatar-cropper.vue +142 -0
- package/dist/components/avatar-cropper/src/avatar-cropper.vue.d.ts +90 -0
- package/dist/components/content-card/index.d.ts +1 -0
- package/dist/components/content-card/index.mjs +1 -0
- package/dist/components/content-card/src/content-card.d.vue.ts +18 -0
- package/dist/components/content-card/src/content-card.vue +21 -0
- package/dist/components/content-card/src/content-card.vue.d.ts +18 -0
- package/dist/components/custom-tags/index.d.ts +3 -0
- package/dist/components/custom-tags/index.mjs +3 -0
- package/dist/components/custom-tags/src/gender-tag.d.vue.ts +32 -0
- package/dist/components/custom-tags/src/gender-tag.vue +111 -0
- package/dist/components/custom-tags/src/gender-tag.vue.d.ts +32 -0
- package/dist/components/custom-tags/src/status-tag.d.vue.ts +51 -0
- package/dist/components/custom-tags/src/status-tag.vue +90 -0
- package/dist/components/custom-tags/src/status-tag.vue.d.ts +51 -0
- package/dist/components/custom-tags/src/tag.d.vue.ts +40 -0
- package/dist/components/custom-tags/src/tag.vue +84 -0
- package/dist/components/custom-tags/src/tag.vue.d.ts +40 -0
- package/dist/components/department-form.d.vue.ts +29 -0
- package/dist/components/department-form.vue +711 -0
- package/dist/components/department-form.vue.d.ts +29 -0
- package/dist/components/department-tree/index.d.ts +1 -0
- package/dist/components/department-tree/index.mjs +1 -0
- package/dist/components/department-tree/src/department-tree.d.vue.ts +9 -0
- package/dist/components/department-tree/src/department-tree.vue +419 -0
- package/dist/components/department-tree/src/department-tree.vue.d.ts +9 -0
- package/dist/components/department-tree.d.vue.ts +9 -0
- package/dist/components/department-tree.vue +409 -0
- package/dist/components/department-tree.vue.d.ts +9 -0
- package/dist/components/expand-attribute/index.d.ts +1 -0
- package/dist/components/expand-attribute/index.mjs +1 -0
- package/dist/components/expand-attribute/src/expand-attribute.d.vue.ts +10 -0
- package/dist/components/expand-attribute/src/expand-attribute.vue +116 -0
- package/dist/components/expand-attribute/src/expand-attribute.vue.d.ts +10 -0
- package/dist/components/expand-attribute.d.vue.ts +10 -0
- package/dist/components/expand-attribute.vue +116 -0
- package/dist/components/expand-attribute.vue.d.ts +10 -0
- package/dist/components/gender-tag.d.vue.ts +32 -0
- package/dist/components/gender-tag.vue +111 -0
- package/dist/components/gender-tag.vue.d.ts +32 -0
- package/dist/components/import-file/index.d.ts +1 -0
- package/dist/components/import-file/index.mjs +1 -0
- package/dist/components/import-file/src/import-file.d.vue.ts +67 -0
- package/dist/components/import-file/src/import-file.vue +216 -0
- package/dist/components/import-file/src/import-file.vue.d.ts +67 -0
- package/dist/components/main-container/index.d.ts +1 -0
- package/dist/components/main-container/index.mjs +1 -0
- package/dist/components/main-container/src/main-container.d.vue.ts +28 -0
- package/dist/components/main-container/src/main-container.vue +50 -0
- package/dist/components/main-container/src/main-container.vue.d.ts +28 -0
- package/dist/components/main-container.d.vue.ts +28 -0
- package/dist/components/main-container.vue +50 -0
- package/dist/components/main-container.vue.d.ts +28 -0
- package/dist/components/organ-account-select/index.d.ts +1 -0
- package/dist/components/organ-account-select/index.mjs +1 -0
- package/dist/components/organ-account-select/src/organ-account-select.d.vue.ts +41 -0
- package/dist/components/organ-account-select/src/organ-account-select.vue +403 -0
- package/dist/components/organ-account-select/src/organ-account-select.vue.d.ts +41 -0
- package/dist/components/seal/seal-designer.d.vue.ts +19 -0
- package/dist/components/seal/seal-designer.vue +289 -0
- package/dist/components/seal/seal-designer.vue.d.ts +19 -0
- package/dist/components/seal/seal-selector.d.vue.ts +25 -0
- package/dist/components/seal/seal-selector.vue +272 -0
- package/dist/components/seal/seal-selector.vue.d.ts +25 -0
- package/dist/components/upload-img/index.d.ts +1 -0
- package/dist/components/upload-img/index.mjs +1 -0
- package/dist/components/upload-img/src/upload-img.d.vue.ts +35 -0
- package/dist/components/upload-img/src/upload-img.vue +169 -0
- package/dist/components/upload-img/src/upload-img.vue.d.ts +35 -0
- package/dist/components/upload-img-new/index.d.ts +2 -0
- package/dist/components/upload-img-new/index.mjs +1 -0
- package/dist/components/upload-img-new/src/upload-img-new.d.vue.ts +72 -0
- package/dist/components/upload-img-new/src/upload-img-new.vue +423 -0
- package/dist/components/upload-img-new/src/upload-img-new.vue.d.ts +72 -0
- package/dist/components/user-extend-manage.d.vue.ts +2 -0
- package/dist/components/user-extend-manage.vue +590 -0
- package/dist/components/user-extend-manage.vue.d.ts +2 -0
- package/dist/components/user-form.d.vue.ts +16 -0
- package/dist/components/user-form.vue +686 -0
- package/dist/components/user-form.vue.d.ts +16 -0
- package/dist/components/user-import.d.vue.ts +4 -0
- package/dist/components/user-import.vue +98 -0
- package/dist/components/user-import.vue.d.ts +4 -0
- package/dist/components/user-management.d.vue.ts +2 -0
- package/dist/components/user-management.vue +709 -0
- package/dist/components/user-management.vue.d.ts +2 -0
- package/dist/components/websocket-status/index.d.vue.ts +2 -0
- package/dist/components/websocket-status/index.vue +124 -0
- package/dist/components/websocket-status/index.vue.d.ts +2 -0
- package/dist/components/work-transfer.d.vue.ts +8 -0
- package/dist/components/work-transfer.vue +127 -0
- package/dist/components/work-transfer.vue.d.ts +8 -0
- package/dist/hooks/useDict.d.ts +14 -0
- package/dist/hooks/useDict.mjs +42 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.mjs +15 -0
- package/dist/plugin.d.ts +3 -0
- package/dist/plugin.mjs +31 -0
- package/dist/store/auth.d.ts +33 -0
- package/dist/store/auth.mjs +141 -0
- package/dist/store/dict.d.ts +34 -0
- package/dist/store/dict.mjs +42 -0
- package/dist/store/index.d.ts +2 -0
- package/dist/store/index.mjs +2 -0
- package/dist/store/websocket.d.ts +108 -0
- package/dist/store/websocket.mjs +387 -0
- package/dist/store/ws-notification.d.ts +25 -0
- package/dist/store/ws-notification.mjs +82 -0
- package/dist/types.d.ts +25 -0
- package/dist/types.mjs +0 -0
- package/dist/utils/config-sync.d.ts +4 -0
- package/dist/utils/config-sync.mjs +8 -0
- package/dist/utils/file.d.ts +37 -0
- package/dist/utils/file.mjs +54 -0
- package/dist/utils/index.d.ts +23 -0
- package/dist/utils/index.mjs +93 -0
- package/dist/utils/init-icons.d.ts +5 -0
- package/dist/utils/init-icons.mjs +92 -0
- package/dist/utils/treeUtil.d.ts +31 -0
- package/dist/utils/treeUtil.mjs +59 -0
- package/dist/utils/useAuthenticatedHtml.d.ts +13 -0
- package/dist/utils/useAuthenticatedHtml.mjs +66 -0
- package/dist/views/_core/about/index.d.vue.ts +2 -0
- package/dist/views/_core/about/index.vue +9 -0
- package/dist/views/_core/about/index.vue.d.ts +2 -0
- package/dist/views/_core/authentication/code-login.d.vue.ts +2 -0
- package/dist/views/_core/authentication/code-login.vue +69 -0
- package/dist/views/_core/authentication/code-login.vue.d.ts +2 -0
- package/dist/views/_core/authentication/forget-password.d.vue.ts +2 -0
- package/dist/views/_core/authentication/forget-password.vue +43 -0
- package/dist/views/_core/authentication/forget-password.vue.d.ts +2 -0
- package/dist/views/_core/authentication/login.d.vue.ts +2 -0
- package/dist/views/_core/authentication/login.vue +105 -0
- package/dist/views/_core/authentication/login.vue.d.ts +2 -0
- package/dist/views/_core/authentication/qrcode-login.d.vue.ts +2 -0
- package/dist/views/_core/authentication/qrcode-login.vue +10 -0
- package/dist/views/_core/authentication/qrcode-login.vue.d.ts +2 -0
- package/dist/views/_core/authentication/register.d.vue.ts +2 -0
- package/dist/views/_core/authentication/register.vue +96 -0
- package/dist/views/_core/authentication/register.vue.d.ts +2 -0
- package/dist/views/_core/fallback/coming-soon.d.vue.ts +2 -0
- package/dist/views/_core/fallback/coming-soon.vue +7 -0
- package/dist/views/_core/fallback/coming-soon.vue.d.ts +2 -0
- package/dist/views/_core/fallback/forbidden.d.vue.ts +2 -0
- package/dist/views/_core/fallback/forbidden.vue +9 -0
- package/dist/views/_core/fallback/forbidden.vue.d.ts +2 -0
- package/dist/views/_core/fallback/internal-error.d.vue.ts +2 -0
- package/dist/views/_core/fallback/internal-error.vue +9 -0
- package/dist/views/_core/fallback/internal-error.vue.d.ts +2 -0
- package/dist/views/_core/fallback/not-found.d.vue.ts +2 -0
- package/dist/views/_core/fallback/not-found.vue +9 -0
- package/dist/views/_core/fallback/not-found.vue.d.ts +2 -0
- package/dist/views/_core/fallback/offline.d.vue.ts +2 -0
- package/dist/views/_core/fallback/offline.vue +9 -0
- package/dist/views/_core/fallback/offline.vue.d.ts +2 -0
- package/dist/views/codegen/generate/components/CodePreviewModal.d.vue.ts +14 -0
- package/dist/views/codegen/generate/components/CodePreviewModal.vue +1161 -0
- package/dist/views/codegen/generate/components/CodePreviewModal.vue.d.ts +14 -0
- package/dist/views/codegen/generate/components/GenerateConfigModal.d.vue.ts +15 -0
- package/dist/views/codegen/generate/components/GenerateConfigModal.vue +1005 -0
- package/dist/views/codegen/generate/components/GenerateConfigModal.vue.d.ts +15 -0
- package/dist/views/codegen/generate/components/TableInfoModal.d.vue.ts +10 -0
- package/dist/views/codegen/generate/components/TableInfoModal.vue +276 -0
- package/dist/views/codegen/generate/components/TableInfoModal.vue.d.ts +10 -0
- package/dist/views/codegen/generate/components/preview-modal.d.vue.ts +16 -0
- package/dist/views/codegen/generate/components/preview-modal.vue +446 -0
- package/dist/views/codegen/generate/components/preview-modal.vue.d.ts +16 -0
- package/dist/views/codegen/generate/index.d.vue.ts +2 -0
- package/dist/views/codegen/generate/index.vue +332 -0
- package/dist/views/codegen/generate/index.vue.d.ts +2 -0
- package/dist/views/codegen/generate/table-info.d.vue.ts +2 -0
- package/dist/views/codegen/generate/table-info.vue +381 -0
- package/dist/views/codegen/generate/table-info.vue.d.ts +2 -0
- package/dist/views/codegen/generate/types/index.d.ts +394 -0
- package/dist/views/codegen/generate/types/index.mjs +26 -0
- package/dist/views/codegen/template-manage/components/TemplateFileEditorModal.d.vue.ts +14 -0
- package/dist/views/codegen/template-manage/components/TemplateFileEditorModal.vue +541 -0
- package/dist/views/codegen/template-manage/components/TemplateFileEditorModal.vue.d.ts +14 -0
- package/dist/views/codegen/template-manage/components/TemplateFileModal.d.vue.ts +14 -0
- package/dist/views/codegen/template-manage/components/TemplateFileModal.vue +354 -0
- package/dist/views/codegen/template-manage/components/TemplateFileModal.vue.d.ts +14 -0
- package/dist/views/codegen/template-manage/components/TemplateGroupModal.d.vue.ts +13 -0
- package/dist/views/codegen/template-manage/components/TemplateGroupModal.vue +295 -0
- package/dist/views/codegen/template-manage/components/TemplateGroupModal.vue.d.ts +13 -0
- package/dist/views/codegen/template-manage/files/index.d.vue.ts +9 -0
- package/dist/views/codegen/template-manage/files/index.vue +459 -0
- package/dist/views/codegen/template-manage/files/index.vue.d.ts +9 -0
- package/dist/views/codegen/template-manage/index.d.vue.ts +2 -0
- package/dist/views/codegen/template-manage/index.vue +421 -0
- package/dist/views/codegen/template-manage/index.vue.d.ts +2 -0
- package/dist/views/codegen/template-manage/types.d.ts +168 -0
- package/dist/views/codegen/template-manage/types.mjs +0 -0
- package/dist/views/dashboard/analytics/analytics-trends.d.vue.ts +2 -0
- package/dist/views/dashboard/analytics/analytics-trends.vue +98 -0
- package/dist/views/dashboard/analytics/analytics-trends.vue.d.ts +2 -0
- package/dist/views/dashboard/analytics/analytics-visits-data.d.vue.ts +2 -0
- package/dist/views/dashboard/analytics/analytics-visits-data.vue +82 -0
- package/dist/views/dashboard/analytics/analytics-visits-data.vue.d.ts +2 -0
- package/dist/views/dashboard/analytics/analytics-visits-sales.d.vue.ts +2 -0
- package/dist/views/dashboard/analytics/analytics-visits-sales.vue +48 -0
- package/dist/views/dashboard/analytics/analytics-visits-sales.vue.d.ts +2 -0
- package/dist/views/dashboard/analytics/analytics-visits-source.d.vue.ts +2 -0
- package/dist/views/dashboard/analytics/analytics-visits-source.vue +67 -0
- package/dist/views/dashboard/analytics/analytics-visits-source.vue.d.ts +2 -0
- package/dist/views/dashboard/analytics/analytics-visits.d.vue.ts +2 -0
- package/dist/views/dashboard/analytics/analytics-visits.vue +55 -0
- package/dist/views/dashboard/analytics/analytics-visits.vue.d.ts +2 -0
- package/dist/views/dashboard/analytics/index.d.vue.ts +2 -0
- package/dist/views/dashboard/analytics/index.vue +90 -0
- package/dist/views/dashboard/analytics/index.vue.d.ts +2 -0
- package/dist/views/dashboard/workspace/index.d.vue.ts +2 -0
- package/dist/views/dashboard/workspace/index.vue +266 -0
- package/dist/views/dashboard/workspace/index.vue.d.ts +2 -0
- package/dist/views/data/data-connect/constants.d.ts +47 -0
- package/dist/views/data/data-connect/constants.mjs +21 -0
- package/dist/views/data/data-connect/data-connect-form.d.vue.ts +11 -0
- package/dist/views/data/data-connect/data-connect-form.vue +477 -0
- package/dist/views/data/data-connect/data-connect-form.vue.d.ts +11 -0
- package/dist/views/data/data-connect/index.d.vue.ts +2 -0
- package/dist/views/data/data-connect/index.vue +379 -0
- package/dist/views/data/data-connect/index.vue.d.ts +2 -0
- package/dist/views/data/data-modeling/components/common-field/common-field-form.d.vue.ts +10 -0
- package/dist/views/data/data-modeling/components/common-field/common-field-form.vue +174 -0
- package/dist/views/data/data-modeling/components/common-field/common-field-form.vue.d.ts +10 -0
- package/dist/views/data/data-modeling/components/common-field/common-fields.d.vue.ts +4 -0
- package/dist/views/data/data-modeling/components/common-field/common-fields.vue +171 -0
- package/dist/views/data/data-modeling/components/common-field/common-fields.vue.d.ts +4 -0
- package/dist/views/data/data-modeling/components/data-modeling-form-one.d.vue.ts +57 -0
- package/dist/views/data/data-modeling/components/data-modeling-form-one.vue +265 -0
- package/dist/views/data/data-modeling/components/data-modeling-form-one.vue.d.ts +57 -0
- package/dist/views/data/data-modeling/components/data-modeling-form-two.d.vue.ts +57 -0
- package/dist/views/data/data-modeling/components/data-modeling-form-two.vue +561 -0
- package/dist/views/data/data-modeling/components/data-modeling-form-two.vue.d.ts +57 -0
- package/dist/views/data/data-modeling/components/data-modeling-form.d.vue.ts +11 -0
- package/dist/views/data/data-modeling/components/data-modeling-form.vue +188 -0
- package/dist/views/data/data-modeling/components/data-modeling-form.vue.d.ts +11 -0
- package/dist/views/data/data-modeling/components/data-preview.d.vue.ts +14 -0
- package/dist/views/data/data-modeling/components/data-preview.vue +130 -0
- package/dist/views/data/data-modeling/components/data-preview.vue.d.ts +14 -0
- package/dist/views/data/data-modeling/index.d.vue.ts +2 -0
- package/dist/views/data/data-modeling/index.vue +376 -0
- package/dist/views/data/data-modeling/index.vue.d.ts +2 -0
- package/dist/views/data/interface-oauth/components/interface-oauth-log.d.vue.ts +6 -0
- package/dist/views/data/interface-oauth/components/interface-oauth-log.vue +79 -0
- package/dist/views/data/interface-oauth/components/interface-oauth-log.vue.d.ts +6 -0
- package/dist/views/data/interface-oauth/components/interface-oauth.d.vue.ts +40 -0
- package/dist/views/data/interface-oauth/components/interface-oauth.vue +151 -0
- package/dist/views/data/interface-oauth/components/interface-oauth.vue.d.ts +40 -0
- package/dist/views/data/interface-oauth/components/interface-table.d.vue.ts +5 -0
- package/dist/views/data/interface-oauth/components/interface-table.vue +70 -0
- package/dist/views/data/interface-oauth/components/interface-table.vue.d.ts +5 -0
- package/dist/views/data/interface-oauth/components/user-table.d.vue.ts +5 -0
- package/dist/views/data/interface-oauth/components/user-table.vue +50 -0
- package/dist/views/data/interface-oauth/components/user-table.vue.d.ts +5 -0
- package/dist/views/data/interface-oauth/components/verify-signature-description.d.vue.ts +2 -0
- package/dist/views/data/interface-oauth/components/verify-signature-description.vue +290 -0
- package/dist/views/data/interface-oauth/components/verify-signature-description.vue.d.ts +2 -0
- package/dist/views/data/interface-oauth/index.d.vue.ts +2 -0
- package/dist/views/data/interface-oauth/index.vue +463 -0
- package/dist/views/data/interface-oauth/index.vue.d.ts +2 -0
- package/dist/views/data/interface-oauth/interface-oauth-form.d.vue.ts +10 -0
- package/dist/views/data/interface-oauth/interface-oauth-form.vue +357 -0
- package/dist/views/data/interface-oauth/interface-oauth-form.vue.d.ts +10 -0
- package/dist/views/demo-case/affix/index.d.vue.ts +2 -0
- package/dist/views/demo-case/affix/index.vue +68 -0
- package/dist/views/demo-case/affix/index.vue.d.ts +2 -0
- package/dist/views/demo-case/alert/index.d.vue.ts +2 -0
- package/dist/views/demo-case/alert/index.vue +139 -0
- package/dist/views/demo-case/alert/index.vue.d.ts +2 -0
- package/dist/views/demo-case/anchor/index.d.vue.ts +2 -0
- package/dist/views/demo-case/anchor/index.vue +93 -0
- package/dist/views/demo-case/anchor/index.vue.d.ts +2 -0
- package/dist/views/demo-case/avatar/index.d.vue.ts +2 -0
- package/dist/views/demo-case/avatar/index.vue +331 -0
- package/dist/views/demo-case/avatar/index.vue.d.ts +2 -0
- package/dist/views/demo-case/badge/index.d.vue.ts +2 -0
- package/dist/views/demo-case/badge/index.vue +391 -0
- package/dist/views/demo-case/badge/index.vue.d.ts +2 -0
- package/dist/views/demo-case/border/index.d.vue.ts +2 -0
- package/dist/views/demo-case/border/index.vue +227 -0
- package/dist/views/demo-case/border/index.vue.d.ts +2 -0
- package/dist/views/demo-case/breadcrumb/index.d.vue.ts +2 -0
- package/dist/views/demo-case/breadcrumb/index.vue +77 -0
- package/dist/views/demo-case/breadcrumb/index.vue.d.ts +2 -0
- package/dist/views/demo-case/button/index.d.vue.ts +2 -0
- package/dist/views/demo-case/button/index.vue +257 -0
- package/dist/views/demo-case/button/index.vue.d.ts +2 -0
- package/dist/views/demo-case/calendar/index.d.vue.ts +2 -0
- package/dist/views/demo-case/calendar/index.vue +108 -0
- package/dist/views/demo-case/calendar/index.vue.d.ts +2 -0
- package/dist/views/demo-case/card/index.d.vue.ts +2 -0
- package/dist/views/demo-case/card/index.vue +290 -0
- package/dist/views/demo-case/card/index.vue.d.ts +2 -0
- package/dist/views/demo-case/carousel/index.d.vue.ts +2 -0
- package/dist/views/demo-case/carousel/index.vue +149 -0
- package/dist/views/demo-case/carousel/index.vue.d.ts +2 -0
- package/dist/views/demo-case/cascader/index.d.vue.ts +2 -0
- package/dist/views/demo-case/cascader/index.vue +243 -0
- package/dist/views/demo-case/cascader/index.vue.d.ts +2 -0
- package/dist/views/demo-case/checkbox/index.d.vue.ts +2 -0
- package/dist/views/demo-case/checkbox/index.vue +236 -0
- package/dist/views/demo-case/checkbox/index.vue.d.ts +2 -0
- package/dist/views/demo-case/collapse/index.d.vue.ts +2 -0
- package/dist/views/demo-case/collapse/index.vue +161 -0
- package/dist/views/demo-case/collapse/index.vue.d.ts +2 -0
- package/dist/views/demo-case/color/index.d.vue.ts +2 -0
- package/dist/views/demo-case/color/index.vue +328 -0
- package/dist/views/demo-case/color/index.vue.d.ts +2 -0
- package/dist/views/demo-case/container/index.d.vue.ts +2 -0
- package/dist/views/demo-case/container/index.vue +195 -0
- package/dist/views/demo-case/container/index.vue.d.ts +2 -0
- package/dist/views/demo-case/datepicker/index.d.vue.ts +2 -0
- package/dist/views/demo-case/datepicker/index.vue +219 -0
- package/dist/views/demo-case/datepicker/index.vue.d.ts +2 -0
- package/dist/views/demo-case/datetimepicker/index.d.vue.ts +2 -0
- package/dist/views/demo-case/datetimepicker/index.vue +99 -0
- package/dist/views/demo-case/datetimepicker/index.vue.d.ts +2 -0
- package/dist/views/demo-case/descriptions/index.d.vue.ts +2 -0
- package/dist/views/demo-case/descriptions/index.vue +159 -0
- package/dist/views/demo-case/descriptions/index.vue.d.ts +2 -0
- package/dist/views/demo-case/dialog/index.d.vue.ts +2 -0
- package/dist/views/demo-case/dialog/index.vue +302 -0
- package/dist/views/demo-case/dialog/index.vue.d.ts +2 -0
- package/dist/views/demo-case/divider/index.d.vue.ts +2 -0
- package/dist/views/demo-case/divider/index.vue +192 -0
- package/dist/views/demo-case/divider/index.vue.d.ts +2 -0
- package/dist/views/demo-case/drawer/index.d.vue.ts +2 -0
- package/dist/views/demo-case/drawer/index.vue +211 -0
- package/dist/views/demo-case/drawer/index.vue.d.ts +2 -0
- package/dist/views/demo-case/dropdown/index.d.vue.ts +2 -0
- package/dist/views/demo-case/dropdown/index.vue +171 -0
- package/dist/views/demo-case/dropdown/index.vue.d.ts +2 -0
- package/dist/views/demo-case/empty/index.d.vue.ts +2 -0
- package/dist/views/demo-case/empty/index.vue +165 -0
- package/dist/views/demo-case/empty/index.vue.d.ts +2 -0
- package/dist/views/demo-case/form/index.d.vue.ts +2 -0
- package/dist/views/demo-case/form/index.vue +435 -0
- package/dist/views/demo-case/form/index.vue.d.ts +2 -0
- package/dist/views/demo-case/image/index.d.vue.ts +2 -0
- package/dist/views/demo-case/image/index.vue +283 -0
- package/dist/views/demo-case/image/index.vue.d.ts +2 -0
- package/dist/views/demo-case/infinite-scroll/index.d.vue.ts +2 -0
- package/dist/views/demo-case/infinite-scroll/index.vue +238 -0
- package/dist/views/demo-case/infinite-scroll/index.vue.d.ts +2 -0
- package/dist/views/demo-case/input/index.d.vue.ts +2 -0
- package/dist/views/demo-case/input/index.vue +338 -0
- package/dist/views/demo-case/input/index.vue.d.ts +2 -0
- package/dist/views/demo-case/input-number/index.d.vue.ts +2 -0
- package/dist/views/demo-case/input-number/index.vue +184 -0
- package/dist/views/demo-case/input-number/index.vue.d.ts +2 -0
- package/dist/views/demo-case/input-tag/index.d.vue.ts +2 -0
- package/dist/views/demo-case/input-tag/index.vue +197 -0
- package/dist/views/demo-case/input-tag/index.vue.d.ts +2 -0
- package/dist/views/demo-case/layout/index.d.vue.ts +2 -0
- package/dist/views/demo-case/layout/index.vue +253 -0
- package/dist/views/demo-case/layout/index.vue.d.ts +2 -0
- package/dist/views/demo-case/link/index.d.vue.ts +2 -0
- package/dist/views/demo-case/link/index.vue +125 -0
- package/dist/views/demo-case/link/index.vue.d.ts +2 -0
- package/dist/views/demo-case/mention/index.d.vue.ts +2 -0
- package/dist/views/demo-case/mention/index.vue +92 -0
- package/dist/views/demo-case/mention/index.vue.d.ts +2 -0
- package/dist/views/demo-case/menu/index.d.vue.ts +2 -0
- package/dist/views/demo-case/menu/index.vue +198 -0
- package/dist/views/demo-case/menu/index.vue.d.ts +2 -0
- package/dist/views/demo-case/message/index.d.vue.ts +4 -0
- package/dist/views/demo-case/message/index.vue +165 -0
- package/dist/views/demo-case/message/index.vue.d.ts +4 -0
- package/dist/views/demo-case/message-box/index.d.vue.ts +2 -0
- package/dist/views/demo-case/message-box/index.vue +263 -0
- package/dist/views/demo-case/message-box/index.vue.d.ts +2 -0
- package/dist/views/demo-case/notification/index.d.vue.ts +2 -0
- package/dist/views/demo-case/notification/index.vue +210 -0
- package/dist/views/demo-case/notification/index.vue.d.ts +2 -0
- package/dist/views/demo-case/page-header/index.d.vue.ts +2 -0
- package/dist/views/demo-case/page-header/index.vue +171 -0
- package/dist/views/demo-case/page-header/index.vue.d.ts +2 -0
- package/dist/views/demo-case/pagination/index.d.vue.ts +2 -0
- package/dist/views/demo-case/pagination/index.vue +349 -0
- package/dist/views/demo-case/pagination/index.vue.d.ts +2 -0
- package/dist/views/demo-case/popconfirm/index.d.vue.ts +2 -0
- package/dist/views/demo-case/popconfirm/index.vue +397 -0
- package/dist/views/demo-case/popconfirm/index.vue.d.ts +2 -0
- package/dist/views/demo-case/progress/index.d.vue.ts +2 -0
- package/dist/views/demo-case/progress/index.vue +371 -0
- package/dist/views/demo-case/progress/index.vue.d.ts +2 -0
- package/dist/views/demo-case/radio/index.d.vue.ts +2 -0
- package/dist/views/demo-case/radio/index.vue +136 -0
- package/dist/views/demo-case/radio/index.vue.d.ts +2 -0
- package/dist/views/demo-case/rate/index.d.vue.ts +2 -0
- package/dist/views/demo-case/rate/index.vue +203 -0
- package/dist/views/demo-case/rate/index.vue.d.ts +2 -0
- package/dist/views/demo-case/result/index.d.vue.ts +2 -0
- package/dist/views/demo-case/result/index.vue +227 -0
- package/dist/views/demo-case/result/index.vue.d.ts +2 -0
- package/dist/views/demo-case/scrollbar/index.d.vue.ts +2 -0
- package/dist/views/demo-case/scrollbar/index.vue +91 -0
- package/dist/views/demo-case/scrollbar/index.vue.d.ts +2 -0
- package/dist/views/demo-case/seal-usage/index.d.vue.ts +2 -0
- package/dist/views/demo-case/seal-usage/index.vue +1461 -0
- package/dist/views/demo-case/seal-usage/index.vue.d.ts +2 -0
- package/dist/views/demo-case/segmented/index.d.vue.ts +2 -0
- package/dist/views/demo-case/segmented/index.vue +233 -0
- package/dist/views/demo-case/segmented/index.vue.d.ts +2 -0
- package/dist/views/demo-case/select/index.d.vue.ts +2 -0
- package/dist/views/demo-case/select/index.vue +391 -0
- package/dist/views/demo-case/select/index.vue.d.ts +2 -0
- package/dist/views/demo-case/skeleton/index.d.vue.ts +2 -0
- package/dist/views/demo-case/skeleton/index.vue +205 -0
- package/dist/views/demo-case/skeleton/index.vue.d.ts +2 -0
- package/dist/views/demo-case/slider/index.d.vue.ts +2 -0
- package/dist/views/demo-case/slider/index.vue +172 -0
- package/dist/views/demo-case/slider/index.vue.d.ts +2 -0
- package/dist/views/demo-case/statistic/index.d.vue.ts +2 -0
- package/dist/views/demo-case/statistic/index.vue +248 -0
- package/dist/views/demo-case/statistic/index.vue.d.ts +2 -0
- package/dist/views/demo-case/steps/index.d.vue.ts +2 -0
- package/dist/views/demo-case/steps/index.vue +127 -0
- package/dist/views/demo-case/steps/index.vue.d.ts +2 -0
- package/dist/views/demo-case/switch/index.d.vue.ts +2 -0
- package/dist/views/demo-case/switch/index.vue +151 -0
- package/dist/views/demo-case/switch/index.vue.d.ts +2 -0
- package/dist/views/demo-case/table/index.d.vue.ts +2 -0
- package/dist/views/demo-case/table/index.vue +338 -0
- package/dist/views/demo-case/table/index.vue.d.ts +2 -0
- package/dist/views/demo-case/tabs/index.d.vue.ts +2 -0
- package/dist/views/demo-case/tabs/index.vue +166 -0
- package/dist/views/demo-case/tabs/index.vue.d.ts +2 -0
- package/dist/views/demo-case/tag/index.d.vue.ts +2 -0
- package/dist/views/demo-case/tag/index.vue +342 -0
- package/dist/views/demo-case/tag/index.vue.d.ts +2 -0
- package/dist/views/demo-case/time-picker/index.d.vue.ts +2 -0
- package/dist/views/demo-case/time-picker/index.vue +206 -0
- package/dist/views/demo-case/time-picker/index.vue.d.ts +2 -0
- package/dist/views/demo-case/time-select/index.d.vue.ts +2 -0
- package/dist/views/demo-case/time-select/index.vue +268 -0
- package/dist/views/demo-case/time-select/index.vue.d.ts +2 -0
- package/dist/views/demo-case/timeline/index.d.vue.ts +2 -0
- package/dist/views/demo-case/timeline/index.vue +258 -0
- package/dist/views/demo-case/timeline/index.vue.d.ts +2 -0
- package/dist/views/demo-case/tooltip/index.d.vue.ts +2 -0
- package/dist/views/demo-case/tooltip/index.vue +284 -0
- package/dist/views/demo-case/tooltip/index.vue.d.ts +2 -0
- package/dist/views/demo-case/transfer/index.d.vue.ts +2 -0
- package/dist/views/demo-case/transfer/index.vue +219 -0
- package/dist/views/demo-case/transfer/index.vue.d.ts +2 -0
- package/dist/views/demo-case/tree/index.d.vue.ts +2 -0
- package/dist/views/demo-case/tree/index.vue +367 -0
- package/dist/views/demo-case/tree/index.vue.d.ts +2 -0
- package/dist/views/demo-case/tree-select/index.d.vue.ts +2 -0
- package/dist/views/demo-case/tree-select/index.vue +525 -0
- package/dist/views/demo-case/tree-select/index.vue.d.ts +2 -0
- package/dist/views/demo-case/typography/index.d.vue.ts +2 -0
- package/dist/views/demo-case/typography/index.vue +222 -0
- package/dist/views/demo-case/typography/index.vue.d.ts +2 -0
- package/dist/views/demo-case/upload/index.d.vue.ts +2 -0
- package/dist/views/demo-case/upload/index.vue +285 -0
- package/dist/views/demo-case/upload/index.vue.d.ts +2 -0
- package/dist/views/demo-case/watermark/index.d.vue.ts +2 -0
- package/dist/views/demo-case/watermark/index.vue +248 -0
- package/dist/views/demo-case/watermark/index.vue.d.ts +2 -0
- package/dist/views/file/file-config/file-config-form.d.vue.ts +9 -0
- package/dist/views/file/file-config/file-config-form.vue +592 -0
- package/dist/views/file/file-config/file-config-form.vue.d.ts +9 -0
- package/dist/views/file/file-config/index.d.vue.ts +2 -0
- package/dist/views/file/file-config/index.vue +326 -0
- package/dist/views/file/file-config/index.vue.d.ts +2 -0
- package/dist/views/file/file-list/components/FileUploadDialog.d.vue.ts +11 -0
- package/dist/views/file/file-list/components/FileUploadDialog.vue +253 -0
- package/dist/views/file/file-list/components/FileUploadDialog.vue.d.ts +11 -0
- package/dist/views/file/file-list/components/ImagePreview.d.vue.ts +10 -0
- package/dist/views/file/file-list/components/ImagePreview.vue +66 -0
- package/dist/views/file/file-list/components/ImagePreview.vue.d.ts +10 -0
- package/dist/views/file/file-list/index.d.vue.ts +2 -0
- package/dist/views/file/file-list/index.vue +357 -0
- package/dist/views/file/file-list/index.vue.d.ts +2 -0
- package/dist/views/home/index.d.vue.ts +2 -0
- package/dist/views/home/index.vue +35 -0
- package/dist/views/home/index.vue.d.ts +2 -0
- package/dist/views/login/components/login-form.d.vue.ts +7 -0
- package/dist/views/login/components/login-form.vue +666 -0
- package/dist/views/login/components/login-form.vue.d.ts +7 -0
- package/dist/views/login/components/security-code.d.vue.ts +10 -0
- package/dist/views/login/components/security-code.vue +71 -0
- package/dist/views/login/components/security-code.vue.d.ts +10 -0
- package/dist/views/login/components/update-password.d.vue.ts +5 -0
- package/dist/views/login/components/update-password.vue +182 -0
- package/dist/views/login/components/update-password.vue.d.ts +5 -0
- package/dist/views/login/index.d.vue.ts +2 -0
- package/dist/views/login/index.vue +289 -0
- package/dist/views/login/index.vue.d.ts +2 -0
- package/dist/views/login/sso/index.d.vue.ts +2 -0
- package/dist/views/login/sso/index.vue +60 -0
- package/dist/views/login/sso/index.vue.d.ts +2 -0
- package/dist/views/navHome/index.d.vue.ts +3 -0
- package/dist/views/navHome/index.vue +479 -0
- package/dist/views/navHome/index.vue.d.ts +3 -0
- package/dist/views/personal-center/components/avatar-name.d.vue.ts +2 -0
- package/dist/views/personal-center/components/avatar-name.vue +93 -0
- package/dist/views/personal-center/components/avatar-name.vue.d.ts +2 -0
- package/dist/views/personal-center/components/basic-info.d.vue.ts +6 -0
- package/dist/views/personal-center/components/basic-info.vue +327 -0
- package/dist/views/personal-center/components/basic-info.vue.d.ts +6 -0
- package/dist/views/personal-center/components/department-form.d.vue.ts +6 -0
- package/dist/views/personal-center/components/department-form.vue +133 -0
- package/dist/views/personal-center/components/department-form.vue.d.ts +6 -0
- package/dist/views/personal-center/components/login-log.d.vue.ts +2 -0
- package/dist/views/personal-center/components/login-log.vue +147 -0
- package/dist/views/personal-center/components/login-log.vue.d.ts +2 -0
- package/dist/views/personal-center/components/sys-permission.d.vue.ts +6 -0
- package/dist/views/personal-center/components/sys-permission.vue +168 -0
- package/dist/views/personal-center/components/sys-permission.vue.d.ts +6 -0
- package/dist/views/personal-center/components/tabs.d.vue.ts +15 -0
- package/dist/views/personal-center/components/tabs.vue +49 -0
- package/dist/views/personal-center/components/tabs.vue.d.ts +15 -0
- package/dist/views/personal-center/components/update-password.d.vue.ts +2 -0
- package/dist/views/personal-center/components/update-password.vue +161 -0
- package/dist/views/personal-center/components/update-password.vue.d.ts +2 -0
- package/dist/views/personal-center/index.d.vue.ts +2 -0
- package/dist/views/personal-center/index.vue +110 -0
- package/dist/views/personal-center/index.vue.d.ts +2 -0
- package/dist/views/screen/index.d.vue.ts +2 -0
- package/dist/views/screen/index.vue +62 -0
- package/dist/views/screen/index.vue.d.ts +2 -0
- package/dist/views/sys/account/components/account-form.d.vue.ts +14 -0
- package/dist/views/sys/account/components/account-form.vue +581 -0
- package/dist/views/sys/account/components/account-form.vue.d.ts +14 -0
- package/dist/views/sys/account/components/account-import.d.vue.ts +4 -0
- package/dist/views/sys/account/components/account-import.vue +100 -0
- package/dist/views/sys/account/components/account-import.vue.d.ts +4 -0
- package/dist/views/sys/account/components/sub-positions.d.vue.ts +14 -0
- package/dist/views/sys/account/components/sub-positions.vue +282 -0
- package/dist/views/sys/account/components/sub-positions.vue.d.ts +14 -0
- package/dist/views/sys/account/index.d.vue.ts +2 -0
- package/dist/views/sys/account/index.vue +601 -0
- package/dist/views/sys/account/index.vue.d.ts +2 -0
- package/dist/views/sys/app-menu/application/app-form.d.vue.ts +35 -0
- package/dist/views/sys/app-menu/application/app-form.vue +860 -0
- package/dist/views/sys/app-menu/application/app-form.vue.d.ts +35 -0
- package/dist/views/sys/app-menu/application/application-extend-manage.d.vue.ts +2 -0
- package/dist/views/sys/app-menu/application/application-extend-manage.vue +596 -0
- package/dist/views/sys/app-menu/application/application-extend-manage.vue.d.ts +2 -0
- package/dist/views/sys/app-menu/application/index.d.vue.ts +2 -0
- package/dist/views/sys/app-menu/application/index.vue +868 -0
- package/dist/views/sys/app-menu/application/index.vue.d.ts +2 -0
- package/dist/views/sys/app-menu/components/select-icon.d.vue.ts +7 -0
- package/dist/views/sys/app-menu/components/select-icon.vue +57 -0
- package/dist/views/sys/app-menu/components/select-icon.vue.d.ts +7 -0
- package/dist/views/sys/app-menu/config/account/index.d.vue.ts +5 -0
- package/dist/views/sys/app-menu/config/account/index.vue +202 -0
- package/dist/views/sys/app-menu/config/account/index.vue.d.ts +5 -0
- package/dist/views/sys/app-menu/config/account/link-account.d.vue.ts +7 -0
- package/dist/views/sys/app-menu/config/account/link-account.vue +110 -0
- package/dist/views/sys/app-menu/config/account/link-account.vue.d.ts +7 -0
- package/dist/views/sys/app-menu/config/auth/auth-form.d.vue.ts +17 -0
- package/dist/views/sys/app-menu/config/auth/auth-form.vue +733 -0
- package/dist/views/sys/app-menu/config/auth/auth-form.vue.d.ts +17 -0
- package/dist/views/sys/app-menu/config/auth/index.d.vue.ts +6 -0
- package/dist/views/sys/app-menu/config/auth/index.vue +211 -0
- package/dist/views/sys/app-menu/config/auth/index.vue.d.ts +6 -0
- package/dist/views/sys/app-menu/config/index.d.vue.ts +6 -0
- package/dist/views/sys/app-menu/config/index.vue +55 -0
- package/dist/views/sys/app-menu/config/index.vue.d.ts +6 -0
- package/dist/views/sys/app-menu/config/organ/index.d.vue.ts +5 -0
- package/dist/views/sys/app-menu/config/organ/index.vue +359 -0
- package/dist/views/sys/app-menu/config/organ/index.vue.d.ts +5 -0
- package/dist/views/sys/app-menu/config/organ/link-organ.d.vue.ts +8 -0
- package/dist/views/sys/app-menu/config/organ/link-organ.vue +309 -0
- package/dist/views/sys/app-menu/config/organ/link-organ.vue.d.ts +8 -0
- package/dist/views/sys/app-menu/config/role/index.d.vue.ts +5 -0
- package/dist/views/sys/app-menu/config/role/index.vue +192 -0
- package/dist/views/sys/app-menu/config/role/index.vue.d.ts +5 -0
- package/dist/views/sys/app-menu/config/role/link-role.d.vue.ts +7 -0
- package/dist/views/sys/app-menu/config/role/link-role.vue +109 -0
- package/dist/views/sys/app-menu/config/role/link-role.vue.d.ts +7 -0
- package/dist/views/sys/app-menu/index.d.vue.ts +2 -0
- package/dist/views/sys/app-menu/index.vue +54 -0
- package/dist/views/sys/app-menu/index.vue.d.ts +2 -0
- package/dist/views/sys/app-menu/menu/components/label-selector.d.vue.ts +29 -0
- package/dist/views/sys/app-menu/menu/components/label-selector.vue +379 -0
- package/dist/views/sys/app-menu/menu/components/label-selector.vue.d.ts +29 -0
- package/dist/views/sys/app-menu/menu/index.d.vue.ts +6 -0
- package/dist/views/sys/app-menu/menu/index.vue +1071 -0
- package/dist/views/sys/app-menu/menu/index.vue.d.ts +6 -0
- package/dist/views/sys/app-menu/menu/menu-extend-manage.d.vue.ts +6 -0
- package/dist/views/sys/app-menu/menu/menu-extend-manage.vue +612 -0
- package/dist/views/sys/app-menu/menu/menu-extend-manage.vue.d.ts +6 -0
- package/dist/views/sys/app-menu/menu/menu-form.d.vue.ts +20 -0
- package/dist/views/sys/app-menu/menu/menu-form.vue +1001 -0
- package/dist/views/sys/app-menu/menu/menu-form.vue.d.ts +20 -0
- package/dist/views/sys/app-menu/menu/menu-label-manage.d.vue.ts +6 -0
- package/dist/views/sys/app-menu/menu/menu-label-manage.vue +408 -0
- package/dist/views/sys/app-menu/menu/menu-label-manage.vue.d.ts +6 -0
- package/dist/views/sys/cache/components/cache-detail.d.vue.ts +6 -0
- package/dist/views/sys/cache/components/cache-detail.vue +127 -0
- package/dist/views/sys/cache/components/cache-detail.vue.d.ts +6 -0
- package/dist/views/sys/cache/index.d.vue.ts +2 -0
- package/dist/views/sys/cache/index.vue +426 -0
- package/dist/views/sys/cache/index.vue.d.ts +2 -0
- package/dist/views/sys/column-manager/RecycleBin.d.vue.ts +6 -0
- package/dist/views/sys/column-manager/RecycleBin.vue +532 -0
- package/dist/views/sys/column-manager/RecycleBin.vue.d.ts +6 -0
- package/dist/views/sys/column-manager/column-form.d.vue.ts +16 -0
- package/dist/views/sys/column-manager/column-form.vue +249 -0
- package/dist/views/sys/column-manager/column-form.vue.d.ts +16 -0
- package/dist/views/sys/column-manager/index.d.vue.ts +2 -0
- package/dist/views/sys/column-manager/index.vue +304 -0
- package/dist/views/sys/column-manager/index.vue.d.ts +2 -0
- package/dist/views/sys/data-interface/components/api-data-config.d.vue.ts +24 -0
- package/dist/views/sys/data-interface/components/api-data-config.vue +884 -0
- package/dist/views/sys/data-interface/components/api-data-config.vue.d.ts +24 -0
- package/dist/views/sys/data-interface/components/data-interface-form.d.vue.ts +26 -0
- package/dist/views/sys/data-interface/components/data-interface-form.vue +1181 -0
- package/dist/views/sys/data-interface/components/data-interface-form.vue.d.ts +26 -0
- package/dist/views/sys/data-interface/components/data-interface-import.d.vue.ts +5 -0
- package/dist/views/sys/data-interface/components/data-interface-import.vue +45 -0
- package/dist/views/sys/data-interface/components/data-interface-import.vue.d.ts +5 -0
- package/dist/views/sys/data-interface/components/field-edit-dialog.d.vue.ts +20 -0
- package/dist/views/sys/data-interface/components/field-edit-dialog.vue +164 -0
- package/dist/views/sys/data-interface/components/field-edit-dialog.vue.d.ts +20 -0
- package/dist/views/sys/data-interface/components/interface-field-table.d.vue.ts +12 -0
- package/dist/views/sys/data-interface/components/interface-field-table.vue +151 -0
- package/dist/views/sys/data-interface/components/interface-field-table.vue.d.ts +12 -0
- package/dist/views/sys/data-interface/components/interface-log.d.vue.ts +5 -0
- package/dist/views/sys/data-interface/components/interface-log.vue +76 -0
- package/dist/views/sys/data-interface/components/interface-log.vue.d.ts +5 -0
- package/dist/views/sys/data-interface/components/interface-parameter-table.d.vue.ts +16 -0
- package/dist/views/sys/data-interface/components/interface-parameter-table.vue +185 -0
- package/dist/views/sys/data-interface/components/interface-parameter-table.vue.d.ts +16 -0
- package/dist/views/sys/data-interface/components/param-edit-dialog.d.vue.ts +25 -0
- package/dist/views/sys/data-interface/components/param-edit-dialog.vue +250 -0
- package/dist/views/sys/data-interface/components/param-edit-dialog.vue.d.ts +25 -0
- package/dist/views/sys/data-interface/components/preview.d.vue.ts +6 -0
- package/dist/views/sys/data-interface/components/preview.vue +206 -0
- package/dist/views/sys/data-interface/components/preview.vue.d.ts +6 -0
- package/dist/views/sys/data-interface/components/sql-data-config.d.vue.ts +19 -0
- package/dist/views/sys/data-interface/components/sql-data-config.vue +658 -0
- package/dist/views/sys/data-interface/components/sql-data-config.vue.d.ts +19 -0
- package/dist/views/sys/data-interface/components/sql-data-display.d.vue.ts +19 -0
- package/dist/views/sys/data-interface/components/sql-data-display.vue +644 -0
- package/dist/views/sys/data-interface/components/sql-data-display.vue.d.ts +19 -0
- package/dist/views/sys/data-interface/components/sql-data-statistics.d.vue.ts +19 -0
- package/dist/views/sys/data-interface/components/sql-data-statistics.vue +627 -0
- package/dist/views/sys/data-interface/components/sql-data-statistics.vue.d.ts +19 -0
- package/dist/views/sys/data-interface/components/static-data-config.d.vue.ts +14 -0
- package/dist/views/sys/data-interface/components/static-data-config.vue +310 -0
- package/dist/views/sys/data-interface/components/static-data-config.vue.d.ts +14 -0
- package/dist/views/sys/data-interface/index.d.vue.ts +2 -0
- package/dist/views/sys/data-interface/index.vue +919 -0
- package/dist/views/sys/data-interface/index.vue.d.ts +2 -0
- package/dist/views/sys/department/components/department-form.d.vue.ts +29 -0
- package/dist/views/sys/department/components/department-form.vue +759 -0
- package/dist/views/sys/department/components/department-form.vue.d.ts +29 -0
- package/dist/views/sys/department/components/department-import.d.vue.ts +5 -0
- package/dist/views/sys/department/components/department-import.vue +45 -0
- package/dist/views/sys/department/components/department-import.vue.d.ts +5 -0
- package/dist/views/sys/department/components/department-members.d.vue.ts +23 -0
- package/dist/views/sys/department/components/department-members.vue +148 -0
- package/dist/views/sys/department/components/department-members.vue.d.ts +23 -0
- package/dist/views/sys/department/index.d.vue.ts +2 -0
- package/dist/views/sys/department/index.vue +639 -0
- package/dist/views/sys/department/index.vue.d.ts +2 -0
- package/dist/views/sys/dict/custom/dic-form.d.vue.ts +10 -0
- package/dist/views/sys/dict/custom/dic-form.vue +310 -0
- package/dist/views/sys/dict/custom/dic-form.vue.d.ts +10 -0
- package/dist/views/sys/dict/custom/index.d.vue.ts +2 -0
- package/dist/views/sys/dict/custom/index.vue +199 -0
- package/dist/views/sys/dict/custom/index.vue.d.ts +2 -0
- package/dist/views/sys/dict/custom/item-form.d.vue.ts +11 -0
- package/dist/views/sys/dict/custom/item-form.vue +232 -0
- package/dist/views/sys/dict/custom/item-form.vue.d.ts +11 -0
- package/dist/views/sys/dict/custom/item-index.d.vue.ts +5 -0
- package/dist/views/sys/dict/custom/item-index.vue +184 -0
- package/dist/views/sys/dict/custom/item-index.vue.d.ts +5 -0
- package/dist/views/sys/dict/index.d.vue.ts +2 -0
- package/dist/views/sys/dict/index.vue +65 -0
- package/dist/views/sys/dict/index.vue.d.ts +2 -0
- package/dist/views/sys/dict/list/components/item-import.d.vue.ts +8 -0
- package/dist/views/sys/dict/list/components/item-import.vue +104 -0
- package/dist/views/sys/dict/list/components/item-import.vue.d.ts +8 -0
- package/dist/views/sys/dict/list/dic-form.d.vue.ts +10 -0
- package/dist/views/sys/dict/list/dic-form.vue +246 -0
- package/dist/views/sys/dict/list/dic-form.vue.d.ts +10 -0
- package/dist/views/sys/dict/list/index.d.vue.ts +2 -0
- package/dist/views/sys/dict/list/index.vue +194 -0
- package/dist/views/sys/dict/list/index.vue.d.ts +2 -0
- package/dist/views/sys/dict/list/item-form.d.vue.ts +11 -0
- package/dist/views/sys/dict/list/item-form.vue +224 -0
- package/dist/views/sys/dict/list/item-form.vue.d.ts +11 -0
- package/dist/views/sys/dict/list/item-index.d.vue.ts +5 -0
- package/dist/views/sys/dict/list/item-index.vue +238 -0
- package/dist/views/sys/dict/list/item-index.vue.d.ts +5 -0
- package/dist/views/sys/dict/sql/dic-form.d.vue.ts +10 -0
- package/dist/views/sys/dict/sql/dic-form.vue +277 -0
- package/dist/views/sys/dict/sql/dic-form.vue.d.ts +10 -0
- package/dist/views/sys/dict/sql/index.d.vue.ts +2 -0
- package/dist/views/sys/dict/sql/index.vue +197 -0
- package/dist/views/sys/dict/sql/index.vue.d.ts +2 -0
- package/dist/views/sys/dict/sql/previewResult.d.vue.ts +21 -0
- package/dist/views/sys/dict/sql/previewResult.vue +275 -0
- package/dist/views/sys/dict/sql/previewResult.vue.d.ts +21 -0
- package/dist/views/sys/dict/tree/components/item-import.d.vue.ts +8 -0
- package/dist/views/sys/dict/tree/components/item-import.vue +109 -0
- package/dist/views/sys/dict/tree/components/item-import.vue.d.ts +8 -0
- package/dist/views/sys/dict/tree/dic-form.d.vue.ts +10 -0
- package/dist/views/sys/dict/tree/dic-form.vue +234 -0
- package/dist/views/sys/dict/tree/dic-form.vue.d.ts +10 -0
- package/dist/views/sys/dict/tree/index.d.vue.ts +2 -0
- package/dist/views/sys/dict/tree/index.vue +193 -0
- package/dist/views/sys/dict/tree/index.vue.d.ts +2 -0
- package/dist/views/sys/dict/tree/item-form.d.vue.ts +17 -0
- package/dist/views/sys/dict/tree/item-form.vue +293 -0
- package/dist/views/sys/dict/tree/item-form.vue.d.ts +17 -0
- package/dist/views/sys/dict/tree/item-index.d.vue.ts +5 -0
- package/dist/views/sys/dict/tree/item-index.vue +386 -0
- package/dist/views/sys/dict/tree/item-index.vue.d.ts +5 -0
- package/dist/views/sys/icon/icon-library/icon-library-form.d.vue.ts +8 -0
- package/dist/views/sys/icon/icon-library/icon-library-form.vue +142 -0
- package/dist/views/sys/icon/icon-library/icon-library-form.vue.d.ts +8 -0
- package/dist/views/sys/icon/icon-library/index.d.vue.ts +2 -0
- package/dist/views/sys/icon/icon-library/index.vue +271 -0
- package/dist/views/sys/icon/icon-library/index.vue.d.ts +2 -0
- package/dist/views/sys/icon/icon-manager/icon-batch-add.d.vue.ts +11 -0
- package/dist/views/sys/icon/icon-manager/icon-batch-add.vue +347 -0
- package/dist/views/sys/icon/icon-manager/icon-batch-add.vue.d.ts +11 -0
- package/dist/views/sys/icon/icon-manager/icon-copy.d.vue.ts +7 -0
- package/dist/views/sys/icon/icon-manager/icon-copy.vue +135 -0
- package/dist/views/sys/icon/icon-manager/icon-copy.vue.d.ts +7 -0
- package/dist/views/sys/icon/icon-manager/icon-import.d.vue.ts +12 -0
- package/dist/views/sys/icon/icon-manager/icon-import.vue +191 -0
- package/dist/views/sys/icon/icon-manager/icon-import.vue.d.ts +12 -0
- package/dist/views/sys/icon/icon-manager/icon-manager-form.d.vue.ts +13 -0
- package/dist/views/sys/icon/icon-manager/icon-manager-form.vue +277 -0
- package/dist/views/sys/icon/icon-manager/icon-manager-form.vue.d.ts +13 -0
- package/dist/views/sys/icon/icon-manager/index.d.vue.ts +6 -0
- package/dist/views/sys/icon/icon-manager/index.vue +504 -0
- package/dist/views/sys/icon/icon-manager/index.vue.d.ts +6 -0
- package/dist/views/sys/icon/index.d.vue.ts +2 -0
- package/dist/views/sys/icon/index.vue +53 -0
- package/dist/views/sys/icon/index.vue.d.ts +2 -0
- package/dist/views/sys/llm/index.d.vue.ts +2 -0
- package/dist/views/sys/llm/index.vue +1762 -0
- package/dist/views/sys/llm/index.vue.d.ts +2 -0
- package/dist/views/sys/log/components/operate-log-detail.d.vue.ts +6 -0
- package/dist/views/sys/log/components/operate-log-detail.vue +176 -0
- package/dist/views/sys/log/components/operate-log-detail.vue.d.ts +6 -0
- package/dist/views/sys/log/index.d.vue.ts +2 -0
- package/dist/views/sys/log/index.vue +607 -0
- package/dist/views/sys/log/index.vue.d.ts +2 -0
- package/dist/views/sys/mail/mail-account/components/mail-account-form.d.vue.ts +11 -0
- package/dist/views/sys/mail/mail-account/components/mail-account-form.vue +365 -0
- package/dist/views/sys/mail/mail-account/components/mail-account-form.vue.d.ts +11 -0
- package/dist/views/sys/mail/mail-account/index.d.vue.ts +2 -0
- package/dist/views/sys/mail/mail-account/index.vue +390 -0
- package/dist/views/sys/mail/mail-account/index.vue.d.ts +2 -0
- package/dist/views/sys/mail/mail-blacklist/components/mail-blacklist-form.d.vue.ts +13 -0
- package/dist/views/sys/mail/mail-blacklist/components/mail-blacklist-form.vue +239 -0
- package/dist/views/sys/mail/mail-blacklist/components/mail-blacklist-form.vue.d.ts +13 -0
- package/dist/views/sys/mail/mail-blacklist/index.d.vue.ts +2 -0
- package/dist/views/sys/mail/mail-blacklist/index.vue +268 -0
- package/dist/views/sys/mail/mail-blacklist/index.vue.d.ts +2 -0
- package/dist/views/sys/mail/mail-log/components/mail-log-detail.d.vue.ts +6 -0
- package/dist/views/sys/mail/mail-log/components/mail-log-detail.vue +121 -0
- package/dist/views/sys/mail/mail-log/components/mail-log-detail.vue.d.ts +6 -0
- package/dist/views/sys/mail/mail-log/index.d.vue.ts +2 -0
- package/dist/views/sys/mail/mail-log/index.vue +233 -0
- package/dist/views/sys/mail/mail-log/index.vue.d.ts +2 -0
- package/dist/views/sys/mail/mail-rate-limit/components/rate-limit-form.d.vue.ts +12 -0
- package/dist/views/sys/mail/mail-rate-limit/components/rate-limit-form.vue +237 -0
- package/dist/views/sys/mail/mail-rate-limit/components/rate-limit-form.vue.d.ts +12 -0
- package/dist/views/sys/mail/mail-rate-limit/index.d.vue.ts +2 -0
- package/dist/views/sys/mail/mail-rate-limit/index.vue +261 -0
- package/dist/views/sys/mail/mail-rate-limit/index.vue.d.ts +2 -0
- package/dist/views/sys/mail/mail-template/components/mail-template-form.d.vue.ts +11 -0
- package/dist/views/sys/mail/mail-template/components/mail-template-form.vue +320 -0
- package/dist/views/sys/mail/mail-template/components/mail-template-form.vue.d.ts +11 -0
- package/dist/views/sys/mail/mail-template/components/mail-template-send-test.d.vue.ts +7 -0
- package/dist/views/sys/mail/mail-template/components/mail-template-send-test.vue +305 -0
- package/dist/views/sys/mail/mail-template/components/mail-template-send-test.vue.d.ts +7 -0
- package/dist/views/sys/mail/mail-template/index.d.vue.ts +2 -0
- package/dist/views/sys/mail/mail-template/index.vue +377 -0
- package/dist/views/sys/mail/mail-template/index.vue.d.ts +2 -0
- package/dist/views/sys/mail/mail-whitelist/components/mail-whitelist-form.d.vue.ts +13 -0
- package/dist/views/sys/mail/mail-whitelist/components/mail-whitelist-form.vue +239 -0
- package/dist/views/sys/mail/mail-whitelist/components/mail-whitelist-form.vue.d.ts +13 -0
- package/dist/views/sys/mail/mail-whitelist/index.d.vue.ts +2 -0
- package/dist/views/sys/mail/mail-whitelist/index.vue +265 -0
- package/dist/views/sys/mail/mail-whitelist/index.vue.d.ts +2 -0
- package/dist/views/sys/menu/components/label-selector.d.vue.ts +20 -0
- package/dist/views/sys/menu/components/label-selector.vue +379 -0
- package/dist/views/sys/menu/components/label-selector.vue.d.ts +20 -0
- package/dist/views/sys/menu/index.d.vue.ts +2 -0
- package/dist/views/sys/menu/index.vue +860 -0
- package/dist/views/sys/menu/index.vue.d.ts +2 -0
- package/dist/views/sys/menu/menu-form.d.vue.ts +17 -0
- package/dist/views/sys/menu/menu-form.vue +746 -0
- package/dist/views/sys/menu/menu-form.vue.d.ts +17 -0
- package/dist/views/sys/menu/menu-label-manage.d.vue.ts +5 -0
- package/dist/views/sys/menu/menu-label-manage.vue +400 -0
- package/dist/views/sys/menu/menu-label-manage.vue.d.ts +5 -0
- package/dist/views/sys/msg/components/msg-detail.d.vue.ts +7 -0
- package/dist/views/sys/msg/components/msg-detail.vue +1621 -0
- package/dist/views/sys/msg/components/msg-detail.vue.d.ts +7 -0
- package/dist/views/sys/msg/components/msg-form.d.vue.ts +11 -0
- package/dist/views/sys/msg/components/msg-form.vue +959 -0
- package/dist/views/sys/msg/components/msg-form.vue.d.ts +11 -0
- package/dist/views/sys/msg/components/msg-receive-status.d.vue.ts +9 -0
- package/dist/views/sys/msg/components/msg-receive-status.vue +135 -0
- package/dist/views/sys/msg/components/msg-receive-status.vue.d.ts +9 -0
- package/dist/views/sys/msg/components/msg-review.d.vue.ts +9 -0
- package/dist/views/sys/msg/components/msg-review.vue +556 -0
- package/dist/views/sys/msg/components/msg-review.vue.d.ts +9 -0
- package/dist/views/sys/msg/consult/notice/index.d.vue.ts +2 -0
- package/dist/views/sys/msg/consult/notice/index.vue +420 -0
- package/dist/views/sys/msg/consult/notice/index.vue.d.ts +2 -0
- package/dist/views/sys/msg/consult/politicalNews/index.d.vue.ts +2 -0
- package/dist/views/sys/msg/consult/politicalNews/index.vue +526 -0
- package/dist/views/sys/msg/consult/politicalNews/index.vue.d.ts +2 -0
- package/dist/views/sys/msg/index.d.vue.ts +2 -0
- package/dist/views/sys/msg/index.vue +692 -0
- package/dist/views/sys/msg/index.vue.d.ts +2 -0
- package/dist/views/sys/my-msg/components/msg-detail.d.vue.ts +7 -0
- package/dist/views/sys/my-msg/components/msg-detail.vue +1418 -0
- package/dist/views/sys/my-msg/components/msg-detail.vue.d.ts +7 -0
- package/dist/views/sys/my-msg/index.d.vue.ts +2 -0
- package/dist/views/sys/my-msg/index.vue +683 -0
- package/dist/views/sys/my-msg/index.vue.d.ts +2 -0
- package/dist/views/sys/notice/components/notice-form.d.vue.ts +10 -0
- package/dist/views/sys/notice/components/notice-form.vue +240 -0
- package/dist/views/sys/notice/components/notice-form.vue.d.ts +10 -0
- package/dist/views/sys/notice/index.d.vue.ts +2 -0
- package/dist/views/sys/notice/index.vue +292 -0
- package/dist/views/sys/notice/index.vue.d.ts +2 -0
- package/dist/views/sys/online-user/index.d.vue.ts +2 -0
- package/dist/views/sys/online-user/index.vue +227 -0
- package/dist/views/sys/online-user/index.vue.d.ts +2 -0
- package/dist/views/sys/post/components/extend-manage.d.vue.ts +2 -0
- package/dist/views/sys/post/components/extend-manage.vue +583 -0
- package/dist/views/sys/post/components/extend-manage.vue.d.ts +2 -0
- package/dist/views/sys/post/components/post-form.d.vue.ts +11 -0
- package/dist/views/sys/post/components/post-form.vue +252 -0
- package/dist/views/sys/post/components/post-form.vue.d.ts +11 -0
- package/dist/views/sys/post/index.d.vue.ts +2 -0
- package/dist/views/sys/post/index.vue +474 -0
- package/dist/views/sys/post/index.vue.d.ts +2 -0
- package/dist/views/sys/quartz/cron/day.d.vue.ts +22 -0
- package/dist/views/sys/quartz/cron/day.vue +182 -0
- package/dist/views/sys/quartz/cron/day.vue.d.ts +22 -0
- package/dist/views/sys/quartz/cron/hour.d.vue.ts +22 -0
- package/dist/views/sys/quartz/cron/hour.vue +140 -0
- package/dist/views/sys/quartz/cron/hour.vue.d.ts +22 -0
- package/dist/views/sys/quartz/cron/index.d.vue.ts +27 -0
- package/dist/views/sys/quartz/cron/index.vue +401 -0
- package/dist/views/sys/quartz/cron/index.vue.d.ts +27 -0
- package/dist/views/sys/quartz/cron/min.d.vue.ts +22 -0
- package/dist/views/sys/quartz/cron/min.vue +140 -0
- package/dist/views/sys/quartz/cron/min.vue.d.ts +22 -0
- package/dist/views/sys/quartz/cron/month.d.vue.ts +22 -0
- package/dist/views/sys/quartz/cron/month.vue +159 -0
- package/dist/views/sys/quartz/cron/month.vue.d.ts +22 -0
- package/dist/views/sys/quartz/cron/result.d.vue.ts +14 -0
- package/dist/views/sys/quartz/cron/result.vue +436 -0
- package/dist/views/sys/quartz/cron/result.vue.d.ts +14 -0
- package/dist/views/sys/quartz/cron/second.d.vue.ts +22 -0
- package/dist/views/sys/quartz/cron/second.vue +155 -0
- package/dist/views/sys/quartz/cron/second.vue.d.ts +22 -0
- package/dist/views/sys/quartz/cron/types/index.d.ts +9 -0
- package/dist/views/sys/quartz/cron/types/index.mjs +0 -0
- package/dist/views/sys/quartz/cron/utils/index.d.ts +1 -0
- package/dist/views/sys/quartz/cron/utils/index.mjs +4 -0
- package/dist/views/sys/quartz/cron/week.d.vue.ts +22 -0
- package/dist/views/sys/quartz/cron/week.vue +229 -0
- package/dist/views/sys/quartz/cron/week.vue.d.ts +22 -0
- package/dist/views/sys/quartz/cron/year.d.vue.ts +22 -0
- package/dist/views/sys/quartz/cron/year.vue +173 -0
- package/dist/views/sys/quartz/cron/year.vue.d.ts +22 -0
- package/dist/views/sys/quartz/index.d.vue.ts +2 -0
- package/dist/views/sys/quartz/index.vue +323 -0
- package/dist/views/sys/quartz/index.vue.d.ts +2 -0
- package/dist/views/sys/quartz/job-form.d.vue.ts +17 -0
- package/dist/views/sys/quartz/job-form.vue +309 -0
- package/dist/views/sys/quartz/job-form.vue.d.ts +17 -0
- package/dist/views/sys/quartz/joblog-index.d.vue.ts +5 -0
- package/dist/views/sys/quartz/joblog-index.vue +154 -0
- package/dist/views/sys/quartz/joblog-index.vue.d.ts +5 -0
- package/dist/views/sys/role/components/application-menu-auth.d.vue.ts +19 -0
- package/dist/views/sys/role/components/application-menu-auth.vue +190 -0
- package/dist/views/sys/role/components/application-menu-auth.vue.d.ts +19 -0
- package/dist/views/sys/role/components/role-form.d.vue.ts +10 -0
- package/dist/views/sys/role/components/role-form.vue +456 -0
- package/dist/views/sys/role/components/role-form.vue.d.ts +10 -0
- package/dist/views/sys/role/components/role-info-cell.d.vue.ts +5 -0
- package/dist/views/sys/role/components/role-info-cell.vue +20 -0
- package/dist/views/sys/role/components/role-info-cell.vue.d.ts +5 -0
- package/dist/views/sys/role/components/role-permission.d.vue.ts +7 -0
- package/dist/views/sys/role/components/role-permission.vue +605 -0
- package/dist/views/sys/role/components/role-permission.vue.d.ts +7 -0
- package/dist/views/sys/role/components/role-type-tag.d.vue.ts +5 -0
- package/dist/views/sys/role/components/role-type-tag.vue +18 -0
- package/dist/views/sys/role/components/role-type-tag.vue.d.ts +5 -0
- package/dist/views/sys/role/index.d.vue.ts +2 -0
- package/dist/views/sys/role/index.vue +830 -0
- package/dist/views/sys/role/index.vue.d.ts +2 -0
- package/dist/views/sys/seal/seal-manage/components/seal-form.d.vue.ts +19 -0
- package/dist/views/sys/seal/seal-manage/components/seal-form.vue +1203 -0
- package/dist/views/sys/seal/seal-manage/components/seal-form.vue.d.ts +19 -0
- package/dist/views/sys/seal/seal-manage/index.d.vue.ts +2 -0
- package/dist/views/sys/seal/seal-manage/index.vue +413 -0
- package/dist/views/sys/seal/seal-manage/index.vue.d.ts +2 -0
- package/dist/views/sys/seal/signature/components/signature-editor.d.vue.ts +23 -0
- package/dist/views/sys/seal/signature/components/signature-editor.vue +243 -0
- package/dist/views/sys/seal/signature/components/signature-editor.vue.d.ts +23 -0
- package/dist/views/sys/seal/signature/components/signature-form.d.vue.ts +12 -0
- package/dist/views/sys/seal/signature/components/signature-form.vue +272 -0
- package/dist/views/sys/seal/signature/components/signature-form.vue.d.ts +12 -0
- package/dist/views/sys/seal/signature/index.d.vue.ts +2 -0
- package/dist/views/sys/seal/signature/index.vue +346 -0
- package/dist/views/sys/seal/signature/index.vue.d.ts +2 -0
- package/dist/views/sys/sensitiveword/components/sensitive-word-form.d.vue.ts +12 -0
- package/dist/views/sys/sensitiveword/components/sensitive-word-form.vue +167 -0
- package/dist/views/sys/sensitiveword/components/sensitive-word-form.vue.d.ts +12 -0
- package/dist/views/sys/sensitiveword/components/sensitive-word-import.d.vue.ts +5 -0
- package/dist/views/sys/sensitiveword/components/sensitive-word-import.vue +44 -0
- package/dist/views/sys/sensitiveword/components/sensitive-word-import.vue.d.ts +5 -0
- package/dist/views/sys/sensitiveword/index.d.vue.ts +2 -0
- package/dist/views/sys/sensitiveword/index.vue +765 -0
- package/dist/views/sys/sensitiveword/index.vue.d.ts +2 -0
- package/dist/views/sys/sms/sms-blacklist/components/sms-blacklist-form.d.vue.ts +13 -0
- package/dist/views/sys/sms/sms-blacklist/components/sms-blacklist-form.vue +236 -0
- package/dist/views/sys/sms/sms-blacklist/components/sms-blacklist-form.vue.d.ts +13 -0
- package/dist/views/sys/sms/sms-blacklist/index.d.vue.ts +2 -0
- package/dist/views/sys/sms/sms-blacklist/index.vue +314 -0
- package/dist/views/sys/sms/sms-blacklist/index.vue.d.ts +2 -0
- package/dist/views/sys/sms/sms-channel/components/sms-channel-form.d.vue.ts +13 -0
- package/dist/views/sys/sms/sms-channel/components/sms-channel-form.vue +260 -0
- package/dist/views/sys/sms/sms-channel/components/sms-channel-form.vue.d.ts +13 -0
- package/dist/views/sys/sms/sms-channel/index.d.vue.ts +2 -0
- package/dist/views/sys/sms/sms-channel/index.vue +458 -0
- package/dist/views/sys/sms/sms-channel/index.vue.d.ts +2 -0
- package/dist/views/sys/sms/sms-log/components/sms-log-detail.d.vue.ts +8 -0
- package/dist/views/sys/sms/sms-log/components/sms-log-detail.vue +173 -0
- package/dist/views/sys/sms/sms-log/components/sms-log-detail.vue.d.ts +8 -0
- package/dist/views/sys/sms/sms-log/index.d.vue.ts +2 -0
- package/dist/views/sys/sms/sms-log/index.vue +301 -0
- package/dist/views/sys/sms/sms-log/index.vue.d.ts +2 -0
- package/dist/views/sys/sms/sms-rate-limit-config/components/sms-rate-limit-config-form.d.vue.ts +13 -0
- package/dist/views/sys/sms/sms-rate-limit-config/components/sms-rate-limit-config-form.vue +249 -0
- package/dist/views/sys/sms/sms-rate-limit-config/components/sms-rate-limit-config-form.vue.d.ts +13 -0
- package/dist/views/sys/sms/sms-rate-limit-config/index.d.vue.ts +2 -0
- package/dist/views/sys/sms/sms-rate-limit-config/index.vue +259 -0
- package/dist/views/sys/sms/sms-rate-limit-config/index.vue.d.ts +2 -0
- package/dist/views/sys/sms/sms-template/components/sms-template-form.d.vue.ts +15 -0
- package/dist/views/sys/sms/sms-template/components/sms-template-form.vue +344 -0
- package/dist/views/sys/sms/sms-template/components/sms-template-form.vue.d.ts +15 -0
- package/dist/views/sys/sms/sms-template/components/sms-template-send-test.d.vue.ts +7 -0
- package/dist/views/sys/sms/sms-template/components/sms-template-send-test.vue +269 -0
- package/dist/views/sys/sms/sms-template/components/sms-template-send-test.vue.d.ts +7 -0
- package/dist/views/sys/sms/sms-template/index.d.vue.ts +2 -0
- package/dist/views/sys/sms/sms-template/index.vue +455 -0
- package/dist/views/sys/sms/sms-template/index.vue.d.ts +2 -0
- package/dist/views/sys/sms/sms-whitelist/components/sms-whitelist-form.d.vue.ts +13 -0
- package/dist/views/sys/sms/sms-whitelist/components/sms-whitelist-form.vue +236 -0
- package/dist/views/sys/sms/sms-whitelist/components/sms-whitelist-form.vue.d.ts +13 -0
- package/dist/views/sys/sms/sms-whitelist/index.d.vue.ts +2 -0
- package/dist/views/sys/sms/sms-whitelist/index.vue +314 -0
- package/dist/views/sys/sms/sms-whitelist/index.vue.d.ts +2 -0
- package/dist/views/sys/sys-config/base-config/base-form.d.vue.ts +64 -0
- package/dist/views/sys/sys-config/base-config/base-form.vue +1066 -0
- package/dist/views/sys/sys-config/base-config/base-form.vue.d.ts +64 -0
- package/dist/views/sys/sys-config/common-config/common-form.d.vue.ts +28 -0
- package/dist/views/sys/sys-config/common-config/common-form.vue +230 -0
- package/dist/views/sys/sys-config/common-config/common-form.vue.d.ts +28 -0
- package/dist/views/sys/sys-config/desensitization-config/desensitization-form.d.vue.ts +87 -0
- package/dist/views/sys/sys-config/desensitization-config/desensitization-form.vue +224 -0
- package/dist/views/sys/sys-config/desensitization-config/desensitization-form.vue.d.ts +87 -0
- package/dist/views/sys/sys-config/index.d.vue.ts +2 -0
- package/dist/views/sys/sys-config/index.vue +127 -0
- package/dist/views/sys/sys-config/index.vue.d.ts +2 -0
- package/dist/views/sys/sys-config/login-config/login-form.d.vue.ts +87 -0
- package/dist/views/sys/sys-config/login-config/login-form.vue +346 -0
- package/dist/views/sys/sys-config/login-config/login-form.vue.d.ts +87 -0
- package/dist/views/sys/sys-config/mobile-config/components/import-file.d.vue.ts +56 -0
- package/dist/views/sys/sys-config/mobile-config/components/import-file.vue +170 -0
- package/dist/views/sys/sys-config/mobile-config/components/import-file.vue.d.ts +56 -0
- package/dist/views/sys/sys-config/mobile-config/index.d.vue.ts +48 -0
- package/dist/views/sys/sys-config/mobile-config/index.vue +997 -0
- package/dist/views/sys/sys-config/mobile-config/index.vue.d.ts +48 -0
- package/dist/views/sys/sys-config/pwd-config/pwd-form.d.vue.ts +87 -0
- package/dist/views/sys/sys-config/pwd-config/pwd-form.vue +245 -0
- package/dist/views/sys/sys-config/pwd-config/pwd-form.vue.d.ts +87 -0
- package/dist/views/sys/sys-config/superadmin-config/index.d.vue.ts +6 -0
- package/dist/views/sys/sys-config/superadmin-config/index.vue +121 -0
- package/dist/views/sys/sys-config/superadmin-config/index.vue.d.ts +6 -0
- package/dist/views/sys/template-config/components/template-form.d.vue.ts +10 -0
- package/dist/views/sys/template-config/components/template-form.vue +395 -0
- package/dist/views/sys/template-config/components/template-form.vue.d.ts +10 -0
- package/dist/views/sys/template-config/index.d.vue.ts +15 -0
- package/dist/views/sys/template-config/index.vue +426 -0
- package/dist/views/sys/template-config/index.vue.d.ts +15 -0
- package/dist/views/sys/tenant/components/application-menu-auth.d.vue.ts +16 -0
- package/dist/views/sys/tenant/components/application-menu-auth.vue +216 -0
- package/dist/views/sys/tenant/components/application-menu-auth.vue.d.ts +16 -0
- package/dist/views/sys/tenant/components/tenant-form.d.vue.ts +16 -0
- package/dist/views/sys/tenant/components/tenant-form.vue +514 -0
- package/dist/views/sys/tenant/components/tenant-form.vue.d.ts +16 -0
- package/dist/views/sys/tenant/index.d.vue.ts +2 -0
- package/dist/views/sys/tenant/index.vue +480 -0
- package/dist/views/sys/tenant/index.vue.d.ts +2 -0
- package/dist/views/sys/user/components/user-extend-manage.d.vue.ts +2 -0
- package/dist/views/sys/user/components/user-extend-manage.vue +590 -0
- package/dist/views/sys/user/components/user-extend-manage.vue.d.ts +2 -0
- package/dist/views/sys/user/components/user-form.d.vue.ts +16 -0
- package/dist/views/sys/user/components/user-form.vue +686 -0
- package/dist/views/sys/user/components/user-form.vue.d.ts +16 -0
- package/dist/views/sys/user/components/user-import.d.vue.ts +4 -0
- package/dist/views/sys/user/components/user-import.vue +98 -0
- package/dist/views/sys/user/components/user-import.vue.d.ts +4 -0
- package/dist/views/sys/user/components/work-transfer.d.vue.ts +8 -0
- package/dist/views/sys/user/components/work-transfer.vue +127 -0
- package/dist/views/sys/user/components/work-transfer.vue.d.ts +8 -0
- package/dist/views/sys/user/index.d.vue.ts +2 -0
- package/dist/views/sys/user/index.vue +709 -0
- package/dist/views/sys/user/index.vue.d.ts +2 -0
- package/dist/views/system/server-monitor/components/EchartsFree.d.vue.ts +12 -0
- package/dist/views/system/server-monitor/components/EchartsFree.vue +104 -0
- package/dist/views/system/server-monitor/components/EchartsFree.vue.d.ts +12 -0
- package/dist/views/system/server-monitor/components/EchartsUse.d.vue.ts +12 -0
- package/dist/views/system/server-monitor/components/EchartsUse.vue +121 -0
- package/dist/views/system/server-monitor/components/EchartsUse.vue.d.ts +12 -0
- package/dist/views/system/server-monitor/index.d.vue.ts +2 -0
- package/dist/views/system/server-monitor/index.vue +169 -0
- package/dist/views/system/server-monitor/index.vue.d.ts +2 -0
- package/dist/views/system/websocket-debug.d.vue.ts +2 -0
- package/dist/views/system/websocket-debug.vue +528 -0
- package/dist/views/system/websocket-debug.vue.d.ts +2 -0
- package/dist/views/wujie-submenu/index.d.vue.ts +2 -0
- package/dist/views/wujie-submenu/index.vue +296 -0
- package/dist/views/wujie-submenu/index.vue.d.ts +2 -0
- package/package.json +74 -0
- package/src/api/account/index.ts +242 -0
- package/src/api/account/types.ts +65 -0
- package/src/api/app-menu/config/index.ts +244 -0
- package/src/api/app-menu/config/types.ts +102 -0
- package/src/api/app-menu/index.ts +249 -0
- package/src/api/app-menu/menu.ts +229 -0
- package/src/api/app-menu/menuTypes.ts +171 -0
- package/src/api/app-menu/types.ts +121 -0
- package/src/api/cache/index.ts +86 -0
- package/src/api/codegen/index.ts +402 -0
- package/src/api/codegen/template-file.ts +73 -0
- package/src/api/codegen/template-group.ts +82 -0
- package/src/api/codegen/types.ts +1 -0
- package/src/api/column-manager/index.ts +69 -0
- package/src/api/column-manager/types.ts +36 -0
- package/src/api/consult/index.ts +159 -0
- package/src/api/data-connect/index.ts +69 -0
- package/src/api/data-connect/types.ts +89 -0
- package/src/api/data-interface/index.ts +215 -0
- package/src/api/data-interface/types.ts +319 -0
- package/src/api/data-modeling/index.ts +186 -0
- package/src/api/data-modeling/types.ts +70 -0
- package/src/api/department/index.ts +126 -0
- package/src/api/dic/index.ts +355 -0
- package/src/api/dic/types.ts +60 -0
- package/src/api/dictionary/index.ts +129 -0
- package/src/api/example/index.ts +17 -0
- package/src/api/file-config/index.ts +71 -0
- package/src/api/file-config/types.ts +95 -0
- package/src/api/file-info/index.ts +50 -0
- package/src/api/file-info/types.ts +57 -0
- package/src/api/icon/index.ts +157 -0
- package/src/api/icon/types.ts +56 -0
- package/src/api/index.ts +60 -0
- package/src/api/interface-oauth/index.ts +199 -0
- package/src/api/interface-oauth/types.ts +128 -0
- package/src/api/launchpage/index.ts +69 -0
- package/src/api/llm/index.ts +119 -0
- package/src/api/llm/types.ts +122 -0
- package/src/api/log/index.ts +47 -0
- package/src/api/log/types.ts +71 -0
- package/src/api/login/index.ts +117 -0
- package/src/api/login/types.ts +120 -0
- package/src/api/login/util.ts +117 -0
- package/src/api/mail/index.ts +344 -0
- package/src/api/mail/types.ts +282 -0
- package/src/api/menu/index.ts +143 -0
- package/src/api/menu/types.ts +100 -0
- package/src/api/msg/index.ts +258 -0
- package/src/api/msg/types.ts +176 -0
- package/src/api/notice/index.ts +40 -0
- package/src/api/online-user/index.ts +29 -0
- package/src/api/online-user/types.ts +25 -0
- package/src/api/personal-center/index.ts +18 -0
- package/src/api/personal-center/types.ts +39 -0
- package/src/api/post/index.ts +128 -0
- package/src/api/preference/index.ts +20 -0
- package/src/api/preference/types.ts +10 -0
- package/src/api/quartz/index.ts +93 -0
- package/src/api/request.ts +94 -0
- package/src/api/role/index.ts +205 -0
- package/src/api/seal/demo-types.ts +125 -0
- package/src/api/seal/demo.ts +58 -0
- package/src/api/seal/index.ts +193 -0
- package/src/api/seal/types.ts +205 -0
- package/src/api/sensitiveword/index.ts +89 -0
- package/src/api/sensitiveword/types.ts +96 -0
- package/src/api/server-monitor/index.ts +83 -0
- package/src/api/sms/index.ts +319 -0
- package/src/api/sms/types.ts +228 -0
- package/src/api/sys/menu.ts +158 -0
- package/src/api/sys-config/index.ts +68 -0
- package/src/api/template-config/index.ts +74 -0
- package/src/api/tenant/index.ts +163 -0
- package/src/api/tenant/types.ts +97 -0
- package/src/api/user/index.ts +122 -0
- package/src/api/user/types.ts +76 -0
- package/src/assets/imgs/basic-bg-left.png +0 -0
- package/src/assets/imgs/basic-bg-right.png +0 -0
- package/src/assets/imgs/basic-time-1.png +0 -0
- package/src/assets/imgs/basic-time-2.png +0 -0
- package/src/assets/imgs/basic-time-3.png +0 -0
- package/src/assets/imgs/basic-time-icon.png +0 -0
- package/src/assets/imgs/home-bg-dark.jpg +0 -0
- package/src/assets/imgs/home-bg.png +0 -0
- package/src/assets/imgs/personal-center-top-bg.png +0 -0
- package/src/assets/svgs/contentmsg.svg +209 -0
- package/src/assets/svgs/diskmsg.svg +38 -0
- package/src/components/account-item/index.ts +1 -0
- package/src/components/account-item/src/account-item.vue +121 -0
- package/src/components/account-switch-dialog/index.ts +4 -0
- package/src/components/account-switch-dialog/src/account-switch-dialog.vue +238 -0
- package/src/components/app-menu-tree/index.ts +1 -0
- package/src/components/app-menu-tree/src/app-menu-tree.vue +47 -0
- package/src/components/avatar-cropper/index.ts +1 -0
- package/src/components/avatar-cropper/src/avatar-cropper.vue +142 -0
- package/src/components/content-card/index.ts +1 -0
- package/src/components/content-card/src/content-card.vue +21 -0
- package/src/components/custom-tags/index.ts +3 -0
- package/src/components/custom-tags/src/gender-tag.vue +111 -0
- package/src/components/custom-tags/src/status-tag.vue +90 -0
- package/src/components/custom-tags/src/tag.vue +84 -0
- package/src/components/department-form.vue +711 -0
- package/src/components/department-tree/index.ts +1 -0
- package/src/components/department-tree/src/department-tree.vue +419 -0
- package/src/components/department-tree.vue +409 -0
- package/src/components/expand-attribute/index.ts +1 -0
- package/src/components/expand-attribute/src/expand-attribute.vue +116 -0
- package/src/components/expand-attribute.vue +116 -0
- package/src/components/gender-tag.vue +111 -0
- package/src/components/import-file/index.ts +1 -0
- package/src/components/import-file/src/import-file.vue +216 -0
- package/src/components/main-container/index.ts +1 -0
- package/src/components/main-container/src/main-container.vue +50 -0
- package/src/components/main-container.vue +50 -0
- package/src/components/organ-account-select/index.ts +1 -0
- package/src/components/organ-account-select/src/organ-account-select.vue +403 -0
- package/src/components/seal/seal-designer.vue +289 -0
- package/src/components/seal/seal-selector.vue +272 -0
- package/src/components/upload-img/index.ts +1 -0
- package/src/components/upload-img/src/upload-img.vue +169 -0
- package/src/components/upload-img-new/index.ts +2 -0
- package/src/components/upload-img-new/src/upload-img-new.vue +423 -0
- package/src/components/user-extend-manage.vue +590 -0
- package/src/components/user-form.vue +686 -0
- package/src/components/user-import.vue +98 -0
- package/src/components/user-management.vue +709 -0
- package/src/components/websocket-status/index.vue +124 -0
- package/src/components/work-transfer.vue +127 -0
- package/src/hooks/useDict.ts +94 -0
- package/src/index.ts +39 -0
- package/src/plugin.ts +42 -0
- package/src/store/auth.ts +212 -0
- package/src/store/dict.ts +68 -0
- package/src/store/index.ts +2 -0
- package/src/store/websocket.ts +504 -0
- package/src/store/ws-notification.ts +122 -0
- package/src/types.ts +28 -0
- package/src/utils/config-sync.ts +14 -0
- package/src/utils/file.ts +92 -0
- package/src/utils/index.ts +137 -0
- package/src/utils/init-icons.ts +118 -0
- package/src/utils/treeUtil.ts +110 -0
- package/src/utils/useAuthenticatedHtml.ts +101 -0
- package/src/views/_core/README.md +3 -0
- package/src/views/_core/about/index.vue +9 -0
- package/src/views/_core/authentication/code-login.vue +69 -0
- package/src/views/_core/authentication/forget-password.vue +43 -0
- package/src/views/_core/authentication/login.vue +105 -0
- package/src/views/_core/authentication/qrcode-login.vue +10 -0
- package/src/views/_core/authentication/register.vue +96 -0
- package/src/views/_core/fallback/coming-soon.vue +7 -0
- package/src/views/_core/fallback/forbidden.vue +9 -0
- package/src/views/_core/fallback/internal-error.vue +9 -0
- package/src/views/_core/fallback/not-found.vue +9 -0
- package/src/views/_core/fallback/offline.vue +9 -0
- package/src/views/codegen/generate/components/CodePreviewModal.vue +1161 -0
- package/src/views/codegen/generate/components/GenerateConfigModal.vue +1005 -0
- package/src/views/codegen/generate/components/TableInfoModal.vue +276 -0
- package/src/views/codegen/generate/components/preview-modal.vue +446 -0
- package/src/views/codegen/generate/index.vue +332 -0
- package/src/views/codegen/generate/table-info.vue +381 -0
- package/src/views/codegen/generate/types/index.ts +486 -0
- package/src/views/codegen/template-manage/components/TemplateFileEditorModal.vue +541 -0
- package/src/views/codegen/template-manage/components/TemplateFileModal.vue +354 -0
- package/src/views/codegen/template-manage/components/TemplateGroupModal.vue +295 -0
- package/src/views/codegen/template-manage/files/index.vue +459 -0
- package/src/views/codegen/template-manage/index.vue +421 -0
- package/src/views/codegen/template-manage/types.ts +190 -0
- package/src/views/dashboard/analytics/analytics-trends.vue +98 -0
- package/src/views/dashboard/analytics/analytics-visits-data.vue +82 -0
- package/src/views/dashboard/analytics/analytics-visits-sales.vue +48 -0
- package/src/views/dashboard/analytics/analytics-visits-source.vue +67 -0
- package/src/views/dashboard/analytics/analytics-visits.vue +55 -0
- package/src/views/dashboard/analytics/index.vue +90 -0
- package/src/views/dashboard/workspace/index.vue +266 -0
- package/src/views/data/data-connect/constants.ts +45 -0
- package/src/views/data/data-connect/data-connect-form.vue +477 -0
- package/src/views/data/data-connect/index.vue +379 -0
- package/src/views/data/data-modeling/components/common-field/common-field-form.vue +174 -0
- package/src/views/data/data-modeling/components/common-field/common-fields.vue +171 -0
- package/src/views/data/data-modeling/components/data-modeling-form-one.vue +265 -0
- package/src/views/data/data-modeling/components/data-modeling-form-two.vue +561 -0
- package/src/views/data/data-modeling/components/data-modeling-form.vue +188 -0
- package/src/views/data/data-modeling/components/data-preview.vue +130 -0
- package/src/views/data/data-modeling/index.vue +376 -0
- package/src/views/data/interface-oauth/components/interface-oauth-log.vue +79 -0
- package/src/views/data/interface-oauth/components/interface-oauth.vue +151 -0
- package/src/views/data/interface-oauth/components/interface-table.vue +70 -0
- package/src/views/data/interface-oauth/components/user-table.vue +50 -0
- package/src/views/data/interface-oauth/components/verify-signature-description.vue +290 -0
- package/src/views/data/interface-oauth/index.vue +463 -0
- package/src/views/data/interface-oauth/interface-oauth-form.vue +357 -0
- package/src/views/demo-case/affix/index.vue +68 -0
- package/src/views/demo-case/alert/index.vue +139 -0
- package/src/views/demo-case/anchor/index.vue +93 -0
- package/src/views/demo-case/avatar/index.vue +331 -0
- package/src/views/demo-case/badge/index.vue +391 -0
- package/src/views/demo-case/border/index.vue +227 -0
- package/src/views/demo-case/breadcrumb/index.vue +77 -0
- package/src/views/demo-case/button/index.vue +257 -0
- package/src/views/demo-case/calendar/index.vue +108 -0
- package/src/views/demo-case/card/index.vue +290 -0
- package/src/views/demo-case/carousel/index.vue +149 -0
- package/src/views/demo-case/cascader/index.vue +243 -0
- package/src/views/demo-case/checkbox/index.vue +236 -0
- package/src/views/demo-case/collapse/index.vue +161 -0
- package/src/views/demo-case/color/index.vue +328 -0
- package/src/views/demo-case/container/index.vue +195 -0
- package/src/views/demo-case/datepicker/index.vue +219 -0
- package/src/views/demo-case/datetimepicker/index.vue +99 -0
- package/src/views/demo-case/descriptions/index.vue +159 -0
- package/src/views/demo-case/dialog/index.vue +302 -0
- package/src/views/demo-case/divider/index.vue +192 -0
- package/src/views/demo-case/drawer/index.vue +211 -0
- package/src/views/demo-case/dropdown/index.vue +171 -0
- package/src/views/demo-case/empty/index.vue +165 -0
- package/src/views/demo-case/fix-mismatched.cjs +49 -0
- package/src/views/demo-case/fix-proper.cjs +44 -0
- package/src/views/demo-case/fix-tags.cjs +110 -0
- package/src/views/demo-case/form/index.vue +435 -0
- package/src/views/demo-case/image/index.vue +283 -0
- package/src/views/demo-case/infinite-scroll/index.vue +238 -0
- package/src/views/demo-case/input/index.vue +338 -0
- package/src/views/demo-case/input-number/index.vue +184 -0
- package/src/views/demo-case/input-tag/index.vue +197 -0
- package/src/views/demo-case/layout/index.vue +253 -0
- package/src/views/demo-case/link/index.vue +125 -0
- package/src/views/demo-case/mention/index.vue +92 -0
- package/src/views/demo-case/menu/index.vue +198 -0
- package/src/views/demo-case/message/index.vue +165 -0
- package/src/views/demo-case/message-box/index.vue +263 -0
- package/src/views/demo-case/notification/index.vue +210 -0
- package/src/views/demo-case/page-header/index.vue +171 -0
- package/src/views/demo-case/pagination/index.vue +349 -0
- package/src/views/demo-case/popconfirm/index.vue +397 -0
- package/src/views/demo-case/progress/index.vue +371 -0
- package/src/views/demo-case/radio/index.vue +136 -0
- package/src/views/demo-case/rate/index.vue +203 -0
- package/src/views/demo-case/result/index.vue +227 -0
- package/src/views/demo-case/scrollbar/index.vue +91 -0
- package/src/views/demo-case/seal-usage/index.vue +1461 -0
- package/src/views/demo-case/segmented/index.vue +233 -0
- package/src/views/demo-case/select/index.vue +391 -0
- package/src/views/demo-case/skeleton/index.vue +205 -0
- package/src/views/demo-case/slider/index.vue +172 -0
- package/src/views/demo-case/statistic/index.vue +248 -0
- package/src/views/demo-case/steps/index.vue +127 -0
- package/src/views/demo-case/switch/index.vue +151 -0
- package/src/views/demo-case/table/index.vue +338 -0
- package/src/views/demo-case/tabs/index.vue +166 -0
- package/src/views/demo-case/tag/index.vue +342 -0
- package/src/views/demo-case/time-picker/index.vue +206 -0
- package/src/views/demo-case/time-select/index.vue +268 -0
- package/src/views/demo-case/timeline/index.vue +258 -0
- package/src/views/demo-case/tooltip/index.vue +284 -0
- package/src/views/demo-case/transfer/index.vue +219 -0
- package/src/views/demo-case/tree/index.vue +367 -0
- package/src/views/demo-case/tree-select/index.vue +525 -0
- package/src/views/demo-case/typography/index.vue +222 -0
- package/src/views/demo-case/upload/index.vue +285 -0
- package/src/views/demo-case/watermark/index.vue +248 -0
- package/src/views/file/file-config/file-config-form.vue +592 -0
- package/src/views/file/file-config/index.vue +326 -0
- package/src/views/file/file-list/components/FileUploadDialog.vue +253 -0
- package/src/views/file/file-list/components/ImagePreview.vue +66 -0
- package/src/views/file/file-list/index.vue +357 -0
- package/src/views/file//346/226/207/344/273/266/347/256/241/347/220/206/345/211/215/347/253/257/345/274/200/345/217/221/346/226/207/346/241/243.md +1166 -0
- package/src/views/home/index.vue +35 -0
- package/src/views/login/components/login-form.vue +666 -0
- package/src/views/login/components/security-code.vue +71 -0
- package/src/views/login/components/update-password.vue +182 -0
- package/src/views/login/index.vue +289 -0
- package/src/views/login/sso/index.vue +60 -0
- package/src/views/navHome/fonts/PangMenZhengDao.ttf +0 -0
- package/src/views/navHome/fonts/font.css +5 -0
- package/src/views/navHome/images/back.png +0 -0
- package/src/views/navHome/images/bg.png +0 -0
- package/src/views/navHome/images/jcsj.png +0 -0
- package/src/views/navHome/images/jdpj.png +0 -0
- package/src/views/navHome/images/jump.png +0 -0
- package/src/views/navHome/images/menu-bg.png +0 -0
- package/src/views/navHome/images/rwzx.png +0 -0
- package/src/views/navHome/images/screen.svg +1 -0
- package/src/views/navHome/images/sjzx.png +0 -0
- package/src/views/navHome/images/sz.png +0 -0
- package/src/views/navHome/images/tc.png +0 -0
- package/src/views/navHome/images/temp.png +0 -0
- package/src/views/navHome/images/tx.png +0 -0
- package/src/views/navHome/images/wggl.png +0 -0
- package/src/views/navHome/images/xjt.png +0 -0
- package/src/views/navHome/images/yygl.png +0 -0
- package/src/views/navHome/images/zhdd.png +0 -0
- package/src/views/navHome/index.vue +479 -0
- package/src/views/personal-center/components/avatar-name.vue +93 -0
- package/src/views/personal-center/components/basic-info.vue +327 -0
- package/src/views/personal-center/components/department-form.vue +133 -0
- package/src/views/personal-center/components/login-log.vue +147 -0
- package/src/views/personal-center/components/sys-permission.vue +168 -0
- package/src/views/personal-center/components/tabs.vue +49 -0
- package/src/views/personal-center/components/update-password.vue +161 -0
- package/src/views/personal-center/index.vue +110 -0
- package/src/views/screen/index.vue +62 -0
- package/src/views/sys/account/components/account-form.vue +581 -0
- package/src/views/sys/account/components/account-import.vue +100 -0
- package/src/views/sys/account/components/sub-positions.vue +282 -0
- package/src/views/sys/account/index.vue +601 -0
- package/src/views/sys/app-menu/application/app-form.vue +860 -0
- package/src/views/sys/app-menu/application/application-extend-manage.vue +596 -0
- package/src/views/sys/app-menu/application/index.vue +868 -0
- package/src/views/sys/app-menu/components/select-icon.vue +57 -0
- package/src/views/sys/app-menu/config/account/index.vue +202 -0
- package/src/views/sys/app-menu/config/account/link-account.vue +110 -0
- package/src/views/sys/app-menu/config/auth/auth-form.vue +733 -0
- package/src/views/sys/app-menu/config/auth/index.vue +211 -0
- package/src/views/sys/app-menu/config/index.vue +55 -0
- package/src/views/sys/app-menu/config/organ/index.vue +359 -0
- package/src/views/sys/app-menu/config/organ/link-organ.vue +309 -0
- package/src/views/sys/app-menu/config/role/index.vue +192 -0
- package/src/views/sys/app-menu/config/role/link-role.vue +109 -0
- package/src/views/sys/app-menu/index.vue +54 -0
- package/src/views/sys/app-menu/menu/components/label-selector.vue +379 -0
- package/src/views/sys/app-menu/menu/index.vue +1071 -0
- package/src/views/sys/app-menu/menu/menu-extend-manage.vue +612 -0
- package/src/views/sys/app-menu/menu/menu-form.vue +1001 -0
- package/src/views/sys/app-menu/menu/menu-label-manage.vue +408 -0
- package/src/views/sys/cache/components/cache-detail.vue +127 -0
- package/src/views/sys/cache/index.vue +426 -0
- package/src/views/sys/column-manager/RecycleBin.vue +532 -0
- package/src/views/sys/column-manager/column-form.vue +249 -0
- package/src/views/sys/column-manager/index.vue +304 -0
- package/src/views/sys/data-interface/components/api-data-config.vue +884 -0
- package/src/views/sys/data-interface/components/data-interface-form.vue +1181 -0
- package/src/views/sys/data-interface/components/data-interface-import.vue +45 -0
- package/src/views/sys/data-interface/components/field-edit-dialog.vue +164 -0
- package/src/views/sys/data-interface/components/interface-field-table.vue +151 -0
- package/src/views/sys/data-interface/components/interface-log.vue +76 -0
- package/src/views/sys/data-interface/components/interface-parameter-table.vue +185 -0
- package/src/views/sys/data-interface/components/param-edit-dialog.vue +250 -0
- package/src/views/sys/data-interface/components/preview.vue +206 -0
- package/src/views/sys/data-interface/components/sql-data-config.vue +658 -0
- package/src/views/sys/data-interface/components/sql-data-display.vue +644 -0
- package/src/views/sys/data-interface/components/sql-data-statistics.vue +627 -0
- package/src/views/sys/data-interface/components/static-data-config.vue +310 -0
- package/src/views/sys/data-interface/index.vue +919 -0
- package/src/views/sys/department/components/department-form.vue +759 -0
- package/src/views/sys/department/components/department-import.vue +45 -0
- package/src/views/sys/department/components/department-members.vue +148 -0
- package/src/views/sys/department/index.vue +639 -0
- package/src/views/sys/dict/custom/dic-form.vue +310 -0
- package/src/views/sys/dict/custom/index.vue +199 -0
- package/src/views/sys/dict/custom/item-form.vue +232 -0
- package/src/views/sys/dict/custom/item-index.vue +184 -0
- package/src/views/sys/dict/index.vue +65 -0
- package/src/views/sys/dict/list/components/item-import.vue +104 -0
- package/src/views/sys/dict/list/dic-form.vue +246 -0
- package/src/views/sys/dict/list/index.vue +194 -0
- package/src/views/sys/dict/list/item-form.vue +224 -0
- package/src/views/sys/dict/list/item-index.vue +238 -0
- package/src/views/sys/dict/sql/dic-form.vue +277 -0
- package/src/views/sys/dict/sql/index.vue +197 -0
- package/src/views/sys/dict/sql/previewResult.vue +275 -0
- package/src/views/sys/dict/tree/components/item-import.vue +109 -0
- package/src/views/sys/dict/tree/dic-form.vue +234 -0
- package/src/views/sys/dict/tree/index.vue +193 -0
- package/src/views/sys/dict/tree/item-form.vue +293 -0
- package/src/views/sys/dict/tree/item-index.vue +386 -0
- package/src/views/sys/icon/icon-library/icon-library-form.vue +142 -0
- package/src/views/sys/icon/icon-library/index.vue +271 -0
- package/src/views/sys/icon/icon-manager/icon-batch-add.vue +347 -0
- package/src/views/sys/icon/icon-manager/icon-copy.vue +135 -0
- package/src/views/sys/icon/icon-manager/icon-import.vue +191 -0
- package/src/views/sys/icon/icon-manager/icon-manager-form.vue +277 -0
- package/src/views/sys/icon/icon-manager/index.vue +504 -0
- package/src/views/sys/icon/icons.json +605 -0
- package/src/views/sys/icon/index.vue +53 -0
- package/src/views/sys/llm/index.vue +1762 -0
- package/src/views/sys/log/components/operate-log-detail.vue +176 -0
- package/src/views/sys/log/index.vue +607 -0
- package/src/views/sys/mail/mail-account/components/mail-account-form.vue +365 -0
- package/src/views/sys/mail/mail-account/index.vue +390 -0
- package/src/views/sys/mail/mail-blacklist/components/mail-blacklist-form.vue +239 -0
- package/src/views/sys/mail/mail-blacklist/index.vue +268 -0
- package/src/views/sys/mail/mail-log/components/mail-log-detail.vue +121 -0
- package/src/views/sys/mail/mail-log/index.vue +233 -0
- package/src/views/sys/mail/mail-rate-limit/components/rate-limit-form.vue +237 -0
- package/src/views/sys/mail/mail-rate-limit/index.vue +261 -0
- package/src/views/sys/mail/mail-template/components/mail-template-form.vue +320 -0
- package/src/views/sys/mail/mail-template/components/mail-template-send-test.vue +305 -0
- package/src/views/sys/mail/mail-template/index.vue +377 -0
- package/src/views/sys/mail/mail-whitelist/components/mail-whitelist-form.vue +239 -0
- package/src/views/sys/mail/mail-whitelist/index.vue +265 -0
- package/src/views/sys/menu/components/label-selector.vue +379 -0
- package/src/views/sys/menu/index.vue +860 -0
- package/src/views/sys/menu/menu-form.vue +746 -0
- package/src/views/sys/menu/menu-label-manage.vue +400 -0
- package/src/views/sys/msg/components/msg-detail.vue +1621 -0
- package/src/views/sys/msg/components/msg-form.vue +959 -0
- package/src/views/sys/msg/components/msg-receive-status.vue +135 -0
- package/src/views/sys/msg/components/msg-review.vue +556 -0
- package/src/views/sys/msg/consult/notice/index.vue +420 -0
- package/src/views/sys/msg/consult/politicalNews/index.vue +526 -0
- package/src/views/sys/msg/index.vue +692 -0
- package/src/views/sys/my-msg/components/msg-detail.vue +1418 -0
- package/src/views/sys/my-msg/index.vue +683 -0
- package/src/views/sys/notice/components/notice-form.vue +240 -0
- package/src/views/sys/notice/index.vue +292 -0
- package/src/views/sys/online-user/index.vue +227 -0
- package/src/views/sys/post/components/extend-manage.vue +583 -0
- package/src/views/sys/post/components/post-form.vue +252 -0
- package/src/views/sys/post/index.vue +474 -0
- package/src/views/sys/quartz/cron/day.vue +182 -0
- package/src/views/sys/quartz/cron/hour.vue +140 -0
- package/src/views/sys/quartz/cron/index.vue +401 -0
- package/src/views/sys/quartz/cron/min.vue +140 -0
- package/src/views/sys/quartz/cron/month.vue +159 -0
- package/src/views/sys/quartz/cron/result.vue +436 -0
- package/src/views/sys/quartz/cron/second.vue +155 -0
- package/src/views/sys/quartz/cron/types/index.ts +9 -0
- package/src/views/sys/quartz/cron/utils/index.ts +4 -0
- package/src/views/sys/quartz/cron/week.vue +229 -0
- package/src/views/sys/quartz/cron/year.vue +173 -0
- package/src/views/sys/quartz/index.vue +323 -0
- package/src/views/sys/quartz/job-form.vue +309 -0
- package/src/views/sys/quartz/joblog-index.vue +154 -0
- package/src/views/sys/role/components/application-menu-auth.vue +190 -0
- package/src/views/sys/role/components/role-form.vue +456 -0
- package/src/views/sys/role/components/role-info-cell.vue +20 -0
- package/src/views/sys/role/components/role-permission.vue +605 -0
- package/src/views/sys/role/components/role-type-tag.vue +18 -0
- package/src/views/sys/role/index.vue +830 -0
- package/src/views/sys/seal/seal-manage/components/seal-form.vue +1203 -0
- package/src/views/sys/seal/seal-manage/index.vue +413 -0
- package/src/views/sys/seal/signature/components/signature-editor.vue +243 -0
- package/src/views/sys/seal/signature/components/signature-form.vue +272 -0
- package/src/views/sys/seal/signature/index.vue +346 -0
- package/src/views/sys/sensitiveword/components/sensitive-word-form.vue +167 -0
- package/src/views/sys/sensitiveword/components/sensitive-word-import.vue +44 -0
- package/src/views/sys/sensitiveword/index.vue +765 -0
- package/src/views/sys/sms/sms-blacklist/components/sms-blacklist-form.vue +236 -0
- package/src/views/sys/sms/sms-blacklist/index.vue +314 -0
- package/src/views/sys/sms/sms-channel/components/sms-channel-form.vue +260 -0
- package/src/views/sys/sms/sms-channel/index.vue +458 -0
- package/src/views/sys/sms/sms-log/components/sms-log-detail.vue +173 -0
- package/src/views/sys/sms/sms-log/index.vue +301 -0
- package/src/views/sys/sms/sms-rate-limit-config/components/sms-rate-limit-config-form.vue +249 -0
- package/src/views/sys/sms/sms-rate-limit-config/index.vue +259 -0
- package/src/views/sys/sms/sms-template/components/sms-template-form.vue +344 -0
- package/src/views/sys/sms/sms-template/components/sms-template-send-test.vue +269 -0
- package/src/views/sys/sms/sms-template/index.vue +455 -0
- package/src/views/sys/sms/sms-whitelist/components/sms-whitelist-form.vue +236 -0
- package/src/views/sys/sms/sms-whitelist/index.vue +314 -0
- package/src/views/sys/sys-config/base-config/base-form.vue +1066 -0
- package/src/views/sys/sys-config/common-config/common-form.vue +230 -0
- package/src/views/sys/sys-config/desensitization-config/desensitization-form.vue +224 -0
- package/src/views/sys/sys-config/index.vue +127 -0
- package/src/views/sys/sys-config/login-config/login-form.vue +346 -0
- package/src/views/sys/sys-config/mobile-config/components/import-file.vue +170 -0
- package/src/views/sys/sys-config/mobile-config/index.vue +997 -0
- package/src/views/sys/sys-config/pwd-config/pwd-form.vue +245 -0
- package/src/views/sys/sys-config/superadmin-config/index.vue +121 -0
- package/src/views/sys/template-config/components/template-form.vue +395 -0
- package/src/views/sys/template-config/index.vue +426 -0
- package/src/views/sys/tenant/components/application-menu-auth.vue +216 -0
- package/src/views/sys/tenant/components/tenant-form.vue +514 -0
- package/src/views/sys/tenant/index.vue +480 -0
- package/src/views/sys/user/components/user-extend-manage.vue +590 -0
- package/src/views/sys/user/components/user-form.vue +686 -0
- package/src/views/sys/user/components/user-import.vue +98 -0
- package/src/views/sys/user/components/work-transfer.vue +127 -0
- package/src/views/sys/user/index.vue +709 -0
- package/src/views/system/server-monitor/components/EchartsFree.vue +104 -0
- package/src/views/system/server-monitor/components/EchartsUse.vue +121 -0
- package/src/views/system/server-monitor/index.vue +169 -0
- package/src/views/system/websocket-debug.vue +528 -0
- package/src/views/wujie-submenu/index.vue +296 -0
|
@@ -0,0 +1,1181 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { ref, computed, watch } from 'vue';
|
|
3
|
+
import { ElMessage } from 'element-plus';
|
|
4
|
+
import { Form, type FormItemConfig, CodeEditor } from '@udp/component-ui';
|
|
5
|
+
import { InfoFilled, QuestionFilled } from '@element-plus/icons-vue';
|
|
6
|
+
import {
|
|
7
|
+
DataInterfaceType,
|
|
8
|
+
DataInterfaceStatus,
|
|
9
|
+
DataInterfaceAction,
|
|
10
|
+
RequestMethod,
|
|
11
|
+
} from '../../../../api/data-interface/types';
|
|
12
|
+
|
|
13
|
+
import SqlDataConfig from './sql-data-config.vue';
|
|
14
|
+
import SqlDataStatistics from './sql-data-statistics.vue';
|
|
15
|
+
import SqlDataDisplay from './sql-data-display.vue';
|
|
16
|
+
import StaticDataConfig from './static-data-config.vue';
|
|
17
|
+
import ApiDataConfig from './api-data-config.vue';
|
|
18
|
+
|
|
19
|
+
// 导入API和类型
|
|
20
|
+
import type {
|
|
21
|
+
InterfaceCategory,
|
|
22
|
+
Parameter,
|
|
23
|
+
Field,
|
|
24
|
+
ApiConfig,
|
|
25
|
+
} from '../../../../api/data-interface/types';
|
|
26
|
+
|
|
27
|
+
// 导入字典API
|
|
28
|
+
import { getDicItemListByDicCode } from '../../../../api/dic';
|
|
29
|
+
import type { DicInfoType } from '../../../../api/dic/types';
|
|
30
|
+
|
|
31
|
+
// 定义props
|
|
32
|
+
const props = withDefaults(
|
|
33
|
+
defineProps<{
|
|
34
|
+
categoryList?: InterfaceCategory[]; // 改为可选
|
|
35
|
+
editData: any; // 移除ExtendedDataInterface类型引用
|
|
36
|
+
showStepActions?: boolean; // 控制是否显示步骤按钮
|
|
37
|
+
}>(),
|
|
38
|
+
{
|
|
39
|
+
showStepActions: true,
|
|
40
|
+
categoryList: () => [],
|
|
41
|
+
},
|
|
42
|
+
);
|
|
43
|
+
|
|
44
|
+
// 组件状态
|
|
45
|
+
const activeStep = ref(0);
|
|
46
|
+
const loading = ref(false);
|
|
47
|
+
const formRef = ref();
|
|
48
|
+
|
|
49
|
+
// 分类数据
|
|
50
|
+
const categoryTreeData = ref<InterfaceCategory[]>([]);
|
|
51
|
+
const loadingCategory = ref(false);
|
|
52
|
+
|
|
53
|
+
// 将字典项数据转换为分类树数据
|
|
54
|
+
const adaptDicItemToCategory = (dicItems: any[]): InterfaceCategory[] => {
|
|
55
|
+
if (!Array.isArray(dicItems)) {
|
|
56
|
+
console.error('adaptDicItemToCategory: dicItems不是数组', dicItems);
|
|
57
|
+
return [];
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return dicItems.map((item) => {
|
|
61
|
+
return {
|
|
62
|
+
id: item.id?.toString() || '', // 确保ID是字符串类型
|
|
63
|
+
categoryName: item.itemValue || '未命名',
|
|
64
|
+
parentId: item.itemParentId?.toString() || '', // 确保parentId是字符串类型
|
|
65
|
+
children: [],
|
|
66
|
+
hasChild:
|
|
67
|
+
item.hasChild === true ||
|
|
68
|
+
item.hasChild === 'true' ||
|
|
69
|
+
item.hasChild === '1',
|
|
70
|
+
};
|
|
71
|
+
});
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
// 加载分类树节点
|
|
75
|
+
const loadCategoryNode = async (
|
|
76
|
+
node: any,
|
|
77
|
+
resolve: (data: InterfaceCategory[]) => void,
|
|
78
|
+
) => {
|
|
79
|
+
console.log('loadCategoryNode调用:', node.level, node.data);
|
|
80
|
+
|
|
81
|
+
try {
|
|
82
|
+
// 如果是根节点
|
|
83
|
+
if (node.level === 0) {
|
|
84
|
+
loadingCategory.value = true;
|
|
85
|
+
const res = await getDicItemListByDicCode({
|
|
86
|
+
dicCode: 'interfaceCategory',
|
|
87
|
+
dicAttr: 'tree',
|
|
88
|
+
itemParentId: '0', // 使用字符串类型
|
|
89
|
+
} as DicInfoType & { itemParentId: string });
|
|
90
|
+
|
|
91
|
+
console.log('根节点API返回结果:', res);
|
|
92
|
+
|
|
93
|
+
if (Array.isArray(res)) {
|
|
94
|
+
const adaptedData = adaptDicItemToCategory(res);
|
|
95
|
+
console.log('转换后的数据:', adaptedData);
|
|
96
|
+
categoryTreeData.value = adaptedData;
|
|
97
|
+
resolve(adaptedData);
|
|
98
|
+
} else {
|
|
99
|
+
console.error('API返回的数据不是数组:', res);
|
|
100
|
+
resolve([]);
|
|
101
|
+
}
|
|
102
|
+
loadingCategory.value = false;
|
|
103
|
+
} else {
|
|
104
|
+
// 加载子节点
|
|
105
|
+
const res = await getDicItemListByDicCode({
|
|
106
|
+
dicCode: 'interfaceCategory',
|
|
107
|
+
dicAttr: 'tree',
|
|
108
|
+
itemParentId: node.data.id, // 使用节点ID,已经是字符串类型
|
|
109
|
+
} as DicInfoType & { itemParentId: string });
|
|
110
|
+
|
|
111
|
+
console.log(`节点${node.data.id}的API返回:`, res);
|
|
112
|
+
|
|
113
|
+
if (Array.isArray(res)) {
|
|
114
|
+
const children = adaptDicItemToCategory(res);
|
|
115
|
+
console.log(`节点${node.data.id}的子节点:`, children);
|
|
116
|
+
resolve(children);
|
|
117
|
+
} else {
|
|
118
|
+
console.log(`节点${node.data.id}没有子节点`);
|
|
119
|
+
resolve([]);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
} catch (error) {
|
|
123
|
+
console.error('加载分类失败:', error);
|
|
124
|
+
resolve([]);
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
// 定义所有可能的步骤,每个步骤都有显示条件
|
|
129
|
+
const allSteps = [
|
|
130
|
+
{
|
|
131
|
+
id: 'basic',
|
|
132
|
+
title: '基本信息',
|
|
133
|
+
icon: 'el-icon-document',
|
|
134
|
+
// 基本信息步骤总是显示
|
|
135
|
+
visible: () => true,
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
id: 'config',
|
|
139
|
+
title: '数据配置',
|
|
140
|
+
icon: 'el-icon-setting',
|
|
141
|
+
// 数据配置步骤总是显示
|
|
142
|
+
visible: () => true,
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
id: 'statistics',
|
|
146
|
+
title: '数量统计',
|
|
147
|
+
icon: 'el-icon-data-analysis',
|
|
148
|
+
// 数量统计步骤仅在SQL操作且动作为查询且开启分页时显示
|
|
149
|
+
visible: () =>
|
|
150
|
+
formData.value.type === DataInterfaceType.SQL_OPERATION &&
|
|
151
|
+
formData.value.action === DataInterfaceAction.QUERY &&
|
|
152
|
+
formData.value.hasPage === 1,
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
id: 'echo',
|
|
156
|
+
title: '数据回显',
|
|
157
|
+
icon: 'el-icon-refresh',
|
|
158
|
+
// 数据回显步骤仅在SQL操作且动作为查询且开启分页时显示
|
|
159
|
+
visible: () =>
|
|
160
|
+
formData.value.type === DataInterfaceType.SQL_OPERATION &&
|
|
161
|
+
formData.value.action === DataInterfaceAction.QUERY &&
|
|
162
|
+
formData.value.hasPage === 1,
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
id: 'processing',
|
|
166
|
+
title: '数据处理',
|
|
167
|
+
icon: 'el-icon-cpu',
|
|
168
|
+
// 数据处理步骤在SQL操作或API操作时显示
|
|
169
|
+
visible: () =>
|
|
170
|
+
formData.value.type === DataInterfaceType.SQL_OPERATION ||
|
|
171
|
+
formData.value.type === DataInterfaceType.API_OPERATION,
|
|
172
|
+
},
|
|
173
|
+
];
|
|
174
|
+
|
|
175
|
+
// 获取当前可见步骤
|
|
176
|
+
const visibleSteps = computed(() => {
|
|
177
|
+
return allSteps.filter((step) => step.visible());
|
|
178
|
+
});
|
|
179
|
+
|
|
180
|
+
// 表单数据
|
|
181
|
+
const formData = ref<any>({
|
|
182
|
+
id: '',
|
|
183
|
+
name: '',
|
|
184
|
+
code: '',
|
|
185
|
+
type: DataInterfaceType.STATIC_DATA,
|
|
186
|
+
sort: 1,
|
|
187
|
+
status: DataInterfaceStatus.ENABLED,
|
|
188
|
+
categoryId: '',
|
|
189
|
+
categoryName: '',
|
|
190
|
+
description: '',
|
|
191
|
+
action: DataInterfaceAction.QUERY,
|
|
192
|
+
hasPage: 0,
|
|
193
|
+
hasAuth: 0,
|
|
194
|
+
fieldJson: '[]',
|
|
195
|
+
parameterJson: '[]',
|
|
196
|
+
dataConfigJson: `{"staticData":"","sqlData":{"dbLinkId":"0","sql":""},"apiData":{"method":${RequestMethod.GET},"url":"","header":[],"query":[],"body":"","bodyType":0}}`,
|
|
197
|
+
dataJsJson: '',
|
|
198
|
+
dataCountJson: '',
|
|
199
|
+
dataEchoJson: '',
|
|
200
|
+
});
|
|
201
|
+
|
|
202
|
+
// 字段参数列表 (独立响应式对象,用于解决v-model问题)
|
|
203
|
+
const fieldParams = ref<Field[]>([]);
|
|
204
|
+
|
|
205
|
+
// 请求参数列表 (独立响应式对象,用于解决v-model问题)
|
|
206
|
+
const requestParams = ref<Parameter[]>([]);
|
|
207
|
+
|
|
208
|
+
// 监听参数数据同步到formData
|
|
209
|
+
watch(
|
|
210
|
+
() => requestParams.value,
|
|
211
|
+
(val) => {
|
|
212
|
+
formData.value.parameterJson = JSON.stringify(val);
|
|
213
|
+
},
|
|
214
|
+
{ deep: true },
|
|
215
|
+
);
|
|
216
|
+
|
|
217
|
+
// 监听字段数据同步到formData
|
|
218
|
+
watch(
|
|
219
|
+
() => fieldParams.value,
|
|
220
|
+
(val) => {
|
|
221
|
+
formData.value.fieldJson = JSON.stringify(val);
|
|
222
|
+
},
|
|
223
|
+
{ deep: true },
|
|
224
|
+
);
|
|
225
|
+
|
|
226
|
+
// 监听formData中的参数数据同步到独立响应式对象
|
|
227
|
+
watch(
|
|
228
|
+
() => formData.value.parameterJson,
|
|
229
|
+
(val) => {
|
|
230
|
+
if (val && typeof val === 'string') {
|
|
231
|
+
try {
|
|
232
|
+
requestParams.value = JSON.parse(val);
|
|
233
|
+
} catch (e) {
|
|
234
|
+
console.error('解析参数JSON失败:', e);
|
|
235
|
+
requestParams.value = [];
|
|
236
|
+
}
|
|
237
|
+
} else {
|
|
238
|
+
requestParams.value = [];
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
{ deep: true },
|
|
242
|
+
);
|
|
243
|
+
|
|
244
|
+
// 监听formData中的字段数据同步到独立响应式对象
|
|
245
|
+
watch(
|
|
246
|
+
() => formData.value.fieldJson,
|
|
247
|
+
(val) => {
|
|
248
|
+
if (val && typeof val === 'string') {
|
|
249
|
+
try {
|
|
250
|
+
fieldParams.value = JSON.parse(val);
|
|
251
|
+
} catch (e) {
|
|
252
|
+
console.error('解析字段JSON失败:', e);
|
|
253
|
+
fieldParams.value = [];
|
|
254
|
+
}
|
|
255
|
+
} else {
|
|
256
|
+
fieldParams.value = [];
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
{ deep: true },
|
|
260
|
+
);
|
|
261
|
+
|
|
262
|
+
// 监听分类ID变化,更新分类名称
|
|
263
|
+
watch(
|
|
264
|
+
() => formData.value.categoryId,
|
|
265
|
+
(newVal) => {
|
|
266
|
+
if (newVal) {
|
|
267
|
+
// 递归查找分类名称
|
|
268
|
+
const findCategoryName = (
|
|
269
|
+
categories: InterfaceCategory[],
|
|
270
|
+
id: string,
|
|
271
|
+
): string | null => {
|
|
272
|
+
for (const category of categories) {
|
|
273
|
+
// 使用严格比较,因为都是字符串类型
|
|
274
|
+
if (category.id === id) {
|
|
275
|
+
return category.categoryName;
|
|
276
|
+
}
|
|
277
|
+
if (category.children && category.children.length > 0) {
|
|
278
|
+
const name = findCategoryName(category.children, id);
|
|
279
|
+
if (name) return name;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
return null;
|
|
283
|
+
};
|
|
284
|
+
|
|
285
|
+
const categoryName = findCategoryName(categoryTreeData.value, newVal);
|
|
286
|
+
if (categoryName) {
|
|
287
|
+
formData.value.categoryName = categoryName;
|
|
288
|
+
console.log('已更新分类名称:', categoryName);
|
|
289
|
+
} else {
|
|
290
|
+
console.log('未找到分类名称,ID:', newVal);
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
);
|
|
295
|
+
|
|
296
|
+
// 类型选项
|
|
297
|
+
const typeOptions = [
|
|
298
|
+
{ label: '静态数据', value: DataInterfaceType.STATIC_DATA },
|
|
299
|
+
{ label: 'SQL操作', value: DataInterfaceType.SQL_OPERATION },
|
|
300
|
+
{ label: 'API操作', value: DataInterfaceType.API_OPERATION },
|
|
301
|
+
];
|
|
302
|
+
|
|
303
|
+
// 动作选项
|
|
304
|
+
const actionOptions = [
|
|
305
|
+
{ label: '查询', value: DataInterfaceAction.QUERY },
|
|
306
|
+
{ label: '增加', value: DataInterfaceAction.ADD },
|
|
307
|
+
{ label: '修改', value: DataInterfaceAction.UPDATE },
|
|
308
|
+
{ label: '删除', value: DataInterfaceAction.DELETE },
|
|
309
|
+
];
|
|
310
|
+
|
|
311
|
+
// 基本信息表单配置
|
|
312
|
+
const basicFormItems = computed<FormItemConfig[]>(() => [
|
|
313
|
+
{
|
|
314
|
+
prop: 'name',
|
|
315
|
+
label: '名称',
|
|
316
|
+
type: 'input',
|
|
317
|
+
placeholder: '请输入名称',
|
|
318
|
+
props: {
|
|
319
|
+
maxlength: 20,
|
|
320
|
+
showWordLimit: true,
|
|
321
|
+
},
|
|
322
|
+
rules: [
|
|
323
|
+
{ required: true, message: '请输入名称', trigger: ['blur', 'input'] },
|
|
324
|
+
{
|
|
325
|
+
max: 20,
|
|
326
|
+
message: '名称长度不能超过20个字符',
|
|
327
|
+
trigger: ['blur', 'input'],
|
|
328
|
+
},
|
|
329
|
+
],
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
prop: 'code',
|
|
333
|
+
label: '编码',
|
|
334
|
+
type: 'input',
|
|
335
|
+
placeholder: '请输入编码',
|
|
336
|
+
props: {
|
|
337
|
+
maxlength: 20,
|
|
338
|
+
showWordLimit: true,
|
|
339
|
+
},
|
|
340
|
+
rules: [
|
|
341
|
+
{ required: true, message: '请输入编码', trigger: ['blur', 'input'] },
|
|
342
|
+
{
|
|
343
|
+
max: 20,
|
|
344
|
+
message: '编码长度不能超过20个字符',
|
|
345
|
+
trigger: ['blur', 'input'],
|
|
346
|
+
},
|
|
347
|
+
],
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
prop: 'categoryId',
|
|
351
|
+
label: '分类',
|
|
352
|
+
slot: 'categoryId',
|
|
353
|
+
rules: [
|
|
354
|
+
{ required: true, message: '请选择分类', trigger: ['blur', 'change'] },
|
|
355
|
+
],
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
prop: 'type',
|
|
359
|
+
label: '类型',
|
|
360
|
+
type: 'radio',
|
|
361
|
+
options: typeOptions,
|
|
362
|
+
rules: [
|
|
363
|
+
{ required: true, message: '请选择类型', trigger: ['blur', 'change'] },
|
|
364
|
+
],
|
|
365
|
+
},
|
|
366
|
+
// 动作字段 - 仅在SQL操作类型时显示
|
|
367
|
+
{
|
|
368
|
+
prop: 'action',
|
|
369
|
+
label: '动作',
|
|
370
|
+
type: 'radio',
|
|
371
|
+
options: actionOptions,
|
|
372
|
+
condition: (values) => values.type === DataInterfaceType.SQL_OPERATION, // 条件显示
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
prop: 'sort',
|
|
376
|
+
label: '排序',
|
|
377
|
+
type: 'number',
|
|
378
|
+
placeholder: '1',
|
|
379
|
+
props: {
|
|
380
|
+
min: 1,
|
|
381
|
+
controls: true,
|
|
382
|
+
controlsPosition: 'right',
|
|
383
|
+
style: 'width: 100%',
|
|
384
|
+
},
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
prop: 'status',
|
|
388
|
+
label: '状态',
|
|
389
|
+
type: 'switch',
|
|
390
|
+
props: {
|
|
391
|
+
activeValue: 1,
|
|
392
|
+
inactiveValue: 0,
|
|
393
|
+
},
|
|
394
|
+
},
|
|
395
|
+
// 分页字段 - 在SQL操作和API操作类型时显示
|
|
396
|
+
{
|
|
397
|
+
prop: 'hasPage',
|
|
398
|
+
label: '分页',
|
|
399
|
+
type: 'switch',
|
|
400
|
+
props: {
|
|
401
|
+
activeValue: 1,
|
|
402
|
+
inactiveValue: 0,
|
|
403
|
+
},
|
|
404
|
+
condition: (values) =>
|
|
405
|
+
values.type === DataInterfaceType.SQL_OPERATION &&
|
|
406
|
+
values.action === DataInterfaceAction.QUERY,
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
prop: 'hasAuth',
|
|
410
|
+
label: '鉴权',
|
|
411
|
+
type: 'switch',
|
|
412
|
+
props: {
|
|
413
|
+
activeValue: 1,
|
|
414
|
+
inactiveValue: 0,
|
|
415
|
+
},
|
|
416
|
+
slot: 'hasAuth',
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
prop: 'description',
|
|
420
|
+
label: '说明',
|
|
421
|
+
type: 'textarea',
|
|
422
|
+
placeholder: '请输入说明',
|
|
423
|
+
props: {
|
|
424
|
+
rows: 3,
|
|
425
|
+
maxlength: 100,
|
|
426
|
+
showWordLimit: true,
|
|
427
|
+
},
|
|
428
|
+
},
|
|
429
|
+
]);
|
|
430
|
+
|
|
431
|
+
// 判断是否显示内容区域
|
|
432
|
+
const shouldShowContent = (stepId: string) => {
|
|
433
|
+
const index = visibleSteps.value.findIndex((step) => step.id === stepId);
|
|
434
|
+
return index === activeStep.value;
|
|
435
|
+
};
|
|
436
|
+
|
|
437
|
+
// 监听编辑数据变化
|
|
438
|
+
watch(
|
|
439
|
+
() => props.editData,
|
|
440
|
+
(newVal) => {
|
|
441
|
+
if (newVal) {
|
|
442
|
+
// 复制编辑数据到表单
|
|
443
|
+
Object.keys(formData.value).forEach((key) => {
|
|
444
|
+
if (key in newVal) {
|
|
445
|
+
formData.value[key] = newVal[key];
|
|
446
|
+
}
|
|
447
|
+
});
|
|
448
|
+
|
|
449
|
+
// 解析JSON字符串
|
|
450
|
+
try {
|
|
451
|
+
if (
|
|
452
|
+
formData.value.fieldJson &&
|
|
453
|
+
typeof formData.value.fieldJson === 'string'
|
|
454
|
+
) {
|
|
455
|
+
fieldParams.value = JSON.parse(formData.value.fieldJson);
|
|
456
|
+
} else {
|
|
457
|
+
fieldParams.value = [];
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
if (
|
|
461
|
+
formData.value.parameterJson &&
|
|
462
|
+
typeof formData.value.parameterJson === 'string'
|
|
463
|
+
) {
|
|
464
|
+
requestParams.value = JSON.parse(formData.value.parameterJson);
|
|
465
|
+
} else {
|
|
466
|
+
requestParams.value = [];
|
|
467
|
+
}
|
|
468
|
+
} catch (e) {
|
|
469
|
+
console.error('解析JSON失败:', e);
|
|
470
|
+
fieldParams.value = [];
|
|
471
|
+
requestParams.value = [];
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
// 更新步骤
|
|
475
|
+
activeStep.value = 0;
|
|
476
|
+
} else {
|
|
477
|
+
// 保存当前hasAuth状态
|
|
478
|
+
const hasAuthValue = formData.value.hasAuth;
|
|
479
|
+
|
|
480
|
+
// 重置表单
|
|
481
|
+
formData.value = {
|
|
482
|
+
id: '',
|
|
483
|
+
name: '',
|
|
484
|
+
code: '',
|
|
485
|
+
type: DataInterfaceType.STATIC_DATA,
|
|
486
|
+
sort: 1,
|
|
487
|
+
status: 1,
|
|
488
|
+
categoryId: '',
|
|
489
|
+
categoryName: '',
|
|
490
|
+
description: '',
|
|
491
|
+
action: DataInterfaceAction.QUERY,
|
|
492
|
+
hasPage: 0,
|
|
493
|
+
hasAuth: hasAuthValue, // 保留当前的hasAuth值,而不是重置为0
|
|
494
|
+
fieldJson: '[]',
|
|
495
|
+
parameterJson: '[]',
|
|
496
|
+
dataConfigJson: `{"staticData":"","sqlData":{"dbLinkId":"0","sql":""},"apiData":{"method":${RequestMethod.GET},"url":"","header":[],"query":[],"body":"","bodyType":0}}`,
|
|
497
|
+
dataJsJson: '',
|
|
498
|
+
dataCountJson: '',
|
|
499
|
+
dataEchoJson: '',
|
|
500
|
+
};
|
|
501
|
+
|
|
502
|
+
// 重置独立响应式对象
|
|
503
|
+
fieldParams.value = [];
|
|
504
|
+
requestParams.value = [];
|
|
505
|
+
|
|
506
|
+
// 更新步骤
|
|
507
|
+
activeStep.value = 0;
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
{ immediate: true, deep: true },
|
|
511
|
+
);
|
|
512
|
+
|
|
513
|
+
// 类型变化时的处理逻辑
|
|
514
|
+
watch(
|
|
515
|
+
() => formData.value.type,
|
|
516
|
+
() => {
|
|
517
|
+
// 重置activeStep到第一步
|
|
518
|
+
activeStep.value = 0;
|
|
519
|
+
|
|
520
|
+
// 根据类型设置默认属性
|
|
521
|
+
if (formData.value.type === DataInterfaceType.STATIC_DATA) {
|
|
522
|
+
formData.value.hasPage = 0;
|
|
523
|
+
// 静态数据可以设置鉴权,保持用户选择的状态
|
|
524
|
+
} else if (formData.value.type === DataInterfaceType.SQL_OPERATION) {
|
|
525
|
+
// SQL操作默认设置为查询
|
|
526
|
+
formData.value.action = DataInterfaceAction.QUERY;
|
|
527
|
+
// SQL操作下初始不启用分页,但保持用户选择的鉴权状态
|
|
528
|
+
formData.value.hasPage = 0;
|
|
529
|
+
// 移除对鉴权的重置,保持用户选择的状态
|
|
530
|
+
} else if (formData.value.type === DataInterfaceType.API_OPERATION) {
|
|
531
|
+
// API操作不支持分页
|
|
532
|
+
formData.value.hasPage = 0;
|
|
533
|
+
// 保持用户选择的鉴权状态
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
);
|
|
537
|
+
|
|
538
|
+
// 监听动作变化,更新步骤和分页状态
|
|
539
|
+
watch(
|
|
540
|
+
() => formData.value.action,
|
|
541
|
+
(newVal) => {
|
|
542
|
+
// 当动作不是"查询"时,强制关闭分页
|
|
543
|
+
if (newVal !== DataInterfaceAction.QUERY && formData.value.hasPage === 1) {
|
|
544
|
+
formData.value.hasPage = 0;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
// 更新步骤
|
|
548
|
+
activeStep.value = 0;
|
|
549
|
+
},
|
|
550
|
+
);
|
|
551
|
+
|
|
552
|
+
// 监听分页变化,更新步骤
|
|
553
|
+
watch(
|
|
554
|
+
() => formData.value.hasPage,
|
|
555
|
+
() => {
|
|
556
|
+
activeStep.value = 0;
|
|
557
|
+
},
|
|
558
|
+
);
|
|
559
|
+
|
|
560
|
+
// 监听鉴权变化,更新步骤
|
|
561
|
+
watch(
|
|
562
|
+
() => formData.value.hasAuth,
|
|
563
|
+
() => {
|
|
564
|
+
activeStep.value = 0;
|
|
565
|
+
},
|
|
566
|
+
);
|
|
567
|
+
|
|
568
|
+
// 下一步
|
|
569
|
+
const nextStep = async () => {
|
|
570
|
+
if (!formRef.value) return;
|
|
571
|
+
|
|
572
|
+
try {
|
|
573
|
+
// 验证当前步骤表单
|
|
574
|
+
const isValid = await formRef.value.validate();
|
|
575
|
+
|
|
576
|
+
// 只有在验证通过时才进入下一步
|
|
577
|
+
if (isValid) {
|
|
578
|
+
if (activeStep.value < visibleSteps.value.length - 1) {
|
|
579
|
+
activeStep.value++;
|
|
580
|
+
}
|
|
581
|
+
} else {
|
|
582
|
+
// 验证失败,显示错误消息
|
|
583
|
+
// 抛出异常,使调用者能够捕获到验证失败的情况
|
|
584
|
+
throw new Error('表单验证失败');
|
|
585
|
+
}
|
|
586
|
+
} catch (error) {
|
|
587
|
+
// 捕获其他可能的错误
|
|
588
|
+
throw error; // 继续抛出错误,使调用者能够捕获
|
|
589
|
+
}
|
|
590
|
+
};
|
|
591
|
+
|
|
592
|
+
// 上一步
|
|
593
|
+
const prevStep = () => {
|
|
594
|
+
if (activeStep.value > 0) {
|
|
595
|
+
activeStep.value--;
|
|
596
|
+
}
|
|
597
|
+
};
|
|
598
|
+
|
|
599
|
+
// 提交表单前处理数据
|
|
600
|
+
const prepareFormData = () => {
|
|
601
|
+
// 确保categoryId存在,这是必填字段
|
|
602
|
+
if (!formData.value.categoryId) {
|
|
603
|
+
ElMessage.warning('请选择分类');
|
|
604
|
+
return false;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
// 如果从树选择器中获取了分类ID,但没有分类名称,尝试从树数据中获取
|
|
608
|
+
if (formData.value.categoryId && !formData.value.categoryName) {
|
|
609
|
+
// 递归查找分类名称
|
|
610
|
+
const findCategoryName = (
|
|
611
|
+
categories: InterfaceCategory[],
|
|
612
|
+
id: string,
|
|
613
|
+
): string | null => {
|
|
614
|
+
for (const category of categories) {
|
|
615
|
+
// 使用严格比较,因为都是字符串类型
|
|
616
|
+
if (category.id === id) {
|
|
617
|
+
return category.categoryName;
|
|
618
|
+
}
|
|
619
|
+
if (category.children && category.children.length > 0) {
|
|
620
|
+
const name = findCategoryName(category.children, id);
|
|
621
|
+
if (name) return name;
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
return null;
|
|
625
|
+
};
|
|
626
|
+
|
|
627
|
+
const categoryName = findCategoryName(
|
|
628
|
+
categoryTreeData.value,
|
|
629
|
+
formData.value.categoryId,
|
|
630
|
+
);
|
|
631
|
+
if (categoryName) {
|
|
632
|
+
formData.value.categoryName = categoryName;
|
|
633
|
+
} else {
|
|
634
|
+
// 如果找不到分类名称,设置一个默认值,避免提交失败
|
|
635
|
+
formData.value.categoryName = `分类${formData.value.categoryId}`;
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
// 返回处理后的表单数据
|
|
640
|
+
return { ...formData.value };
|
|
641
|
+
};
|
|
642
|
+
|
|
643
|
+
// 提交表单
|
|
644
|
+
const handleSubmit = async () => {
|
|
645
|
+
if (!formRef.value) return false;
|
|
646
|
+
|
|
647
|
+
try {
|
|
648
|
+
loading.value = true;
|
|
649
|
+
await formRef.value.validate();
|
|
650
|
+
|
|
651
|
+
// 获取鉴权开关的当前DOM状态
|
|
652
|
+
const switchElements = document.querySelectorAll(
|
|
653
|
+
'.hasAuth-switch .el-switch__core',
|
|
654
|
+
);
|
|
655
|
+
let isAuthSwitchOn = false;
|
|
656
|
+
|
|
657
|
+
// 检查所有可能的鉴权开关元素
|
|
658
|
+
switchElements.forEach((el) => {
|
|
659
|
+
// 检查是否有active类或背景为绿色等指示开关打开的迹象
|
|
660
|
+
const style = window.getComputedStyle(el);
|
|
661
|
+
const bgColor = style.backgroundColor.toLowerCase();
|
|
662
|
+
const isGreenish =
|
|
663
|
+
bgColor.includes('green') || bgColor.includes('rgb(64, 158, 255)');
|
|
664
|
+
const hasActiveClass = el.classList.contains('is-checked');
|
|
665
|
+
|
|
666
|
+
if (hasActiveClass || isGreenish) {
|
|
667
|
+
isAuthSwitchOn = true;
|
|
668
|
+
}
|
|
669
|
+
});
|
|
670
|
+
|
|
671
|
+
// 如果UI中开关是开启状态,但数据是0,则修正数据
|
|
672
|
+
if (isAuthSwitchOn && formData.value.hasAuth === 0) {
|
|
673
|
+
formData.value.hasAuth = 1;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
const processedData = prepareFormData();
|
|
677
|
+
if (!processedData) {
|
|
678
|
+
return false;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
// 确保字段列表已同步
|
|
682
|
+
formData.value.fieldJson = JSON.stringify(fieldParams.value);
|
|
683
|
+
|
|
684
|
+
// 确保参数列表已同步
|
|
685
|
+
formData.value.parameterJson = JSON.stringify(requestParams.value);
|
|
686
|
+
|
|
687
|
+
// 最终检查 - 确保鉴权状态与UI一致
|
|
688
|
+
if (isAuthSwitchOn && formData.value.hasAuth === 0) {
|
|
689
|
+
formData.value.hasAuth = 1;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
// 返回解包后的响应式对象
|
|
693
|
+
const result = { ...formData.value };
|
|
694
|
+
return result;
|
|
695
|
+
} catch (error) {
|
|
696
|
+
ElMessage.error('请检查表单数据');
|
|
697
|
+
return false;
|
|
698
|
+
} finally {
|
|
699
|
+
loading.value = false;
|
|
700
|
+
}
|
|
701
|
+
};
|
|
702
|
+
|
|
703
|
+
// 重置表单
|
|
704
|
+
const resetForm = () => {
|
|
705
|
+
formRef.value?.resetFields();
|
|
706
|
+
activeStep.value = 0;
|
|
707
|
+
};
|
|
708
|
+
|
|
709
|
+
// 校验表单字段
|
|
710
|
+
const validateField = (field: string) => {
|
|
711
|
+
formRef.value?.validateField(field);
|
|
712
|
+
};
|
|
713
|
+
|
|
714
|
+
// 暴露方法给父组件
|
|
715
|
+
defineExpose({
|
|
716
|
+
handleSubmit,
|
|
717
|
+
resetForm,
|
|
718
|
+
formData,
|
|
719
|
+
nextStep,
|
|
720
|
+
prevStep,
|
|
721
|
+
activeStep,
|
|
722
|
+
validateField,
|
|
723
|
+
visibleSteps,
|
|
724
|
+
formRef,
|
|
725
|
+
});
|
|
726
|
+
|
|
727
|
+
// 处理SQL内容变更
|
|
728
|
+
function handleSqlChange(val: string) {
|
|
729
|
+
// 更新dataConfigJson中的SQL内容
|
|
730
|
+
try {
|
|
731
|
+
const dataConfig = JSON.parse(formData.value.dataConfigJson || '{}');
|
|
732
|
+
if (!dataConfig.sqlData) {
|
|
733
|
+
dataConfig.sqlData = { dbLinkId: '0', sql: '' };
|
|
734
|
+
}
|
|
735
|
+
dataConfig.sqlData.sql = val;
|
|
736
|
+
formData.value.dataConfigJson = JSON.stringify(dataConfig);
|
|
737
|
+
} catch (e) {
|
|
738
|
+
console.error('解析dataConfigJson失败:', e);
|
|
739
|
+
// 创建新的dataConfigJson
|
|
740
|
+
const dataConfig = {
|
|
741
|
+
staticData: '',
|
|
742
|
+
sqlData: { dbLinkId: '0', sql: val },
|
|
743
|
+
apiData: {
|
|
744
|
+
method: RequestMethod.GET,
|
|
745
|
+
url: '',
|
|
746
|
+
header: [],
|
|
747
|
+
query: [],
|
|
748
|
+
body: '',
|
|
749
|
+
bodyType: 0,
|
|
750
|
+
},
|
|
751
|
+
};
|
|
752
|
+
formData.value.dataConfigJson = JSON.stringify(dataConfig);
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
// 处理静态数据变更
|
|
757
|
+
function handleStaticDataChange(val: string) {
|
|
758
|
+
// 更新dataConfigJson中的静态数据
|
|
759
|
+
try {
|
|
760
|
+
const dataConfig = JSON.parse(formData.value.dataConfigJson || '{}');
|
|
761
|
+
dataConfig.staticData = val;
|
|
762
|
+
formData.value.dataConfigJson = JSON.stringify(dataConfig);
|
|
763
|
+
} catch (e) {
|
|
764
|
+
console.error('解析dataConfigJson失败:', e);
|
|
765
|
+
// 创建新的dataConfigJson
|
|
766
|
+
const dataConfig = {
|
|
767
|
+
staticData: val,
|
|
768
|
+
sqlData: { dbLinkId: '0', sql: '' },
|
|
769
|
+
apiData: {
|
|
770
|
+
method: RequestMethod.GET,
|
|
771
|
+
url: '',
|
|
772
|
+
header: [],
|
|
773
|
+
query: [],
|
|
774
|
+
body: '',
|
|
775
|
+
bodyType: 0,
|
|
776
|
+
},
|
|
777
|
+
};
|
|
778
|
+
formData.value.dataConfigJson = JSON.stringify(dataConfig);
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
// 处理API配置变更
|
|
783
|
+
function handleApiConfigChange(val: ApiConfig) {
|
|
784
|
+
// 更新dataConfigJson中的API配置
|
|
785
|
+
try {
|
|
786
|
+
const dataConfig = JSON.parse(formData.value.dataConfigJson || '{}');
|
|
787
|
+
dataConfig.apiData = val;
|
|
788
|
+
formData.value.dataConfigJson = JSON.stringify(dataConfig);
|
|
789
|
+
} catch (e) {
|
|
790
|
+
console.error('解析dataConfigJson失败:', e);
|
|
791
|
+
// 创建新的dataConfigJson
|
|
792
|
+
const dataConfig = {
|
|
793
|
+
staticData: '',
|
|
794
|
+
sqlData: { dbLinkId: '0', sql: '' },
|
|
795
|
+
apiData: val,
|
|
796
|
+
};
|
|
797
|
+
formData.value.dataConfigJson = JSON.stringify(dataConfig);
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
// 处理数据处理代码变更
|
|
802
|
+
const handleDataProcessingChange = (val: string) => {
|
|
803
|
+
formData.value.dataJsJson = val;
|
|
804
|
+
};
|
|
805
|
+
|
|
806
|
+
// 处理数量统计代码变更:改为通过 handleDataCountSqlChange 写入JSON结构
|
|
807
|
+
|
|
808
|
+
// 处理数据回显代码变更
|
|
809
|
+
const handleDataEchoChange = (val: string) => {
|
|
810
|
+
formData.value.dataEchoJson = val;
|
|
811
|
+
};
|
|
812
|
+
|
|
813
|
+
// 处理API数据处理代码变更
|
|
814
|
+
const handleApiDataProcessingChange = (val: string) => {
|
|
815
|
+
formData.value.dataJsJson = val;
|
|
816
|
+
};
|
|
817
|
+
|
|
818
|
+
// (移除未使用的 getter:数据处理/数量统计/数据回显)
|
|
819
|
+
|
|
820
|
+
// 获取静态数据值
|
|
821
|
+
function getStaticDataValue() {
|
|
822
|
+
try {
|
|
823
|
+
const dataConfig = JSON.parse(formData.value.dataConfigJson || '{}');
|
|
824
|
+
return dataConfig.staticData || '';
|
|
825
|
+
} catch (e) {
|
|
826
|
+
console.error('解析dataConfigJson失败:', e);
|
|
827
|
+
return '';
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
// 获取SQL内容值
|
|
832
|
+
function getSqlContentValue() {
|
|
833
|
+
try {
|
|
834
|
+
const dataConfig = JSON.parse(formData.value.dataConfigJson || '{}');
|
|
835
|
+
return dataConfig.sqlData?.sql || '';
|
|
836
|
+
} catch (e) {
|
|
837
|
+
console.error('解析dataConfigJson失败:', e);
|
|
838
|
+
return '';
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
// 获取数量统计SQL内容值(兼容纯字符串与JSON结构)
|
|
843
|
+
function getDataCountSqlValue() {
|
|
844
|
+
const raw = formData.value.dataCountJson;
|
|
845
|
+
if (!raw) return '';
|
|
846
|
+
try {
|
|
847
|
+
const dataCount = JSON.parse(raw || '{}');
|
|
848
|
+
// 兼容 { sqlData: { sql } } 或 { sql }
|
|
849
|
+
return dataCount.sqlData?.sql ?? dataCount.sql ?? '';
|
|
850
|
+
} catch (e) {
|
|
851
|
+
// 不是JSON,视为纯SQL字符串(历史存量数据)
|
|
852
|
+
return raw as string;
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
// 获取API配置值
|
|
857
|
+
function getApiConfigValue() {
|
|
858
|
+
try {
|
|
859
|
+
const dataConfig = JSON.parse(formData.value.dataConfigJson || '{}');
|
|
860
|
+
return (
|
|
861
|
+
dataConfig.apiData || {
|
|
862
|
+
method: RequestMethod.GET,
|
|
863
|
+
url: '',
|
|
864
|
+
header: [],
|
|
865
|
+
query: [],
|
|
866
|
+
body: '',
|
|
867
|
+
bodyType: 0,
|
|
868
|
+
}
|
|
869
|
+
);
|
|
870
|
+
} catch (e) {
|
|
871
|
+
console.error('解析dataConfigJson失败:', e);
|
|
872
|
+
return {
|
|
873
|
+
method: RequestMethod.GET,
|
|
874
|
+
url: '',
|
|
875
|
+
header: [],
|
|
876
|
+
query: [],
|
|
877
|
+
body: '',
|
|
878
|
+
bodyType: 0,
|
|
879
|
+
};
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
// 处理数量统计SQL内容变更(与 dataConfigJson 类似的拆分式写入)
|
|
884
|
+
function handleDataCountSqlChange(val: string) {
|
|
885
|
+
try {
|
|
886
|
+
const dataCount = JSON.parse(formData.value.dataCountJson || '{}');
|
|
887
|
+
if (!dataCount.sqlData) {
|
|
888
|
+
dataCount.sqlData = { dbLinkId: '0', sql: '' };
|
|
889
|
+
}
|
|
890
|
+
dataCount.sqlData.sql = val;
|
|
891
|
+
formData.value.dataCountJson = JSON.stringify(dataCount);
|
|
892
|
+
} catch (e) {
|
|
893
|
+
// 构建新的JSON结构
|
|
894
|
+
const dataCount = { sqlData: { dbLinkId: '0', sql: val } };
|
|
895
|
+
formData.value.dataCountJson = JSON.stringify(dataCount);
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
// 处理分类选择变更
|
|
900
|
+
const handleCategoryChange = (value: string) => {
|
|
901
|
+
console.log('分类选择变更:', value);
|
|
902
|
+
formData.value.categoryId = value || '';
|
|
903
|
+
};
|
|
904
|
+
</script>
|
|
905
|
+
|
|
906
|
+
<template>
|
|
907
|
+
<div class="w-full">
|
|
908
|
+
<!-- 步骤条 -->
|
|
909
|
+
<el-steps :active="activeStep" finish-status="success" align-center class="mb-6">
|
|
910
|
+
<el-step
|
|
911
|
+
v-for="(step, index) in visibleSteps"
|
|
912
|
+
:key="index"
|
|
913
|
+
:title="step.title"
|
|
914
|
+
/>
|
|
915
|
+
</el-steps>
|
|
916
|
+
|
|
917
|
+
<!-- 内容区域 - 基本信息 -->
|
|
918
|
+
<div v-show="shouldShowContent('basic')" class="step-content">
|
|
919
|
+
<Form
|
|
920
|
+
ref="formRef"
|
|
921
|
+
:items="basicFormItems"
|
|
922
|
+
v-model="formData"
|
|
923
|
+
:show-actions="false"
|
|
924
|
+
label-width="auto"
|
|
925
|
+
>
|
|
926
|
+
<!-- 自定义分类选择 -->
|
|
927
|
+
<template #categoryId="{ model }">
|
|
928
|
+
<el-tree-select
|
|
929
|
+
v-model="model.categoryId"
|
|
930
|
+
:data="categoryTreeData"
|
|
931
|
+
:props="{
|
|
932
|
+
label: 'categoryName',
|
|
933
|
+
children: 'children',
|
|
934
|
+
value: 'id',
|
|
935
|
+
isLeaf: (data: any) => data.hasChild === false,
|
|
936
|
+
}"
|
|
937
|
+
placeholder="请选择分类"
|
|
938
|
+
lazy
|
|
939
|
+
:load="loadCategoryNode"
|
|
940
|
+
check-strictly
|
|
941
|
+
default-expand-all
|
|
942
|
+
filterable
|
|
943
|
+
:show-arrow="false"
|
|
944
|
+
style="width: 100%"
|
|
945
|
+
@change="handleCategoryChange"
|
|
946
|
+
/>
|
|
947
|
+
</template>
|
|
948
|
+
<!-- 自定义鉴权字段 -->
|
|
949
|
+
<template #hasAuth>
|
|
950
|
+
<div class="flex items-center">
|
|
951
|
+
<el-switch
|
|
952
|
+
v-model="formData.hasAuth"
|
|
953
|
+
:active-value="1"
|
|
954
|
+
:inactive-value="0"
|
|
955
|
+
class="hasAuth-switch"
|
|
956
|
+
/>
|
|
957
|
+
<el-tooltip
|
|
958
|
+
content="开启后作为鉴权接口"
|
|
959
|
+
placement="top"
|
|
960
|
+
effect="dark"
|
|
961
|
+
>
|
|
962
|
+
<el-icon class="ml-1 cursor-help text-gray-400">
|
|
963
|
+
<InfoFilled />
|
|
964
|
+
</el-icon>
|
|
965
|
+
</el-tooltip>
|
|
966
|
+
</div>
|
|
967
|
+
</template>
|
|
968
|
+
</Form>
|
|
969
|
+
</div>
|
|
970
|
+
|
|
971
|
+
<!-- 内容区域 - 数据配置 -->
|
|
972
|
+
<div v-show="shouldShowContent('config')" class="step-content">
|
|
973
|
+
<!-- API数据配置组件 - 在API操作时显示 -->
|
|
974
|
+
<div
|
|
975
|
+
v-if="formData.type === DataInterfaceType.API_OPERATION"
|
|
976
|
+
class="content-height"
|
|
977
|
+
>
|
|
978
|
+
<ApiDataConfig
|
|
979
|
+
:value="getApiConfigValue()"
|
|
980
|
+
:pagination="formData.hasPage === 1"
|
|
981
|
+
:parameter-json="requestParams"
|
|
982
|
+
:field-json="fieldParams"
|
|
983
|
+
@change="handleApiConfigChange"
|
|
984
|
+
@parameter-change="(params: Parameter[]) => (requestParams = params)"
|
|
985
|
+
@field-change="(fields: Field[]) => (fieldParams = fields)"
|
|
986
|
+
/>
|
|
987
|
+
</div>
|
|
988
|
+
|
|
989
|
+
<!-- SQL数据配置组件 - 在SQL操作时显示 -->
|
|
990
|
+
<div
|
|
991
|
+
v-else-if="formData.type === DataInterfaceType.SQL_OPERATION"
|
|
992
|
+
class="content-height"
|
|
993
|
+
>
|
|
994
|
+
<SqlDataConfig
|
|
995
|
+
:value="getSqlContentValue()"
|
|
996
|
+
:parameter-json="requestParams"
|
|
997
|
+
:field-json="fieldParams"
|
|
998
|
+
@change="handleSqlChange"
|
|
999
|
+
@parameter-change="(params: Parameter[]) => (requestParams = params)"
|
|
1000
|
+
@field-change="(fields: Field[]) => (fieldParams = fields)"
|
|
1001
|
+
/>
|
|
1002
|
+
</div>
|
|
1003
|
+
|
|
1004
|
+
<!-- 静态数据配置组件 - 在静态数据类型时显示 -->
|
|
1005
|
+
<div v-else class="content-height">
|
|
1006
|
+
<StaticDataConfig
|
|
1007
|
+
:value="getStaticDataValue()"
|
|
1008
|
+
:field-json="fieldParams"
|
|
1009
|
+
@change="handleStaticDataChange"
|
|
1010
|
+
@field-change="(fields: Field[]) => (fieldParams = fields)"
|
|
1011
|
+
/>
|
|
1012
|
+
</div>
|
|
1013
|
+
</div>
|
|
1014
|
+
|
|
1015
|
+
<!-- 内容区域 - 数量统计 -->
|
|
1016
|
+
<div
|
|
1017
|
+
v-show="shouldShowContent('statistics')"
|
|
1018
|
+
class="step-content content-height"
|
|
1019
|
+
>
|
|
1020
|
+
<SqlDataStatistics
|
|
1021
|
+
:model-value="getDataCountSqlValue()"
|
|
1022
|
+
:parameter-json="requestParams"
|
|
1023
|
+
:field-json="fieldParams"
|
|
1024
|
+
@update:modelValue="handleDataCountSqlChange"
|
|
1025
|
+
@parameter-change="(params: Parameter[]) => (requestParams = params)"
|
|
1026
|
+
@field-change="(fields: Field[]) => (fieldParams = fields)"
|
|
1027
|
+
/>
|
|
1028
|
+
</div>
|
|
1029
|
+
|
|
1030
|
+
<!-- 内容区域 - 数据回显 -->
|
|
1031
|
+
<div v-show="shouldShowContent('echo')" class="step-content content-height">
|
|
1032
|
+
<SqlDataDisplay
|
|
1033
|
+
v-model="formData.dataEchoJson"
|
|
1034
|
+
:parameter-json="requestParams"
|
|
1035
|
+
:field-json="fieldParams"
|
|
1036
|
+
@change="handleDataEchoChange"
|
|
1037
|
+
@parameter-change="(params: Parameter[]) => (requestParams = params)"
|
|
1038
|
+
@field-change="(fields: Field[]) => (fieldParams = fields)"
|
|
1039
|
+
/>
|
|
1040
|
+
</div>
|
|
1041
|
+
|
|
1042
|
+
<!-- 内容区域 - 数据处理 -->
|
|
1043
|
+
<div
|
|
1044
|
+
v-show="shouldShowContent('processing')"
|
|
1045
|
+
class="step-content content-height"
|
|
1046
|
+
>
|
|
1047
|
+
<!-- SQL操作的数据处理 -->
|
|
1048
|
+
<div
|
|
1049
|
+
v-if="formData.type === DataInterfaceType.SQL_OPERATION"
|
|
1050
|
+
class="flex h-full flex-col overflow-hidden rounded-md border border-gray-200 dark:border-gray-700"
|
|
1051
|
+
>
|
|
1052
|
+
<div
|
|
1053
|
+
class="flex h-10 items-center justify-between border-b border-gray-200 bg-gray-50 px-4 dark:border-gray-700 dark:bg-gray-800"
|
|
1054
|
+
>
|
|
1055
|
+
<div class="flex min-w-[200px] items-center">
|
|
1056
|
+
<span
|
|
1057
|
+
class="mr-3 whitespace-nowrap text-sm font-medium text-gray-700 dark:text-gray-300"
|
|
1058
|
+
>数据处理</span
|
|
1059
|
+
>
|
|
1060
|
+
<el-tooltip content="支持JavaScript数据处理函数" placement="top">
|
|
1061
|
+
<div class="flex h-4 w-4 items-center justify-center">
|
|
1062
|
+
<QuestionFilled
|
|
1063
|
+
class="cursor-help text-xs text-gray-500 dark:text-gray-400"
|
|
1064
|
+
/>
|
|
1065
|
+
</div>
|
|
1066
|
+
</el-tooltip>
|
|
1067
|
+
</div>
|
|
1068
|
+
</div>
|
|
1069
|
+
|
|
1070
|
+
<!-- 使用CodeEditor组件替换占位符 -->
|
|
1071
|
+
<div class="flex h-full flex-1">
|
|
1072
|
+
<CodeEditor
|
|
1073
|
+
v-model="formData.dataJsJson"
|
|
1074
|
+
language="javascript"
|
|
1075
|
+
height="100%"
|
|
1076
|
+
@change="handleDataProcessingChange"
|
|
1077
|
+
/>
|
|
1078
|
+
</div>
|
|
1079
|
+
</div>
|
|
1080
|
+
|
|
1081
|
+
<!-- API操作的数据处理 -->
|
|
1082
|
+
<div
|
|
1083
|
+
v-else-if="formData.type === DataInterfaceType.API_OPERATION"
|
|
1084
|
+
class="flex h-full flex-col overflow-hidden rounded-md border border-gray-200 dark:border-gray-700"
|
|
1085
|
+
>
|
|
1086
|
+
<div
|
|
1087
|
+
class="flex h-10 items-center justify-between border-b border-gray-200 bg-gray-50 px-4 dark:border-gray-700 dark:bg-gray-800"
|
|
1088
|
+
>
|
|
1089
|
+
<div class="flex min-w-[200px] items-center">
|
|
1090
|
+
<span
|
|
1091
|
+
class="mr-3 whitespace-nowrap text-sm font-medium text-gray-700 dark:text-gray-300"
|
|
1092
|
+
>API数据处理</span
|
|
1093
|
+
>
|
|
1094
|
+
<el-tooltip content="支持JavaScript数据处理函数" placement="top">
|
|
1095
|
+
<div class="flex h-4 w-4 items-center justify-center">
|
|
1096
|
+
<QuestionFilled
|
|
1097
|
+
class="cursor-help text-xs text-gray-500 dark:text-gray-400"
|
|
1098
|
+
/>
|
|
1099
|
+
</div>
|
|
1100
|
+
</el-tooltip>
|
|
1101
|
+
</div>
|
|
1102
|
+
</div>
|
|
1103
|
+
|
|
1104
|
+
<!-- 使用CodeEditor组件替换占位符 -->
|
|
1105
|
+
<div class="flex h-full flex-1">
|
|
1106
|
+
<CodeEditor
|
|
1107
|
+
v-model="formData.dataJsJson"
|
|
1108
|
+
language="javascript"
|
|
1109
|
+
height="100%"
|
|
1110
|
+
@change="handleApiDataProcessingChange"
|
|
1111
|
+
/>
|
|
1112
|
+
</div>
|
|
1113
|
+
</div>
|
|
1114
|
+
</div>
|
|
1115
|
+
|
|
1116
|
+
<!-- 步骤导航按钮 -->
|
|
1117
|
+
<div v-if="props.showStepActions" class="mt-6 flex justify-between">
|
|
1118
|
+
<el-button @click="prevStep" :disabled="activeStep === 0"
|
|
1119
|
+
>上一步</el-button
|
|
1120
|
+
>
|
|
1121
|
+
<el-button
|
|
1122
|
+
type="primary"
|
|
1123
|
+
@click="nextStep"
|
|
1124
|
+
:disabled="activeStep === visibleSteps.length - 1"
|
|
1125
|
+
>
|
|
1126
|
+
下一步
|
|
1127
|
+
</el-button>
|
|
1128
|
+
</div>
|
|
1129
|
+
</div>
|
|
1130
|
+
</template>
|
|
1131
|
+
|
|
1132
|
+
<style scoped>
|
|
1133
|
+
.font-mono {
|
|
1134
|
+
font-family: monospace;
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
.step-content {
|
|
1138
|
+
min-height: 300px;
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
.content-height {
|
|
1142
|
+
height: calc(100vh - 250px); /* 视口高度减去头部和底部的高度 */
|
|
1143
|
+
min-height: 400px; /* 设置最小高度,避免在小屏幕上内容区域过小 */
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
/* 步骤条样式 */
|
|
1147
|
+
.el-steps {
|
|
1148
|
+
margin-bottom: 24px;
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
/* 当前进行中节点 - 蓝色实心图标 */
|
|
1152
|
+
:deep(.el-step__head.is-process .el-step__icon) {
|
|
1153
|
+
background-color: #3b82f6;
|
|
1154
|
+
border-color: #3b82f6;
|
|
1155
|
+
color: #ffffff;
|
|
1156
|
+
}
|
|
1157
|
+
:deep(.el-step__main .el-step__title.is-process) {
|
|
1158
|
+
color: #3b82f6 !important;
|
|
1159
|
+
font-weight: unset;
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
/* 已完成节点 - 绿色镂空 */
|
|
1163
|
+
:deep(.el-step__head.is-success .el-step__icon) {
|
|
1164
|
+
background-color: #ffffff;
|
|
1165
|
+
border-color: #22c55e;
|
|
1166
|
+
color: #22c55e;
|
|
1167
|
+
}
|
|
1168
|
+
:deep(.el-step__main .el-step__title.is-success) {
|
|
1169
|
+
color: #22c55e !important;
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
/* 待进行节点 - 灰色 */
|
|
1173
|
+
:deep(.el-step__head.is-wait .el-step__icon) {
|
|
1174
|
+
background-color: #ffffff;
|
|
1175
|
+
border-color: #e5e7eb;
|
|
1176
|
+
color: #6b7280;
|
|
1177
|
+
}
|
|
1178
|
+
:deep(.el-step__main .el-step__title.is-wait) {
|
|
1179
|
+
color: #6b7280 !important;
|
|
1180
|
+
}
|
|
1181
|
+
</style>
|