销售审批
This commit is contained in:
@ -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信息
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user