refactor(接口测试): 优化显示swaggerUrl

This commit is contained in:
wxg0103 2024-05-07 19:14:54 +08:00 committed by Craftsman
parent 127c720c61
commit 44521c61fc
5 changed files with 11 additions and 8 deletions

View File

@ -57,6 +57,8 @@ public class TaskCenterScheduleDTO implements Serializable {
@Schema(description = "操作时间")
private Long createTime;
@Schema(description = "swaggerUrl")
private String swaggerUrl;

View File

@ -38,7 +38,7 @@ public class OperationLogModule {
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_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 PERFORMANCE_TEST_REPORT = "PERFORMANCE_TEST_REPORT";
public static final String SYSTEM_QUOTA_MANAGEMENT = "SYSTEM_QUOTA_MANAGEMENT";

View File

@ -15,7 +15,8 @@
schedule.value,
schedule.enable,
schedule.create_user AS createUserName,
schedule.create_time
schedule.create_time,
ads.swagger_url
FROM
schedule
inner join api_definition_swagger ads on schedule.resource_id = ads.id

View File

@ -173,7 +173,7 @@
});
const moduleOption = [
// { label: 'menu.workbench', value: 'workstation' },
// { label: 'menu.testPlan', value: 'testPlan' },
{ label: 'menu.testPlan', value: 'testPlan' },
{ label: 'menu.bugManagement', value: 'bugManagement' },
{ label: 'menu.caseManagement', value: 'caseManagement' },
{ label: 'menu.apiTest', value: 'apiTest' },
@ -185,9 +185,9 @@
(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>({
name: '',

View File

@ -170,7 +170,7 @@
});
const moduleOption = [
// { label: 'menu.workbench', value: 'workstation' },
// { label: 'menu.testPlan', value: 'testPlan' },
{ label: 'menu.testPlan', value: 'testPlan' },
{ label: 'menu.bugManagement', value: 'bugManagement' },
{ label: 'menu.caseManagement', value: 'caseManagement' },
{ label: 'menu.apiTest', value: 'apiTest' },
@ -182,9 +182,9 @@
(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>({
name: '',