diff --git a/frontend/src/api/modules/test-plan/report.ts b/frontend/src/api/modules/test-plan/report.ts index 339237146d..391f01ae3d 100644 --- a/frontend/src/api/modules/test-plan/report.ts +++ b/frontend/src/api/modules/test-plan/report.ts @@ -9,17 +9,17 @@ export function reportList(data: TableQueryParams) { } // 删除报告 -export function reportDelete(moduleType: string, id: string) { +export function reportDelete(id: string) { return MSR.get({ url: `${reportUrl.PlanDeleteUrl}/${id}` }); } // 重命名 -export function reportRename(moduleType: string, id: string, data: string) { +export function reportRename(id: string, data: string) { return MSR.post({ url: `${reportUrl.PlanReportRenameUrl}/${id}`, data }); } // 批量删除 -export function reportBathDelete(moduleType: string, data: TableQueryParams) { +export function reportBathDelete(data: TableQueryParams) { return MSR.post({ url: reportUrl.PlanBatchDeleteUrl, data }); } diff --git a/frontend/src/views/test-plan/report/component/reportList.vue b/frontend/src/views/test-plan/report/component/reportList.vue index 124fc2b5a5..93e00f6bc5 100644 --- a/frontend/src/views/test-plan/report/component/reportList.vue +++ b/frontend/src/views/test-plan/report/component/reportList.vue @@ -1,6 +1,6 @@