fix(测试计划): 批量编辑定时任务文案

【【测试计划】计划/计划组列表-批量编辑定时任务页面问题】
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001048938
This commit is contained in:
baiqi 2024-11-18 10:59:54 +08:00 committed by 刘瑞斌
parent 5b89ef0826
commit 87eabd9129
4 changed files with 5 additions and 5 deletions

View File

@ -1228,7 +1228,7 @@
scheduleConfig.value = {
scenarioId: record.id,
enable: true,
cron: '0 0 0/1 * * ?',
cron: '',
config: {
poolId: defaultPoolId?.value,
grouped: false,

View File

@ -25,7 +25,7 @@
</div>
</template>
<a-form ref="formRef" :model="form" layout="vertical">
<a-form-item :label="t('testPlan.testPlanIndex.triggerTime')" asterisk-position="end">
<a-form-item :label="t('testPlan.testPlanIndex.triggerTime')" asterisk-position="end" class="mb-0">
<MsCronSelect v-model:model-value="form.cron" />
</a-form-item>
<!-- TOTO 环境暂时不上 -->
@ -139,7 +139,7 @@
const initForm: CreateTask = {
resourceId: '',
cron: '0 0 0/1 * * ?',
cron: '',
enable: false,
runConfig: { runMode: 'SERIAL' },
};

View File

@ -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',

View File

@ -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': '自定义频率',