| | |
| | | import html2canvas from "html2canvas"; |
| | | import AMapLoader from "@amap/amap-jsapi-loader"; |
| | | import flvjs from "flv.js"; |
| | | import moment from 'moment' |
| | | import { |
| | | getCarCount, |
| | | getCarStatusCount, |
| | |
| | | // 获取预警列表数据 |
| | | 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("获取预警列表数据失败"); |