fix(测试跟踪): 报告高级搜索条件触发方式优化

This commit is contained in:
wxg0103 2021-11-17 19:02:07 +08:00 committed by 刘瑞斌
parent 940902225c
commit 0b90066e12
2 changed files with 4 additions and 2 deletions

View File

@ -473,7 +473,10 @@ export const TEST_PLAN_TRIGGER_MODE = {
},
options: [
{label: 'test_track.report.trigger_mode.manual', value: 'manual'},
{label: "commons.trigger_mode.schedule", value: "SCHEDULE"},
{label: 'commons.trigger_mode.schedule', value: 'SCHEDULE'},
{label: 'commons.trigger_mode.api', value: 'API'},
{label: 'api_test.automation.batch_execute', value: 'BATCH'}
],
props: {
multiple: true

View File

@ -1,6 +1,5 @@
<template>
<span>
<span v-if="triggerMode === 'TEST_PLAN_API'">{{ $t('commons.trigger_mode.api') }}</span>
<span v-if="triggerMode === 'MANUAL'">{{$t('commons.trigger_mode.manual')}}</span>
<span v-if="triggerMode === 'SCHEDULE'">{{$t('commons.trigger_mode.schedule')}}</span>
<span v-if="triggerMode === 'TEST_PLAN_SCHEDULE'">{{$t('commons.trigger_mode.schedule')}}</span>