Commit 5cfad075 authored by suhuiguang's avatar suhuiguang

1.增加区域下点查询接口action

parent 59eb88ae
......@@ -62,6 +62,7 @@ export const FscSerUrl = {
statisticsDutyUrl: completePrefix(convertorURI, 'api/view3d/statistics/duty'), //今日值班统计
onlineDayUrl: completePrefix(convertorURI, 'api/view3d/online/date'),//消防安全执行天数
exceptionRegionListUrl: completePrefix(baseURI, 'api/view3d/region/exception/list'),//异常区域查询
listPointsByRegionIdUrl: completePrefix(baseURI, 'api/view3d/point/list/{regionId}') //查询区域下点
};
export const FasSerUrl = {
......
......@@ -66,3 +66,8 @@ export const exceptionRegionListAction = ()=>{
return commonGet(FscSerUrl.exceptionRegionListUrl);
};
export const getPointsByRegionIdAction = (regionId) =>{
const url = formatUrl(FscSerUrl.listPointsByRegionIdUrl, { regionId });
return commonGet(url);
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment