fix(测试计划): 性能测试报告数据显示问题#1006170
--bug=1006170 --user=lyh 【测试计划-报告统计】测试计划-性能测试报告,测试/日志/监控详情无数据 https://www.tapd.cn/55049933/s/1041862
This commit is contained in:
parent
c23cd4aa50
commit
2a62fc6a06
|
@ -44,7 +44,7 @@ export default {
|
||||||
props: ['report', 'export', 'isShare', 'shareId', 'planReportTemplate'],
|
props: ['report', 'export', 'isShare', 'shareId', 'planReportTemplate'],
|
||||||
methods: {
|
methods: {
|
||||||
getResource() {
|
getResource() {
|
||||||
this.init = true;
|
// this.init = true;
|
||||||
this.active = '0';
|
this.active = '0';
|
||||||
if (this.planReportTemplate) {
|
if (this.planReportTemplate) {
|
||||||
this.handleGetLogResource(this.planReportTemplate.reportLogResource);
|
this.handleGetLogResource(this.planReportTemplate.reportLogResource);
|
||||||
|
@ -145,7 +145,7 @@ export default {
|
||||||
},
|
},
|
||||||
report: {
|
report: {
|
||||||
handler(val) {
|
handler(val) {
|
||||||
if (!val.status || !val.id || !this.id) {
|
if (!val.status || !val.id) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (this.init) {
|
if (this.init) {
|
||||||
|
|
|
@ -450,7 +450,7 @@ export default {
|
||||||
this.getTotalChart();
|
this.getTotalChart();
|
||||||
},
|
},
|
||||||
initTableData() {
|
initTableData() {
|
||||||
this.init = true;
|
// this.init = true;
|
||||||
|
|
||||||
for (const name of CHART_MAP) {
|
for (const name of CHART_MAP) {
|
||||||
this.getCheckOptions(name);
|
this.getCheckOptions(name);
|
||||||
|
|
Loading…
Reference in New Issue