客户需求
This commit is contained in:
@ -3,17 +3,44 @@ import { defHttp } from '/@/utils/http/axios';
|
||||
import { ErrorMessageMode } from '/#/axios';
|
||||
|
||||
enum Api {
|
||||
Page = '/dayPlan/demand/page',
|
||||
// Page = '/dayPlan/demand/page',
|
||||
Page = '/magic-api/dayPlan/pngDemandPageList',
|
||||
List = '/dayPlan/demand/list',
|
||||
Info = '/dayPlan/demand/info',
|
||||
LngPngDemand = '/dayPlan/demand',
|
||||
|
||||
ContractList ='/magic-api/dayPlan/queryPngDemandContractList',
|
||||
PointDelyList ='/magic-api/dayPlan/queryPngDemandPointDely',
|
||||
|
||||
Export = '/dayPlan/demand/export',
|
||||
|
||||
|
||||
DataLog = '/dayPlan/demand/datalog',
|
||||
}
|
||||
export async function getLngPngDemandPointDely(params, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngPngDemandPageModel>(
|
||||
{
|
||||
url: Api.PointDelyList,
|
||||
params: params,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @description: 获取LngPngDemand信息
|
||||
*/
|
||||
export async function getLngPngDemandContractList(params, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngPngDemandPageModel>(
|
||||
{
|
||||
url: Api.ContractList,
|
||||
params: params,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 查询LngPngDemand分页列表
|
||||
|
||||
Reference in New Issue
Block a user