You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
514 B
28 lines
514 B
// 引入基础包 |
|
import { Page, R } from '/@/api/model/baseModel'; |
|
|
|
// 定义查询参数 |
|
export type DepartVO = Page & { |
|
id?: string; |
|
name?: string; |
|
}; |
|
|
|
// 定义部门对象 |
|
export interface Depart { |
|
id: string; |
|
name: string; |
|
sort: string; |
|
parentId: string; |
|
} |
|
|
|
// 根据部门对象生成响应模型 |
|
export type DepartDTO = R<Depart>; |
|
|
|
export interface DeptListItem { |
|
id: string; |
|
createTime: string; |
|
remark: string; |
|
status: number; |
|
} |
|
|
|
export type DeptListGetResultModel = R<DeptListItem>;
|
|
|