初始化项目

This commit is contained in:
2026-03-26 22:56:08 +08:00
parent fa16e6d546
commit 0a427d9d58
16 changed files with 1222 additions and 197 deletions

View File

@@ -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 });