管道气

This commit is contained in:
‘huanghaiixia’
2025-10-24 17:24:12 +08:00
parent d882d9b5b6
commit 19cc342e6f
10 changed files with 865 additions and 331 deletions

View File

@ -14,11 +14,12 @@ enum Api {
Disable= '/mdm/countryRegion/disable',
DataLog = '/mdm/countryRegion/datalog',
TreeData = '/mdm/countryRegion/tree'
TreeData = '/mdm/countryRegion/tree',
TreeChild = '/mdm/countryRegion/child'
}
/**
* @description: 查询LngBRegion分页列表
* @description: 查询LngBRegion
*/
export async function getTreeData(params: LngBRegionPageParams, mode: ErrorMessageMode = 'modal') {
return defHttp.get<LngBRegionPageResult>(
@ -31,6 +32,20 @@ export async function getTreeData(params: LngBRegionPageParams, mode: ErrorMessa
},
);
}
/**
* @description: 分节点查询LngBRegion树
*/
export async function getTreeChild(params: LngBRegionPageParams, mode: ErrorMessageMode = 'modal') {
return defHttp.get<LngBRegionPageResult>(
{
url: Api.TreeChild,
params,
},
{
errorMessageMode: mode,
},
);
}
/**
* @description: 查询LngBRegion分页列表