fix(UI 自动化): UI用例统计分析-未执行tab页未显示数据

--bug=1016181 --user=张大海 【测试跟踪】报告-UI用例统计分析-未执行tab页未显示数据&测试结果tab页左侧视图未统计未执行场景 https://www.tapd.cn/55049933/s/1232258
This commit is contained in:
zhangdahai112 2022-08-24 11:59:31 +08:00 committed by zhangdahai112
parent 42670c9621
commit ee887c2817
2 changed files with 5 additions and 2 deletions

View File

@ -21,7 +21,7 @@
<ui-scenario-result :is-db="isDb" :share-id="shareId" :is-share="isShare" <ui-scenario-result :is-db="isDb" :share-id="shareId" :is-share="isShare"
:report="report" :is-template="isTemplate" :plan-id="planId" :report="report" :is-template="isTemplate" :plan-id="planId"
:ui-all-cases="uiAllCases" :ui-all-cases="uiAllCases"
:filter-status="['UnExecute']" :filter-status="['unexecute']"
@setSize="setUnExecuteSize"/> @setSize="setUnExecuteSize"/>
</el-tab-pane> </el-tab-pane>

View File

@ -47,7 +47,10 @@
<status-table-item v-else-if="row.lastResult === 'Running'" :value="'Underway'"/> <status-table-item v-else-if="row.lastResult === 'Running'" :value="'Underway'"/>
<status-table-item v-else-if="row.lastResult === 'Waiting'" :value="'Waiting'"/> <status-table-item v-else-if="row.lastResult === 'Waiting'" :value="'Waiting'"/>
<status-table-item v-else-if="row.lastResult === 'Timeout'" :value="'Timeout'"/> <status-table-item v-else-if="row.lastResult === 'Timeout'" :value="'Timeout'"/>
<status-table-item v-else :value="'Prepare'"/> <el-tag size="mini" v-else>{{
$t('api_test.home_page.detail_card.unexecute')
}}
</el-tag>
</template> </template>
</ms-table-column> </ms-table-column>
</ms-table> </ms-table>