fix: 场景字段缺失

This commit is contained in:
wenyann 2021-03-09 13:13:25 +08:00
parent 9ba7639437
commit 66977ce60d
2 changed files with 9 additions and 4 deletions

View File

@ -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;

View File

@ -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 = [