diff --git a/src/api/system/dept/types.ts b/src/api/system/dept/types.ts index 6921c82..494745c 100644 --- a/src/api/system/dept/types.ts +++ b/src/api/system/dept/types.ts @@ -3,7 +3,7 @@ */ export interface DeptQuery extends PageQuery { deptName?: string; - categoryCode?: string; + deptCategory?: string; status?: number; } @@ -17,7 +17,7 @@ export interface DeptVO extends BaseEntity { children: DeptVO[]; deptId: number | string; deptName: string; - categoryCode: string; + deptCategory: string; orderNum: number; leader: string; phone: string; @@ -37,7 +37,7 @@ export interface DeptForm { children?: DeptForm[]; deptId?: number | string; deptName?: string; - categoryCode?: string; + deptCategory?: string; orderNum?: number; leader?: string; phone?: string; diff --git a/src/api/system/post/types.ts b/src/api/system/post/types.ts index 84e6786..1f43cef 100644 --- a/src/api/system/post/types.ts +++ b/src/api/system/post/types.ts @@ -1,7 +1,10 @@ export interface PostVO extends BaseEntity { postId: number | string; + deptId: number | string; postCode: string; postName: string; + postCategory: string; + deptName: string; postSort: number; status: string; remark: string; @@ -9,15 +12,19 @@ export interface PostVO extends BaseEntity { export interface PostForm { postId: number | string | undefined; + deptId: number | string | undefined; postCode: string; postName: string; + postCategory: string; postSort: number; status: string; remark: string; } export interface PostQuery extends PageQuery { + deptId: number | string; postCode: string; postName: string; + postCategory: string; status: string; } diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index f0e8fd1..3464b4b 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -7,8 +7,8 @@ - - + + @@ -46,7 +46,7 @@ :default-expand-all="isExpandAll" > - +