riku
2024-11-14 00a96d6881dd10ae7d3c4f5437bfceaabe677723
pages/home/inspection-proxy.js
@@ -2,6 +2,7 @@
  fetchInspectionStatistic,
  fetchSubtaskSummaryByArea,
} from '../../services/inspection/fetchInspection';
import dayjs from "dayjs";
/**
 * 现场巡查监管相关信息获取逻辑
@@ -16,6 +17,7 @@
    fetchInspection(page) {
      this.setData({ inspectionLoading: true });
      const { provinceCode, cityCode, districtCode, townCode, sceneTypeValue, time } = this.data;
      const eTime = dayjs(time).endOf('M').format('YYYY-MM-DD HH:mm:ss')
      fetchSubtaskSummaryByArea({
        provincecode: provinceCode,
        citycode: cityCode,
@@ -23,7 +25,7 @@
        towncode: townCode,
        scensetypeid: sceneTypeValue[0],
        starttime: time,
        endtime: time,
        endtime: eTime,
      })
        .then(res => {
          this.setData({