diff --git a/frontend/src/api/modules/taskCenter/organization.ts b/frontend/src/api/modules/taskCenter/organization.ts index 6b6186fd5b..3395484ce5 100644 --- a/frontend/src/api/modules/taskCenter/organization.ts +++ b/frontend/src/api/modules/taskCenter/organization.ts @@ -78,7 +78,7 @@ export function organizationTaskOrder(data: string[]) { // 组织任务-批量停止任务 export function organizationBatchStopTask(data: TaskCenterBatchParams) { - return MSR.get({ url: organizationBatchStopTaskUrl, data }); + return MSR.post({ url: organizationBatchStopTaskUrl, data }); } // 组织任务-用例任务详情-停止任务 diff --git a/frontend/src/api/modules/taskCenter/project.ts b/frontend/src/api/modules/taskCenter/project.ts index bbf90825cb..03d6118311 100644 --- a/frontend/src/api/modules/taskCenter/project.ts +++ b/frontend/src/api/modules/taskCenter/project.ts @@ -85,7 +85,7 @@ export function projectTaskOrder(data: string[]) { // 项目任务-批量停止任务 export function projectBatchStopTask(data: TaskCenterBatchParams) { - return MSR.get({ url: projectBatchStopTaskUrl, data }); + return MSR.post({ url: projectBatchStopTaskUrl, data }); } // 项目任务-用例任务详情-停止任务 diff --git a/frontend/src/api/modules/taskCenter/system.ts b/frontend/src/api/modules/taskCenter/system.ts index 0c5ac00478..78bf5b1463 100644 --- a/frontend/src/api/modules/taskCenter/system.ts +++ b/frontend/src/api/modules/taskCenter/system.ts @@ -75,7 +75,7 @@ export function systemStopTask(id: string) { // 系统任务-批量停止任务 export function systemBatchStopTask(data: TaskCenterBatchParams) { - return MSR.get({ url: systemBatchStopTaskUrl, data }); + return MSR.post({ url: systemBatchStopTaskUrl, data }); } // 系统任务-用例任务详情-停止任务 diff --git a/frontend/src/locale/en-US/common.ts b/frontend/src/locale/en-US/common.ts index dfe7f1e19f..d7420a0622 100644 --- a/frontend/src/locale/en-US/common.ts +++ b/frontend/src/locale/en-US/common.ts @@ -201,6 +201,7 @@ export default { 'common.completed': 'Completed', 'common.config': 'Config', 'common.executionResult': 'Execution result', + 'common.executionResultCleaned': 'Execution results are cleaned', 'common.expandAllSubModule': 'Expand all submodules', 'common.collapseAllSubModule': 'Collapse all submodules', 'common.selectedCount': '{count} data selected', diff --git a/frontend/src/locale/zh-CN/common.ts b/frontend/src/locale/zh-CN/common.ts index 63f3dcc906..05e415caef 100644 --- a/frontend/src/locale/zh-CN/common.ts +++ b/frontend/src/locale/zh-CN/common.ts @@ -185,6 +185,7 @@ export default { 'common.belongModule': '所属模块', 'common.moreSetting': '更多设置', 'common.executionResult': '执行结果', + 'common.executionResultCleaned': '执行结果被清理', 'common.detail': '详情', 'common.baseInfo': '基本信息', 'common.remark': '备注', diff --git a/frontend/src/views/api-test/management/components/management/case/tabContent/tabCaseExecuteHistory.vue b/frontend/src/views/api-test/management/components/management/case/tabContent/tabCaseExecuteHistory.vue index 0347af8fa9..f29623c31a 100644 --- a/frontend/src/views/api-test/management/components/management/case/tabContent/tabCaseExecuteHistory.vue +++ b/frontend/src/views/api-test/management/components/management/case/tabContent/tabCaseExecuteHistory.vue @@ -46,7 +46,7 @@