| | |
| | | return response.data; |
| | | } |
| | | |
| | | // 按照行政区code查询乡镇code |
| | | // 按照行政区code查询乡镇code(此接口包含隐患点数量查询) |
| | | export async function getAeraTownCode(data) { |
| | | const response = await axios.post("/hp/sinoDzHiddenDangerPoint/getHiddenDangerTownCount", { |
| | | "dictDisasterGrade": "", |
| | |
| | | return response.data; |
| | | } |
| | | |
| | | // 根据乡镇Code获取隐患点 |
| | | // 根据乡镇Code获取隐患点(此接口包含隐患点数量查询) |
| | | export async function getDangerPoint(data) { |
| | | const response = await axios.post("/hp/sinoDzHiddenDangerPoint/getData", { |
| | | filterObject: { |
| | |
| | | |
| | | |
| | | // 查询北京市监测设备的数量 |
| | | export async function getDeviceCount() { |
| | | const response = await axios.get("/hp/device/statisticsCountyByDeviceType"); |
| | | export async function getDeviceCount(params = {}) { |
| | | const response = await axios.get("/hp/device/statisticsCountyByDeviceType", { |
| | | params |
| | | }); |
| | | return response.data; |
| | | } |