济菏高速业务端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

81 lines
1.7 KiB

import request from "@/utils/request";
// 查询天气状况
export function getWeatherFacts() {
return request({
url: "/weatherForecast/weatherFacts",
method: "post",
});
}
// 按小时查询天气状况
export function getHourlyWeather() {
return request({
url: "/weatherForecast/hourlyWeather",
method: "post",
});
}
// 查询气象预警
export function getMeteorologicalEarlyWarning() {
return request({
url: "/weatherForecast/meteorologicalEarlyWarning",
method: "post",
});
}
// 查询气象预警数量
export function getQueryTheNumberOfMeteorologicalWarning() {
return request({
url: "/weatherForecast/queryTheNumberOfMeteorologicalWarning",
method: "post",
});
}
// 统计气象设备当天最新信息列表
export function getListLatest() {
return request({
url: "/dc/system/meteorologicalDetector/listLatest",
method: "get",
});
}
// 统计气象设备信息列表
export function getDeviceNameListLatest(name) {
return request({
url: "/dc/system/meteorologicalDetector/" + name,
method: "get",
});
}
// 根据物联产品id获取设备数据
export function getIdDevices(id) {
return request({
url: "/business/device/devices/" + id,
method: "get",
});
}
// 查询气象预警筛选类别
export function getListVisibility() {
return request({
url: "/dc/system/meteorologicalDetector/listVisibility",
method: "get",
});
}
// 路网交通状况
export function getTrafficConditions() {
return request({
url: "/business/weatherMonitoring/getTrafficConditions",
method: "get",
});
}
// 获取县城经纬度
export function getRegionList() {
return request({
url: "/business/region/list",
method: "get",
});
}