|
|
@ -238,7 +238,7 @@ export default { |
|
|
|
// 今日交易金额-笔数数据 |
|
|
|
BiApi.getTodayTrade({ authCode }).then((res) => { |
|
|
|
// console.log(res); |
|
|
|
if (res.code === 200) { |
|
|
|
if (res && res.code === 200) { |
|
|
|
const { totalAmount, totalNum } = res.data |
|
|
|
this.startNumber = this.endNumber; |
|
|
|
this.startAmount = this.endAmount; |
|
|
@ -248,32 +248,32 @@ export default { |
|
|
|
}); |
|
|
|
// 实时进出信息 |
|
|
|
BiApi.getRealTimeInOutRecord({ authCode, pageNum: 1, pageSize: 10 }).then((res) => { |
|
|
|
if (res.code === 200) { |
|
|
|
if (res && res.code === 200) { |
|
|
|
this.realTimeInOutRecord = res.rows |
|
|
|
} |
|
|
|
}); |
|
|
|
// 开放统计-车场排行 |
|
|
|
BiApi.getParkingRanking({ authCode }).then((res) => { |
|
|
|
this.rankData = res.data |
|
|
|
if (res && res.code === 200) this.rankData = res.data |
|
|
|
}) |
|
|
|
// 开放统计-支付统计 |
|
|
|
BiApi.paymentStatistics({ authCode }).then((res) => { |
|
|
|
this.payData = res.data |
|
|
|
if (res && res.code === 200) this.payData = res.data |
|
|
|
}) |
|
|
|
// 开放统计-收费车辆统计 |
|
|
|
BiApi.amountCartStatistics({ authCode }).then((res) => { |
|
|
|
this.payDataCar = res.data |
|
|
|
if (res && res.code === 200) this.payDataCar = res.data |
|
|
|
}) |
|
|
|
// 开放统计-24小时车流统计 |
|
|
|
BiApi.todayTrafficStatistics({ authCode }).then((res) => { |
|
|
|
this.todayTraffic = res.data |
|
|
|
if (res && res.code === 200) this.todayTraffic = res.data |
|
|
|
}) |
|
|
|
// 开放统计-24小时车辆使用统计 |
|
|
|
BiApi.todayCarUseStatistics({ authCode }).then((res) => { |
|
|
|
this.todayCarUse = res.data |
|
|
|
if (res && res.code === 200) this.todayCarUse = res.data |
|
|
|
}) |
|
|
|
BiApi.useCarStatistics({ authCode }).then((res) => { |
|
|
|
this.useCarCon = res.data |
|
|
|
if (res && res.code === 200) this.useCarCon = res.data |
|
|
|
}) |
|
|
|
BiApi.parkingCarNum({ authCode }).then((res) => { |
|
|
|
this.geoCoordMap = { |
|
|
|