初始化项目
This commit is contained in:
@@ -31,12 +31,31 @@ export interface MyProjectInfo extends BasicModel<MyProjectInfo> {
|
||||
updateTime?: string; // 更新时间
|
||||
}
|
||||
|
||||
|
||||
export interface MyProjectParams extends BasicModel<MyProjectParams> {
|
||||
pageNum: number; // 当前页
|
||||
pageSize: number; // 每页条数
|
||||
projectName: string; // 项目名称
|
||||
projectType: string; // 项目类型
|
||||
projectStatus: string; // 项目状态
|
||||
}
|
||||
|
||||
export interface PageResult<T> extends BasicModel<PageResult<T>> {
|
||||
list: T[]; // 对应后端 List<T> list
|
||||
currentPage: number; // 当前页
|
||||
pageSize: number; // 每页条数
|
||||
total: number; // 总条数
|
||||
}
|
||||
|
||||
export const myProjectInfoList = (params?: MyProjectInfo | any) =>
|
||||
defHttp.get<MyProjectInfo>({ url: adminPath + '/biz/myProjectInfo/list', params });
|
||||
|
||||
export const myProjectInfoListAll = (params?: MyProjectInfo | any) =>
|
||||
defHttp.get<MyProjectInfo[]>({ url: adminPath + '/biz/myProjectInfo/listAll', params });
|
||||
|
||||
export const myProjectInfoPageList = (params?: MyProjectParams | any) =>
|
||||
defHttp.get<PageResult<MyProjectInfo>>({ url: adminPath + '/biz/myProjectInfo/projectList', params });
|
||||
|
||||
export const myProjectInfoListData = (params?: MyProjectInfo | any) =>
|
||||
defHttp.post<Page<MyProjectInfo>>({ url: adminPath + '/biz/myProjectInfo/listData', params });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user