feat (接口自动化): 报告详情增加结束时间

This commit is contained in:
fit2-zhao 2021-08-23 17:36:02 +08:00 committed by fit2-zhao
parent 981c035306
commit 3aae60f32b
1 changed files with 6 additions and 2 deletions

View File

@ -15,8 +15,12 @@
<i class="el-icon-edit" style="cursor:pointer" @click="nameIsEdit = true" @click.stop/>
</span>
</span>
<span class="time"> {{ report.createTime | timestampFormatDate }}</span>
<span v-if="report.endTime || report.createTime">
<span style="margin-left: 10px">{{$t('report.test_start_time')}}</span>
<span class="time"> {{ report.createTime | timestampFormatDate }}</span>
<span style="margin-left: 10px">{{$t('report.test_end_time')}}</span>
<span class="time"> {{ report.endTime | timestampFormatDate }}</span>
</span>
<el-button v-if="(!debug || exportFlag) && !isTemplate" v-permission="['PROJECT_API_REPORT:READ+EXPORT']" :disabled="isReadOnly" class="export-button" plain type="primary" size="mini" @click="handleExport(report.name)" style="margin-right: 10px">
{{ $t('test_track.plan_view.export_report') }}
</el-button>