diff --git a/src/api/form.js b/src/api/form.js index b40f7a2..1fcb59c 100644 --- a/src/api/form.js +++ b/src/api/form.js @@ -13,37 +13,46 @@ export const BiApi = { }) }, - // 广告位-id查询 - getInfo: (id) => { + // 开放统计-支付统计 + paymentStatistics: (query) => { return request({ - url: '/pk/ad/PkAdPosition/getInfo/' + id, - method: 'get' + url: '/pk/openup/OpenStatisticsController/paymentStatistics', + method: 'get', + params: query }) }, - - // 新增广告位 - addInfo: (data) => { + // 开放统计-收费车辆统计 + amountCartStatistics: (query) => { return request({ - url: '/pk/ad/PkAdPosition/add', - method: 'post', - data: data + url: '/pk/openup/OpenStatisticsController/amountCartStatistics', + method: 'get', + params: query }) }, - // 编辑广告位 - updateInfo: (data) => { + // 开放统计-24小时车流统计 + todayTrafficStatistics: (query) => { return request({ - url: '/pk/ad/PkAdPosition/edit', - method: 'put', - data: data + url: '/pk/openup/OpenStatisticsController/todayTrafficStatistics', + method: 'get', + params: query }) }, - // 删除广告位 - delInfo: (id) => { + // 开放统计-24小时车辆使用统计 + todayCarUseStatistics: (query) => { return request({ - url: '/pk/ad/PkAdPosition/remove/' + id, - method: 'delete' + url: '/pk/openup/OpenStatisticsController/todayCarUseStatistics', + method: 'get', + params: query }) - } -} + }, + // 开放统计-车辆使用统计 + useCarStatistics: (query) => { + return request({ + url: '/pk/openup/OpenStatisticsController/useCarStatistics', + method: 'get', + params: query + }) + }, +} \ No newline at end of file diff --git a/src/components/companySummary/business.vue b/src/components/companySummary/business.vue index 9f51bb3..90e323f 100644 --- a/src/components/companySummary/business.vue +++ b/src/components/companySummary/business.vue @@ -12,6 +12,12 @@ diff --git a/src/components/ringPie/index.vue b/src/components/ringPie/index.vue index 7e9f236..c4cb12c 100644 --- a/src/components/ringPie/index.vue +++ b/src/components/ringPie/index.vue @@ -32,22 +32,34 @@