fix: 接口定义列表自定义展示字段增加接口状态,并默认显示
This commit is contained in:
parent
5f4aa0f227
commit
23a55fd386
|
@ -17,4 +17,7 @@ alter table api_scenario
|
|||
-- 场景表头修改
|
||||
update system_header
|
||||
set props='[{"id":"num","label":"ID"},{"id":"name","label":"场景名称"},{"id":"level","label":"用例等级"},{"id":"status","label":"当前状态"},{"id":"tags","label":"标签"},{"id":"principal","label":"负责人"},{"id":"updateTime","label":"最后更新时间"},{"id":"stepTotal","label":"步骤数"},{"id":"lastResult","label":"最后结果"},{"id":"passRate","label":"通过率"}]'
|
||||
where type = 'api_scenario_list';
|
||||
where type = 'api_scenario_list';
|
||||
update system_header
|
||||
set props= '[{"id":"num","label":"ID"},{"id":"status","label":"接口状态"},{"id":"name","label":"接口名称"},{"id":"method","label":"请求类型"},{"id":"userName","label":"负责人"},{"id":"path","label":"路径"},{"id":"tags","label":"标签"},{"id":"updateTime","label":"最后更新时间"},{"id":"caseTotal","label":"用例数"},{"id":"caseStatus","label":"用例状态"},{"id":"casePassingRate","label":"用例通过率"}]'
|
||||
where type = 'api_list';
|
||||
|
|
|
@ -49,6 +49,7 @@ export const Api_List = [
|
|||
{id: 'caseTotal', label: i18n.t('api_test.definition.api_case_number')},
|
||||
{id: 'caseStatus', label: i18n.t('api_test.definition.api_case_status')},
|
||||
{id: 'casePassingRate', label: i18n.t('api_test.definition.api_case_passing_rate')},
|
||||
{id: 'status', label: i18n.t('api_test.definition.api_status')}
|
||||
]
|
||||
//接口定义-case列表
|
||||
export const Api_Case_List = [
|
||||
|
|
Loading…
Reference in New Issue