fix(测试跟踪): 修改测试计划报告UI截图显示问题

--bug=1021714 --user=郭雨琦
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001021714
This commit is contained in:
guoyuqi 2023-03-02 13:14:01 +08:00 committed by 刘瑞斌
parent 2c7b1fe8e4
commit a1f24c112e
4 changed files with 10 additions and 2 deletions

View File

@ -23,6 +23,7 @@
:tree-node="treeNode"
:command="node"
:isActive="isActive"
:is-template="isTemplate"
:result="node.value"/>
</div>
<div v-else>
@ -63,6 +64,7 @@ export default {
console: String,
isActive: Boolean,
isShare: Boolean,
isTemplate: Boolean,
shareId: String,
},
data() {

View File

@ -16,7 +16,7 @@
class="ms-tree ms-report-tree" ref="resultsTree">
<span slot-scope="{ node, data}" style="width: 99%" @click="nodeClick(node)">
<ms-scenario-result :node="data" :tree-node="node" :console="console" v-on:requestResult="requestResult"
:isActive="isActive" :is-share="isShare" :share-id="shareId"/>
:isActive="isActive" :is-share="isShare" :is-template="isTemplate" :share-id="shareId"/>
</span>
</el-tree>
</el-card>
@ -39,6 +39,7 @@ export default {
type: Boolean,
},
isShare: Boolean,
isTemplate: Boolean,
shareId: String,
},
data() {

View File

@ -19,7 +19,7 @@
</span>
</el-col>
<el-col :span="3">
<el-col :span="3" v-if="!isTemplate">
<!-- 兼容旧数据 报告截图 -->
<el-popover
placement="right"
@ -86,6 +86,7 @@ export default {
default: false
},
treeNode: Object,
isTemplate: Boolean,
},
data() {
return {

View File

@ -24,6 +24,7 @@
<!-- all step-->
<el-tab-pane :label="$t('api_report.total')" name="total">
<ms-scenario-results
:is-template="isTemplate"
:treeData="fullTreeNodes"
:console="content.console"
:report="report"
@ -42,6 +43,7 @@
:console="content.console"
:report="report"
:is-share="isShare"
:is-template="isTemplate"
:share-id="shareId"
:treeData="fullTreeNodes" ref="failsTree"
:errorReport="content.error"/>
@ -57,6 +59,7 @@
v-on:requestResult="requestResult"
:report="report"
:is-share="isShare"
:is-template="isTemplate"
:share-id="shareId"
:console="content.console"
:treeData="fullTreeNodes" ref="errorReportTree"/>
@ -73,6 +76,7 @@
v-on:requestResult="requestResult"
:report="report"
:is-share="isShare"
:is-template="isTemplate"
:share-id="shareId"
:console="content.console"
:treeData="fullTreeNodes" ref="unExecuteTree"/>