Commit 01d0ef3a authored by 小费同学阿's avatar 小费同学阿 💬

月计划、计划完成情况主模块注释

parent ad485c9f
...@@ -15,8 +15,15 @@ enum Api { ...@@ -15,8 +15,15 @@ enum Api {
export const getListByPage = (params?: ProjectPageParams) => export const getListByPage = (params?: ProjectPageParams) =>
defHttp.post<ListGetResultModel>({ url: Api.GetList, data: params }); defHttp.post<ListGetResultModel>({ url: Api.GetList, data: params });
export const getListTenderPlanGetList = (params?: ProjectPageParams) => /*export const getListTenderPlanGetList = (params?: ProjectPageParams) =>
defHttp.post<ListGetResultModel>({ url: Api.tenderPlanGetList, data: params }); defHttp.post<ListGetResultModel>({ url: Api.tenderPlanGetList, data: params });*/
//招标计划列表接口
export const getListTenderPlanGetList = (params) =>
defHttp.post({
url: Api.tenderPlanGetList,
params,
});
export const addItem = (params?: any) => export const addItem = (params?: any) =>
defHttp.post<ProjectModel>({ defHttp.post<ProjectModel>({
url: Api.AddProject, url: Api.AddProject,
......
...@@ -8,8 +8,11 @@ enum Api { ...@@ -8,8 +8,11 @@ enum Api {
} }
//招标计划列表接口 //招标计划列表接口
export const tenderPlanList = (params?: ProjectPageParams) => export const tenderPlanList = (params) =>
defHttp.post<ListGetResultModel>({ url: Api.LIST, data: params }); defHttp.post({
url: Api.LIST,
params,
});
//招标计划详情接口 //招标计划详情接口
export const tenderPlanDetail = (params) => export const tenderPlanDetail = (params) =>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment