销售审批

This commit is contained in:
‘huanghaiixia’
2026-01-20 17:32:35 +08:00
parent 8599ef3c9a
commit 3d97ce852e
14 changed files with 345 additions and 182 deletions

View File

@ -5,15 +5,78 @@ import { ErrorMessageMode } from '/#/axios';
enum Api {
// Page = '/dayPlan/pngAppro/page',
Page = '/magic-api/dayPlan/pngApproXs/page',
PageJsz = '/magic-api/dayPlan/pngApproJsz/page',
PageGd = '/magic-api//dayPlan/pngApproGd/page',
List = '/dayPlan/pngAppro/list',
Info = '/dayPlan/pngAppro/info',
LngPngAppro = '/dayPlan/pngAppro',
approve = '/dayPlan/pngAppro/approveXS',
approveSZ = '/dayPlan/pngAppro/approveJSZ',
approveGD = '/dayPlan/pngAppro/approveGD',
records = '/magic-api/approve/records',
compare = '/dayPlan/pngAppro/compare'
}
/**
* @description: 审批LngPngAppro
*/
export async function approveLngPngApproSZ(lngPngAppro: Recordable, mode: ErrorMessageMode = 'modal') {
return defHttp.post<boolean>(
{
url: Api.approveSZ,
params: lngPngAppro,
},
{
errorMessageMode: mode,
},
);
}
/**
* @description: 审批LngPngAppro
*/
export async function approveLngPngApproGD(lngPngAppro: Recordable, mode: ErrorMessageMode = 'modal') {
return defHttp.post<boolean>(
{
url: Api.approveGD,
params: lngPngAppro,
},
{
errorMessageMode: mode,
},
);
}
/**
* @description: 查询LngPngAppro分页列表
*/
export async function getLngPngApproPageGd(params: LngPngApproPageParams, mode: ErrorMessageMode = 'modal') {
return defHttp.get<LngPngApproPageResult>(
{
url: Api.PageGd,
params,
},
{
errorMessageMode: mode,
},
);
}
/**
* @description: 查询LngPngAppro分页列表
*/
export async function getLngPngApproPageJsz(params: LngPngApproPageParams, mode: ErrorMessageMode = 'modal') {
return defHttp.get<LngPngApproPageResult>(
{
url: Api.PageJsz,
params,
},
{
errorMessageMode: mode,
},
);
}
/**
* @description: 获取LngPngAppro信息
*/