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:
MeterSphere Bot 2022-05-20 19:29:47 +08:00 committed by GitHub
parent 77ecb3dee5
commit 16f6c419de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -128,7 +128,7 @@
a_r.name,
a_r.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.status,
a_r.trigger_mode,

View File

@ -221,8 +221,7 @@ export default {
reportType: "iddReport",
onSampleError: false,
runWithinResourcePool: false,
resourcePoolId: null,
environmentType: ENV_TYPE.JSON
resourcePoolId: null
},
projectList: [],
testType: 'API',
@ -311,7 +310,6 @@ export default {
listenGoBack(this.close);
this.activeName = 'first';
this.getResourcePools();
this.runConfig.environmentType = ENV_TYPE.JSON;
},
findSchedule() {
let scheduleResourceID = this.testId;
@ -321,6 +319,9 @@ export default {
this.schedule = response.data;
if (response.data.config) {
this.runConfig = JSON.parse(response.data.config);
if (this.runConfig.environmentType) {
delete this.runConfig.environmentType;
}
}
} else {
this.schedule = {