fix(测试跟踪): 测试计划报告目录缺陷UI测试

This commit is contained in:
chenjianxing 2022-07-27 11:13:24 +08:00 committed by jianxing
parent 4e29e0be8b
commit 055fc3298e
2 changed files with 11 additions and 1 deletions

View File

@ -23,6 +23,7 @@
:summary-enable="summaryEnable"
:functional-enable="functionalEnable"
:load-enable="loadEnable"
:ui-enable="uiEnable"
:overview-enable="overviewEnable"
:is-template="isTemplate"/>
</ms-container>

View File

@ -34,7 +34,8 @@ export default {
functionalEnable: Boolean,
apiEnable: Boolean,
loadEnable: Boolean,
needMoveBar: Boolean
uiEnable: Boolean,
needMoveBar: Boolean,
},
data() {
return {
@ -60,6 +61,10 @@ export default {
{
link: 'load',
title: this.$t('test_track.report.analysis_load'),
},
{
link: 'ui',
title: this.$t('test_track.report.analysis_ui')
}
]
}
@ -84,6 +89,9 @@ export default {
loadEnable() {
this.setData();
},
uiEnable() {
this.setData();
}
},
computed: {
navBtnClass() {
@ -109,6 +117,7 @@ export default {
['functional', this.functionalEnable],
['api', this.apiEnable],
['load', this.loadEnable],
['ui', this.uiEnable],
]);
this.data = [];
this.contents.forEach(item => {