From cf674ec981f4682c061a18859b4390a96930eda9 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Thu, 26 Jun 2025 17:36:36 +0800 Subject: [PATCH] feat: bugs --- ...rk-flow-version.ts => workflow-version.ts} | 0 ui/src/components/app-icon/icons/menu.ts | 21 + ui/src/router/modules/system.ts | 6 +- .../component/PublishHistory.vue | 2 +- .../component/SetUserGroupsDialog.vue | 0 .../component/SyncUsersDialog.vue | 0 .../component/UserDrawer.vue | 0 .../component/UserPwdDialog.vue | 0 .../system-chat-user/chat-user/index.vue | 460 ++++++++++++++++++ ui/src/views/system-chat-user/group/index.vue | 443 +++++++++-------- .../system-chat-user/user-manage/index.vue | 388 --------------- ui/src/views/system/role/index.vue | 234 ++++----- ui/src/views/system/workspace/index.vue | 118 +++-- 13 files changed, 913 insertions(+), 759 deletions(-) rename ui/src/api/application/{work-flow-version.ts => workflow-version.ts} (100%) rename ui/src/views/system-chat-user/{user-manage => chat-user}/component/SetUserGroupsDialog.vue (100%) rename ui/src/views/system-chat-user/{user-manage => chat-user}/component/SyncUsersDialog.vue (100%) rename ui/src/views/system-chat-user/{user-manage => chat-user}/component/UserDrawer.vue (100%) rename ui/src/views/system-chat-user/{user-manage => chat-user}/component/UserPwdDialog.vue (100%) create mode 100644 ui/src/views/system-chat-user/chat-user/index.vue delete mode 100644 ui/src/views/system-chat-user/user-manage/index.vue diff --git a/ui/src/api/application/work-flow-version.ts b/ui/src/api/application/workflow-version.ts similarity index 100% rename from ui/src/api/application/work-flow-version.ts rename to ui/src/api/application/workflow-version.ts diff --git a/ui/src/components/app-icon/icons/menu.ts b/ui/src/components/app-icon/icons/menu.ts index da3bf2a8..7ece9832 100644 --- a/ui/src/components/app-icon/icons/menu.ts +++ b/ui/src/components/app-icon/icons/menu.ts @@ -261,4 +261,25 @@ export default { ]) }, }, + 'app-user-chat': { + iconReader: () => { + return h('i', [ + h( + 'svg', + { + style: { height: '100%', width: '100%' }, + viewBox: '0 0 1024 1024', + version: '1.1', + xmlns: 'http://www.w3.org/2000/svg', + }, + [ + h('path', { + d: 'M426.666667 512a213.333333 213.333333 0 1 1 0.085333-426.752A213.333333 213.333333 0 0 1 426.666667 512z m0-85.333333a128 128 0 0 0 0-256 128 128 0 0 0 0 256z m-384 384a256 256 0 0 1 256-256h256a256 256 0 0 1 256 256v108.330666c0 23.552-19.2 42.666667-42.666667 42.666667H85.333333c-23.466667 0-42.666667-19.114667-42.666666-42.666667V810.666667z m682.666666 0a170.666667 170.666667 0 0 0-170.666666-170.666667H298.666667a170.666667 170.666667 0 0 0-170.666667 170.666667v65.664h597.333333V810.666667z m21.333334-426.666667h213.333333a21.333333 21.333333 0 0 1 21.333333 21.333333v42.666667a21.333333 21.333333 0 0 1-21.333333 21.333333h-213.333333a21.333333 21.333333 0 0 1-21.333334-21.333333v-42.666667a21.333333 21.333333 0 0 1 21.333334-21.333333z m128 170.666667h85.333333a21.333333 21.333333 0 0 1 21.333333 21.333333v42.666667a21.333333 21.333333 0 0 1-21.333333 21.333333h-85.333333a21.333333 21.333333 0 0 1-21.333334-21.333333v-42.666667a21.333333 21.333333 0 0 1 21.333334-21.333333z', + fill: 'currentColor', + }), + ], + ), + ]) + }, + }, } diff --git a/ui/src/router/modules/system.ts b/ui/src/router/modules/system.ts index ee863a56..55a122e4 100644 --- a/ui/src/router/modules/system.ts +++ b/ui/src/router/modules/system.ts @@ -192,8 +192,8 @@ const systemRouter = { path: '/system/chat', name: 'SystemChat', meta: { - icon: 'app-shared', - iconActive: 'app-shared-active', + icon: 'app-user-chat', + iconActive: 'app-user-chat', title: 'views.chatUser.title', activeMenu: '/system', parentPath: '/system', @@ -225,7 +225,7 @@ const systemRouter = { ), ], }, - component: () => import('@/views/system-chat-user/user-manage/index.vue'), + component: () => import('@/views/system-chat-user/chat-user/index.vue'), }, { path: '/system/chat/group', diff --git a/ui/src/views/application-workflow/component/PublishHistory.vue b/ui/src/views/application-workflow/component/PublishHistory.vue index 8fb3d323..39801603 100644 --- a/ui/src/views/application-workflow/component/PublishHistory.vue +++ b/ui/src/views/application-workflow/component/PublishHistory.vue @@ -71,7 +71,7 @@ + + diff --git a/ui/src/views/system-chat-user/group/index.vue b/ui/src/views/system-chat-user/group/index.vue index c621b153..c56ea067 100644 --- a/ui/src/views/system-chat-user/group/index.vue +++ b/ui/src/views/system-chat-user/group/index.vue @@ -1,39 +1,61 @@