diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionExecResultMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionExecResultMapper.xml index 5656abad25..546e1ac589 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionExecResultMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionExecResultMapper.xml @@ -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, diff --git a/frontend/src/business/components/track/plan/components/ScheduleMaintain.vue b/frontend/src/business/components/track/plan/components/ScheduleMaintain.vue index 3c2d9aeedd..4b82005006 100644 --- a/frontend/src/business/components/track/plan/components/ScheduleMaintain.vue +++ b/frontend/src/business/components/track/plan/components/ScheduleMaintain.vue @@ -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 = {