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,124 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="websocket-status" :class="statusClass">
|
|
3
|
+
<div class="status-indicator" :class="indicatorClass"></div>
|
|
4
|
+
<span class="status-text">{{ statusText }}</span>
|
|
5
|
+
</div>
|
|
6
|
+
</template>
|
|
7
|
+
|
|
8
|
+
<script setup lang="ts">
|
|
9
|
+
import { computed, onMounted, onUnmounted } from 'vue';
|
|
10
|
+
import { useWebSocketStore } from '../store/websocket';
|
|
11
|
+
|
|
12
|
+
const websocketStore = useWebSocketStore();
|
|
13
|
+
|
|
14
|
+
// 连接状态(响应式)
|
|
15
|
+
const connectionStatus = computed(() => {
|
|
16
|
+
if (websocketStore.isConnected) {
|
|
17
|
+
return 'connected';
|
|
18
|
+
} else if (websocketStore.socket?.readyState === WebSocket.CONNECTING) {
|
|
19
|
+
return 'connecting';
|
|
20
|
+
} else {
|
|
21
|
+
return 'disconnected';
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
// 状态文本
|
|
26
|
+
const statusText = computed(() => {
|
|
27
|
+
switch (connectionStatus.value) {
|
|
28
|
+
case 'connected':
|
|
29
|
+
return 'WebSocket已连接';
|
|
30
|
+
case 'connecting':
|
|
31
|
+
return 'WebSocket连接中...';
|
|
32
|
+
case 'disconnected':
|
|
33
|
+
return 'WebSocket未连接';
|
|
34
|
+
default:
|
|
35
|
+
return 'WebSocket状态未知';
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
// 状态样式类
|
|
40
|
+
const statusClass = computed(() => {
|
|
41
|
+
return `status-${connectionStatus.value}`;
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
// 指示器样式类
|
|
45
|
+
const indicatorClass = computed(() => {
|
|
46
|
+
return `indicator-${connectionStatus.value}`;
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
// 初始化页面可见性监听和自动连接
|
|
50
|
+
onMounted(() => {
|
|
51
|
+
websocketStore.initPageVisibilityListener();
|
|
52
|
+
websocketStore.autoConnect();
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
onUnmounted(() => {
|
|
56
|
+
// 组件卸载时不需要特殊处理,store会继续管理连接
|
|
57
|
+
});
|
|
58
|
+
</script>
|
|
59
|
+
|
|
60
|
+
<style scoped>
|
|
61
|
+
.websocket-status {
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
gap: 6px;
|
|
65
|
+
padding: 4px 8px;
|
|
66
|
+
border-radius: 4px;
|
|
67
|
+
font-size: 12px;
|
|
68
|
+
transition: all 0.3s ease;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.status-indicator {
|
|
72
|
+
width: 8px;
|
|
73
|
+
height: 8px;
|
|
74
|
+
border-radius: 50%;
|
|
75
|
+
transition: all 0.3s ease;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.status-text {
|
|
79
|
+
font-weight: 500;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/* 连接状态样式 */
|
|
83
|
+
.status-connected {
|
|
84
|
+
background-color: rgba(34, 197, 94, 0.1);
|
|
85
|
+
color: #22c55e;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.indicator-connected {
|
|
89
|
+
background-color: #22c55e;
|
|
90
|
+
box-shadow: 0 0 4px rgba(34, 197, 94, 0.5);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* 连接中状态样式 */
|
|
94
|
+
.status-connecting {
|
|
95
|
+
background-color: rgba(251, 191, 36, 0.1);
|
|
96
|
+
color: #fbbf24;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.indicator-connecting {
|
|
100
|
+
background-color: #fbbf24;
|
|
101
|
+
animation: pulse 1.5s infinite;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* 断开连接状态样式 */
|
|
105
|
+
.status-disconnected {
|
|
106
|
+
background-color: rgba(239, 68, 68, 0.1);
|
|
107
|
+
color: #ef4444;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.indicator-disconnected {
|
|
111
|
+
background-color: #ef4444;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/* 脉冲动画 */
|
|
115
|
+
@keyframes pulse {
|
|
116
|
+
0%,
|
|
117
|
+
100% {
|
|
118
|
+
opacity: 1;
|
|
119
|
+
}
|
|
120
|
+
50% {
|
|
121
|
+
opacity: 0.5;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
</style>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { User } from '../api/user/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
user: null | User;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
6
|
+
handleSubmit: () => Promise<boolean | undefined>;
|
|
7
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { FormItemConfig, FormOption } from '@udp/component-ui';
|
|
3
|
+
|
|
4
|
+
import type { User } from '../api/user/types';
|
|
5
|
+
|
|
6
|
+
import { onMounted, reactive, ref } from 'vue';
|
|
7
|
+
|
|
8
|
+
import { Form } from '@udp/component-ui';
|
|
9
|
+
|
|
10
|
+
import { ElMessage } from 'element-plus';
|
|
11
|
+
|
|
12
|
+
import { queryAccountList } from '../api/account';
|
|
13
|
+
import { getUserListAll, workTransfer } from '../api/user';
|
|
14
|
+
|
|
15
|
+
const props = defineProps<{
|
|
16
|
+
user: null | User;
|
|
17
|
+
}>();
|
|
18
|
+
|
|
19
|
+
const formRef = ref();
|
|
20
|
+
|
|
21
|
+
const accountList = ref<FormOption[]>([]);
|
|
22
|
+
const userList = ref<FormOption[]>([]);
|
|
23
|
+
|
|
24
|
+
const items = reactive<FormItemConfig[]>([
|
|
25
|
+
{
|
|
26
|
+
label: '交接人',
|
|
27
|
+
prop: 'name',
|
|
28
|
+
type: 'input',
|
|
29
|
+
props: {
|
|
30
|
+
disabled: true,
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
label: '移交账号',
|
|
35
|
+
prop: 'accountIds',
|
|
36
|
+
type: 'select-v2',
|
|
37
|
+
required: true,
|
|
38
|
+
options: accountList,
|
|
39
|
+
props: {
|
|
40
|
+
multiple: true,
|
|
41
|
+
filterable: true,
|
|
42
|
+
},
|
|
43
|
+
rules: [{ required: true, message: '请选择移交账号' }],
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
label: '工作交接人',
|
|
47
|
+
prop: 'targetUserId',
|
|
48
|
+
type: 'select-v2',
|
|
49
|
+
required: true,
|
|
50
|
+
options: userList,
|
|
51
|
+
rules: [{ required: true, message: '请选择工作交接人' }],
|
|
52
|
+
props: {
|
|
53
|
+
filterable: true,
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
]);
|
|
57
|
+
|
|
58
|
+
// 查询当前用户的账号列表
|
|
59
|
+
const getAccountList = async () => {
|
|
60
|
+
try {
|
|
61
|
+
const res = await queryAccountList({ userId: props.user!.id });
|
|
62
|
+
accountList.value =
|
|
63
|
+
res?.map((item) => ({
|
|
64
|
+
label: item.loginCode,
|
|
65
|
+
value: item.id,
|
|
66
|
+
})) || [];
|
|
67
|
+
} catch (error) {
|
|
68
|
+
console.error(error);
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
// 查询所有用户列表
|
|
73
|
+
const getUserList = async () => {
|
|
74
|
+
try {
|
|
75
|
+
const res = await getUserListAll();
|
|
76
|
+
userList.value =
|
|
77
|
+
res
|
|
78
|
+
?.filter((item) => item.id !== props.user!.id)
|
|
79
|
+
?.map((item) => ({
|
|
80
|
+
label: item.name,
|
|
81
|
+
value: item.id,
|
|
82
|
+
})) || [];
|
|
83
|
+
} catch (error) {
|
|
84
|
+
console.error(error);
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
onMounted(() => {
|
|
89
|
+
if (props.user?.id) {
|
|
90
|
+
formRef.value.setValue('name', props.user.name);
|
|
91
|
+
getAccountList();
|
|
92
|
+
getUserList();
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
const handleSubmit = async () => {
|
|
97
|
+
try {
|
|
98
|
+
const valid = await formRef.value.validate();
|
|
99
|
+
if (!valid) return;
|
|
100
|
+
const values = formRef.value.getValues();
|
|
101
|
+
await workTransfer({
|
|
102
|
+
accountIds: values.accountIds,
|
|
103
|
+
targetUserId: values.targetUserId,
|
|
104
|
+
});
|
|
105
|
+
ElMessage.success('提交成功');
|
|
106
|
+
return true;
|
|
107
|
+
} catch (error) {
|
|
108
|
+
console.error(error);
|
|
109
|
+
return false;
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
defineExpose({
|
|
114
|
+
handleSubmit,
|
|
115
|
+
});
|
|
116
|
+
</script>
|
|
117
|
+
|
|
118
|
+
<template>
|
|
119
|
+
<Form
|
|
120
|
+
ref="formRef"
|
|
121
|
+
:items="items"
|
|
122
|
+
:show-actions="false"
|
|
123
|
+
label-position="top"
|
|
124
|
+
/>
|
|
125
|
+
</template>
|
|
126
|
+
|
|
127
|
+
<style scoped lang="scss"></style>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { User } from '../api/user/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
user: null | User;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
6
|
+
handleSubmit: () => Promise<boolean | undefined>;
|
|
7
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
import type { DictItem, DictType } from '../store/dict';
|
|
3
|
+
/**
|
|
4
|
+
* 字典数据接口
|
|
5
|
+
*/
|
|
6
|
+
export interface DictData {
|
|
7
|
+
loading: Ref<boolean>;
|
|
8
|
+
getDict: (code: string, type: DictType) => DictItem[];
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* 字典钩子函数
|
|
12
|
+
* @returns 字典数据和加载方法
|
|
13
|
+
*/
|
|
14
|
+
export default function useDict(): DictData;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ref } from "vue";
|
|
2
|
+
import { getDicItemListByDicCode } from "../api/dic/index.mjs";
|
|
3
|
+
import { useDictStore } from "../store/dict.mjs";
|
|
4
|
+
export default function useDict() {
|
|
5
|
+
const loading = ref(false);
|
|
6
|
+
const dictStore = useDictStore();
|
|
7
|
+
const localRequested = /* @__PURE__ */ new Set();
|
|
8
|
+
const getDict = (code, type) => {
|
|
9
|
+
const dict = dictStore.getDict(code, type);
|
|
10
|
+
if (dict && dict.length > 0) {
|
|
11
|
+
return dict;
|
|
12
|
+
}
|
|
13
|
+
if (dictStore.isLoading(code, type)) {
|
|
14
|
+
return [];
|
|
15
|
+
}
|
|
16
|
+
if (localRequested.has(`${type}:${code}`)) {
|
|
17
|
+
return [];
|
|
18
|
+
}
|
|
19
|
+
localRequested.add(`${type}:${code}`);
|
|
20
|
+
dictStore.markAsLoading(code, type);
|
|
21
|
+
loading.value = true;
|
|
22
|
+
(async () => {
|
|
23
|
+
try {
|
|
24
|
+
const result = await getDicItemListByDicCode({
|
|
25
|
+
dicAttr: type,
|
|
26
|
+
dicCode: code
|
|
27
|
+
});
|
|
28
|
+
dictStore.setDict(code, result, type);
|
|
29
|
+
} catch (error) {
|
|
30
|
+
console.error("\u83B7\u53D6\u5B57\u5178\u6570\u636E\u5931\u8D25:", error);
|
|
31
|
+
dictStore.removeLoading(code, type);
|
|
32
|
+
} finally {
|
|
33
|
+
loading.value = false;
|
|
34
|
+
}
|
|
35
|
+
})();
|
|
36
|
+
return [];
|
|
37
|
+
};
|
|
38
|
+
return {
|
|
39
|
+
loading,
|
|
40
|
+
getDict
|
|
41
|
+
};
|
|
42
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { registerUserModule } from './plugin';
|
|
2
|
+
export type { UserModuleOptions, UserModuleRouteConfig } from './types';
|
|
3
|
+
export { configure, configureFileClient, setRequestClient, setRequestFileClient, getRequestClient, getApiPrefix, } from './api/request';
|
|
4
|
+
export { default as GenderTag } from './components/gender-tag.vue';
|
|
5
|
+
export { default as MainContainer } from './components/main-container.vue';
|
|
6
|
+
export { default as ExpandAttribute } from './components/expand-attribute.vue';
|
|
7
|
+
export { default as DepartmentTree } from './components/department-tree.vue';
|
|
8
|
+
export { default as DepartmentForm } from './components/department-form.vue';
|
|
9
|
+
export { default as UserManagement } from './components/user-management.vue';
|
|
10
|
+
export type { User, UserCreateModel, UserCreateParams, UserAccountCreateParams, UserFilterParams, UserDeleteModel, WorkTransferModel, UserExtendItem, UserExtendFormData, UserExtendValueItem, } from './api/user/types';
|
|
11
|
+
export type { ColumnConfigType } from './api/index';
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { registerUserModule } from "./plugin.mjs";
|
|
2
|
+
export {
|
|
3
|
+
configure,
|
|
4
|
+
configureFileClient,
|
|
5
|
+
setRequestClient,
|
|
6
|
+
setRequestFileClient,
|
|
7
|
+
getRequestClient,
|
|
8
|
+
getApiPrefix
|
|
9
|
+
} from "./api/request.mjs";
|
|
10
|
+
export { default as GenderTag } from "./components/gender-tag.vue";
|
|
11
|
+
export { default as MainContainer } from "./components/main-container.vue";
|
|
12
|
+
export { default as ExpandAttribute } from "./components/expand-attribute.vue";
|
|
13
|
+
export { default as DepartmentTree } from "./components/department-tree.vue";
|
|
14
|
+
export { default as DepartmentForm } from "./components/department-form.vue";
|
|
15
|
+
export { default as UserManagement } from "./components/user-management.vue";
|
package/dist/plugin.d.ts
ADDED
package/dist/plugin.mjs
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { setRequestClient } from "./api/request.mjs";
|
|
2
|
+
export function registerUserModule(options) {
|
|
3
|
+
const {
|
|
4
|
+
router,
|
|
5
|
+
requestClient,
|
|
6
|
+
route: routeConfig = {}
|
|
7
|
+
} = options;
|
|
8
|
+
const {
|
|
9
|
+
parentPath = "/sys",
|
|
10
|
+
name = "UserManagement",
|
|
11
|
+
path = "user",
|
|
12
|
+
meta = {
|
|
13
|
+
title: "\u7528\u6237\u7BA1\u7406"
|
|
14
|
+
},
|
|
15
|
+
registerDirectly = true
|
|
16
|
+
} = routeConfig;
|
|
17
|
+
return {
|
|
18
|
+
install(app) {
|
|
19
|
+
setRequestClient(requestClient);
|
|
20
|
+
if (registerDirectly) {
|
|
21
|
+
const userRoute = {
|
|
22
|
+
name,
|
|
23
|
+
path: `${parentPath}/${path}`,
|
|
24
|
+
component: () => import("./components/user-management.vue"),
|
|
25
|
+
meta
|
|
26
|
+
};
|
|
27
|
+
router.addRoute(userRoute);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { AccountInfo, UserInfo } from '@udp/types';
|
|
2
|
+
import type { LoginResponse } from '../api/login/types';
|
|
3
|
+
export declare const useAuthStore: import("pinia").StoreDefinition<"auth", Pick<{
|
|
4
|
+
$reset: () => void;
|
|
5
|
+
authLogin: (data: LoginResponse, onSuccess?: () => Promise<void> | void) => Promise<{
|
|
6
|
+
userInfo: null;
|
|
7
|
+
}>;
|
|
8
|
+
fetchUserInfo: () => Promise<UserInfo | null>;
|
|
9
|
+
fetchAccountInfo: () => Promise<AccountInfo | null>;
|
|
10
|
+
loginLoading: import("vue").Ref<boolean, boolean>;
|
|
11
|
+
setLoginLoading: (loading: boolean) => void;
|
|
12
|
+
logout: (redirect?: boolean, is401?: boolean) => Promise<void>;
|
|
13
|
+
}, "loginLoading">, Pick<{
|
|
14
|
+
$reset: () => void;
|
|
15
|
+
authLogin: (data: LoginResponse, onSuccess?: () => Promise<void> | void) => Promise<{
|
|
16
|
+
userInfo: null;
|
|
17
|
+
}>;
|
|
18
|
+
fetchUserInfo: () => Promise<UserInfo | null>;
|
|
19
|
+
fetchAccountInfo: () => Promise<AccountInfo | null>;
|
|
20
|
+
loginLoading: import("vue").Ref<boolean, boolean>;
|
|
21
|
+
setLoginLoading: (loading: boolean) => void;
|
|
22
|
+
logout: (redirect?: boolean, is401?: boolean) => Promise<void>;
|
|
23
|
+
}, never>, Pick<{
|
|
24
|
+
$reset: () => void;
|
|
25
|
+
authLogin: (data: LoginResponse, onSuccess?: () => Promise<void> | void) => Promise<{
|
|
26
|
+
userInfo: null;
|
|
27
|
+
}>;
|
|
28
|
+
fetchUserInfo: () => Promise<UserInfo | null>;
|
|
29
|
+
fetchAccountInfo: () => Promise<AccountInfo | null>;
|
|
30
|
+
loginLoading: import("vue").Ref<boolean, boolean>;
|
|
31
|
+
setLoginLoading: (loading: boolean) => void;
|
|
32
|
+
logout: (redirect?: boolean, is401?: boolean) => Promise<void>;
|
|
33
|
+
}, "$reset" | "authLogin" | "fetchUserInfo" | "fetchAccountInfo" | "setLoginLoading" | "logout">>;
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { list } from "../api/sys-config/index.mjs";
|
|
2
|
+
import { ref } from "vue";
|
|
3
|
+
import { useRouter } from "vue-router";
|
|
4
|
+
import { LOGIN_PATH } from "@udp/constants";
|
|
5
|
+
import {
|
|
6
|
+
clearPreferencesCache,
|
|
7
|
+
resetPreferences
|
|
8
|
+
} from "@udp/preferences";
|
|
9
|
+
import { resetAllStores, useAccessStore, useUserStore } from "@udp/stores";
|
|
10
|
+
import { ElNotification } from "element-plus";
|
|
11
|
+
import { defineStore } from "pinia";
|
|
12
|
+
import { getAccountAvatar } from "../api/account/index.mjs";
|
|
13
|
+
import { logoutApi } from "../api/login/index.mjs";
|
|
14
|
+
import { getCurrentAccount, getCurrentUser, getCurrentUserDetail } from "../api/personal-center/index.mjs";
|
|
15
|
+
import { $t } from "@udp/locales";
|
|
16
|
+
import { useWebSocketStore } from "./websocket.mjs";
|
|
17
|
+
import { syncConfigToStorage } from "../utils/config-sync.mjs";
|
|
18
|
+
const getUserInfoFn = async () => {
|
|
19
|
+
try {
|
|
20
|
+
const userRes = await getCurrentUserDetail();
|
|
21
|
+
console.log("userDetail", userRes);
|
|
22
|
+
if (userRes.code === 0) {
|
|
23
|
+
localStorage.setItem("userInfo", JSON.stringify(userRes.data));
|
|
24
|
+
}
|
|
25
|
+
} catch (error) {
|
|
26
|
+
console.error("\u83B7\u53D6\u7528\u6237\u8BE6\u60C5\u5931\u8D25:", error);
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
const getCommonConfigTypeFn = async () => {
|
|
30
|
+
try {
|
|
31
|
+
const res = await list({ configType: "common" });
|
|
32
|
+
if (!res) return;
|
|
33
|
+
const configList = Array.isArray(res) ? res : res.data;
|
|
34
|
+
if (!configList) return;
|
|
35
|
+
syncConfigToStorage(configList);
|
|
36
|
+
} catch (error) {
|
|
37
|
+
console.error("\u83B7\u53D6\u901A\u7528\u914D\u7F6E\u5931\u8D25:", error);
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
const getSettingFn = async () => {
|
|
41
|
+
getUserInfoFn();
|
|
42
|
+
getCommonConfigTypeFn();
|
|
43
|
+
};
|
|
44
|
+
export const useAuthStore = defineStore("auth", () => {
|
|
45
|
+
const router = useRouter();
|
|
46
|
+
const accessStore = useAccessStore();
|
|
47
|
+
const userStore = useUserStore();
|
|
48
|
+
const websocketStore = useWebSocketStore();
|
|
49
|
+
const loginLoading = ref(false);
|
|
50
|
+
async function authLogin(data, onSuccess) {
|
|
51
|
+
const userInfo = null;
|
|
52
|
+
try {
|
|
53
|
+
loginLoading.value = true;
|
|
54
|
+
accessStore.setAccessToken(data.tokenValue);
|
|
55
|
+
accessStore.setLoginId(data.loginId);
|
|
56
|
+
const [accountInfo, userInfo2] = await Promise.all([
|
|
57
|
+
fetchAccountInfo(),
|
|
58
|
+
fetchUserInfo()
|
|
59
|
+
]);
|
|
60
|
+
userStore.setAccountInfo(accountInfo);
|
|
61
|
+
userStore.setUserInfo(userInfo2);
|
|
62
|
+
getSettingFn();
|
|
63
|
+
console.log("\u5F00\u59CB\u8FDE\u63A5ws");
|
|
64
|
+
try {
|
|
65
|
+
const wsUrl = websocketStore.getWebSocketUrl();
|
|
66
|
+
await websocketStore.connect(wsUrl);
|
|
67
|
+
console.log("WebSocket\u8FDE\u63A5\u5EFA\u7ACB\u6210\u529F");
|
|
68
|
+
} catch (error) {
|
|
69
|
+
console.error("WebSocket\u8FDE\u63A5\u5EFA\u7ACB\u5931\u8D25:", error);
|
|
70
|
+
}
|
|
71
|
+
if (accessStore.loginExpired) {
|
|
72
|
+
accessStore.setLoginExpired(false);
|
|
73
|
+
} else {
|
|
74
|
+
console.log("router", router);
|
|
75
|
+
onSuccess ? await onSuccess?.() : await router.push("/navHome");
|
|
76
|
+
}
|
|
77
|
+
if (accountInfo?.nickname) {
|
|
78
|
+
ElNotification({
|
|
79
|
+
message: `${$t("authentication.loginSuccessDesc")}:${accountInfo?.nickname}`,
|
|
80
|
+
title: $t("authentication.loginSuccess"),
|
|
81
|
+
type: "success"
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
} catch (error) {
|
|
85
|
+
console.error("\u767B\u5F55\u5931\u8D25==========", error);
|
|
86
|
+
} finally {
|
|
87
|
+
loginLoading.value = false;
|
|
88
|
+
}
|
|
89
|
+
return {
|
|
90
|
+
userInfo
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
async function logout(redirect = true, is401 = false) {
|
|
94
|
+
try {
|
|
95
|
+
websocketStore.disconnect();
|
|
96
|
+
if (!is401) {
|
|
97
|
+
await logoutApi();
|
|
98
|
+
}
|
|
99
|
+
resetPreferences();
|
|
100
|
+
clearPreferencesCache();
|
|
101
|
+
resetAllStores();
|
|
102
|
+
accessStore.setLoginExpired(false);
|
|
103
|
+
localStorage.removeItem("zhdd-token");
|
|
104
|
+
localStorage.removeItem("accessToken");
|
|
105
|
+
await router.replace({
|
|
106
|
+
path: LOGIN_PATH,
|
|
107
|
+
query: {}
|
|
108
|
+
});
|
|
109
|
+
} catch {
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
async function fetchUserInfo() {
|
|
113
|
+
let userInfo = null;
|
|
114
|
+
userInfo = await getCurrentUser();
|
|
115
|
+
userStore.setUserInfo(userInfo);
|
|
116
|
+
return userInfo;
|
|
117
|
+
}
|
|
118
|
+
async function fetchAccountInfo() {
|
|
119
|
+
let accountInfo = null;
|
|
120
|
+
accountInfo = await getCurrentAccount();
|
|
121
|
+
const avatar = await getAccountAvatar(accountInfo?.id ?? "");
|
|
122
|
+
accountInfo && (accountInfo.avatar = avatar);
|
|
123
|
+
userStore.setAccountInfo(accountInfo);
|
|
124
|
+
return accountInfo;
|
|
125
|
+
}
|
|
126
|
+
function $reset() {
|
|
127
|
+
loginLoading.value = false;
|
|
128
|
+
}
|
|
129
|
+
function setLoginLoading(loading) {
|
|
130
|
+
loginLoading.value = loading;
|
|
131
|
+
}
|
|
132
|
+
return {
|
|
133
|
+
$reset,
|
|
134
|
+
authLogin,
|
|
135
|
+
fetchUserInfo,
|
|
136
|
+
fetchAccountInfo,
|
|
137
|
+
loginLoading,
|
|
138
|
+
setLoginLoading,
|
|
139
|
+
logout
|
|
140
|
+
};
|
|
141
|
+
});
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export type DictType = 'base' | 'custom' | 'sql' | 'tree';
|
|
2
|
+
export type DictItem = {
|
|
3
|
+
id: string;
|
|
4
|
+
itemCode: string;
|
|
5
|
+
itemValue: string;
|
|
6
|
+
};
|
|
7
|
+
type DictMap = Record<string, DictItem[]>;
|
|
8
|
+
interface DictState {
|
|
9
|
+
/**
|
|
10
|
+
* 账号信息
|
|
11
|
+
*/
|
|
12
|
+
dictMap: Record<DictType, DictMap>;
|
|
13
|
+
loadingKeys: Set<string>;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @zh_CN 字典信息相关
|
|
17
|
+
*/
|
|
18
|
+
export declare const useDictStore: import("pinia").StoreDefinition<"dict", DictState, {
|
|
19
|
+
getDict(state: {
|
|
20
|
+
dictMap: {
|
|
21
|
+
base: DictMap;
|
|
22
|
+
custom: DictMap;
|
|
23
|
+
sql: DictMap;
|
|
24
|
+
tree: DictMap;
|
|
25
|
+
};
|
|
26
|
+
loadingKeys: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
27
|
+
} & import("pinia").PiniaCustomStateProperties<DictState>): (code: string, type?: DictType) => DictItem[];
|
|
28
|
+
}, {
|
|
29
|
+
setDict(code: string, value: DictItem[], type?: DictType): void;
|
|
30
|
+
markAsLoading(code: string, type?: DictType): void;
|
|
31
|
+
removeLoading(code: string, type?: DictType): void;
|
|
32
|
+
isLoading(code: string, type?: DictType): boolean;
|
|
33
|
+
}>;
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { acceptHMRUpdate, defineStore } from "pinia";
|
|
2
|
+
export const useDictStore = defineStore("dict", {
|
|
3
|
+
state: () => ({
|
|
4
|
+
dictMap: {
|
|
5
|
+
base: {},
|
|
6
|
+
custom: {},
|
|
7
|
+
sql: {},
|
|
8
|
+
tree: {}
|
|
9
|
+
},
|
|
10
|
+
// 记录正在加载中的 key (格式: type:code),防止并发请求
|
|
11
|
+
loadingKeys: /* @__PURE__ */ new Set()
|
|
12
|
+
}),
|
|
13
|
+
getters: {
|
|
14
|
+
getDict(state) {
|
|
15
|
+
return (code, type = "base") => {
|
|
16
|
+
return state.dictMap[type]?.[code] || [];
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
actions: {
|
|
21
|
+
setDict(code, value, type = "base") {
|
|
22
|
+
this.dictMap[type] = {
|
|
23
|
+
...this.dictMap[type],
|
|
24
|
+
[code]: value
|
|
25
|
+
};
|
|
26
|
+
this.loadingKeys.delete(`${type}:${code}`);
|
|
27
|
+
},
|
|
28
|
+
markAsLoading(code, type = "base") {
|
|
29
|
+
this.loadingKeys.add(`${type}:${code}`);
|
|
30
|
+
},
|
|
31
|
+
removeLoading(code, type = "base") {
|
|
32
|
+
this.loadingKeys.delete(`${type}:${code}`);
|
|
33
|
+
},
|
|
34
|
+
isLoading(code, type = "base") {
|
|
35
|
+
return this.loadingKeys.has(`${type}:${code}`);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
const hot = import.meta.hot;
|
|
40
|
+
if (hot) {
|
|
41
|
+
hot.accept(acceptHMRUpdate(useDictStore, hot));
|
|
42
|
+
}
|