From 7b4f30277cd6a0c3e56f8819482e62b832bb449e Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Fri, 12 Apr 2024 13:47:48 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E9=A1=B9=E7=9B=AE=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E4=B8=AD=E5=BF=83=E5=88=97=E8=A1=A8=E8=BF=87?= =?UTF-8?q?=E6=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ms-message/MessageCenterDrawer.vue | 8 +- .../business/ms-user-selector/utils.ts | 7 +- .../api-test/report/component/tiledList.vue | 3 +- .../components/bug-detail-drawer.vue | 204 +++++++++--------- .../bug-management/components/bugCaseTab.vue | 2 +- .../components/tableFilter.vue | 45 +++- .../taskCenter/component/apiCase.vue | 53 ++++- .../taskCenter/component/scheduledTask.vue | 52 ++++- .../taskCenter/component/utils.ts | 5 + .../taskCenter/locale/en-US.ts | 2 + .../taskCenter/locale/zh-CN.ts | 2 + 11 files changed, 264 insertions(+), 119 deletions(-) diff --git a/frontend/src/components/business/ms-message/MessageCenterDrawer.vue b/frontend/src/components/business/ms-message/MessageCenterDrawer.vue index fb070c3982..cd1bdb496f 100644 --- a/frontend/src/components/business/ms-message/MessageCenterDrawer.vue +++ b/frontend/src/components/business/ms-message/MessageCenterDrawer.vue @@ -97,7 +97,11 @@
-
{{ t('ms.message.notice.title') }}
+ +
{{ + t('ms.message.notice.title') + }}
+
{{ item.userName }}  
@@ -375,7 +379,6 @@ box-sizing: border-box; line-height: 1.8715; } - .case { /* 底部样式 */ position: fixed; @@ -383,7 +386,6 @@ padding: 20px; text-align: center; } - .clickable { cursor: pointer; transition: background-color 0.3s ease; diff --git a/frontend/src/components/business/ms-user-selector/utils.ts b/frontend/src/components/business/ms-user-selector/utils.ts index 24ffbde4f8..ba478e7b5d 100644 --- a/frontend/src/components/business/ms-user-selector/utils.ts +++ b/frontend/src/components/business/ms-user-selector/utils.ts @@ -8,7 +8,7 @@ import { getUserByProjectByOrg, } from '@/api/modules/setting/organizationAndProject'; import { getOrgUserGroupOption, getSystemUserGroupOption } from '@/api/modules/setting/usergroup'; - +import { getOrgOptions } from '@/api/modules/system'; // eslint-disable-next-line no-shadow export enum UserRequestTypeEnum { SYSTEM_USER_GROUP = 'SYSTEM_USER_GROUP', @@ -24,6 +24,7 @@ export enum UserRequestTypeEnum { SYSTEM_ORGANIZATION_MEMBER = 'SYSTEM_ORGANIZATION_MEMBER', PROJECT_PERMISSION_MEMBER = 'PROJECT_PERMISSION_MEMBER', PROJECT_USER_GROUP = 'PROJECT_USER_GROUP', + SYSTEM_ORGANIZATION_LIST = 'SYSTEM_ORGANIZATION_LIST', } export default function initOptionsFunc(type: string, params: Record) { if (type === UserRequestTypeEnum.SYSTEM_USER_GROUP) { @@ -66,4 +67,8 @@ export default function initOptionsFunc(type: string, params: Record { const result: ScenarioItemType[] = []; _data.forEach((item) => { diff --git a/frontend/src/views/bug-management/components/bug-detail-drawer.vue b/frontend/src/views/bug-management/components/bug-detail-drawer.vue index fa68ee45df..3d17ffdf5d 100644 --- a/frontend/src/views/bug-management/components/bug-detail-drawer.vue +++ b/frontend/src/views/bug-management/components/bug-detail-drawer.vue @@ -91,18 +91,24 @@