feat(定时任务): 测试计划&接口场景定时任务修复
This commit is contained in:
parent
39246f217a
commit
73f0a03068
|
@ -198,9 +198,7 @@
|
||||||
<div class="float-left">
|
<div class="float-left">
|
||||||
{{ scheduleModalTitle }}
|
{{ scheduleModalTitle }}
|
||||||
<div v-if="isBatch" class="float-right flex text-[var(--color-text-4)]">
|
<div v-if="isBatch" class="float-right flex text-[var(--color-text-4)]">
|
||||||
{{ '(' }}
|
{{ t('common.selectedCount', { count: batchParams.currentSelectCount || batchParams.selectedIds?.length }) }}
|
||||||
<div>{{ batchParams.currentSelectCount || batchParams.selectedIds?.length }}</div>
|
|
||||||
{{ ')' }}
|
|
||||||
</div>
|
</div>
|
||||||
<a-tooltip v-else-if="translateTextToPX(tableRecord?.name) > 300">
|
<a-tooltip v-else-if="translateTextToPX(tableRecord?.name) > 300">
|
||||||
<template #content>
|
<template #content>
|
||||||
|
@ -1547,6 +1545,8 @@
|
||||||
? t('testPlan.testPlanGroup.enableScheduleTaskSuccess')
|
? t('testPlan.testPlanGroup.enableScheduleTaskSuccess')
|
||||||
: t('testPlan.testPlanGroup.closeScheduleTaskSuccess')
|
: t('testPlan.testPlanGroup.closeScheduleTaskSuccess')
|
||||||
);
|
);
|
||||||
|
resetSelector();
|
||||||
|
loadScenarioList(false);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
// eslint-disable-next-line no-console
|
// eslint-disable-next-line no-console
|
||||||
console.log(error);
|
console.log(error);
|
||||||
|
|
|
@ -16,6 +16,13 @@
|
||||||
)
|
)
|
||||||
: t('testPlan.testPlanIndex.createScheduledTask')
|
: t('testPlan.testPlanIndex.createScheduledTask')
|
||||||
}}
|
}}
|
||||||
|
<div v-if="isBatch" class="float-right flex text-[var(--color-text-4)]">
|
||||||
|
{{
|
||||||
|
t('common.selectedCount', {
|
||||||
|
count: props.batchParams?.currentSelectCount || props.batchParams?.selectedIds?.length,
|
||||||
|
})
|
||||||
|
}}
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<a-form ref="formRef" :model="form" layout="vertical">
|
<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">
|
||||||
|
|
Loading…
Reference in New Issue