国家地区回显
This commit is contained in:
@ -15,7 +15,8 @@ enum Api {
|
||||
|
||||
DataLog = '/mdm/countryRegion/datalog',
|
||||
TreeData = '/mdm/countryRegion/tree',
|
||||
TreeChild = '/mdm/countryRegion/child'
|
||||
TreeChild = '/mdm/countryRegion/child',
|
||||
TreeChildInfo = '/mdm/countryRegion/getParentByCode'
|
||||
}
|
||||
|
||||
/**
|
||||
@ -46,7 +47,20 @@ export async function getAreaList(params: LngBRegionPageParams, mode: ErrorMessa
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 分节点查询LngBRegion树回显
|
||||
*/
|
||||
export async function getAreaInfo(params: LngBRegionPageParams, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngBRegionPageResult>(
|
||||
{
|
||||
url: Api.TreeChildInfo,
|
||||
params,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @description: 查询LngBRegion分页列表
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user