客户需求

This commit is contained in:
‘huanghaiixia’
2026-01-16 17:28:00 +08:00
parent 620d3be942
commit e97ba3bcfb
20 changed files with 3222 additions and 239 deletions

View File

@ -8,12 +8,54 @@ enum Api {
List = '/dayPlan/pngAppro/list',
Info = '/dayPlan/pngAppro/info',
LngPngAppro = '/dayPlan/pngAppro',
approve = '/dayPlan/pngAppro/approveXS',
records = '/magic-api/approve/records',
compare = '/dayPlan/pngAppro/compare'
}
/**
* @description: 获取LngPngAppro信息
*/
export async function getLngPngApproCompare(demandOrgId: String, mode: ErrorMessageMode = 'modal') {
return defHttp.get<LngPngApproPageModel>(
{
url: Api.compare,
params: { demandOrgId },
},
{
errorMessageMode: mode,
},
);
}
/**
* @description: 审批LngPngAppro
*/
export async function approveLngPngAppro(lngPngAppro: Recordable, mode: ErrorMessageMode = 'modal') {
return defHttp.post<boolean>(
{
url: Api.approve,
params: lngPngAppro,
},
{
errorMessageMode: mode,
},
);
}
/**
* @description: 获取LngPngAppro审批记录
*/
export async function getLngPngApproRecords(id: String, mode: ErrorMessageMode = 'modal') {
return defHttp.get<LngPngApproPageModel>(
{
url: Api.records,
params: { id },
},
{
errorMessageMode: mode,
},
);
}
/**
* @description: 查询LngPngAppro分页列表
*/