From 66977ce60dd06e77d8b8594d1d54c545e5988e8d Mon Sep 17 00:00:00 2001 From: wenyann <64353056+wenyann@users.noreply.github.com> Date: Tue, 9 Mar 2021 13:13:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9C=BA=E6=99=AF=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E7=BC=BA=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/db/migration/V78__v1.8_release.sql | 2 +- .../src/business/components/common/model/JsonData.js | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/backend/src/main/resources/db/migration/V78__v1.8_release.sql b/backend/src/main/resources/db/migration/V78__v1.8_release.sql index bb4704ecb4..c75d13da28 100644 --- a/backend/src/main/resources/db/migration/V78__v1.8_release.sql +++ b/backend/src/main/resources/db/migration/V78__v1.8_release.sql @@ -33,7 +33,7 @@ alter table swagger_url_project -- add_test_case alter table test_case - add demand_id varchar(50) null; + add demand_id varchar(120) null; alter table test_case add demand_name varchar(999) null; diff --git a/frontend/src/business/components/common/model/JsonData.js b/frontend/src/business/components/common/model/JsonData.js index d9dd6eae95..c6ae8d8dee 100644 --- a/frontend/src/business/components/common/model/JsonData.js +++ b/frontend/src/business/components/common/model/JsonData.js @@ -63,11 +63,16 @@ export const Api_Case_List = [ export const Api_Scenario_List = [ {id: 'num', label: "ID"}, {id: 'name', label: i18n.t('test_track.case.name')}, - {id: 'priority', label: i18n.t('test_track.case.priority')}, - {id: 'path', label: i18n.t('api_test.definition.api_path')}, + {id: 'level', label: i18n.t('api_test.automation.case_level')}, + {id: 'status', label: i18n.t('test_track.plan.plan_status')}, {id: 'tags', label: i18n.t('commons.tag')}, - {id: 'createUser', label: '创建人'}, + {id: 'userId', label: i18n.t('api_test.automation.creator')}, {id: 'updateTime', label: i18n.t('api_test.definition.api_last_time')}, + {id: 'stepTotal', label: i18n.t('api_test.automation.step')}, + {id: 'lastResult', label: i18n.t('api_test.automation.last_result')}, + {id: 'passRate', label: i18n.t('api_test.automation.passing_rate')}, + + ] //测试评审-测试用例 export const Test_Case_Review_Case_List = [