fix(测试跟踪): 修复测试报告中接口用例未执行状态显示方式不一致的问题
--bug=1013926 --user=宋天阳 【测试计划】-两处接口用例报告状态不一致 https://www.tapd.cn/55049933/s/1177939
This commit is contained in:
parent
7d516ff0e2
commit
c816b28ecc
|
@ -10,6 +10,8 @@
|
|||
<ms-tag v-else-if="value == 'Blocking'" type="warning" :content="$t('test_track.plan_view.blocking')"/>
|
||||
<ms-tag v-else-if="value == 'Skip'" type="info" :content="$t('test_track.plan_view.skip')"/>
|
||||
<ms-tag v-else-if="value == 'ErrorReportResult'" type="warning" style="background-color: #F6972A; border-color: #F6972A" :content="$t('error_report_library.option.name')"/>
|
||||
<ms-tag v-else-if="value == 'ApiCaseStop'" type="info" :content="$t('api_test.home_page.detail_card.unexecute')"/>
|
||||
<ms-tag v-else-if="value == 'ApiCasePrepare'" type="info" :content="$t('api_test.home_page.detail_card.unexecute')"/>
|
||||
<ms-tag v-else type="info" :content="value"/>
|
||||
</span>
|
||||
</template>
|
||||
|
|
|
@ -43,11 +43,11 @@
|
|||
<template v-slot:default="scope">
|
||||
<status-table-item v-if="scope.row.execResult === 'success'" :value="'Pass'"/>
|
||||
<status-table-item v-else-if="scope.row.execResult === 'error'" :value="'Failure'"/>
|
||||
<status-table-item v-else-if="scope.row.execResult === 'STOP'" :value="'STOP'"/>
|
||||
<status-table-item v-else-if="scope.row.execResult === 'STOP'" :value="'ApiCaseStop'"/>
|
||||
<status-table-item v-else-if="scope.row.execResult === 'errorReportResult'"
|
||||
:value="'ErrorReportResult'"/>
|
||||
<status-table-item v-else-if="scope.row.execResult === 'Timeout'" :value="'Timeout'"/>
|
||||
<status-table-item v-else :value="'Prepare'"/>
|
||||
<status-table-item v-else :value="'ApiCasePrepare'"/>
|
||||
</template>
|
||||
</ms-table-column>
|
||||
</ms-table>
|
||||
|
|
Loading…
Reference in New Issue