代码优化
This commit is contained in:
parent
7b5144442b
commit
5577762fd7
|
|
@ -214,8 +214,8 @@ export default {
|
||||||
|
|
||||||
count: 0,
|
count: 0,
|
||||||
trackAni: null, // 轨迹实例
|
trackAni: null, // 轨迹实例
|
||||||
calLon: '',
|
calLon: 116.404,
|
||||||
calLat: '',
|
calLat: 39.915,
|
||||||
|
|
||||||
// 查询设备行程信息的参数
|
// 查询设备行程信息的参数
|
||||||
tripParams: {
|
tripParams: {
|
||||||
|
|
@ -276,8 +276,8 @@ export default {
|
||||||
iotId: this.iotCode,
|
iotId: this.iotCode,
|
||||||
})
|
})
|
||||||
// 获取经纬度并赋值
|
// 获取经纬度并赋值
|
||||||
this.calLon = res.callon || 116.404
|
this.calLon = res.callon
|
||||||
this.calLat = res.callat || 39.915
|
this.calLat = res.callat
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleClickQuery() {
|
handleClickQuery() {
|
||||||
|
|
|
||||||
|
|
@ -485,7 +485,7 @@ export default {
|
||||||
const res = await receiveNotificationsDetailsApi(params)
|
const res = await receiveNotificationsDetailsApi(params)
|
||||||
console.log(res, '接收的数据')
|
console.log(res, '接收的数据')
|
||||||
|
|
||||||
this.tableData = res.rows
|
// this.tableData = res.rows
|
||||||
this.total = res.total
|
this.total = res.total
|
||||||
// console.log('🚀 ~ getList ~ 获取列表:', params)
|
// console.log('🚀 ~ getList ~ 获取列表:', params)
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue