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,581 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { FormItemConfig } from '@udp/component-ui';
|
|
3
|
+
|
|
4
|
+
import type { Account, AccountCreateParams } from '../../../../api/account/types';
|
|
5
|
+
|
|
6
|
+
import { computed, nextTick, onMounted, reactive, ref, watch } from 'vue';
|
|
7
|
+
|
|
8
|
+
import { Dialog, Form, Icon } from '@udp/component-ui';
|
|
9
|
+
import { useMask } from '@udp/mask';
|
|
10
|
+
import { useSystemStore } from '@udp/stores';
|
|
11
|
+
|
|
12
|
+
import { ElMessage } from 'element-plus';
|
|
13
|
+
|
|
14
|
+
import {
|
|
15
|
+
cofigList,
|
|
16
|
+
createAccount,
|
|
17
|
+
getAccountAvatar,
|
|
18
|
+
getAccountDetail,
|
|
19
|
+
saveAccountAvatar,
|
|
20
|
+
updateAccount,
|
|
21
|
+
} from '../../../../api/account';
|
|
22
|
+
import { listDepartment } from '../../../../api/department';
|
|
23
|
+
import { getPostListAll } from '../../../../api/post'; // fjl modify
|
|
24
|
+
import { getRoleList } from '../../../../api/role';
|
|
25
|
+
import { getUserListAll } from '../../../../api/user';
|
|
26
|
+
|
|
27
|
+
import SubPositions from './sub-positions.vue';
|
|
28
|
+
|
|
29
|
+
const props = withDefaults(
|
|
30
|
+
defineProps<{
|
|
31
|
+
editData?: any;
|
|
32
|
+
type?: 'add' | 'edit' | 'view';
|
|
33
|
+
}>(),
|
|
34
|
+
{
|
|
35
|
+
editData: () => ({}),
|
|
36
|
+
type: 'add',
|
|
37
|
+
},
|
|
38
|
+
);
|
|
39
|
+
|
|
40
|
+
const { maskText } = useMask();
|
|
41
|
+
|
|
42
|
+
// 组件状态
|
|
43
|
+
const isAdd = computed(() => props.type === 'add');
|
|
44
|
+
const isEdit = computed(() => !!props.editData?.id && props.type === 'edit');
|
|
45
|
+
const isView = computed(() => props.type === 'view');
|
|
46
|
+
const activeName = ref(['1', '2']);
|
|
47
|
+
const loading = ref(false);
|
|
48
|
+
const baseFormRef = ref();
|
|
49
|
+
const accountFormRef = ref();
|
|
50
|
+
const subPositionsRef = ref();
|
|
51
|
+
const initPassword = ref();
|
|
52
|
+
const roleList = ref<any[]>([]);
|
|
53
|
+
const userList = ref<any[]>([]);
|
|
54
|
+
const postList = ref<any[]>([]);
|
|
55
|
+
|
|
56
|
+
const systemStore = useSystemStore();
|
|
57
|
+
|
|
58
|
+
// 加载部门树数据
|
|
59
|
+
const loadNode = (node: any, resolve: (data: any[]) => void) => {
|
|
60
|
+
listDepartment({ departId: (node as any)?.data?.id, status: 1 }).then(
|
|
61
|
+
(res) => {
|
|
62
|
+
resolve(
|
|
63
|
+
res?.length > 0
|
|
64
|
+
? res.map((item: any) => {
|
|
65
|
+
return {
|
|
66
|
+
...item,
|
|
67
|
+
isLeaf: !item.hasChild,
|
|
68
|
+
};
|
|
69
|
+
})
|
|
70
|
+
: [],
|
|
71
|
+
);
|
|
72
|
+
},
|
|
73
|
+
);
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
// 表单数据
|
|
77
|
+
const initBaseFormData = reactive({
|
|
78
|
+
loginCode: '',
|
|
79
|
+
nickname: '',
|
|
80
|
+
departmentId: '',
|
|
81
|
+
postIds: [],
|
|
82
|
+
roleIds: [],
|
|
83
|
+
userId: '',
|
|
84
|
+
sort: 1,
|
|
85
|
+
description: '',
|
|
86
|
+
status: 1,
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
const baseFormData = computed(() => {
|
|
90
|
+
return baseFormRef.value?.getValues();
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
const initAccountFormData = reactive({
|
|
94
|
+
avatar: '',
|
|
95
|
+
telephone: '',
|
|
96
|
+
workNum: '',
|
|
97
|
+
subPositions: [],
|
|
98
|
+
});
|
|
99
|
+
|
|
100
|
+
const accountFormData = computed(() => {
|
|
101
|
+
return accountFormRef.value?.getValues();
|
|
102
|
+
});
|
|
103
|
+
|
|
104
|
+
watch(
|
|
105
|
+
() => accountFormRef.value?.getValues(),
|
|
106
|
+
(newVal) => {
|
|
107
|
+
console.log('accountFormData', newVal);
|
|
108
|
+
},
|
|
109
|
+
);
|
|
110
|
+
|
|
111
|
+
// 基础信息表单配置
|
|
112
|
+
const baseFormItems = computed<FormItemConfig[]>(() => [
|
|
113
|
+
{
|
|
114
|
+
prop: 'loginCode',
|
|
115
|
+
label: '登录账号',
|
|
116
|
+
type: 'input',
|
|
117
|
+
required: true,
|
|
118
|
+
placeholder: '请输入登录账号',
|
|
119
|
+
tooltip: `账号用于登录系统,默认密码:${systemStore.initPassword}`,
|
|
120
|
+
rules: [
|
|
121
|
+
{ required: true, message: '请输入登录账号', trigger: ['blur', 'input'] },
|
|
122
|
+
{
|
|
123
|
+
min: 4,
|
|
124
|
+
max: 64,
|
|
125
|
+
message: '长度应在 4-64 个字符',
|
|
126
|
+
trigger: ['blur', 'input'],
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
pattern: /^[a-zA-Z0-9][a-zA-Z0-9@._\-]{3,63}$/,
|
|
130
|
+
message: '只支持字母、数字、下划线_、连字符-、@符号、点.,且以字母或数字开头',
|
|
131
|
+
trigger: ['blur', 'input'],
|
|
132
|
+
},
|
|
133
|
+
],
|
|
134
|
+
props: {
|
|
135
|
+
disabled: isEdit.value || isView.value,
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
prop: 'nickname',
|
|
140
|
+
label: '账号昵称',
|
|
141
|
+
type: 'input',
|
|
142
|
+
required: true,
|
|
143
|
+
placeholder: '请输入账号昵称',
|
|
144
|
+
tooltip: '昵称用于在系统上显示用户的信息',
|
|
145
|
+
rules: [
|
|
146
|
+
{ required: true, message: '请输入账号昵称', trigger: ['blur', 'input'] },
|
|
147
|
+
{
|
|
148
|
+
min: 2,
|
|
149
|
+
max: 20,
|
|
150
|
+
message: '账号昵称长度应在 2-20 个字符',
|
|
151
|
+
trigger: ['blur', 'input'],
|
|
152
|
+
},
|
|
153
|
+
],
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
prop: 'departmentId',
|
|
157
|
+
label: '主组织',
|
|
158
|
+
required: !isEdit.value || baseFormData.value?.type === 2,
|
|
159
|
+
placeholder: '请选择主组织',
|
|
160
|
+
slot: 'department',
|
|
161
|
+
rules: [
|
|
162
|
+
{
|
|
163
|
+
required: !isEdit.value || baseFormData.value?.type === 2,
|
|
164
|
+
message: '请选择主组织',
|
|
165
|
+
trigger: 'change',
|
|
166
|
+
},
|
|
167
|
+
],
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
prop: 'postIds',
|
|
171
|
+
label: '所在岗位',
|
|
172
|
+
type: 'select',
|
|
173
|
+
placeholder: '请选择所在岗位',
|
|
174
|
+
options: postList.value,
|
|
175
|
+
props: {
|
|
176
|
+
multiple: true,
|
|
177
|
+
disabled:
|
|
178
|
+
(isEdit.value && baseFormData.value?.type !== 2) || isView.value,
|
|
179
|
+
collapseTags: true,
|
|
180
|
+
collapseTagsTooltip: true,
|
|
181
|
+
maxCollapseTags: 3,
|
|
182
|
+
},
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
prop: 'roleIds',
|
|
186
|
+
label: '绑定角色',
|
|
187
|
+
type: 'select-v2',
|
|
188
|
+
placeholder: '请选择角色',
|
|
189
|
+
options: roleList.value,
|
|
190
|
+
props: {
|
|
191
|
+
multiple: true,
|
|
192
|
+
disabled:
|
|
193
|
+
(isEdit.value && baseFormData.value?.type !== 2) || isView.value,
|
|
194
|
+
collapseTags: true,
|
|
195
|
+
collapseTagsTooltip: true,
|
|
196
|
+
filterable: true,
|
|
197
|
+
maxCollapseTags: 3,
|
|
198
|
+
},
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
prop: 'userId',
|
|
202
|
+
label: '绑定用户',
|
|
203
|
+
type: 'select-v2',
|
|
204
|
+
required: isEdit.value && baseFormData.value?.type !== 2,
|
|
205
|
+
placeholder: '请选择用户',
|
|
206
|
+
options: userList.value,
|
|
207
|
+
rules: [
|
|
208
|
+
{
|
|
209
|
+
required: !isEdit.value || baseFormData.value?.type === 2,
|
|
210
|
+
message: '请选择用户',
|
|
211
|
+
trigger: 'change',
|
|
212
|
+
},
|
|
213
|
+
],
|
|
214
|
+
props: {
|
|
215
|
+
filterable: true,
|
|
216
|
+
},
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
prop: 'status',
|
|
220
|
+
label: '账号状态',
|
|
221
|
+
type: 'switch',
|
|
222
|
+
placeholder: '请选择账号状态',
|
|
223
|
+
props: {
|
|
224
|
+
activeValue: 1,
|
|
225
|
+
inactiveValue: 0,
|
|
226
|
+
inlinePrompt: true,
|
|
227
|
+
activeText: '开',
|
|
228
|
+
inactiveText: '关',
|
|
229
|
+
disabled:
|
|
230
|
+
(isEdit.value && baseFormData.value?.type !== 2) || isView.value,
|
|
231
|
+
},
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
prop: 'sort',
|
|
235
|
+
label: '排序',
|
|
236
|
+
type: 'number',
|
|
237
|
+
props: {
|
|
238
|
+
min: 1,
|
|
239
|
+
max: 999_999,
|
|
240
|
+
},
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
prop: 'description',
|
|
244
|
+
label: '账号描述',
|
|
245
|
+
type: 'textarea',
|
|
246
|
+
placeholder: '请输入账号描述',
|
|
247
|
+
gridCols: 1,
|
|
248
|
+
props: {
|
|
249
|
+
rows: 3,
|
|
250
|
+
maxlength: 100,
|
|
251
|
+
showWordLimit: true,
|
|
252
|
+
},
|
|
253
|
+
},
|
|
254
|
+
]);
|
|
255
|
+
|
|
256
|
+
// 账号信息表单配置
|
|
257
|
+
const accountFormItems = computed<FormItemConfig[]>(() => [
|
|
258
|
+
{
|
|
259
|
+
prop: 'avatar',
|
|
260
|
+
label: '头像 ',
|
|
261
|
+
slot: 'avatar',
|
|
262
|
+
placeholder: '请上传头像',
|
|
263
|
+
gridCols: 1,
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
prop: 'telephone',
|
|
267
|
+
label: '办公电话',
|
|
268
|
+
type: 'input',
|
|
269
|
+
placeholder: '请输入办公电话',
|
|
270
|
+
rules: [
|
|
271
|
+
{
|
|
272
|
+
min: 11,
|
|
273
|
+
max: 11,
|
|
274
|
+
message: '办公电话长度应为 11 个字符',
|
|
275
|
+
trigger: ['blur', 'input'],
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
pattern: /^\d+$/,
|
|
279
|
+
message: '请输入正确的办公电话',
|
|
280
|
+
trigger: ['blur', 'input'],
|
|
281
|
+
},
|
|
282
|
+
],
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
prop: 'workNum',
|
|
286
|
+
label: '工号',
|
|
287
|
+
type: 'input',
|
|
288
|
+
placeholder: '请输入工号',
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
prop: 'subPositions',
|
|
292
|
+
label: '附属组织',
|
|
293
|
+
slot: 'subPositions',
|
|
294
|
+
gridCols: 1,
|
|
295
|
+
placeholder: '请输入附属组织',
|
|
296
|
+
},
|
|
297
|
+
]);
|
|
298
|
+
|
|
299
|
+
const handleSubmit = async () => {
|
|
300
|
+
try {
|
|
301
|
+
loading.value = true;
|
|
302
|
+
|
|
303
|
+
// 表单验证
|
|
304
|
+
const baseFormValid = await baseFormRef.value?.validate();
|
|
305
|
+
const accountFormValid = await accountFormRef.value?.validate();
|
|
306
|
+
const subPositionsValid = await subPositionsRef.value?.validate();
|
|
307
|
+
if (!baseFormValid || !accountFormValid || !subPositionsValid) {
|
|
308
|
+
return;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
const submitData = {
|
|
312
|
+
...baseFormData.value,
|
|
313
|
+
...accountFormData.value,
|
|
314
|
+
subPositions: subPositionsRef.value?.getSubPositions(),
|
|
315
|
+
...(isEdit.value ? { id: props.editData.id } : {}),
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
console.warn('提交的表单数据:', submitData);
|
|
319
|
+
console.warn('当前模式:', isEdit.value ? '编辑' : '新增');
|
|
320
|
+
|
|
321
|
+
// 模拟API调用 // fjl modify
|
|
322
|
+
let accountId: string = '';
|
|
323
|
+
if (isEdit.value) {
|
|
324
|
+
await updateAccount(submitData as Account);
|
|
325
|
+
} else {
|
|
326
|
+
accountId = await createAccount(submitData as AccountCreateParams);
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
await saveAccountAvatar({
|
|
330
|
+
accountId: isEdit.value ? props.editData.id : accountId, // fjl modify
|
|
331
|
+
avatarBase64: accountFormData.value.avatar,
|
|
332
|
+
});
|
|
333
|
+
|
|
334
|
+
ElMessage.success(isEdit.value ? '更新成功!' : '创建成功!');
|
|
335
|
+
return true;
|
|
336
|
+
} catch (error) {
|
|
337
|
+
console.error('提交失败:', error);
|
|
338
|
+
return false;
|
|
339
|
+
} finally {
|
|
340
|
+
loading.value = false;
|
|
341
|
+
}
|
|
342
|
+
};
|
|
343
|
+
|
|
344
|
+
const onDepartmentChange = (e: string, setValue: (value: any) => void) => {
|
|
345
|
+
setValue(e);
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
const handleCancel = () => {
|
|
349
|
+
ElMessage.info('取消操作');
|
|
350
|
+
return true;
|
|
351
|
+
};
|
|
352
|
+
|
|
353
|
+
const departmentCache = ref({
|
|
354
|
+
departName: '',
|
|
355
|
+
id: '',
|
|
356
|
+
});
|
|
357
|
+
// 初始化表单数据
|
|
358
|
+
const initFormData = async (data?: any) => {
|
|
359
|
+
if (data?.id) {
|
|
360
|
+
const res = await getAccountDetail(data.id);
|
|
361
|
+
departmentCache.value.id = res.departmentId;
|
|
362
|
+
departmentCache.value.departName = res.departmentName || '';
|
|
363
|
+
// 保持响应式,逐个属性赋值
|
|
364
|
+
baseFormRef.value?.setValues(res);
|
|
365
|
+
const avatar = await getAccountAvatar(data.id); // fjl modify
|
|
366
|
+
const accountFormValues = {
|
|
367
|
+
avatar,
|
|
368
|
+
telephone: res.telephone,
|
|
369
|
+
workNum: res.workNum,
|
|
370
|
+
subPositions: res.subPositions,
|
|
371
|
+
};
|
|
372
|
+
accountFormRef.value?.setValues(accountFormValues);
|
|
373
|
+
loadPostList(); // fjl modify
|
|
374
|
+
|
|
375
|
+
}
|
|
376
|
+
};
|
|
377
|
+
|
|
378
|
+
// 监听编辑数据变化
|
|
379
|
+
watch(
|
|
380
|
+
() => props.editData,
|
|
381
|
+
(newData) => {
|
|
382
|
+
console.warn('编辑数据变化:', newData);
|
|
383
|
+
initFormData(newData);
|
|
384
|
+
},
|
|
385
|
+
{ immediate: true, deep: true },
|
|
386
|
+
);
|
|
387
|
+
|
|
388
|
+
const loadRoleList = () => {
|
|
389
|
+
getRoleList({ current: -1, size: 10_000, model: { roleStatus: 1 } }).then(
|
|
390
|
+
(res) => {
|
|
391
|
+
roleList.value = res.records.map((item: any) => ({
|
|
392
|
+
label: item.name,
|
|
393
|
+
value: item.id,
|
|
394
|
+
}));
|
|
395
|
+
console.log('角色列表:', roleList.value);
|
|
396
|
+
},
|
|
397
|
+
);
|
|
398
|
+
};
|
|
399
|
+
|
|
400
|
+
const loadUserList = () => {
|
|
401
|
+
getUserListAll().then((res) => {
|
|
402
|
+
console.log('用户列表:', res);
|
|
403
|
+
userList.value = res.map((item: any) => ({
|
|
404
|
+
label: `${item.name}/${maskText(item.mobile, { type: 'phone' })}`,
|
|
405
|
+
value: item.id,
|
|
406
|
+
}));
|
|
407
|
+
});
|
|
408
|
+
};
|
|
409
|
+
|
|
410
|
+
const loadInitPassWord = () => {
|
|
411
|
+
cofigList({ configType: 'login', configKey: 'initPassword' }).then((res) => {
|
|
412
|
+
initPassword.value = res?.find(
|
|
413
|
+
(item: { configKey: string; configValue: string }) =>
|
|
414
|
+
item.configKey === 'initPassword',
|
|
415
|
+
)?.configValue;
|
|
416
|
+
});
|
|
417
|
+
};
|
|
418
|
+
|
|
419
|
+
const loadPostList = () => {
|
|
420
|
+
getPostListAll().then((res) => { // fjl modify
|
|
421
|
+
postList.value = res.map((item: any) => ({
|
|
422
|
+
label: item.postName,
|
|
423
|
+
value: item.id,
|
|
424
|
+
}));
|
|
425
|
+
});
|
|
426
|
+
};
|
|
427
|
+
|
|
428
|
+
const updateAvatarVisible = ref(false);
|
|
429
|
+
const avatarCropperRef = ref();
|
|
430
|
+
const updateAvatarCommit = async () => {
|
|
431
|
+
const fileId = await avatarCropperRef.value.getImageId();
|
|
432
|
+
console.log(112_233, fileId);
|
|
433
|
+
accountFormRef.value?.setValue('avatar', fileId);
|
|
434
|
+
updateAvatarVisible.value = false;
|
|
435
|
+
};
|
|
436
|
+
const updateAvatarClose = () => {
|
|
437
|
+
updateAvatarVisible.value = false;
|
|
438
|
+
};
|
|
439
|
+
|
|
440
|
+
// 生命周期
|
|
441
|
+
onMounted(() => {
|
|
442
|
+
console.warn('表单组件已挂载');
|
|
443
|
+
loadRoleList();
|
|
444
|
+
loadUserList();
|
|
445
|
+
loadInitPassWord();
|
|
446
|
+
loadPostList(); // fjl modify
|
|
447
|
+
// 初始化数据已在watch中处理
|
|
448
|
+
});
|
|
449
|
+
|
|
450
|
+
// 重置表单
|
|
451
|
+
const resetForm = () => {
|
|
452
|
+
// 重置表单数据
|
|
453
|
+
initFormData();
|
|
454
|
+
|
|
455
|
+
// 清除表单验证
|
|
456
|
+
nextTick(() => {
|
|
457
|
+
baseFormRef.value?.clearValidate();
|
|
458
|
+
accountFormRef.value?.clearValidate();
|
|
459
|
+
});
|
|
460
|
+
};
|
|
461
|
+
|
|
462
|
+
defineExpose({
|
|
463
|
+
handleSubmit,
|
|
464
|
+
handleCancel,
|
|
465
|
+
resetForm,
|
|
466
|
+
initFormData,
|
|
467
|
+
});
|
|
468
|
+
</script>
|
|
469
|
+
|
|
470
|
+
<template>
|
|
471
|
+
<div class="relative h-full w-full" :class="{ 'pt-[35px]': isAdd }">
|
|
472
|
+
<div
|
|
473
|
+
class="absolute left-[-1.25rem] top-[-1.25rem] flex h-[35px] w-[calc(100%+2.5rem)] items-center gap-2 bg-gray-300 px-4 text-xs text-gray-500 dark:bg-gray-700 dark:text-gray-400"
|
|
474
|
+
v-if="isAdd"
|
|
475
|
+
>
|
|
476
|
+
<Icon name="ep:warning" />
|
|
477
|
+
<!-- <span>新账号初始密码是{{ systemStore.initPassword }}</span> -->
|
|
478
|
+
<span>新账号初始密码是{{ initPassword }}</span>
|
|
479
|
+
</div>
|
|
480
|
+
<el-collapse v-model="activeName">
|
|
481
|
+
<el-collapse-item title="基础信息" name="1">
|
|
482
|
+
<template #title>
|
|
483
|
+
<div class="text-foreground text-base font-semibold">基础信息</div>
|
|
484
|
+
</template>
|
|
485
|
+
<Form
|
|
486
|
+
ref="baseFormRef"
|
|
487
|
+
:items="baseFormItems"
|
|
488
|
+
:initial-values="initBaseFormData"
|
|
489
|
+
:show-actions="false"
|
|
490
|
+
label-width="auto"
|
|
491
|
+
:use-grid="true"
|
|
492
|
+
:grid-cols="2"
|
|
493
|
+
:grid-gutter="20"
|
|
494
|
+
:disabled="isView"
|
|
495
|
+
>
|
|
496
|
+
<template #department="{ model, setValue }">
|
|
497
|
+
<el-tree-select
|
|
498
|
+
v-model="model.departmentId"
|
|
499
|
+
lazy
|
|
500
|
+
:load="loadNode"
|
|
501
|
+
node-key="id"
|
|
502
|
+
check-strictly
|
|
503
|
+
:disabled="(isEdit && baseFormData?.type !== 2) || isView"
|
|
504
|
+
:cache-data="[departmentCache]"
|
|
505
|
+
:props="{
|
|
506
|
+
children: 'children',
|
|
507
|
+
label: 'departName',
|
|
508
|
+
value: 'id',
|
|
509
|
+
isLeaf: 'isLeaf',
|
|
510
|
+
}"
|
|
511
|
+
:show-arrow="false"
|
|
512
|
+
@change="onDepartmentChange($event, setValue)"
|
|
513
|
+
/>
|
|
514
|
+
</template>
|
|
515
|
+
</Form>
|
|
516
|
+
</el-collapse-item>
|
|
517
|
+
<el-collapse-item title="账号资料" name="2">
|
|
518
|
+
<template #title>
|
|
519
|
+
<div class="text-foreground text-base font-semibold">账号资料</div>
|
|
520
|
+
</template>
|
|
521
|
+
<Form
|
|
522
|
+
ref="accountFormRef"
|
|
523
|
+
:items="accountFormItems"
|
|
524
|
+
:initial-values="initAccountFormData"
|
|
525
|
+
:show-actions="false"
|
|
526
|
+
label-width="auto"
|
|
527
|
+
:use-grid="true"
|
|
528
|
+
:grid-cols="2"
|
|
529
|
+
:grid-gutter="20"
|
|
530
|
+
:disabled="isView"
|
|
531
|
+
>
|
|
532
|
+
<template #avatar="{ model }">
|
|
533
|
+
<div>
|
|
534
|
+
<div
|
|
535
|
+
class="hover:border-primary group flex h-[90px] w-[90px] items-center justify-center rounded-[var(--radius)] border-[1px] border-dashed border-[var(--el-border-color-darker)] bg-[var(--el-fill-color-lighter)]"
|
|
536
|
+
:class="{ 'cursor-not-allowed': isView }"
|
|
537
|
+
@click="!isView && (updateAvatarVisible = true)"
|
|
538
|
+
>
|
|
539
|
+
<img
|
|
540
|
+
v-if="model.avatar"
|
|
541
|
+
:src="model.avatar"
|
|
542
|
+
class="h-full w-full rounded-[var(--radius)]"
|
|
543
|
+
/>
|
|
544
|
+
<Icon
|
|
545
|
+
v-else
|
|
546
|
+
name="ep:plus"
|
|
547
|
+
class="group-hover:text-primary h-8 w-8"
|
|
548
|
+
/>
|
|
549
|
+
</div>
|
|
550
|
+
<div class="text-muted-foreground mt-2 text-xs">
|
|
551
|
+
限制图片格式为png, jpg, jpeg,不得超过5MB
|
|
552
|
+
</div>
|
|
553
|
+
</div>
|
|
554
|
+
</template>
|
|
555
|
+
<template #subPositions="{ model }">
|
|
556
|
+
<SubPositions
|
|
557
|
+
ref="subPositionsRef"
|
|
558
|
+
:model="model.subPositions"
|
|
559
|
+
:main-department-id="baseFormData?.departmentId"
|
|
560
|
+
/>
|
|
561
|
+
</template>
|
|
562
|
+
</Form>
|
|
563
|
+
</el-collapse-item>
|
|
564
|
+
</el-collapse>
|
|
565
|
+
<Dialog
|
|
566
|
+
v-model="updateAvatarVisible"
|
|
567
|
+
title="修改头像"
|
|
568
|
+
icon="mdi:crop-rotate"
|
|
569
|
+
width="800px"
|
|
570
|
+
@confirm="updateAvatarCommit"
|
|
571
|
+
@closed="updateAvatarClose"
|
|
572
|
+
>
|
|
573
|
+
<AvatarCropper
|
|
574
|
+
ref="avatarCropperRef"
|
|
575
|
+
:url="accountFormData?.avatar || ''"
|
|
576
|
+
/>
|
|
577
|
+
</Dialog>
|
|
578
|
+
</div>
|
|
579
|
+
</template>
|
|
580
|
+
|
|
581
|
+
<style scoped lang="scss"></style>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
editData?: any;
|
|
3
|
+
type?: 'add' | 'edit' | 'view';
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
6
|
+
handleSubmit: () => Promise<boolean | undefined>;
|
|
7
|
+
handleCancel: () => boolean;
|
|
8
|
+
resetForm: () => void;
|
|
9
|
+
initFormData: (data?: any) => Promise<void>;
|
|
10
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
|
+
type: "add" | "edit" | "view";
|
|
12
|
+
editData: any;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
uploadFile: () => Promise<boolean | undefined>;
|
|
3
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { h, ref } from 'vue';
|
|
3
|
+
|
|
4
|
+
import { ElMessage } from 'element-plus';
|
|
5
|
+
|
|
6
|
+
import { importAccountExcel } from '../../../../api/account';
|
|
7
|
+
import { ImportFile } from '../../../../components/import-file';
|
|
8
|
+
|
|
9
|
+
// 导入文件实例
|
|
10
|
+
const importFileRef = ref();
|
|
11
|
+
// 存储选择的文件
|
|
12
|
+
const selectedFile = ref<File | null>(null);
|
|
13
|
+
|
|
14
|
+
// 监听文件变化
|
|
15
|
+
const handleFileChange = (file: File | null) => {
|
|
16
|
+
selectedFile.value = file;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const uploadFile = async () => {
|
|
20
|
+
// 获取上传的文件
|
|
21
|
+
const file = importFileRef.value?.getFile();
|
|
22
|
+
|
|
23
|
+
if (!file) {
|
|
24
|
+
ElMessage.warning('请先选择要导入的文件');
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// 显示加载提示
|
|
29
|
+
const loadingMessage = ElMessage({
|
|
30
|
+
type: 'info',
|
|
31
|
+
message: '正在导入数据,请稍候...',
|
|
32
|
+
duration: 0,
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
// 创建FormData
|
|
36
|
+
const formData = new FormData();
|
|
37
|
+
formData.append('file', file);
|
|
38
|
+
|
|
39
|
+
try {
|
|
40
|
+
// 调用API上传Excel文件
|
|
41
|
+
const data = await importAccountExcel(formData);
|
|
42
|
+
// 关闭加载提示并显示成功消息
|
|
43
|
+
loadingMessage.close();
|
|
44
|
+
if (!data || data.length === 0) {
|
|
45
|
+
ElMessage.success('账号导入成功');
|
|
46
|
+
} else {
|
|
47
|
+
// 账号导入成功,但有部分数据导入失败,请检查
|
|
48
|
+
ElMessage({
|
|
49
|
+
showClose: true,
|
|
50
|
+
type: 'warning',
|
|
51
|
+
plain: true,
|
|
52
|
+
message: h(
|
|
53
|
+
'div',
|
|
54
|
+
{
|
|
55
|
+
style:
|
|
56
|
+
'line-height: 1; font-size: 16px; max-height: 200px; overflow-y: auto',
|
|
57
|
+
},
|
|
58
|
+
[
|
|
59
|
+
h(
|
|
60
|
+
'div',
|
|
61
|
+
{ style: 'color: var(--el-color-warning)' },
|
|
62
|
+
'账号导入成功,但有部分数据导入失败,请检查',
|
|
63
|
+
),
|
|
64
|
+
data.map((item: any) => {
|
|
65
|
+
return h(
|
|
66
|
+
'div',
|
|
67
|
+
{ style: 'color: var(--el-color-danger); margin-top: 10px;' },
|
|
68
|
+
item.fullErrorMessage,
|
|
69
|
+
);
|
|
70
|
+
}),
|
|
71
|
+
],
|
|
72
|
+
),
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
return true;
|
|
76
|
+
} catch {
|
|
77
|
+
// 关闭加载提示并显示错误消息
|
|
78
|
+
loadingMessage.close();
|
|
79
|
+
return false;
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
// 暴露方法给父组件
|
|
84
|
+
defineExpose({
|
|
85
|
+
uploadFile,
|
|
86
|
+
});
|
|
87
|
+
</script>
|
|
88
|
+
|
|
89
|
+
<template>
|
|
90
|
+
<div>
|
|
91
|
+
<ImportFile
|
|
92
|
+
ref="importFileRef"
|
|
93
|
+
v-model:file="selectedFile"
|
|
94
|
+
@change="handleFileChange"
|
|
95
|
+
:show-template-download="true"
|
|
96
|
+
file-name="账号导入模板.xlsx"
|
|
97
|
+
template-download-text="下载导入模板"
|
|
98
|
+
/>
|
|
99
|
+
</div>
|
|
100
|
+
</template>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
uploadFile: () => Promise<boolean | undefined>;
|
|
3
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
export default _default;
|