fix(测试跟踪): 修复测试计划中场景报告分享链接不显示问题
--bug=1019457 --user=赵勇 【接口测试】测试计划-场景用例-执行结果-点击分享报告没反应 https://www.tapd.cn/55049933/s/1301631
This commit is contained in:
parent
53bd5b0f95
commit
bf29592ec7
|
@ -52,7 +52,8 @@
|
||||||
v-permission="['PROJECT_PERFORMANCE_REPORT:READ+EXPORT']"
|
v-permission="['PROJECT_PERFORMANCE_REPORT:READ+EXPORT']"
|
||||||
style="margin-right: 10px; z-index: 9999; position: inherit"
|
style="margin-right: 10px; z-index: 9999; position: inherit"
|
||||||
placement="bottom"
|
placement="bottom"
|
||||||
trigger="click"
|
trigger="manual"
|
||||||
|
v-model="visible"
|
||||||
width="300">
|
width="300">
|
||||||
<p>{{ shareUrl }}</p>
|
<p>{{ shareUrl }}</p>
|
||||||
<span style="color: red; float: left; margin-left: 10px" v-if="application.typeValue">{{
|
<span style="color: red; float: left; margin-left: 10px" v-if="application.typeValue">{{
|
||||||
|
@ -150,6 +151,7 @@ export default {
|
||||||
nameIsEdit: false,
|
nameIsEdit: false,
|
||||||
shareUrl: '',
|
shareUrl: '',
|
||||||
application: {},
|
application: {},
|
||||||
|
visible: false,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -207,6 +209,7 @@ export default {
|
||||||
this.$router.push('/api/automation/report');
|
this.$router.push('/api/automation/report');
|
||||||
},
|
},
|
||||||
handleShare(report) {
|
handleShare(report) {
|
||||||
|
this.visible = true;
|
||||||
this.getProjectApplication();
|
this.getProjectApplication();
|
||||||
let pram = {};
|
let pram = {};
|
||||||
pram.customData = report.id;
|
pram.customData = report.id;
|
||||||
|
|
Loading…
Reference in New Issue