riku
2025-09-17 4aa86b1ec441c4e358e1cc488d8f021fb80f1355
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import { $fysp } from '../index';
 
export default {
  
  /**
   * 巡查完成情况汇总
   * @param {*} option 
   * @returns 
   */
  fetchInspectionSummary(option) {
    return $fysp.post(`dataProd/middle/inspection/summary/get?`, option).then((res) => {
      return res.data;
    });
  },
  
  /**
   * 问题类型汇总
   * @param {*} option 
   * @returns 
   */
  fetchProblemTypeSummary(option) {
    return $fysp.post(`dataProd/middle/problemType/summary/get?`, option).then((res) => {
      return res.data;
    });
  },
 
  /**
   * 分区域单场景问题数量
   * @param {*} option 
   * @returns 
   */
  fetchProblemCountByArea(option) {
    return $fysp.post(`dataProd/middle/problemCount/area/get?`, option).then((res) => {
      return res.data;
    });
  },
 
  /**
   * 分区域单规范性情况
   * @param {*} option 
   * @returns 
   */
  fetchEvaluationByArea(option) {
    return $fysp.post(`dataProd/middle/evaluation/area/get?`, option).then((res) => {
      return res.data;
    });
  },
};