hejianhao
2025-04-29 09cc926767e786f85afe8fe219bbc818c2cc3184
首页地图bug
1个文件已修改
3 ■■■■ 已修改文件
src/view/home/index.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/view/home/index.vue
@@ -155,6 +155,7 @@
import html2canvas from "html2canvas";
import AMapLoader from "@amap/amap-jsapi-loader";
import flvjs from "flv.js";
import moment from 'moment'
import {
  getCarCount,
  getCarStatusCount,
@@ -372,7 +373,7 @@
    // 获取预警列表数据
    async getWarnListData() {
      try {
        const res = await getCarWarnList({ pageNum: 1, pageSize: 100000 });
        const res = await getCarWarnList({ pageNum: 1, pageSize: 100000,startTime:moment().format('YYYY-MM-DD 00:00:00'),endTime:moment().format('YYYY-MM-DD 23:59:59') });
        this.warnList = res.records;
      } catch (error) {
        this.$message.error("获取预警列表数据失败");