diff --git a/frontend/src/components/pure/ms-table/type.ts b/frontend/src/components/pure/ms-table/type.ts index c683f99644..62e202038b 100644 --- a/frontend/src/components/pure/ms-table/type.ts +++ b/frontend/src/components/pure/ms-table/type.ts @@ -184,9 +184,9 @@ export interface SetPaginationPrams { export interface BatchActionQueryParams { excludeIds?: string[]; // 排除的id selectedIds?: string[]; - selectIds?: string[]; // 选中的id selectAll: boolean; // 是否跨页全选 params?: TableQueryParams; // 查询参数 currentSelectCount?: number; // 当前选中的数量 condition?: any; // 查询条件 + [key: string]: any; } diff --git a/frontend/src/enums/tableFilterEnum.ts b/frontend/src/enums/tableFilterEnum.ts index 3631096c92..ee9d8fa048 100644 --- a/frontend/src/enums/tableFilterEnum.ts +++ b/frontend/src/enums/tableFilterEnum.ts @@ -23,6 +23,8 @@ export enum FilterSlotNameEnum { GLOBAL_TASK_CENTER_EXEC_RESULT = 'GLOBAL_TASK_CENTER_EXEC_RESULT', // 任务中心-执行结果 GLOBAL_TASK_CENTER_EXEC_METHOD = 'GLOBAL_TASK_CENTER_EXEC_METHOD', // 任务中心-执行方式 GLOBAL_TASK_CENTER_SYSTEM_TASK_TYPE = 'GLOBAL_TASK_CENTER_SYSTEM_TASK_TYPE', // 任务中心-后台任务类型 + GLOBAL_TASK_CENTER_SYSTEM_TASK_STATUS = 'GLOBAL_TASK_CENTER_SYSTEM_TASK_STATUS', // 任务中心-后台任务状态 + GLOBAL_TASK_CENTER_BELONG_PROJECT = 'GLOBAL_TASK_CENTER_BELONG_PROJECT', // 任务中心-所属项目 } export enum FilterRemoteMethodsEnum { diff --git a/frontend/src/store/modules/app/index.ts b/frontend/src/store/modules/app/index.ts index 004b171e84..089f67d613 100644 --- a/frontend/src/store/modules/app/index.ts +++ b/frontend/src/store/modules/app/index.ts @@ -68,7 +68,7 @@ const useAppStore = defineStore('app', { }, packageType: '', projectList: [] as ProjectListItem[], - ordList: [], + orgList: [], envList: [], currentEnvConfig: undefined, fileMaxSize: 50, @@ -231,8 +231,8 @@ const useAppStore = defineStore('app', { /** * 设置当前组织列表 */ - setOrdList(ordList: { id: string; name: string }[]) { - this.ordList = ordList; + setOrdList(orgList: { id: string; name: string }[]) { + this.orgList = orgList; }, /** * 设置当前系统包类型 diff --git a/frontend/src/store/modules/app/types.ts b/frontend/src/store/modules/app/types.ts index 30065dd080..5ff4883b66 100644 --- a/frontend/src/store/modules/app/types.ts +++ b/frontend/src/store/modules/app/types.ts @@ -42,7 +42,7 @@ export interface AppState { currentMenuConfig: string[]; packageType: string; projectList: ProjectListItem[]; - ordList: { id: string; name: string }[]; + orgList: { id: string; name: string }[]; envList: EnvironmentItem[]; currentEnvConfig?: EnvConfig; // 当前环境配置信息 fileMaxSize: number; // 文件上传最大限制 diff --git a/frontend/src/views/api-test/scenario/components/scenarioTable.vue b/frontend/src/views/api-test/scenario/components/scenarioTable.vue index 13c2cd9d24..1f828e5bfa 100644 --- a/frontend/src/views/api-test/scenario/components/scenarioTable.vue +++ b/frontend/src/views/api-test/scenario/components/scenarioTable.vue @@ -24,7 +24,7 @@ @drag-change="changeHandler" >