管道气线
This commit is contained in:
@ -35,7 +35,7 @@ export async function getTreeData(params: LngBRegionPageParams, mode: ErrorMessa
|
||||
/**
|
||||
* @description: 分节点查询LngBRegion树
|
||||
*/
|
||||
export async function getTreeChild(params: LngBRegionPageParams, mode: ErrorMessageMode = 'modal') {
|
||||
export async function getAreaList(params: LngBRegionPageParams, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngBRegionPageResult>(
|
||||
{
|
||||
url: Api.TreeChild,
|
||||
|
||||
@ -14,6 +14,7 @@ enum Api {
|
||||
Disable= '/mdm/pipelineGgasLine/disable',
|
||||
|
||||
DataLog = '/mdm/pipelineGgasLine/datalog',
|
||||
lNGStation = '/mdm/lNGStation/list'
|
||||
}
|
||||
|
||||
/**
|
||||
@ -119,4 +120,18 @@ export async function disableLngBPngLine(ids: string[], mode: ErrorMessageMode =
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @description: 获取LNG气源地数据
|
||||
*/
|
||||
export async function getIngStation(params: LngBPngLinePageParams, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<boolean>(
|
||||
{
|
||||
url: Api.lNGStation,
|
||||
params
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user