riku
2025-08-01 5efcf83a4a67bf5cefbee480c58a697553f9f8de
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import { $fysp } from '../index';
 
/**
 * 监测数据统计相关API
 */
export default {
  /**
   * 上传扬尘监测数据月度统计结果
   * @param {Array} dataList 扬尘监测数据统计结果数组
   * @returns {Promise}
   */
  uploadDustDataResult(dataList) {
    return $fysp
      .put(`monitor/data/result/construction/upload`, dataList)
      .then((res) => res.data);
  },
 
  /**
   * 获取扬尘监测数据月度统计结果
   * @param {Object} area 查询条件行政区划、时间、场景类型
   * @returns 
   */
  fetchDustDataResult(area) {
    return $fysp
      .post(`monitor/data/result/construction/get`, area)
      .then((res) => res.data);
  }
};