refactor(接口测试): 优化显示swaggerUrl
This commit is contained in:
parent
127c720c61
commit
44521c61fc
|
@ -57,6 +57,8 @@ public class TaskCenterScheduleDTO implements Serializable {
|
||||||
|
|
||||||
@Schema(description = "操作时间")
|
@Schema(description = "操作时间")
|
||||||
private Long createTime;
|
private Long createTime;
|
||||||
|
@Schema(description = "swaggerUrl")
|
||||||
|
private String swaggerUrl;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ public class OperationLogModule {
|
||||||
public static final String PROJECT_TEMPLATE_MANAGEMENT = "PROJECT_TEMPLATE_MANAGEMENT";
|
public static final String PROJECT_TEMPLATE_MANAGEMENT = "PROJECT_TEMPLATE_MANAGEMENT";
|
||||||
public static final String PERSONAL_INFORMATION_PERSONAL_SETTINGS = "PERSONAL_INFORMATION_PERSONAL_SETTINGS";
|
public static final String PERSONAL_INFORMATION_PERSONAL_SETTINGS = "PERSONAL_INFORMATION_PERSONAL_SETTINGS";
|
||||||
public static final String PERSONAL_INFORMATION_APIKEYS = "PERSONAL_INFORMATION_APIKEYS";
|
public static final String PERSONAL_INFORMATION_APIKEYS = "PERSONAL_INFORMATION_APIKEYS";
|
||||||
public static final String PERSONAL_INFORMATION_LOCAL_CONFIG = "PERSONAL_INFORMATION_LOCAL_CONFIG";
|
public static final String PERSONAL_INFORMATION_LOCAL_CONFIG = "PERSONAL_INFORMATION_LOCAL_EXECUTE";
|
||||||
public static final String GROUP_PERMISSION = "GROUP_PERMISSION";
|
public static final String GROUP_PERMISSION = "GROUP_PERMISSION";
|
||||||
public static final String PERFORMANCE_TEST_REPORT = "PERFORMANCE_TEST_REPORT";
|
public static final String PERFORMANCE_TEST_REPORT = "PERFORMANCE_TEST_REPORT";
|
||||||
public static final String SYSTEM_QUOTA_MANAGEMENT = "SYSTEM_QUOTA_MANAGEMENT";
|
public static final String SYSTEM_QUOTA_MANAGEMENT = "SYSTEM_QUOTA_MANAGEMENT";
|
||||||
|
|
|
@ -15,7 +15,8 @@
|
||||||
schedule.value,
|
schedule.value,
|
||||||
schedule.enable,
|
schedule.enable,
|
||||||
schedule.create_user AS createUserName,
|
schedule.create_user AS createUserName,
|
||||||
schedule.create_time
|
schedule.create_time,
|
||||||
|
ads.swagger_url
|
||||||
FROM
|
FROM
|
||||||
schedule
|
schedule
|
||||||
inner join api_definition_swagger ads on schedule.resource_id = ads.id
|
inner join api_definition_swagger ads on schedule.resource_id = ads.id
|
||||||
|
|
|
@ -173,7 +173,7 @@
|
||||||
});
|
});
|
||||||
const moduleOption = [
|
const moduleOption = [
|
||||||
// { label: 'menu.workbench', value: 'workstation' },
|
// { label: 'menu.workbench', value: 'workstation' },
|
||||||
// { label: 'menu.testPlan', value: 'testPlan' },
|
{ label: 'menu.testPlan', value: 'testPlan' },
|
||||||
{ label: 'menu.bugManagement', value: 'bugManagement' },
|
{ label: 'menu.bugManagement', value: 'bugManagement' },
|
||||||
{ label: 'menu.caseManagement', value: 'caseManagement' },
|
{ label: 'menu.caseManagement', value: 'caseManagement' },
|
||||||
{ label: 'menu.apiTest', value: 'apiTest' },
|
{ label: 'menu.apiTest', value: 'apiTest' },
|
||||||
|
@ -185,9 +185,9 @@
|
||||||
(e: 'cancel', shouldSearch: boolean): void;
|
(e: 'cancel', shouldSearch: boolean): void;
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
const allModuleIds = ['bugManagement', 'caseManagement', 'apiTest'];
|
const allModuleIds = ['bugManagement', 'caseManagement', 'apiTest', 'testPlan'];
|
||||||
|
|
||||||
const showPoolModuleIds = ['uiTest', 'apiTest', 'loadTest'];
|
const showPoolModuleIds = ['apiTest'];
|
||||||
|
|
||||||
const form = reactive<CreateOrUpdateSystemProjectParams>({
|
const form = reactive<CreateOrUpdateSystemProjectParams>({
|
||||||
name: '',
|
name: '',
|
||||||
|
|
|
@ -170,7 +170,7 @@
|
||||||
});
|
});
|
||||||
const moduleOption = [
|
const moduleOption = [
|
||||||
// { label: 'menu.workbench', value: 'workstation' },
|
// { label: 'menu.workbench', value: 'workstation' },
|
||||||
// { label: 'menu.testPlan', value: 'testPlan' },
|
{ label: 'menu.testPlan', value: 'testPlan' },
|
||||||
{ label: 'menu.bugManagement', value: 'bugManagement' },
|
{ label: 'menu.bugManagement', value: 'bugManagement' },
|
||||||
{ label: 'menu.caseManagement', value: 'caseManagement' },
|
{ label: 'menu.caseManagement', value: 'caseManagement' },
|
||||||
{ label: 'menu.apiTest', value: 'apiTest' },
|
{ label: 'menu.apiTest', value: 'apiTest' },
|
||||||
|
@ -182,9 +182,9 @@
|
||||||
(e: 'cancel', shouldSearch: boolean): void;
|
(e: 'cancel', shouldSearch: boolean): void;
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
const allModuleIds = ['bugManagement', 'caseManagement', 'apiTest'];
|
const allModuleIds = ['bugManagement', 'caseManagement', 'apiTest', 'testPlan'];
|
||||||
|
|
||||||
const showPoolModuleIds = ['uiTest', 'apiTest', 'loadTest'];
|
const showPoolModuleIds = ['apiTest'];
|
||||||
|
|
||||||
const form = reactive<CreateOrUpdateSystemProjectParams>({
|
const form = reactive<CreateOrUpdateSystemProjectParams>({
|
||||||
name: '',
|
name: '',
|
||||||
|
|
Loading…
Reference in New Issue