fix(测试计划): 导出报告看不到关联的缺陷内容
--bug=1011422 --user=李玉号 [BUG]github#11615测试计划执行后,导出报告看不到关联的缺陷内容 https://www.tapd.cn/55049933/s/1122467 Closes #11615
This commit is contained in:
parent
939bc8b026
commit
cde1a2880c
|
@ -112,6 +112,10 @@ export default {
|
||||||
computed: {
|
computed: {
|
||||||
language() {
|
language() {
|
||||||
const user = getCurrentUser();
|
const user = getCurrentUser();
|
||||||
|
// 取值为空时默认中文,如:导出
|
||||||
|
if (!user) {
|
||||||
|
return 'zh_CN';
|
||||||
|
}
|
||||||
const language = user.language;
|
const language = user.language;
|
||||||
switch (language) {
|
switch (language) {
|
||||||
case 'zh_CN':
|
case 'zh_CN':
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
:label="$t('commons.id')"
|
:label="$t('commons.id')"
|
||||||
show-overflow-tooltip>
|
show-overflow-tooltip>
|
||||||
<template v-slot:default="{row}">
|
<template v-slot:default="{row}">
|
||||||
{{isCustomNum ? row.customNum : row.num }}
|
{{row.isCustomNum ? row.customNum : row.num }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
@ -92,11 +92,6 @@ export default {
|
||||||
testCases: []
|
testCases: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
|
||||||
isCustomNum() {
|
|
||||||
return this.$store.state.currentProjectIsCustomNum;
|
|
||||||
},
|
|
||||||
},
|
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getFunctionalTestCase();
|
this.getFunctionalTestCase();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue