From 87eabd9129ed2cfa9dd6aee9ce1bceb6e4f459e3 Mon Sep 17 00:00:00 2001 From: baiqi Date: Mon, 18 Nov 2024 10:59:54 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92):=20?= =?UTF-8?q?=E6=89=B9=E9=87=8F=E7=BC=96=E8=BE=91=E5=AE=9A=E6=97=B6=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 【【测试计划】计划/计划组列表-批量编辑定时任务页面问题】 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001048938 --- .../src/views/api-test/scenario/components/scenarioTable.vue | 2 +- .../views/test-plan/testPlan/components/scheduledModal.vue | 4 ++-- frontend/src/views/test-plan/testPlan/locale/en-US.ts | 2 +- frontend/src/views/test-plan/testPlan/locale/zh-CN.ts | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/views/api-test/scenario/components/scenarioTable.vue b/frontend/src/views/api-test/scenario/components/scenarioTable.vue index 45b54c10b6..88f225e2e8 100644 --- a/frontend/src/views/api-test/scenario/components/scenarioTable.vue +++ b/frontend/src/views/api-test/scenario/components/scenarioTable.vue @@ -1228,7 +1228,7 @@ scheduleConfig.value = { scenarioId: record.id, enable: true, - cron: '0 0 0/1 * * ?', + cron: '', config: { poolId: defaultPoolId?.value, grouped: false, diff --git a/frontend/src/views/test-plan/testPlan/components/scheduledModal.vue b/frontend/src/views/test-plan/testPlan/components/scheduledModal.vue index 945714a909..e9acac5f2c 100644 --- a/frontend/src/views/test-plan/testPlan/components/scheduledModal.vue +++ b/frontend/src/views/test-plan/testPlan/components/scheduledModal.vue @@ -25,7 +25,7 @@ - + @@ -139,7 +139,7 @@ const initForm: CreateTask = { resourceId: '', - cron: '0 0 0/1 * * ?', + cron: '', enable: false, runConfig: { runMode: 'SERIAL' }, }; diff --git a/frontend/src/views/test-plan/testPlan/locale/en-US.ts b/frontend/src/views/test-plan/testPlan/locale/en-US.ts index 953ccdfc7d..9fe58344a7 100644 --- a/frontend/src/views/test-plan/testPlan/locale/en-US.ts +++ b/frontend/src/views/test-plan/testPlan/locale/en-US.ts @@ -53,7 +53,7 @@ export default { 'testPlan.testPlanIndex.triggerTime': 'Trigger time', 'testPlan.testPlanIndex.envTip': 'Use case save environment', 'testPlan.testPlanIndex.resourcePool': 'Resource pool', - 'testPlan.testPlanIndex.timingState': 'Timing state', + 'testPlan.testPlanIndex.timingState': 'Task status', 'testPlan.testPlanIndex.timingStateEnable': 'Enable: Executes scheduled tasks', 'testPlan.testPlanIndex.timingStateClose': 'Close: Stops a scheduled task', 'testPlan.testPlanIndex.customFrequency': 'Custom frequency', diff --git a/frontend/src/views/test-plan/testPlan/locale/zh-CN.ts b/frontend/src/views/test-plan/testPlan/locale/zh-CN.ts index b857b5e0ba..4b1bc10d29 100644 --- a/frontend/src/views/test-plan/testPlan/locale/zh-CN.ts +++ b/frontend/src/views/test-plan/testPlan/locale/zh-CN.ts @@ -50,7 +50,7 @@ export default { 'testPlan.testPlanIndex.triggerTime': '触发时间', 'testPlan.testPlanIndex.envTip': '用例保存的环境', 'testPlan.testPlanIndex.resourcePool': '资源池', - 'testPlan.testPlanIndex.timingState': '定时状态', + 'testPlan.testPlanIndex.timingState': '任务状态', 'testPlan.testPlanIndex.timingStateEnable': '开启:执行定时任务', 'testPlan.testPlanIndex.timingStateClose': '关闭:停止定时任务', 'testPlan.testPlanIndex.customFrequency': '自定义频率',