refactor(接口定义): 优化场景导出状态为中文的显示

--bug=1019808 --user=王孝刚 【接口测试】接口场景的测试报告导出pdf显示中文和页面显示样式调整
https://www.tapd.cn/55049933/s/1304289
This commit is contained in:
wxg0103 2022-11-24 13:48:54 +08:00 committed by wxg0103
parent 56b5a4a0f8
commit 64eccbf210
1 changed files with 2 additions and 6 deletions

View File

@ -57,12 +57,8 @@
<api-report-request-header-item :title="$t('api_report.result')" style="width: 50px"> <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'">Pending </el-tag>
>{{ $t('api_test.home_page.detail_card.unexecute') }} <el-tag v-else-if="request.errorCode" class="ms-test-error_code"> FakeError </el-tag>
</el-tag>
<el-tag v-else-if="request.errorCode" class="ms-test-error_code">
{{ $t('error_report_library.option.name') }}
</el-tag>
<el-tag size="mini" type="success" v-else-if="request.success"> Success </el-tag> <el-tag size="mini" type="success" v-else-if="request.success"> Success </el-tag>
<el-tag size="mini" type="danger" v-else> Error </el-tag> <el-tag size="mini" type="danger" v-else> Error </el-tag>
</api-report-request-header-item> </api-report-request-header-item>