src/view/home/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/view/home/service.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/view/home/index.vue
@@ -413,7 +413,7 @@ // 获取预警列表数据 async getWarnListData() { try { const res = await getCarWarnList(); const res = await getCarWarnList({pageNum:1,pageSize:100000}); this.warnList = res.records; } catch (error) { this.$message.error("获取预警列表数据失败"); src/view/home/service.js
@@ -13,7 +13,7 @@ } // 获取车辆预警列表 export const getCarWarnList = (data) => { return axios.get('/system/warn/getCarWarnList', data) return axios.get('/system/warn/getCarWarnList', {params:data}) } // 获取车辆预警情况统计 export const getWarnGroupCount = (data) => {