From 3d0c56f73c4bca747a53667177fb686e60c211a2 Mon Sep 17 00:00:00 2001 From: zz <2510566342@qq.com> Date: Sat, 16 Nov 2024 13:16:16 +0800 Subject: [PATCH] =?UTF-8?q?11.16=20=E4=B8=89=E4=B8=AA=E7=BB=9F=E8=AE=A1?= =?UTF-8?q?=E5=9B=BE=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mall/statistics/member.ts | 18 ++ src/api/share/stationinfo/index.ts | 1 - .../chargerManagement/index.ts | 4 + .../stationChargingTimesStatistics/index.ts | 4 + .../stationRevenueStatistics/index.ts | 7 + .../equipmentManagement/energyMeter/index.vue | 154 +++++++++- .../chargeQuantityStatistics/index.vue | 268 +++++++++++++++++ .../revenueStatistics/index.vue | 269 +++++++++++++++++ .../index.vue | 274 ++++++++++++++++++ 9 files changed, 994 insertions(+), 5 deletions(-) create mode 100644 src/views/system/statisticsManagement/chargeQuantityStatistics/index.vue create mode 100644 src/views/system/statisticsManagement/revenueStatistics/index.vue create mode 100644 src/views/system/statisticsManagement/statisticsChargingTimesOutsidestation/index.vue diff --git a/src/api/mall/statistics/member.ts b/src/api/mall/statistics/member.ts index 94d367a..7e3d24c 100644 --- a/src/api/mall/statistics/member.ts +++ b/src/api/mall/statistics/member.ts @@ -149,6 +149,18 @@ export const getTotalrevenue = (data) => { data }) } +export const getOutTotalrevenue = (data) => { + return request.post({ + url: '/cloud/statistics/outChargeTotal/revenue', + data + }) +} +export const getOutChargeCountElectric = (data) => { + return request.post({ + url: '/cloud/statistics/total/outChargeCountElectric', + data + }) +} export const getTotalchargeCount = (data) => { return request.post({ @@ -156,6 +168,12 @@ export const getTotalchargeCount = (data) => { data }) } +export const getTotalOutchargeCount = (data) => { + return request.post({ + url: '/cloud/statistics/total/outChargeCount', + data + }) +} export const getTotalchargeJfpgElec = (data) => { return request.post({ diff --git a/src/api/share/stationinfo/index.ts b/src/api/share/stationinfo/index.ts index cc8200e..99cab91 100644 --- a/src/api/share/stationinfo/index.ts +++ b/src/api/share/stationinfo/index.ts @@ -107,7 +107,6 @@ export const StationInfoApi = { getStationInfoList: async () => { return await request.get({ url: `/cloud/station-info/list` }) }, - // 查询电价模型 getBillingModelList: async (params: any) => { return await request.get({ url: `/cloud/billing-model/list`,params }) diff --git a/src/api/system/equipmentManagement/chargerManagement/index.ts b/src/api/system/equipmentManagement/chargerManagement/index.ts index a943e36..707928e 100644 --- a/src/api/system/equipmentManagement/chargerManagement/index.ts +++ b/src/api/system/equipmentManagement/chargerManagement/index.ts @@ -74,6 +74,10 @@ export interface ChargeUploadVO { // 充电机数据上报 API export const ChargeUploadApi = { +// 下发模型 +deliveryModelUpload: async (data: ChargeUploadVO) => { + return await request.post({ url: `/cloud/electricity-price/sendToChargeElectricityPriceMode`, data }) +}, // 查询充电机数据上报分页 getChargeUploadPage: async (params: any) => { return await request.get({ url: `/cloud/charge-upload/page`, params }) diff --git a/src/api/system/statisticsManagement/stationChargingTimesStatistics/index.ts b/src/api/system/statisticsManagement/stationChargingTimesStatistics/index.ts index 02385f9..4fddf8e 100644 --- a/src/api/system/statisticsManagement/stationChargingTimesStatistics/index.ts +++ b/src/api/system/statisticsManagement/stationChargingTimesStatistics/index.ts @@ -28,5 +28,9 @@ export const chargeCountApi = { chargeCountInfo: async (data: chargeCountVO) => { return await request.post({ url: `/cloud/home/chargeCount`, data }) }, + // 站外充电次数信息 + outChargeCountInfo: async (data: chargeCountVO) => { + return await request.post({ url: `/cloud/home/outChargeCount`, data }) + }, } diff --git a/src/api/system/statisticsManagement/stationRevenueStatistics/index.ts b/src/api/system/statisticsManagement/stationRevenueStatistics/index.ts index de39996..24a34ac 100644 --- a/src/api/system/statisticsManagement/stationRevenueStatistics/index.ts +++ b/src/api/system/statisticsManagement/stationRevenueStatistics/index.ts @@ -25,5 +25,12 @@ export const swapRevenueCountApi = { swapRevenueCountInfo: async (data: swapRevenueCountVO) => { return await request.post({ url: `/cloud/home/swapRevenueCount`, data }) }, + // + outChargeCountInfo: async (data: swapRevenueCountVO) => { + return await request.post({ url: `/cloud/home/outChargeCount`, data }) + }, + outChargeRevenueCountInfo: async (data: swapRevenueCountVO) => { + return await request.post({ url: `/cloud/home/outChargeRevenueCount`, data }) + }, } diff --git a/src/views/system/equipmentManagement/energyMeter/index.vue b/src/views/system/equipmentManagement/energyMeter/index.vue index e74ef3d..01fad9c 100644 --- a/src/views/system/equipmentManagement/energyMeter/index.vue +++ b/src/views/system/equipmentManagement/energyMeter/index.vue @@ -76,8 +76,11 @@ - + \ No newline at end of file diff --git a/src/views/system/statisticsManagement/chargeQuantityStatistics/index.vue b/src/views/system/statisticsManagement/chargeQuantityStatistics/index.vue new file mode 100644 index 0000000..9fb2edb --- /dev/null +++ b/src/views/system/statisticsManagement/chargeQuantityStatistics/index.vue @@ -0,0 +1,268 @@ + + + diff --git a/src/views/system/statisticsManagement/revenueStatistics/index.vue b/src/views/system/statisticsManagement/revenueStatistics/index.vue new file mode 100644 index 0000000..1f2bc9e --- /dev/null +++ b/src/views/system/statisticsManagement/revenueStatistics/index.vue @@ -0,0 +1,269 @@ + + + + \ No newline at end of file diff --git a/src/views/system/statisticsManagement/statisticsChargingTimesOutsidestation/index.vue b/src/views/system/statisticsManagement/statisticsChargingTimesOutsidestation/index.vue new file mode 100644 index 0000000..c2de449 --- /dev/null +++ b/src/views/system/statisticsManagement/statisticsChargingTimesOutsidestation/index.vue @@ -0,0 +1,274 @@ + + + + \ No newline at end of file