| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- import request from '@/utils/request'
- // 查询短期气象原始数据列表
- export function listWeatherRaw(query) {
- return request({
- url: '/weather/weatherRaw/list',
- method: 'get',
- params: query
- })
- }
- // 查询短期气象原始数据详细
- export function getWeatherRaw(Id) {
- return request({
- url: '/weather/weatherRaw/' + Id,
- method: 'get'
- })
- }
- // 新增短期气象原始数据
- export function addWeatherRaw(data) {
- return request({
- url: '/weather/weatherRaw',
- method: 'post',
- data: data
- })
- }
- // 修改短期气象原始数据
- export function updateWeatherRaw(data) {
- return request({
- url: '/weather/weatherRaw',
- method: 'put',
- data: data
- })
- }
- // 删除短期气象原始数据
- export function delWeatherRaw(Id) {
- return request({
- url: '/weather/weatherRaw/' + Id,
- method: 'delete'
- })
- }
- // 查询风玫瑰图统计
- export function getRoseChart(query) {
- return request({
- url: '/weather/weatherRaw/rosechart',
- method: 'get',
- params: query
- })
- }
- // 导出风玫瑰图统计
- export function exportRoseChart(query) {
- return request({
- url: '/weather/weatherRaw/rosechart/export',
- method: 'get',
- params: query,
- responseType: 'blob',
- timeout: 120000
- })
- }
|