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,1418 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { computed, nextTick, ref, watch } from 'vue';
|
|
3
|
+
|
|
4
|
+
import { RichEditor } from '@udp/component-ui';
|
|
5
|
+
|
|
6
|
+
import {
|
|
7
|
+
ChatDotRound,
|
|
8
|
+
Loading,
|
|
9
|
+
StarFilled,
|
|
10
|
+
ArrowDown,
|
|
11
|
+
ArrowUp,
|
|
12
|
+
} from '@element-plus/icons-vue';
|
|
13
|
+
import { ElMessage } from 'element-plus';
|
|
14
|
+
|
|
15
|
+
import { Tag } from '../../../../components/custom-tags';
|
|
16
|
+
import { getRequestClient } from '../../../../api/request';
|
|
17
|
+
import { createReply, pageReply } from '../../../../api/msg';
|
|
18
|
+
import type { UdpSysReplyPageResponse } from '../../../../api/msg/types';
|
|
19
|
+
import { useAuthenticatedHtml } from '../../../../utils/useAuthenticatedHtml';
|
|
20
|
+
|
|
21
|
+
interface Props {
|
|
22
|
+
msgData?: any;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
const props = withDefaults(defineProps<Props>(), {
|
|
26
|
+
msgData: null,
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
const loading = ref(false);
|
|
30
|
+
const detailData = ref<any>(null);
|
|
31
|
+
|
|
32
|
+
// 鉴权图片处理
|
|
33
|
+
const rawContentHtml = computed(
|
|
34
|
+
() => detailData.value?.msgContent || detailData.value?.content || detailData.value?.msgText || detailData.value?.text || '',
|
|
35
|
+
);
|
|
36
|
+
const fetchImageBlob = async (url: string) => {
|
|
37
|
+
const res = await getRequestClient().get(url, { responseType: 'blob', responseReturn: 'raw' });
|
|
38
|
+
return URL.createObjectURL(res.data);
|
|
39
|
+
};
|
|
40
|
+
const { processedHtml: authContentHtml } = useAuthenticatedHtml(rawContentHtml, fetchImageBlob);
|
|
41
|
+
const comments = ref<UdpSysReplyPageResponse[]>([]);
|
|
42
|
+
const commentLoading = ref(false);
|
|
43
|
+
const currentPage = ref(1);
|
|
44
|
+
const pageSize = 5;
|
|
45
|
+
const total = ref(0);
|
|
46
|
+
const hasMore = ref(true);
|
|
47
|
+
const newCommentContent = ref('');
|
|
48
|
+
|
|
49
|
+
// 回复功能状态管理
|
|
50
|
+
const replyingTo = ref<string | null>(null); // 当前正在回复的评论ID
|
|
51
|
+
const replyContent = ref(''); // 回复内容
|
|
52
|
+
const replySubmitting = ref(false); // 回复提交状态
|
|
53
|
+
|
|
54
|
+
// 子回复展开状态管理
|
|
55
|
+
const expandedReplies = ref<Map<string, boolean>>(new Map()); // 记录哪些评论的子回复是展开的
|
|
56
|
+
|
|
57
|
+
// 子回复分页状态管理系统
|
|
58
|
+
interface ChildReplyPagination {
|
|
59
|
+
currentPage: number;
|
|
60
|
+
pageSize: number;
|
|
61
|
+
total: number;
|
|
62
|
+
hasMore: boolean;
|
|
63
|
+
loading: boolean;
|
|
64
|
+
loadedReplies: UdpSysReplyPageResponse[]; // 已加载的子回复数据
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// 为每个主评论维护独立的子回复分页状态
|
|
68
|
+
const childReplyPagination = ref<Map<string, ChildReplyPagination>>(new Map());
|
|
69
|
+
|
|
70
|
+
// 初始化子回复分页状态
|
|
71
|
+
const initChildReplyPagination = (commentId: string): ChildReplyPagination => {
|
|
72
|
+
return {
|
|
73
|
+
currentPage: 1,
|
|
74
|
+
pageSize: 5, // 子回复每页显示数量
|
|
75
|
+
total: 0,
|
|
76
|
+
hasMore: true,
|
|
77
|
+
loading: false,
|
|
78
|
+
loadedReplies: [],
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
// 获取子回复分页状态
|
|
83
|
+
const getChildReplyPagination = (commentId: string): ChildReplyPagination => {
|
|
84
|
+
if (!childReplyPagination.value.has(commentId)) {
|
|
85
|
+
childReplyPagination.value.set(
|
|
86
|
+
commentId,
|
|
87
|
+
initChildReplyPagination(commentId),
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
return childReplyPagination.value.get(commentId)!;
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
// 计算属性
|
|
94
|
+
const noMore = computed(
|
|
95
|
+
() =>
|
|
96
|
+
!hasMore.value || (total.value > 0 && comments.value.length >= total.value),
|
|
97
|
+
);
|
|
98
|
+
const infiniteScrollDisabled = computed(
|
|
99
|
+
() => commentLoading.value || noMore.value,
|
|
100
|
+
);
|
|
101
|
+
|
|
102
|
+
// 加载更多评论
|
|
103
|
+
const loadMoreComments = async () => {
|
|
104
|
+
if (commentLoading.value || noMore.value) {
|
|
105
|
+
return;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
commentLoading.value = true;
|
|
109
|
+
|
|
110
|
+
try {
|
|
111
|
+
// 调用真实的分页查询API
|
|
112
|
+
const result = await pageReply({
|
|
113
|
+
current: currentPage.value,
|
|
114
|
+
size: pageSize,
|
|
115
|
+
model: {
|
|
116
|
+
msgId: props.msgData?.msgId, // 当前消息ID
|
|
117
|
+
replyId: '0',
|
|
118
|
+
},
|
|
119
|
+
});
|
|
120
|
+
|
|
121
|
+
// 直接使用API返回的数据,不做额外转换
|
|
122
|
+
const apiComments = result.records;
|
|
123
|
+
|
|
124
|
+
if (currentPage.value === 1) {
|
|
125
|
+
comments.value = apiComments;
|
|
126
|
+
} else {
|
|
127
|
+
comments.value.push(...apiComments);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
// 为每个有子回复的评论初始化分页状态
|
|
131
|
+
apiComments.forEach((comment: any) => {
|
|
132
|
+
if (comment.childCount > 0) {
|
|
133
|
+
childReplyPagination.value.set(comment.id, {
|
|
134
|
+
currentPage: 1,
|
|
135
|
+
pageSize: 5,
|
|
136
|
+
total: comment.childCount,
|
|
137
|
+
hasMore: comment.childCount > (comment.childList?.length || 0),
|
|
138
|
+
loading: false,
|
|
139
|
+
loadedReplies: comment.childList || [],
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
});
|
|
143
|
+
|
|
144
|
+
total.value = result.total;
|
|
145
|
+
hasMore.value = comments.value.length < result.total;
|
|
146
|
+
currentPage.value++;
|
|
147
|
+
} catch (error) {
|
|
148
|
+
console.error('❌ 加载评论失败:', error);
|
|
149
|
+
ElMessage.error('加载评论失败,请重试');
|
|
150
|
+
} finally {
|
|
151
|
+
commentLoading.value = false;
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
// 发表评论
|
|
156
|
+
const submitComment = async () => {
|
|
157
|
+
if (!newCommentContent.value.trim()) {
|
|
158
|
+
ElMessage.warning('请输入评论内容');
|
|
159
|
+
return;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
if (newCommentContent.value.length > 500) {
|
|
163
|
+
ElMessage.warning('评论内容不能超过500字');
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
try {
|
|
168
|
+
// 保存当前展开状态,用于刷新后恢复
|
|
169
|
+
const currentExpandedReplies = new Map(expandedReplies.value);
|
|
170
|
+
|
|
171
|
+
// 保存当前滚动位置(可选)
|
|
172
|
+
const scrollElement = document.querySelector('.comment-list-container');
|
|
173
|
+
const scrollTop = scrollElement?.scrollTop || 0;
|
|
174
|
+
|
|
175
|
+
// 调用真实的API接口创建评论
|
|
176
|
+
const replyId = await createReply({
|
|
177
|
+
msgId: props.msgData?.msgId, // 消息ID
|
|
178
|
+
replyId: '0', // 新评论传"0",回复评论时传被回复评论的ID
|
|
179
|
+
replyContent: newCommentContent.value.trim(), // 评论内容(必填)
|
|
180
|
+
});
|
|
181
|
+
|
|
182
|
+
// 清空输入框(在API调用成功后立即清空,提升用户体验)
|
|
183
|
+
newCommentContent.value = '';
|
|
184
|
+
|
|
185
|
+
// 智能刷新:重新获取准确的评论数据,同时保持展开状态
|
|
186
|
+
await refreshCurrentPageComments(currentExpandedReplies);
|
|
187
|
+
|
|
188
|
+
// 恢复滚动位置(可选,根据UX需求决定)
|
|
189
|
+
// nextTick(() => {
|
|
190
|
+
// if (scrollElement) {
|
|
191
|
+
// scrollElement.scrollTop = scrollTop;
|
|
192
|
+
// }
|
|
193
|
+
// });
|
|
194
|
+
|
|
195
|
+
ElMessage.success('评论发表成功');
|
|
196
|
+
} catch (error) {
|
|
197
|
+
console.error('发表评论失败:', error);
|
|
198
|
+
ElMessage.error('发表评论失败,请重试');
|
|
199
|
+
}
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
// 点赞评论 - 使用API字段
|
|
203
|
+
const toggleLike = (comment: UdpSysReplyPageResponse) => {
|
|
204
|
+
// 注意:这里需要根据实际API字段调整
|
|
205
|
+
// comment.isLiked = !comment.isLiked;
|
|
206
|
+
// comment.likeCount += comment.isLiked ? 1 : -1;
|
|
207
|
+
// TODO: 实现点赞功能
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
// 回复功能相关方法
|
|
211
|
+
const handleReply = (comment: UdpSysReplyPageResponse) => {
|
|
212
|
+
// 如果点击的是当前正在回复的评论,则取消回复
|
|
213
|
+
if (replyingTo.value === comment.id) {
|
|
214
|
+
cancelReply();
|
|
215
|
+
return;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
// 设置回复目标
|
|
219
|
+
replyingTo.value = comment.id;
|
|
220
|
+
replyContent.value = '';
|
|
221
|
+
|
|
222
|
+
// 滚动到回复框位置(可选)
|
|
223
|
+
nextTick(() => {
|
|
224
|
+
const replyInput = document.querySelector(`#reply-input-${comment.id}`);
|
|
225
|
+
if (replyInput) {
|
|
226
|
+
replyInput.scrollIntoView({ behavior: 'smooth', block: 'center' });
|
|
227
|
+
(replyInput as HTMLElement).focus();
|
|
228
|
+
}
|
|
229
|
+
});
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
const cancelReply = () => {
|
|
233
|
+
replyingTo.value = null;
|
|
234
|
+
replyContent.value = '';
|
|
235
|
+
};
|
|
236
|
+
|
|
237
|
+
// 子回复展开/收起逻辑
|
|
238
|
+
const toggleChildReplies = (commentId: string) => {
|
|
239
|
+
const currentState = expandedReplies.value.get(commentId) || false;
|
|
240
|
+
|
|
241
|
+
// 直接切换展开状态,不进行API调用
|
|
242
|
+
// 展开时显示主评论中已有的childList数据(通常是前2条)
|
|
243
|
+
expandedReplies.value.set(commentId, !currentState);
|
|
244
|
+
|
|
245
|
+
// 如果是展开操作且还没有加载过子回复,则加载子回复
|
|
246
|
+
if (!currentState) {
|
|
247
|
+
loadChildReplies(commentId);
|
|
248
|
+
}
|
|
249
|
+
};
|
|
250
|
+
|
|
251
|
+
// 加载子回复数据
|
|
252
|
+
const loadChildReplies = async (
|
|
253
|
+
commentId: string,
|
|
254
|
+
loadMore: boolean = false,
|
|
255
|
+
) => {
|
|
256
|
+
const pagination = getChildReplyPagination(commentId);
|
|
257
|
+
|
|
258
|
+
// 防止重复加载
|
|
259
|
+
if (pagination.loading || (!loadMore && !pagination.hasMore)) {
|
|
260
|
+
return;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
pagination.loading = true;
|
|
264
|
+
|
|
265
|
+
try {
|
|
266
|
+
const requestParams = {
|
|
267
|
+
current: pagination.currentPage,
|
|
268
|
+
size: pagination.pageSize,
|
|
269
|
+
model: {
|
|
270
|
+
msgId: props.msgData?.msgId,
|
|
271
|
+
replyId: commentId, // 获取指定评论的子回复
|
|
272
|
+
},
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
// 调用API获取子回复数据
|
|
276
|
+
const result = await pageReply(requestParams);
|
|
277
|
+
|
|
278
|
+
const apiReplies = result.records || [];
|
|
279
|
+
|
|
280
|
+
if (pagination.currentPage === 1) {
|
|
281
|
+
// 第一页:直接替换
|
|
282
|
+
pagination.loadedReplies = apiReplies;
|
|
283
|
+
} else {
|
|
284
|
+
// 后续页:追加数据
|
|
285
|
+
pagination.loadedReplies.push(...apiReplies);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
// 更新分页状态
|
|
289
|
+
pagination.total = result.total || 0;
|
|
290
|
+
pagination.hasMore = pagination.loadedReplies.length < pagination.total;
|
|
291
|
+
|
|
292
|
+
// 只有在"加载更多"模式下且成功获取数据后才递增页码
|
|
293
|
+
// 第一次展开时(loadMore=false)不递增,确保下次"加载更多"请求正确的页码
|
|
294
|
+
if (loadMore && apiReplies.length > 0) {
|
|
295
|
+
pagination.currentPage++;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
// 同步更新主评论的childList,确保数据一致性
|
|
299
|
+
const mainComment = comments.value.find((c) => c.id === commentId);
|
|
300
|
+
if (mainComment) {
|
|
301
|
+
mainComment.childList = pagination.loadedReplies;
|
|
302
|
+
mainComment.childCount = pagination.total;
|
|
303
|
+
|
|
304
|
+
// 确保展开状态被正确设置
|
|
305
|
+
if (
|
|
306
|
+
mainComment.childList.length > 0 &&
|
|
307
|
+
!expandedReplies.value.has(commentId)
|
|
308
|
+
) {
|
|
309
|
+
expandedReplies.value.set(commentId, true);
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
} catch (error) {
|
|
313
|
+
console.error('❌ 加载子回复失败:', error);
|
|
314
|
+
ElMessage.error('加载子回复失败,请重试');
|
|
315
|
+
} finally {
|
|
316
|
+
pagination.loading = false;
|
|
317
|
+
}
|
|
318
|
+
};
|
|
319
|
+
|
|
320
|
+
// 加载更多子回复
|
|
321
|
+
const loadMoreChildReplies = async (commentId: string) => {
|
|
322
|
+
const pagination = getChildReplyPagination(commentId);
|
|
323
|
+
|
|
324
|
+
// 检查是否正在加载或已经没有更多数据
|
|
325
|
+
if (pagination.loading || !pagination.hasMore) {
|
|
326
|
+
return;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
pagination.loading = true;
|
|
330
|
+
|
|
331
|
+
try {
|
|
332
|
+
// 构建请求参数 - 使用当前页码进行请求
|
|
333
|
+
const requestParams = {
|
|
334
|
+
current: pagination.currentPage, // 使用正确的当前页码
|
|
335
|
+
size: pagination.pageSize,
|
|
336
|
+
model: {
|
|
337
|
+
msgId: props.msgData?.msgId,
|
|
338
|
+
replyId: commentId,
|
|
339
|
+
},
|
|
340
|
+
};
|
|
341
|
+
|
|
342
|
+
const response = await pageReply(requestParams);
|
|
343
|
+
const apiReplies = response.records || [];
|
|
344
|
+
|
|
345
|
+
if (apiReplies.length > 0) {
|
|
346
|
+
// 获取主评论中已显示的子回复
|
|
347
|
+
const comment = comments.value.find((c) => c.id === commentId);
|
|
348
|
+
const existingChildList = comment?.childList || [];
|
|
349
|
+
|
|
350
|
+
// 去重:过滤掉已经在childList中显示的回复
|
|
351
|
+
const newReplies = apiReplies.filter(
|
|
352
|
+
(apiReply) =>
|
|
353
|
+
!existingChildList.some(
|
|
354
|
+
(existingReply) => existingReply.id === apiReply.id,
|
|
355
|
+
),
|
|
356
|
+
);
|
|
357
|
+
|
|
358
|
+
if (newReplies.length > 0) {
|
|
359
|
+
// 将新的回复添加到已加载的回复列表中
|
|
360
|
+
pagination.loadedReplies.push(...newReplies);
|
|
361
|
+
|
|
362
|
+
// 同步更新主评论的childList,确保页面显示最新数据
|
|
363
|
+
const mainComment = comments.value.find((c) => c.id === commentId);
|
|
364
|
+
if (mainComment) {
|
|
365
|
+
mainComment.childList = [...pagination.loadedReplies];
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
// 成功请求数据后递增页码(无论是否有新数据)
|
|
370
|
+
pagination.currentPage++;
|
|
371
|
+
|
|
372
|
+
// 检查是否还有更多数据
|
|
373
|
+
// 基于API返回的总数和当前已加载的数据量来判断
|
|
374
|
+
pagination.hasMore = response.total > pagination.loadedReplies.length;
|
|
375
|
+
} else {
|
|
376
|
+
pagination.hasMore = false;
|
|
377
|
+
}
|
|
378
|
+
} catch (error) {
|
|
379
|
+
console.error('❌ 加载更多子回复失败:', error);
|
|
380
|
+
ElMessage.error('加载更多子回复失败,请重试');
|
|
381
|
+
} finally {
|
|
382
|
+
pagination.loading = false;
|
|
383
|
+
}
|
|
384
|
+
};
|
|
385
|
+
|
|
386
|
+
const isChildRepliesExpanded = (commentId: string) => {
|
|
387
|
+
// 如果已经手动设置过展开状态,使用设置的状态
|
|
388
|
+
if (expandedReplies.value.has(commentId)) {
|
|
389
|
+
const expanded = expandedReplies.value.get(commentId) || false;
|
|
390
|
+
return expanded;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
// 默认情况:如果评论有子回复,则默认展开显示前两条
|
|
394
|
+
const comment = comments.value.find((c) => c.id === commentId);
|
|
395
|
+
const hasChildReplies =
|
|
396
|
+
comment && comment.childList && comment.childList.length > 0;
|
|
397
|
+
|
|
398
|
+
// 首次访问时,如果有子回复,设置默认展开状态
|
|
399
|
+
if (hasChildReplies && !expandedReplies.value.has(commentId)) {
|
|
400
|
+
expandedReplies.value.set(commentId, true);
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
return hasChildReplies;
|
|
404
|
+
};
|
|
405
|
+
|
|
406
|
+
// 智能刷新当前页评论数据,保持分页状态和展开状态
|
|
407
|
+
const refreshCurrentPageComments = async (
|
|
408
|
+
preservedExpandedState?: Map<string, boolean>,
|
|
409
|
+
) => {
|
|
410
|
+
try {
|
|
411
|
+
commentLoading.value = true;
|
|
412
|
+
|
|
413
|
+
// 重新获取当前页的数据
|
|
414
|
+
const result = await pageReply({
|
|
415
|
+
current: 1, // 重新获取第一页,确保包含最新回复
|
|
416
|
+
size: currentPage.value * pageSize, // 获取到当前页为止的所有数据
|
|
417
|
+
model: {
|
|
418
|
+
msgId: props.msgData?.msgId,
|
|
419
|
+
replyId: '0',
|
|
420
|
+
},
|
|
421
|
+
});
|
|
422
|
+
|
|
423
|
+
// 更新评论列表
|
|
424
|
+
comments.value = result.records;
|
|
425
|
+
total.value = result.total;
|
|
426
|
+
hasMore.value = comments.value.length < result.total;
|
|
427
|
+
|
|
428
|
+
// 恢复展开状态
|
|
429
|
+
if (preservedExpandedState) {
|
|
430
|
+
expandedReplies.value = preservedExpandedState;
|
|
431
|
+
}
|
|
432
|
+
} catch (error) {
|
|
433
|
+
console.error('刷新评论失败:', error);
|
|
434
|
+
ElMessage.error('刷新评论失败,请重试');
|
|
435
|
+
} finally {
|
|
436
|
+
commentLoading.value = false;
|
|
437
|
+
}
|
|
438
|
+
};
|
|
439
|
+
|
|
440
|
+
// 找到主评论ID的辅助函数
|
|
441
|
+
const findMainCommentId = (targetComment: UdpSysReplyPageResponse): string => {
|
|
442
|
+
// 检查是否是主评论(在comments数组中)
|
|
443
|
+
const isMainComment = comments.value.some((c) => c.id === targetComment.id);
|
|
444
|
+
if (isMainComment) {
|
|
445
|
+
return targetComment.id; // 如果是主评论,返回自己的ID
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
// 如果不是主评论,在所有主评论的childList中查找
|
|
449
|
+
for (const mainComment of comments.value) {
|
|
450
|
+
if (
|
|
451
|
+
mainComment.childList &&
|
|
452
|
+
mainComment.childList.some((child) => child.id === targetComment.id)
|
|
453
|
+
) {
|
|
454
|
+
return mainComment.id; // 返回主评论的ID
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
// 兜底:如果都找不到,返回目标评论的ID(理论上不应该发生)
|
|
459
|
+
console.warn('无法找到主评论ID,使用目标评论ID作为兜底', targetComment.id);
|
|
460
|
+
return targetComment.id;
|
|
461
|
+
};
|
|
462
|
+
|
|
463
|
+
// 验证回复输入
|
|
464
|
+
const validateReplyInput = (comment: UdpSysReplyPageResponse): boolean => {
|
|
465
|
+
if (!replyContent.value.trim()) {
|
|
466
|
+
ElMessage.warning('请输入回复内容');
|
|
467
|
+
nextTick(() => {
|
|
468
|
+
const inputElement = document.getElementById(`reply-input-${comment.id}`);
|
|
469
|
+
if (inputElement) {
|
|
470
|
+
inputElement.focus();
|
|
471
|
+
}
|
|
472
|
+
});
|
|
473
|
+
return false;
|
|
474
|
+
}
|
|
475
|
+
if (replyContent.value.length > 500) {
|
|
476
|
+
ElMessage.warning('回复内容不能超过500字');
|
|
477
|
+
return false;
|
|
478
|
+
}
|
|
479
|
+
if (!props.msgData?.msgId) {
|
|
480
|
+
ElMessage.error('消息ID不能为空');
|
|
481
|
+
return false;
|
|
482
|
+
}
|
|
483
|
+
if (!comment.id) {
|
|
484
|
+
ElMessage.error('回复目标不能为空');
|
|
485
|
+
return false;
|
|
486
|
+
}
|
|
487
|
+
return true;
|
|
488
|
+
};
|
|
489
|
+
|
|
490
|
+
// 找到被回复评论所在的主评论ID
|
|
491
|
+
const findTargetMainCommentId = (comment: UdpSysReplyPageResponse): string => {
|
|
492
|
+
const isReplyToMainComment = comments.value.some((c) => c.id === comment.id);
|
|
493
|
+
if (isReplyToMainComment) return comment.id;
|
|
494
|
+
const parentComment = comments.value.find(
|
|
495
|
+
(c) => c.childList && c.childList.some((child) => child.id === comment.id),
|
|
496
|
+
);
|
|
497
|
+
return parentComment?.id ?? comment.id;
|
|
498
|
+
};
|
|
499
|
+
|
|
500
|
+
// 刷新后同步子回复分页状态
|
|
501
|
+
const syncChildReplyPagination = (targetMainCommentId: string) => {
|
|
502
|
+
const targetComment = comments.value.find((c) => c.id === targetMainCommentId);
|
|
503
|
+
if (!targetComment?.childList || targetComment.childList.length <= 0) return;
|
|
504
|
+
const pagination = getChildReplyPagination(targetMainCommentId);
|
|
505
|
+
pagination.loadedReplies = [...targetComment.childList];
|
|
506
|
+
pagination.total = targetComment.childCount || targetComment.childList.length;
|
|
507
|
+
pagination.hasMore = pagination.total > pagination.loadedReplies.length;
|
|
508
|
+
};
|
|
509
|
+
|
|
510
|
+
// 提取错误消息
|
|
511
|
+
const extractErrorMessage = (error: any): string => {
|
|
512
|
+
let errorMessage = '发表回复失败,请重试';
|
|
513
|
+
if (error && typeof error === 'object') {
|
|
514
|
+
if ('message' in error && typeof error.message === 'string') {
|
|
515
|
+
errorMessage = error.message;
|
|
516
|
+
} else if ('msg' in error && typeof error.msg === 'string') {
|
|
517
|
+
errorMessage = error.msg;
|
|
518
|
+
} else if ('error' in error && typeof error.error === 'string') {
|
|
519
|
+
errorMessage = error.error;
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
if (errorMessage.includes('Network Error') || errorMessage.includes('timeout')) {
|
|
523
|
+
errorMessage = '网络连接失败,请检查网络后重试';
|
|
524
|
+
}
|
|
525
|
+
return errorMessage;
|
|
526
|
+
};
|
|
527
|
+
|
|
528
|
+
const submitReply = async (comment: UdpSysReplyPageResponse) => {
|
|
529
|
+
if (!validateReplyInput(comment)) return;
|
|
530
|
+
|
|
531
|
+
replySubmitting.value = true;
|
|
532
|
+
|
|
533
|
+
try {
|
|
534
|
+
const mainCommentId = findMainCommentId(comment);
|
|
535
|
+
|
|
536
|
+
const replyId = await createReply({
|
|
537
|
+
msgId: props.msgData?.msgId,
|
|
538
|
+
replyId: mainCommentId,
|
|
539
|
+
applyAccountId: comment.replyUserMsg?.id || comment.createUser,
|
|
540
|
+
replyObjectId: comment.id,
|
|
541
|
+
replyObjectContent: comment.replyContent,
|
|
542
|
+
replyContent: replyContent.value.trim(),
|
|
543
|
+
});
|
|
544
|
+
|
|
545
|
+
const newReply: UdpSysReplyPageResponse = {
|
|
546
|
+
id: String(replyId),
|
|
547
|
+
msgId: String(props.msgData?.msgId),
|
|
548
|
+
replyId: mainCommentId,
|
|
549
|
+
replyContent: replyContent.value.trim(),
|
|
550
|
+
createTime: new Date().toISOString(),
|
|
551
|
+
createUser: 'current-user-id',
|
|
552
|
+
childCount: 0,
|
|
553
|
+
childList: null,
|
|
554
|
+
replyUserMsg: {
|
|
555
|
+
id: 'current-user-id',
|
|
556
|
+
loginCode: 'current-user',
|
|
557
|
+
nickname: '当前用户',
|
|
558
|
+
userId: 'current-user-id',
|
|
559
|
+
tenantId: 'default-tenant',
|
|
560
|
+
departmentId: 'default-dept',
|
|
561
|
+
departmentName: '默认部门',
|
|
562
|
+
type: 1,
|
|
563
|
+
description: '当前用户',
|
|
564
|
+
sort: 1,
|
|
565
|
+
status: 1,
|
|
566
|
+
createUser: 'system',
|
|
567
|
+
createTime: new Date().toISOString(),
|
|
568
|
+
delFlag: 0,
|
|
569
|
+
isRealNameAuth: 0,
|
|
570
|
+
thirdAccount: '',
|
|
571
|
+
avatar:
|
|
572
|
+
'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png',
|
|
573
|
+
},
|
|
574
|
+
};
|
|
575
|
+
|
|
576
|
+
const currentExpandedReplies = new Map(expandedReplies.value);
|
|
577
|
+
const targetMainCommentId = findTargetMainCommentId(comment);
|
|
578
|
+
currentExpandedReplies.set(targetMainCommentId, true);
|
|
579
|
+
|
|
580
|
+
cancelReply();
|
|
581
|
+
childReplyPagination.value.delete(targetMainCommentId);
|
|
582
|
+
|
|
583
|
+
await refreshCurrentPageComments(currentExpandedReplies);
|
|
584
|
+
syncChildReplyPagination(targetMainCommentId);
|
|
585
|
+
|
|
586
|
+
ElMessage.success('回复发表成功');
|
|
587
|
+
} catch (error) {
|
|
588
|
+
console.error('发表回复失败:', error);
|
|
589
|
+
ElMessage.error(extractErrorMessage(error));
|
|
590
|
+
} finally {
|
|
591
|
+
replySubmitting.value = false;
|
|
592
|
+
}
|
|
593
|
+
};
|
|
594
|
+
|
|
595
|
+
// 监听消息数据变化
|
|
596
|
+
watch(
|
|
597
|
+
() => props.msgData,
|
|
598
|
+
(newData) => {
|
|
599
|
+
if (newData) {
|
|
600
|
+
detailData.value = newData;
|
|
601
|
+
|
|
602
|
+
// 重置评论状态并加载初始评论
|
|
603
|
+
comments.value = [];
|
|
604
|
+
currentPage.value = 1;
|
|
605
|
+
total.value = 0;
|
|
606
|
+
hasMore.value = true;
|
|
607
|
+
|
|
608
|
+
// 加载初始评论
|
|
609
|
+
nextTick(() => {
|
|
610
|
+
loadMoreComments();
|
|
611
|
+
});
|
|
612
|
+
}
|
|
613
|
+
},
|
|
614
|
+
{ immediate: true },
|
|
615
|
+
);
|
|
616
|
+
|
|
617
|
+
// 状态选项
|
|
618
|
+
const statusOptions = [
|
|
619
|
+
{ label: '草稿', value: 1, type: 'info' as const },
|
|
620
|
+
{ label: '待发布', value: 2, type: 'warning' as const },
|
|
621
|
+
{ label: '已发布', value: 3, type: 'primary' as const },
|
|
622
|
+
{ label: '发布失败', value: 4, type: 'danger' as const },
|
|
623
|
+
{ label: '审核中', value: 5, type: 'success' as const },
|
|
624
|
+
];
|
|
625
|
+
|
|
626
|
+
// 格式化时间
|
|
627
|
+
const formatTime = (time: string) => {
|
|
628
|
+
if (!time) return '-';
|
|
629
|
+
return new Date(time).toLocaleString();
|
|
630
|
+
};
|
|
631
|
+
|
|
632
|
+
// 格式化相对时间
|
|
633
|
+
const formatRelativeTime = (time: string) => {
|
|
634
|
+
if (!time) return '-';
|
|
635
|
+
|
|
636
|
+
const now = new Date();
|
|
637
|
+
const commentTime = new Date(time);
|
|
638
|
+
const diffMs = now.getTime() - commentTime.getTime();
|
|
639
|
+
const diffMinutes = Math.floor(diffMs / (1000 * 60));
|
|
640
|
+
const diffHours = Math.floor(diffMs / (1000 * 60 * 60));
|
|
641
|
+
const diffDays = Math.floor(diffMs / (1000 * 60 * 60 * 24));
|
|
642
|
+
|
|
643
|
+
if (diffMinutes < 1) return '刚刚';
|
|
644
|
+
if (diffMinutes < 60) return `${diffMinutes}分钟前`;
|
|
645
|
+
if (diffHours < 24) return `${diffHours}小时前`;
|
|
646
|
+
if (diffDays < 7) return `${diffDays}天前`;
|
|
647
|
+
|
|
648
|
+
return commentTime.toLocaleDateString();
|
|
649
|
+
};
|
|
650
|
+
|
|
651
|
+
// 判断是否应该显示"回复@用户名"标识
|
|
652
|
+
const shouldShowReplyToUser = (
|
|
653
|
+
childReply: UdpSysReplyPageResponse,
|
|
654
|
+
parentComment: UdpSysReplyPageResponse,
|
|
655
|
+
) => {
|
|
656
|
+
// 如果没有被回复用户昵称,不显示
|
|
657
|
+
if (!childReply.applyKickname) {
|
|
658
|
+
return false;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
// 如果被回复用户ID与主评论用户ID相同,说明是直接回复主评论,不显示
|
|
662
|
+
if (childReply.applyAccountId === parentComment.replyUserMsg?.id) {
|
|
663
|
+
return false;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
// 其他情况(回复子回复)显示
|
|
667
|
+
return true;
|
|
668
|
+
};
|
|
669
|
+
</script>
|
|
670
|
+
|
|
671
|
+
<template>
|
|
672
|
+
<div v-loading="loading" class="msg-detail">
|
|
673
|
+
<template v-if="detailData">
|
|
674
|
+
<!-- 头部信息区域 -->
|
|
675
|
+
<div class="detail-header">
|
|
676
|
+
<h1 class="detail-title text-foreground">
|
|
677
|
+
{{ detailData.msgTitle || '暂无标题' }}
|
|
678
|
+
</h1>
|
|
679
|
+
|
|
680
|
+
<div class="detail-meta">
|
|
681
|
+
<div class="meta-row">
|
|
682
|
+
<span class="meta-label text-gray-500">接收时间:</span>
|
|
683
|
+
<span class="text-foreground">{{
|
|
684
|
+
detailData.readTime || '-'
|
|
685
|
+
}}</span>
|
|
686
|
+
</div>
|
|
687
|
+
</div>
|
|
688
|
+
</div>
|
|
689
|
+
|
|
690
|
+
<!-- 内容区域 -->
|
|
691
|
+
<div class="detail-content">
|
|
692
|
+
<div class="content-body">
|
|
693
|
+
<!-- 旧方式:RichEditor 只读模式 / v-html 直接渲染,图片无法带 token
|
|
694
|
+
<RichEditor
|
|
695
|
+
:model-value="
|
|
696
|
+
detailData.msgContent ||
|
|
697
|
+
detailData.content ||
|
|
698
|
+
detailData.msgText ||
|
|
699
|
+
detailData.text ||
|
|
700
|
+
'暂无内容'
|
|
701
|
+
"
|
|
702
|
+
height="300px"
|
|
703
|
+
:read-only="true"
|
|
704
|
+
:show-toolbar="false"
|
|
705
|
+
/>
|
|
706
|
+
<div
|
|
707
|
+
v-html="
|
|
708
|
+
detailData.msgContent ||
|
|
709
|
+
detailData.content ||
|
|
710
|
+
detailData.msgText ||
|
|
711
|
+
detailData.text ||
|
|
712
|
+
'暂无内容'
|
|
713
|
+
"
|
|
714
|
+
/> -->
|
|
715
|
+
<div
|
|
716
|
+
v-html="authContentHtml || '暂无内容'"
|
|
717
|
+
style="
|
|
718
|
+
overflow-y: auto;
|
|
719
|
+
border: 1px solid #dcdfe6;
|
|
720
|
+
padding: 10px;
|
|
721
|
+
border-radius: 4px;
|
|
722
|
+
"
|
|
723
|
+
></div>
|
|
724
|
+
</div>
|
|
725
|
+
</div>
|
|
726
|
+
|
|
727
|
+
<!-- 底部区域 - 根据状态动态显示 -->
|
|
728
|
+
<div class="detail-footer">
|
|
729
|
+
<!-- 评论区 - 已发布状态显示 -->
|
|
730
|
+
<div class="comments-section">
|
|
731
|
+
<h3 class="section-title text-foreground">评论区</h3>
|
|
732
|
+
|
|
733
|
+
<div class="comments-header">
|
|
734
|
+
<h4>评论 ({{ detailData.commentCount || 0 }})</h4>
|
|
735
|
+
</div>
|
|
736
|
+
|
|
737
|
+
<!-- 评论输入框 -->
|
|
738
|
+
<div class="comment-input">
|
|
739
|
+
<el-input
|
|
740
|
+
v-model="newCommentContent"
|
|
741
|
+
type="textarea"
|
|
742
|
+
:rows="3"
|
|
743
|
+
placeholder="写下你的评论..."
|
|
744
|
+
maxlength="500"
|
|
745
|
+
show-word-limit
|
|
746
|
+
resize="none"
|
|
747
|
+
/>
|
|
748
|
+
<div class="comment-actions">
|
|
749
|
+
<el-button
|
|
750
|
+
type="primary"
|
|
751
|
+
@click="submitComment"
|
|
752
|
+
:disabled="!newCommentContent.trim()"
|
|
753
|
+
>
|
|
754
|
+
发表评论
|
|
755
|
+
</el-button>
|
|
756
|
+
</div>
|
|
757
|
+
</div>
|
|
758
|
+
|
|
759
|
+
<!-- 评论列表 -->
|
|
760
|
+
<div class="comments-list">
|
|
761
|
+
<div
|
|
762
|
+
v-if="comments.length === 0 && !commentLoading"
|
|
763
|
+
class="no-comments"
|
|
764
|
+
>
|
|
765
|
+
<el-empty description="暂无评论,快来发表第一条评论吧!" />
|
|
766
|
+
</div>
|
|
767
|
+
|
|
768
|
+
<div
|
|
769
|
+
v-else
|
|
770
|
+
v-infinite-scroll="loadMoreComments"
|
|
771
|
+
:infinite-scroll-disabled="infiniteScrollDisabled"
|
|
772
|
+
:infinite-scroll-distance="10"
|
|
773
|
+
class="infinite-list"
|
|
774
|
+
>
|
|
775
|
+
<div
|
|
776
|
+
v-for="comment in comments"
|
|
777
|
+
:key="comment.id"
|
|
778
|
+
class="comment-item"
|
|
779
|
+
>
|
|
780
|
+
<div class="comment-avatar">
|
|
781
|
+
<el-avatar :src="comment.replyUserMsg?.avatar" :size="40">
|
|
782
|
+
{{ (comment.replyUserMsg?.nickname || '匿名').charAt(0) }}
|
|
783
|
+
</el-avatar>
|
|
784
|
+
</div>
|
|
785
|
+
|
|
786
|
+
<div class="comment-content">
|
|
787
|
+
<div class="comment-header">
|
|
788
|
+
<span class="author-name">{{
|
|
789
|
+
comment.replyUserMsg?.nickname || '匿名用户'
|
|
790
|
+
}}</span>
|
|
791
|
+
<span class="comment-time">{{
|
|
792
|
+
formatRelativeTime(comment.createTime)
|
|
793
|
+
}}</span>
|
|
794
|
+
</div>
|
|
795
|
+
|
|
796
|
+
<div class="comment-text">
|
|
797
|
+
{{ comment.replyContent }}
|
|
798
|
+
</div>
|
|
799
|
+
|
|
800
|
+
<div class="comment-actions">
|
|
801
|
+
<!-- <el-button text size="small" @click="toggleLike(comment)">
|
|
802
|
+
<el-icon><StarFilled /></el-icon>
|
|
803
|
+
点赞
|
|
804
|
+
</el-button> -->
|
|
805
|
+
|
|
806
|
+
<el-button text size="small" @click="handleReply(comment)">
|
|
807
|
+
<el-icon><ChatDotRound /></el-icon>
|
|
808
|
+
回复
|
|
809
|
+
</el-button>
|
|
810
|
+
|
|
811
|
+
<!-- 展开/收起子回复按钮 -->
|
|
812
|
+
<el-button
|
|
813
|
+
v-if="comment.childList && comment.childList.length > 0"
|
|
814
|
+
text
|
|
815
|
+
size="small"
|
|
816
|
+
@click="toggleChildReplies(comment.id)"
|
|
817
|
+
>
|
|
818
|
+
<el-icon>
|
|
819
|
+
<ArrowDown v-if="!isChildRepliesExpanded(comment.id)" />
|
|
820
|
+
<ArrowUp v-else />
|
|
821
|
+
</el-icon>
|
|
822
|
+
{{
|
|
823
|
+
isChildRepliesExpanded(comment.id)
|
|
824
|
+
? '收起回复'
|
|
825
|
+
: `查看回复 (${comment?.childCount ?? comment.childList.length})`
|
|
826
|
+
}}
|
|
827
|
+
</el-button>
|
|
828
|
+
</div>
|
|
829
|
+
|
|
830
|
+
<!-- 子回复列表 -->
|
|
831
|
+
<div
|
|
832
|
+
v-if="
|
|
833
|
+
comment.childList &&
|
|
834
|
+
comment.childList.length > 0 &&
|
|
835
|
+
isChildRepliesExpanded(comment.id)
|
|
836
|
+
"
|
|
837
|
+
class="child-replies"
|
|
838
|
+
>
|
|
839
|
+
<div
|
|
840
|
+
v-for="childReply in comment.childList"
|
|
841
|
+
:key="childReply.id"
|
|
842
|
+
class="child-reply-item"
|
|
843
|
+
>
|
|
844
|
+
<div class="child-reply-avatar">
|
|
845
|
+
<el-avatar
|
|
846
|
+
:src="childReply.replyUserMsg?.avatar"
|
|
847
|
+
:size="32"
|
|
848
|
+
>
|
|
849
|
+
{{
|
|
850
|
+
(
|
|
851
|
+
childReply.replyUserMsg?.nickname || '匿名'
|
|
852
|
+
).charAt(0)
|
|
853
|
+
}}
|
|
854
|
+
</el-avatar>
|
|
855
|
+
</div>
|
|
856
|
+
|
|
857
|
+
<div class="child-reply-content">
|
|
858
|
+
<div class="child-reply-header">
|
|
859
|
+
<span class="child-author-name">{{
|
|
860
|
+
childReply.replyUserMsg?.nickname || '匿名用户'
|
|
861
|
+
}}</span>
|
|
862
|
+
<!-- 显示回复对象信息 - 只在楼层内互相回复时显示 -->
|
|
863
|
+
<span
|
|
864
|
+
v-if="shouldShowReplyToUser(childReply, comment)"
|
|
865
|
+
class="reply-to-indicator"
|
|
866
|
+
>
|
|
867
|
+
回复 @{{ childReply.applyKickname }}
|
|
868
|
+
</span>
|
|
869
|
+
<span class="child-reply-time">{{
|
|
870
|
+
formatRelativeTime(childReply.createTime)
|
|
871
|
+
}}</span>
|
|
872
|
+
</div>
|
|
873
|
+
|
|
874
|
+
<div class="child-reply-text">
|
|
875
|
+
{{ childReply.replyContent }}
|
|
876
|
+
</div>
|
|
877
|
+
|
|
878
|
+
<div class="child-reply-actions">
|
|
879
|
+
<!-- <el-button
|
|
880
|
+
text
|
|
881
|
+
size="small"
|
|
882
|
+
@click="toggleLike(childReply)"
|
|
883
|
+
>
|
|
884
|
+
<el-icon><StarFilled /></el-icon>
|
|
885
|
+
点赞
|
|
886
|
+
</el-button> -->
|
|
887
|
+
|
|
888
|
+
<el-button
|
|
889
|
+
text
|
|
890
|
+
size="small"
|
|
891
|
+
@click="handleReply(childReply)"
|
|
892
|
+
>
|
|
893
|
+
<el-icon><ChatDotRound /></el-icon>
|
|
894
|
+
回复
|
|
895
|
+
</el-button>
|
|
896
|
+
</div>
|
|
897
|
+
|
|
898
|
+
<!-- 子回复的回复输入框 -->
|
|
899
|
+
<div
|
|
900
|
+
v-if="replyingTo === childReply.id"
|
|
901
|
+
class="reply-form"
|
|
902
|
+
>
|
|
903
|
+
<div class="reply-input-wrapper">
|
|
904
|
+
<el-input
|
|
905
|
+
:id="`reply-input-${childReply.id}`"
|
|
906
|
+
v-model="replyContent"
|
|
907
|
+
type="textarea"
|
|
908
|
+
:placeholder="`回复 ${childReply.replyUserMsg?.nickname || '匿名用户'}`"
|
|
909
|
+
:rows="3"
|
|
910
|
+
maxlength="500"
|
|
911
|
+
show-word-limit
|
|
912
|
+
resize="none"
|
|
913
|
+
/>
|
|
914
|
+
</div>
|
|
915
|
+
<div class="reply-actions">
|
|
916
|
+
<el-button size="small" @click="cancelReply">
|
|
917
|
+
取消
|
|
918
|
+
</el-button>
|
|
919
|
+
<el-button
|
|
920
|
+
type="primary"
|
|
921
|
+
size="small"
|
|
922
|
+
:loading="replySubmitting"
|
|
923
|
+
@click="submitReply(childReply)"
|
|
924
|
+
>
|
|
925
|
+
{{ replySubmitting ? '发送中...' : '发送' }}
|
|
926
|
+
</el-button>
|
|
927
|
+
</div>
|
|
928
|
+
</div>
|
|
929
|
+
</div>
|
|
930
|
+
</div>
|
|
931
|
+
|
|
932
|
+
<!-- 子回复加载更多按钮 -->
|
|
933
|
+
<div
|
|
934
|
+
v-if="
|
|
935
|
+
getChildReplyPagination(comment.id).hasMore &&
|
|
936
|
+
getChildReplyPagination(comment.id).loadedReplies
|
|
937
|
+
.length > 0
|
|
938
|
+
"
|
|
939
|
+
class="child-reply-load-more"
|
|
940
|
+
>
|
|
941
|
+
<el-button
|
|
942
|
+
text
|
|
943
|
+
size="small"
|
|
944
|
+
:loading="getChildReplyPagination(comment.id).loading"
|
|
945
|
+
@click="loadMoreChildReplies(comment.id)"
|
|
946
|
+
>
|
|
947
|
+
<el-icon
|
|
948
|
+
v-if="!getChildReplyPagination(comment.id).loading"
|
|
949
|
+
>
|
|
950
|
+
<ArrowDown />
|
|
951
|
+
</el-icon>
|
|
952
|
+
{{
|
|
953
|
+
getChildReplyPagination(comment.id).loading
|
|
954
|
+
? '加载中...'
|
|
955
|
+
: `加载更多回复 (${getChildReplyPagination(comment.id).total - getChildReplyPagination(comment.id).loadedReplies.length})`
|
|
956
|
+
}}
|
|
957
|
+
</el-button>
|
|
958
|
+
</div>
|
|
959
|
+
</div>
|
|
960
|
+
|
|
961
|
+
<!-- 回复输入框 -->
|
|
962
|
+
<div v-if="replyingTo === comment.id" class="reply-form">
|
|
963
|
+
<div class="reply-input-wrapper">
|
|
964
|
+
<el-input
|
|
965
|
+
:id="`reply-input-${comment.id}`"
|
|
966
|
+
v-model="replyContent"
|
|
967
|
+
type="textarea"
|
|
968
|
+
:placeholder="`回复 ${comment.replyUserMsg?.nickname || '匿名用户'}`"
|
|
969
|
+
:rows="3"
|
|
970
|
+
maxlength="500"
|
|
971
|
+
show-word-limit
|
|
972
|
+
resize="none"
|
|
973
|
+
/>
|
|
974
|
+
</div>
|
|
975
|
+
<div class="reply-actions">
|
|
976
|
+
<el-button size="small" @click="cancelReply">
|
|
977
|
+
取消
|
|
978
|
+
</el-button>
|
|
979
|
+
<el-button
|
|
980
|
+
type="primary"
|
|
981
|
+
size="small"
|
|
982
|
+
:loading="replySubmitting"
|
|
983
|
+
@click="submitReply(comment)"
|
|
984
|
+
>
|
|
985
|
+
{{ replySubmitting ? '发送中...' : '发送' }}
|
|
986
|
+
</el-button>
|
|
987
|
+
</div>
|
|
988
|
+
</div>
|
|
989
|
+
</div>
|
|
990
|
+
</div>
|
|
991
|
+
|
|
992
|
+
<!-- 加载状态 -->
|
|
993
|
+
<div v-if="commentLoading" class="loading-more">
|
|
994
|
+
<el-icon class="is-loading"><Loading /></el-icon>
|
|
995
|
+
<span>加载中...</span>
|
|
996
|
+
</div>
|
|
997
|
+
|
|
998
|
+
<!-- 没有更多数据 -->
|
|
999
|
+
<div v-if="noMore && comments.length > 0" class="no-more">
|
|
1000
|
+
<el-divider>没有更多评论了</el-divider>
|
|
1001
|
+
</div>
|
|
1002
|
+
</div>
|
|
1003
|
+
</div>
|
|
1004
|
+
</div>
|
|
1005
|
+
</div>
|
|
1006
|
+
</template>
|
|
1007
|
+
|
|
1008
|
+
<!-- 加载状态或无数据 -->
|
|
1009
|
+
<div v-else class="no-data">
|
|
1010
|
+
<el-empty description="暂无数据" />
|
|
1011
|
+
</div>
|
|
1012
|
+
</div>
|
|
1013
|
+
</template>
|
|
1014
|
+
|
|
1015
|
+
<style scoped lang="scss">
|
|
1016
|
+
.msg-detail {
|
|
1017
|
+
padding: 24px;
|
|
1018
|
+
min-height: 500px;
|
|
1019
|
+
|
|
1020
|
+
.detail-header {
|
|
1021
|
+
border-bottom: 1px solid #e5e7eb;
|
|
1022
|
+
padding-bottom: 24px;
|
|
1023
|
+
margin-bottom: 24px;
|
|
1024
|
+
|
|
1025
|
+
.detail-title {
|
|
1026
|
+
font-size: 24px;
|
|
1027
|
+
font-weight: 600;
|
|
1028
|
+
margin: 0 0 16px 0;
|
|
1029
|
+
line-height: 1.4;
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
.detail-meta {
|
|
1033
|
+
display: grid;
|
|
1034
|
+
grid-template-columns: repeat(2, 1fr);
|
|
1035
|
+
gap: 12px;
|
|
1036
|
+
margin-bottom: 16px;
|
|
1037
|
+
|
|
1038
|
+
.meta-row {
|
|
1039
|
+
display: flex;
|
|
1040
|
+
align-items: center;
|
|
1041
|
+
|
|
1042
|
+
.meta-label {
|
|
1043
|
+
font-weight: 500;
|
|
1044
|
+
min-width: 80px;
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
.detail-stats {
|
|
1050
|
+
display: flex;
|
|
1051
|
+
gap: 24px;
|
|
1052
|
+
padding: 12px 16px;
|
|
1053
|
+
background-color: #f9fafb;
|
|
1054
|
+
border-radius: 8px;
|
|
1055
|
+
|
|
1056
|
+
.stat-item {
|
|
1057
|
+
display: flex;
|
|
1058
|
+
align-items: center;
|
|
1059
|
+
gap: 4px;
|
|
1060
|
+
|
|
1061
|
+
.stat-label {
|
|
1062
|
+
font-size: 14px;
|
|
1063
|
+
color: #6b7280;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
.stat-value {
|
|
1067
|
+
font-weight: 600;
|
|
1068
|
+
color: #1f2937;
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
.detail-content {
|
|
1075
|
+
margin-bottom: 32px;
|
|
1076
|
+
|
|
1077
|
+
.content-body {
|
|
1078
|
+
font-size: 16px;
|
|
1079
|
+
line-height: 1.6;
|
|
1080
|
+
color: #1f2937;
|
|
1081
|
+
|
|
1082
|
+
// 富文本内容样式
|
|
1083
|
+
:deep(p) {
|
|
1084
|
+
margin-bottom: 16px;
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
:deep(img) {
|
|
1088
|
+
max-width: 100%;
|
|
1089
|
+
height: auto;
|
|
1090
|
+
border-radius: 4px;
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
.detail-footer {
|
|
1096
|
+
border-top: 1px solid #e5e7eb;
|
|
1097
|
+
padding-top: 24px;
|
|
1098
|
+
|
|
1099
|
+
.section-title {
|
|
1100
|
+
font-size: 18px;
|
|
1101
|
+
font-weight: 600;
|
|
1102
|
+
margin: 0 0 16px 0;
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
.approval-section {
|
|
1106
|
+
.approval-timeline {
|
|
1107
|
+
max-width: 400px;
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
/* 评论区样式 */
|
|
1112
|
+
.comments-section {
|
|
1113
|
+
margin-top: 24px;
|
|
1114
|
+
|
|
1115
|
+
.comments-header {
|
|
1116
|
+
margin-bottom: 16px;
|
|
1117
|
+
|
|
1118
|
+
h4 {
|
|
1119
|
+
margin: 0;
|
|
1120
|
+
font-size: 16px;
|
|
1121
|
+
font-weight: 600;
|
|
1122
|
+
color: var(--el-text-color-primary);
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
.comment-input {
|
|
1127
|
+
margin-bottom: 24px;
|
|
1128
|
+
padding: 16px;
|
|
1129
|
+
background: var(--el-bg-color-page);
|
|
1130
|
+
border-radius: 8px;
|
|
1131
|
+
border: 1px solid var(--el-border-color-light);
|
|
1132
|
+
|
|
1133
|
+
.comment-actions {
|
|
1134
|
+
display: flex;
|
|
1135
|
+
justify-content: flex-end;
|
|
1136
|
+
margin-top: 12px;
|
|
1137
|
+
}
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
.comments-list {
|
|
1141
|
+
.no-comments {
|
|
1142
|
+
padding: 40px 0;
|
|
1143
|
+
text-align: center;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
.infinite-list {
|
|
1147
|
+
max-height: 600px;
|
|
1148
|
+
overflow-y: auto;
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
.comment-item {
|
|
1152
|
+
display: flex;
|
|
1153
|
+
padding: 16px 0;
|
|
1154
|
+
border-bottom: 1px solid var(--el-border-color-lighter);
|
|
1155
|
+
|
|
1156
|
+
&:last-child {
|
|
1157
|
+
border-bottom: none;
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
.comment-avatar {
|
|
1161
|
+
margin-right: 12px;
|
|
1162
|
+
flex-shrink: 0;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
.comment-content {
|
|
1166
|
+
flex: 1;
|
|
1167
|
+
min-width: 0;
|
|
1168
|
+
|
|
1169
|
+
.comment-header {
|
|
1170
|
+
display: flex;
|
|
1171
|
+
align-items: center;
|
|
1172
|
+
margin-bottom: 8px;
|
|
1173
|
+
|
|
1174
|
+
.author-name {
|
|
1175
|
+
font-weight: 600;
|
|
1176
|
+
color: var(--el-text-color-primary);
|
|
1177
|
+
margin-right: 12px;
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
.comment-time {
|
|
1181
|
+
font-size: 12px;
|
|
1182
|
+
color: var(--el-text-color-secondary);
|
|
1183
|
+
}
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
.comment-text {
|
|
1187
|
+
color: var(--el-text-color-regular);
|
|
1188
|
+
line-height: 1.6;
|
|
1189
|
+
margin-bottom: 12px;
|
|
1190
|
+
word-break: break-word;
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
.comment-actions {
|
|
1194
|
+
display: flex;
|
|
1195
|
+
gap: 16px;
|
|
1196
|
+
|
|
1197
|
+
.el-button {
|
|
1198
|
+
padding: 4px 8px;
|
|
1199
|
+
color: var(--el-text-color-secondary);
|
|
1200
|
+
|
|
1201
|
+
&:hover {
|
|
1202
|
+
color: var(--el-color-primary);
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
&.is-liked {
|
|
1206
|
+
color: var(--el-color-primary);
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
.el-icon {
|
|
1210
|
+
margin-right: 4px;
|
|
1211
|
+
}
|
|
1212
|
+
}
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
.reply-form {
|
|
1216
|
+
margin-top: 12px;
|
|
1217
|
+
padding: 12px;
|
|
1218
|
+
background-color: var(--el-fill-color-lighter);
|
|
1219
|
+
border-radius: 6px;
|
|
1220
|
+
border: 1px solid var(--el-border-color-light);
|
|
1221
|
+
|
|
1222
|
+
.reply-input-wrapper {
|
|
1223
|
+
margin-bottom: 12px;
|
|
1224
|
+
|
|
1225
|
+
.el-textarea {
|
|
1226
|
+
.el-textarea__inner {
|
|
1227
|
+
background-color: var(--el-bg-color);
|
|
1228
|
+
border: 1px solid var(--el-border-color);
|
|
1229
|
+
border-radius: 4px;
|
|
1230
|
+
resize: none;
|
|
1231
|
+
|
|
1232
|
+
&:focus {
|
|
1233
|
+
border-color: var(--el-color-primary);
|
|
1234
|
+
box-shadow: 0 0 0 2px var(--el-color-primary-light-9);
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
}
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
.reply-actions {
|
|
1241
|
+
display: flex;
|
|
1242
|
+
justify-content: flex-end;
|
|
1243
|
+
gap: 8px;
|
|
1244
|
+
|
|
1245
|
+
.el-button {
|
|
1246
|
+
padding: 6px 16px;
|
|
1247
|
+
font-size: 12px;
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
/* 子回复样式 */
|
|
1253
|
+
.child-replies {
|
|
1254
|
+
margin-top: 16px;
|
|
1255
|
+
padding-left: 20px;
|
|
1256
|
+
border-left: 2px solid var(--el-border-color-lighter);
|
|
1257
|
+
background-color: var(--el-fill-color-extra-light);
|
|
1258
|
+
border-radius: 0 6px 6px 0;
|
|
1259
|
+
|
|
1260
|
+
.child-reply-item {
|
|
1261
|
+
display: flex;
|
|
1262
|
+
padding: 12px 16px;
|
|
1263
|
+
border-bottom: 1px solid var(--el-border-color-extra-light);
|
|
1264
|
+
|
|
1265
|
+
&:last-child {
|
|
1266
|
+
border-bottom: none;
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
.child-reply-avatar {
|
|
1270
|
+
margin-right: 10px;
|
|
1271
|
+
flex-shrink: 0;
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
.child-reply-content {
|
|
1275
|
+
flex: 1;
|
|
1276
|
+
min-width: 0;
|
|
1277
|
+
|
|
1278
|
+
.child-reply-header {
|
|
1279
|
+
display: flex;
|
|
1280
|
+
align-items: center;
|
|
1281
|
+
margin-bottom: 6px;
|
|
1282
|
+
|
|
1283
|
+
.child-author-name {
|
|
1284
|
+
font-weight: 500;
|
|
1285
|
+
font-size: 13px;
|
|
1286
|
+
color: var(--el-text-color-primary);
|
|
1287
|
+
margin-right: 10px;
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
.reply-to-indicator {
|
|
1291
|
+
font-size: 12px;
|
|
1292
|
+
color: var(--el-color-primary);
|
|
1293
|
+
margin-right: 8px;
|
|
1294
|
+
background-color: var(--el-color-primary-light-9);
|
|
1295
|
+
padding: 2px 6px;
|
|
1296
|
+
border-radius: 10px;
|
|
1297
|
+
font-weight: 400;
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
.child-reply-time {
|
|
1301
|
+
font-size: 11px;
|
|
1302
|
+
color: var(--el-text-color-secondary);
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
.child-reply-text {
|
|
1307
|
+
color: var(--el-text-color-regular);
|
|
1308
|
+
line-height: 1.5;
|
|
1309
|
+
margin-bottom: 8px;
|
|
1310
|
+
word-break: break-word;
|
|
1311
|
+
font-size: 14px;
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
.child-reply-actions {
|
|
1315
|
+
display: flex;
|
|
1316
|
+
gap: 12px;
|
|
1317
|
+
|
|
1318
|
+
.el-button {
|
|
1319
|
+
padding: 2px 6px;
|
|
1320
|
+
font-size: 12px;
|
|
1321
|
+
color: var(--el-text-color-secondary);
|
|
1322
|
+
|
|
1323
|
+
&:hover {
|
|
1324
|
+
color: var(--el-color-primary);
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
&.is-liked {
|
|
1328
|
+
color: var(--el-color-primary);
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
.el-icon {
|
|
1332
|
+
margin-right: 3px;
|
|
1333
|
+
font-size: 12px;
|
|
1334
|
+
}
|
|
1335
|
+
}
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
.reply-form {
|
|
1339
|
+
margin-top: 8px;
|
|
1340
|
+
padding: 8px;
|
|
1341
|
+
background-color: var(--el-bg-color);
|
|
1342
|
+
border: 1px solid var(--el-border-color-light);
|
|
1343
|
+
border-radius: 4px;
|
|
1344
|
+
|
|
1345
|
+
.reply-input-wrapper {
|
|
1346
|
+
margin-bottom: 8px;
|
|
1347
|
+
|
|
1348
|
+
.el-textarea {
|
|
1349
|
+
.el-textarea__inner {
|
|
1350
|
+
font-size: 13px;
|
|
1351
|
+
min-height: 60px;
|
|
1352
|
+
}
|
|
1353
|
+
}
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1356
|
+
.reply-actions {
|
|
1357
|
+
.el-button {
|
|
1358
|
+
padding: 4px 12px;
|
|
1359
|
+
font-size: 11px;
|
|
1360
|
+
}
|
|
1361
|
+
}
|
|
1362
|
+
}
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
.child-reply-load-more {
|
|
1366
|
+
margin-top: 12px;
|
|
1367
|
+
text-align: center;
|
|
1368
|
+
|
|
1369
|
+
.el-button {
|
|
1370
|
+
color: var(--el-text-color-secondary);
|
|
1371
|
+
font-size: 12px;
|
|
1372
|
+
|
|
1373
|
+
&:hover {
|
|
1374
|
+
color: var(--el-color-primary);
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
.el-icon {
|
|
1378
|
+
margin-right: 4px;
|
|
1379
|
+
font-size: 12px;
|
|
1380
|
+
}
|
|
1381
|
+
}
|
|
1382
|
+
}
|
|
1383
|
+
}
|
|
1384
|
+
}
|
|
1385
|
+
}
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
.loading-more {
|
|
1389
|
+
display: flex;
|
|
1390
|
+
align-items: center;
|
|
1391
|
+
justify-content: center;
|
|
1392
|
+
padding: 20px;
|
|
1393
|
+
color: var(--el-text-color-secondary);
|
|
1394
|
+
|
|
1395
|
+
.el-icon {
|
|
1396
|
+
margin-right: 8px;
|
|
1397
|
+
}
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
.no-more {
|
|
1401
|
+
padding: 20px 0;
|
|
1402
|
+
|
|
1403
|
+
.el-divider {
|
|
1404
|
+
margin: 0;
|
|
1405
|
+
}
|
|
1406
|
+
}
|
|
1407
|
+
}
|
|
1408
|
+
}
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1411
|
+
.no-data {
|
|
1412
|
+
display: flex;
|
|
1413
|
+
justify-content: center;
|
|
1414
|
+
align-items: center;
|
|
1415
|
+
min-height: 400px;
|
|
1416
|
+
}
|
|
1417
|
+
}
|
|
1418
|
+
</style>
|