From e8124a7d757d1b8c8839c037a4c094a370f88856 Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Tue, 25 Jun 2024 18:32:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E6=9C=AA=E8=AF=BB=E5=88=87=E6=8D=A2=E5=B7=B2?= =?UTF-8?q?=E8=AF=BB=E9=97=AE=E9=A2=98&=E7=BB=9F=E4=B8=80=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=9B=BF=E6=8D=A2=E4=B8=8B=E6=8B=89=E6=A0=91=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E6=A3=80=E7=B4=A2=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/api/modules/message/index.ts | 3 +++ frontend/src/api/requrls/test-plan/report.ts | 3 ++- .../ms-add-attachment/saveAsFilePopover.vue | 2 ++ .../business/ms-message/MessageCenterDrawer.vue | 17 +++++++++++++++-- frontend/src/utils/index.ts | 10 ++++++++++ .../components/requestComposition/index.vue | 3 ++- .../api-test/components/saveAsApiModal.vue | 2 ++ .../api-test/management/components/import.vue | 4 +++- .../components/management/api/apiBaseForm.vue | 7 ++----- .../api-test/scenario/components/baseInfo.vue | 2 ++ .../components/caseTable.vue | 13 +++++-------- .../components/caseTemplateDetail.vue | 3 ++- .../components/caseTree.vue | 5 ----- .../caseManagementFeature/index.vue | 8 +++++++- .../views/case-management/caseReview/create.vue | 8 ++------ .../envParams/popUp/AddHttpDrawer.vue | 5 +++-- .../report/detail/component/summary.vue | 4 ++-- .../testPlan/components/testPlanTree.vue | 14 -------------- .../testPlan/createAndEditPlanDrawer.vue | 7 ++----- frontend/src/views/test-plan/testPlan/index.vue | 13 ++++++++----- .../planGroup/createAndUpdatePlanGroup.vue | 7 ++----- 21 files changed, 76 insertions(+), 64 deletions(-) diff --git a/frontend/src/api/modules/message/index.ts b/frontend/src/api/modules/message/index.ts index b606307398..267f55bb7e 100644 --- a/frontend/src/api/modules/message/index.ts +++ b/frontend/src/api/modules/message/index.ts @@ -88,6 +88,9 @@ export function queryMessageHistoryCount(data: historyQueryParams) { export function getMessageReadAll(resourceType?: string) { return MSR.get({ url: '/notification/read/all', params: { resourceType } }); } +export function getMessageRead(id: number) { + return MSR.get({ url: `/notification/read/${id}` }); +} export function getMessageUnReadCount(projectId: string) { return MSR.get({ url: '/notification/un-read', params: projectId }, { ignoreCancelToken: true }); diff --git a/frontend/src/api/requrls/test-plan/report.ts b/frontend/src/api/requrls/test-plan/report.ts index e8e60ac637..7ff4f1dc3d 100644 --- a/frontend/src/api/requrls/test-plan/report.ts +++ b/frontend/src/api/requrls/test-plan/report.ts @@ -56,4 +56,5 @@ export const ReportShareScenarioUrlGetDetail = '/test-plan/report/share/detail/s // 测试计划-报告明细-场景报告 export const ReportScenarioUrl = '/test-plan/api/scenario/report/get'; export const ReportDetailScenarioUrl = '/test-plan/api/scenario/report/get/detail'; - +// 测试计划-报告-报告富文本预览压缩图 +export const ReportPlanPreviewImageUrl = '/test-plan/report/preview/md'; diff --git a/frontend/src/components/business/ms-add-attachment/saveAsFilePopover.vue b/frontend/src/components/business/ms-add-attachment/saveAsFilePopover.vue index 7fd1882ad9..84730ed404 100644 --- a/frontend/src/components/business/ms-add-attachment/saveAsFilePopover.vue +++ b/frontend/src/components/business/ms-add-attachment/saveAsFilePopover.vue @@ -34,6 +34,7 @@ threshold: 200, }, }" + :filter-tree-node="filterTreeNode" allow-search >