diff --git a/frontend/src/api/plan/interface/index.ts b/frontend/src/api/plan/interface/index.ts index ec05ecf..7721484 100644 --- a/frontend/src/api/plan/interface/index.ts +++ b/frontend/src/api/plan/interface/index.ts @@ -36,6 +36,9 @@ export namespace Plan { children?: ResPlan[]; testConfig?: PlanTestConfig; importFlag?: number; // 导入标识,0-否,1-是 + leader?: string; // 负责人 + memberIds?: string[]; //成员 + members?: string; //成员字符串 } // 检测计划 + 分页 diff --git a/frontend/src/api/plan/plan.ts b/frontend/src/api/plan/plan.ts index cb4415d..d22a01a 100644 --- a/frontend/src/api/plan/plan.ts +++ b/frontend/src/api/plan/plan.ts @@ -42,7 +42,7 @@ export const getPqErrSysList = () => { } //获取指定模式下所有未绑定的设备 -export const getUnboundPqDevList = (params: Plan.ReqPlan) => { +export const getUnboundPqDevList = (params: { pattern: string}) => { return http.get(`/pqDev/listUnbound?pattern=${params.pattern}`) } @@ -152,6 +152,6 @@ export const mergeSubPlanCheckData = (params: Plan.ResPlan) => { } //根据误差体系id获取测试项 -export const getPqErrSysTestItemList = (params: Plan.ResPlan) => { +export const getPqErrSysTestItemList = (params: {errorSysId : string}) => { return http.get(`/pqErrSys/getTestItems?id=${params.errorSysId}`) } \ No newline at end of file diff --git a/frontend/src/api/user/interface/user.ts b/frontend/src/api/user/interface/user.ts index db73f46..1f63584 100644 --- a/frontend/src/api/user/interface/user.ts +++ b/frontend/src/api/user/interface/user.ts @@ -1,23 +1,23 @@ // 登录模块 -import type { ReqPage,ResPage } from '@/api/interface' +import type { ReqPage, ResPage } from '@/api/interface' export namespace Login { - export interface ReqLoginForm { - username: string; - password: string; - checked: boolean; - } - export interface ResLogin { - accessToken: string; - refreshToken: string; - userInfo:{ - id: string; - name: string; + export interface ReqLoginForm { + username: string + password: string + checked: boolean + } + export interface ResLogin { + accessToken: string + refreshToken: string + userInfo: { + id: string + name: string + } + } + export interface ResAuthButtons { + [key: string]: string[] } - } - export interface ResAuthButtons { - [key: string]: string[]; - } } @@ -52,6 +52,8 @@ export namespace User { updateTime?: string;//更新时间 roleIds?: string[]; // roleNames?:string[]; // + roleCodes?:string[]; // + disabled?: boolean; } // 用户接口 diff --git a/frontend/src/views/plan/planList/components/planPopup.vue b/frontend/src/views/plan/planList/components/planPopup.vue index 11ddc1a..c779e86 100644 --- a/frontend/src/views/plan/planList/components/planPopup.vue +++ b/frontend/src/views/plan/planList/components/planPopup.vue @@ -24,9 +24,10 @@ @@ -181,6 +184,45 @@ /> + + + + + + + + + +