fix(接口测试): 修复case报告创建时间排序只排序一页的缺陷 (#13804)
--bug=1012783 --user=王孝刚 【接口测试】接口测试-测试报告,case报告,结束时间排序只排了当前页面的数据 https://www.tapd.cn/55049933/s/1161586 Co-authored-by: wxg0103 <727495428@qq.com>
This commit is contained in:
parent
77ecb3dee5
commit
16f6c419de
|
@ -128,7 +128,7 @@
|
||||||
a_r.name,
|
a_r.name,
|
||||||
a_r.id,
|
a_r.id,
|
||||||
a_r.project_id,
|
a_r.project_id,
|
||||||
a_r.create_time,
|
a_r.create_time as create_time,
|
||||||
a_r.create_time as update_time,
|
a_r.create_time as update_time,
|
||||||
a_r.status,
|
a_r.status,
|
||||||
a_r.trigger_mode,
|
a_r.trigger_mode,
|
||||||
|
|
|
@ -221,8 +221,7 @@ export default {
|
||||||
reportType: "iddReport",
|
reportType: "iddReport",
|
||||||
onSampleError: false,
|
onSampleError: false,
|
||||||
runWithinResourcePool: false,
|
runWithinResourcePool: false,
|
||||||
resourcePoolId: null,
|
resourcePoolId: null
|
||||||
environmentType: ENV_TYPE.JSON
|
|
||||||
},
|
},
|
||||||
projectList: [],
|
projectList: [],
|
||||||
testType: 'API',
|
testType: 'API',
|
||||||
|
@ -311,7 +310,6 @@ export default {
|
||||||
listenGoBack(this.close);
|
listenGoBack(this.close);
|
||||||
this.activeName = 'first';
|
this.activeName = 'first';
|
||||||
this.getResourcePools();
|
this.getResourcePools();
|
||||||
this.runConfig.environmentType = ENV_TYPE.JSON;
|
|
||||||
},
|
},
|
||||||
findSchedule() {
|
findSchedule() {
|
||||||
let scheduleResourceID = this.testId;
|
let scheduleResourceID = this.testId;
|
||||||
|
@ -321,6 +319,9 @@ export default {
|
||||||
this.schedule = response.data;
|
this.schedule = response.data;
|
||||||
if (response.data.config) {
|
if (response.data.config) {
|
||||||
this.runConfig = JSON.parse(response.data.config);
|
this.runConfig = JSON.parse(response.data.config);
|
||||||
|
if (this.runConfig.environmentType) {
|
||||||
|
delete this.runConfig.environmentType;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.schedule = {
|
this.schedule = {
|
||||||
|
|
Loading…
Reference in New Issue