fix(性能测试): 修复测试计划的用例时间问题

This commit is contained in:
Captain.B 2021-05-26 18:27:29 +08:00 committed by 刘瑞斌
parent 7b755dcc9f
commit 5653fb4c7b
1 changed files with 11 additions and 5 deletions

View File

@ -28,13 +28,19 @@
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<span class="ms-report-time-desc"> <span class="ms-report-time-desc">
{{ $t('report.test_duration', [this.minutes, this.seconds]) }} {{ $t('report.test_duration', [minutes, seconds]) }}
</span> </span>
<span class="ms-report-time-desc"> <span class="ms-report-time-desc" v-if="startTime !== '0'">
{{ $t('report.test_start_time') }}{{ startTime }} {{ $t('report.test_start_time') }}{{ startTime | timestampFormatDate }}
</span> </span>
<span class="ms-report-time-desc"> <span class="ms-report-time-desc" v-else>
{{ $t('report.test_end_time') }}{{ endTime }} {{ $t('report.test_start_time') }}-
</span>
<span class="ms-report-time-desc" v-if="report.status === 'Completed' && endTime !== '0'">
{{ $t('report.test_end_time') }}{{ endTime | timestampFormatDate }}
</span>
<span class="ms-report-time-desc" v-else>
{{ $t('report.test_end_time') }}-
</span> </span>
</el-col> </el-col>
</el-row> </el-row>