refactor(接口定义): 优化导出报告的显示

--bug=1019808 --user=王孝刚 【接口测试】接口场景的测试报告导出pdf显示中文和页面显示样式调整
https://www.tapd.cn/55049933/s/1303510
This commit is contained in:
wxg0103 2022-11-23 21:22:47 +08:00 committed by fit2-zhao
parent 3231c869aa
commit e402289937
1 changed files with 2 additions and 2 deletions

View File

@ -51,11 +51,11 @@
{{ request.passAssertions + ' / ' + request.totalAssertions }} {{ request.passAssertions + ' / ' + request.totalAssertions }}
</api-report-request-header-item> </api-report-request-header-item>
<api-report-request-header-item :title="$t('api_report.response_code')"> <api-report-request-header-item :title="$t('api_report.response_code')" style="width: 300px">
{{ request.responseResult.responseCode }} {{ request.responseResult.responseCode }}
</api-report-request-header-item> </api-report-request-header-item>
<api-report-request-header-item :title="$t('api_report.result')"> <api-report-request-header-item :title="$t('api_report.result')" style="width: 50px">
<el-tag v-if="request.unexecute">{{ $t('api_test.home_page.detail_card.unexecute') }} </el-tag> <el-tag v-if="request.unexecute">{{ $t('api_test.home_page.detail_card.unexecute') }} </el-tag>
<el-tag v-else-if="!request.success && request.status && request.status === 'PENDING'" <el-tag v-else-if="!request.success && request.status && request.status === 'PENDING'"
>{{ $t('api_test.home_page.detail_card.unexecute') }} >{{ $t('api_test.home_page.detail_card.unexecute') }}