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

This commit is contained in:
chenjianxing 2022-07-27 11:13:24 +08:00 committed by jianxing
parent 7af597095c
commit 406a94c6e0
2 changed files with 11 additions and 1 deletions

View File

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

View File

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