feat(测试跟踪): 新增缺陷列表,缺陷数

This commit is contained in:
wenyann 2020-08-19 10:03:15 +08:00
parent 29f5e772a1
commit b60d296c85
2 changed files with 6 additions and 6 deletions

View File

@ -11,7 +11,7 @@
show-overflow-tooltip> show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="module" prop="model"
:label="$t('test_track.module.module')" :label="$t('test_track.module.module')"
show-overflow-tooltip> show-overflow-tooltip>
</el-table-column> </el-table-column>
@ -32,13 +32,13 @@
show-overflow-tooltip> show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="currentOwner" prop="reporter"
:label="$t('test_track.module.current_owner')" :label="$t('test_track.module.current_owner')"
show-overflow-tooltip> show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="created" prop="createTime"
:label="$t('test_track.module.creation_time')"> :label="$t('test_track.module.creation_time')">
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -67,8 +67,8 @@
title: 'testCase1', title: 'testCase1',
description: "第一个模块测试", description: "第一个模块测试",
status: "接受/处理", status: "接受/处理",
currentOwner: "Andy", reporter: "Andy",
created: "2010.3.3", createTime: "2010.3.3",
}, },
] ]
} }

View File

@ -17,7 +17,7 @@
<test-result-component :test-results="metric.moduleExecuteResult" v-if="preview.id == 2"/> <test-result-component :test-results="metric.moduleExecuteResult" v-if="preview.id == 2"/>
<test-result-chart-component :execute-result="metric.executeResult" v-if="preview.id == 3"/> <test-result-chart-component :execute-result="metric.executeResult" v-if="preview.id == 3"/>
<failure-result-component :failure-test-cases="metric.failureTestCases" v-if="preview.id == 4"/> <failure-result-component :failure-test-cases="metric.failureTestCases" v-if="preview.id == 4"/>
<defect-list-component :defect-list="metric.defectList" v-if="preview.id == 5"/> <defect-list-component :defect-list="metric.issues" v-if="preview.id == 5"/>
<rich-text-component :is-report-view="isReportView" :preview="preview" v-if="preview.type != 'system'"/> <rich-text-component :is-report-view="isReportView" :preview="preview" v-if="preview.type != 'system'"/>
</div> </div>