diff --git a/frontend/src/business/components/api/automation/scenario/AddBasisScenario.vue b/frontend/src/business/components/api/automation/scenario/AddBasisScenario.vue index a7a58dc24f..8f7305dd60 100644 --- a/frontend/src/business/components/api/automation/scenario/AddBasisScenario.vue +++ b/frontend/src/business/components/api/automation/scenario/AddBasisScenario.vue @@ -113,6 +113,8 @@ export default { if (valid) { let path = "/api/automation/create"; this.setParameter(); + this.scenarioForm.status = 'Underway'; + this.scenarioForm.level = 'P0'; if (saveAs) { this.scenarioForm.request = JSON.stringify(this.scenarioForm.request); this.$emit('saveAsEdit', this.scenarioForm); diff --git a/frontend/src/business/components/api/definition/components/basis/AddBasisApi.vue b/frontend/src/business/components/api/definition/components/basis/AddBasisApi.vue index 501ef7d1cd..967aff401f 100644 --- a/frontend/src/business/components/api/definition/components/basis/AddBasisApi.vue +++ b/frontend/src/business/components/api/definition/components/basis/AddBasisApi.vue @@ -137,6 +137,7 @@ export default { let bodyFiles = []; let path = "/api/definition/create"; this.setParameter(); + this.httpForm.status = 'Underway'; // 历史数据兼容处理 if (this.httpForm.request) { this.httpForm.request.clazzName = TYPE_TO_C.get(this.httpForm.request.type);