| | |
| | | }) |
| | | return await response.json() |
| | | } |
| | | export async function getDevicetListData() { |
| | | const response = await fetch("/json/综合监测设备信息.json", { |
| | | mode: "cors", |
| | | cache: "no-cache", |
| | | headers: { |
| | | "Content-Type": "application/json", |
| | | }, |
| | | }) |
| | | return await response.json() |
| | | } |
| | | export async function getDistrictListData() { |
| | | const response = await fetch("/json/隐患点信息.json", { |
| | | mode: "cors", |
| | | cache: "no-cache", |
| | | headers: { |
| | | "Content-Type": "application/json", |
| | | }, |
| | | }) |
| | | return await response.json() |
| | | } |
| | | |
| | | export async function getDistrictCount() { |
| | | const response = await fetch("/json/北京市隐患点按区统计.json", { |