fix(测试跟踪): 测试计划报告调用qiankun组件时解决重复请求相关的问题
This commit is contained in:
parent
e4fbf5035f
commit
b028f4eab7
|
@ -18,7 +18,7 @@ import java.util.concurrent.TimeUnit;
|
|||
@Service
|
||||
public class RedisTemplateService {
|
||||
private static final String PRX = "TEST_PLAN_";
|
||||
public static final long TIME_OUT = 60;
|
||||
public static final long TIME_OUT = 480;
|
||||
@Resource
|
||||
private RedisTemplate<String, Object> redisTemplate;
|
||||
|
||||
|
|
|
@ -98,12 +98,12 @@ import MethodTableItem from "../../../../../../common/tableItems/planview/Method
|
|||
import StatusTableItem from "../../../../../../common/tableItems/planview/StatusTableItem";
|
||||
import {
|
||||
getPlanScenarioAllCase,
|
||||
getPlanScenarioFailureCase,
|
||||
getSharePlanScenarioAllCase,
|
||||
getSharePlanScenarioFailureCase,
|
||||
getPlanScenarioErrorReportCase,
|
||||
getSharePlanScenarioErrorReportCase,
|
||||
getPlanScenarioFailureCase,
|
||||
getPlanScenarioUnExecuteCase,
|
||||
getSharePlanScenarioAllCase,
|
||||
getSharePlanScenarioErrorReportCase,
|
||||
getSharePlanScenarioFailureCase,
|
||||
getSharePlanScenarioUnExecuteCase,
|
||||
} from "@/api/remote/plan/test-plan";
|
||||
import MsTable from "metersphere-frontend/src/components/table/MsTable";
|
||||
|
@ -239,6 +239,13 @@ export default {
|
|||
}
|
||||
},
|
||||
rowClick(row) {
|
||||
|
||||
if (!this.isTemplate) {
|
||||
if (this.reportId === row.reportId) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
this.showResponse = false;
|
||||
this.$nextTick(() => {
|
||||
if (this.isTemplate) {
|
||||
|
|
|
@ -93,6 +93,7 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
getReport(row) {
|
||||
|
||||
if (this.isTemplate) {
|
||||
if (row.response) {
|
||||
this.showResponse = true;
|
||||
|
@ -124,6 +125,11 @@ export default {
|
|||
},
|
||||
openReport(exist, loadReportId) {
|
||||
if (exist) {
|
||||
|
||||
if (this.reportId === loadReportId) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.reportId = loadReportId;
|
||||
this.showResponse = true;
|
||||
this.reportShow = false;
|
||||
|
|
|
@ -157,8 +157,13 @@ export default {
|
|||
}
|
||||
},
|
||||
rowClick(row) {
|
||||
if (!this.isTemplate) {
|
||||
if (this.reportId === row.reportId) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
this.showResponse = false;
|
||||
this.$nextTick(()=>{
|
||||
this.$nextTick(() => {
|
||||
if (this.isTemplate) {
|
||||
if (row.response) {
|
||||
this.showResponse = true;
|
||||
|
|
Loading…
Reference in New Issue