From 71d8310e35239eef4508a03d7ef87f0dcc9ec839 Mon Sep 17 00:00:00 2001
From: j1ack <1209452658@qq.com>
Date: Thu, 4 Aug 2022 14:12:07 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/Brand.vue | 36 ------------------------------------
1 file changed, 36 deletions(-)
diff --git a/src/views/Brand.vue b/src/views/Brand.vue
index 18dcb3d..908a085 100644
--- a/src/views/Brand.vue
+++ b/src/views/Brand.vue
@@ -216,44 +216,8 @@ export default {
mounted() {
this.nowTimes();
this.getEchart();
- this.ajax2();
},
methods: {
-
- ajax2() {
- //jquery方式 get请求
- $.ajax({
- type:"GET",
- url:"http://192.168.31.128:8866/pk/openup/OpenStatisticsController/parkingRanking",
- data:{"authCode":"712110694681677824"},
- async:true,
- cache:true,
- dataType:"text",
- success:function (backdata,status,xmlHttpRequest) {
- console.log(backdata)
- },
- error:function (msg) {
- console.log(msg)
- }
- });
-
- //jquery方式 get请求
- $.ajax({
- type:"GET",
- url:"http://192.168.31.128:8866/pk/openup/OpenStatisticsController/todayTrafficStatistics",
- data:{"authCode":"712110694681677824"},
- async:true,
- cache:true,
- dataType:"text",
- success:function (backdata,status,xmlHttpRequest) {
- console.log(backdata)
- },
- error:function (msg) {
- console.log(msg)
- }
- });
-},
-
nowTimes() {
this.clear();
let dayjs = this.dayjs()
From dce3cd96d53c1a34e83e0e2ee96cb850c4a2364b Mon Sep 17 00:00:00 2001
From: j1ack <1209452658@qq.com>
Date: Thu, 4 Aug 2022 16:34:19 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E5=B7=A6=E5=8F=B3=E4=B8=A4=E8=BE=B9?=
=?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=8E=A5=E4=B8=8A?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/form.js | 51 +++--
src/components/companySummary/business.vue | 17 +-
src/components/companySummary/talent.vue | 224 +++++++++++++++------
src/components/ringPie/index.vue | 28 ++-
src/components/scrollArc/index.vue | 30 ++-
src/components/szBar/index.vue | 23 ++-
src/views/Brand.vue | 106 ++++++----
7 files changed, 324 insertions(+), 155 deletions(-)
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 @@