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; }); }, };