12-23-上传master
This commit is contained in:
36
src/pages/ListTableList/data.d.ts
vendored
Normal file
36
src/pages/ListTableList/data.d.ts
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
export interface TableListItem {
|
||||
key: number;
|
||||
disabled?: boolean;
|
||||
href: string;
|
||||
avatar: string;
|
||||
name: string;
|
||||
owner: string;
|
||||
desc: string;
|
||||
callNo: number;
|
||||
status: number;
|
||||
updatedAt: Date;
|
||||
createdAt: Date;
|
||||
progress: number;
|
||||
}
|
||||
|
||||
export interface TableListPagination {
|
||||
total: number;
|
||||
pageSize: number;
|
||||
current: number;
|
||||
}
|
||||
|
||||
export interface TableListData {
|
||||
list: TableListItem[];
|
||||
pagination: Partial<TableListPagination>;
|
||||
}
|
||||
|
||||
export interface TableListParams {
|
||||
status?: string;
|
||||
name?: string;
|
||||
desc?: string;
|
||||
key?: number;
|
||||
pageSize?: number;
|
||||
currentPage?: number;
|
||||
filter?: { [key: string]: any[] };
|
||||
sorter?: { [key: string]: any };
|
||||
}
|
Reference in New Issue
Block a user