From a173d8855b889c2f03c13be34196e5238deefbb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=BF=94=E5=AE=87-=E6=97=85=E7=AE=A1=E5=AE=B6?= <153298343@qq.com> Date: Wed, 1 Jun 2022 23:34:14 +0800 Subject: [PATCH] up --- package.json | 1 + src/api/active/activity.js | 19 +- src/api/report/visit.js | 9 + src/views/active/activity.vue | 42 +- src/views/active/checkOrder.vue | 31 +- src/views/order/activeorder.vue | 409 ++++++++++---------- src/views/order/parkorder.vue | 251 ++++++------ src/views/report/activeRpt.vue | 8 + src/views/report/parkRpt.vue | 8 + src/views/report/visit.vue | 9 + src/views/report/visit/ageRpt.vue | 8 + src/views/report/visit/infoRpt.vue | 8 + src/views/report/visit/monthRpt.vue | 8 + src/views/report/visit/seasonRpt.vue | 8 + src/views/report/visit/sexRpt.vue | 86 +++++ src/views/report/visit/timeRpt.vue | 8 + src/views/resource/parking.vue | 509 ++++++++++++------------- src/views/resource/parkrule.vue | 2 +- src/views/resource/visit/complaint.vue | 203 +++++----- 19 files changed, 914 insertions(+), 713 deletions(-) create mode 100644 src/api/report/visit.js create mode 100644 src/views/report/activeRpt.vue create mode 100644 src/views/report/parkRpt.vue create mode 100644 src/views/report/visit.vue create mode 100644 src/views/report/visit/ageRpt.vue create mode 100644 src/views/report/visit/infoRpt.vue create mode 100644 src/views/report/visit/monthRpt.vue create mode 100644 src/views/report/visit/seasonRpt.vue create mode 100644 src/views/report/visit/sexRpt.vue create mode 100644 src/views/report/visit/timeRpt.vue diff --git a/package.json b/package.json index 58c495e..2a351eb 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "view-design": "^4.7.0", "vue": "2.6.10", "vue-count-to": "^1.0.13", + "vue-qr": "^4.0.9", "vue-qrcode-reader": "^3.1.0", "vue-router": "3.0.6", "vuex": "3.1.0" diff --git a/src/api/active/activity.js b/src/api/active/activity.js index 8f20c26..906efc3 100644 --- a/src/api/active/activity.js +++ b/src/api/active/activity.js @@ -1,12 +1,12 @@ import request from '@/utils/request' - + export function listactive(params) { return request({ url: '/api/admin/activity/index', method: 'get', - params:params + params: params }) -} +} export function store(data) { return request({ @@ -15,6 +15,13 @@ export function store(data) { data }) } +export function codeUse(params) { + return request({ + url: '/api/mobile/activity/code-use', + method: 'get', + params: params + }) +} export function save(data) { return request({ @@ -42,12 +49,12 @@ export function get(id) { id } }) -} - +} + export function chanStatus(params) { return request({ url: '/api/admin/activity/status', method: 'get', - params:params + params: params }) } diff --git a/src/api/report/visit.js b/src/api/report/visit.js new file mode 100644 index 0000000..22cdae0 --- /dev/null +++ b/src/api/report/visit.js @@ -0,0 +1,9 @@ +import request from '@/utils/request' + +export function sexRpt(params) { + return request({ + url: '/api/admin/chart/sex', + method: 'get', + params: params + }) +} diff --git a/src/views/active/activity.vue b/src/views/active/activity.vue index 33a5b0a..2df5d2b 100644 --- a/src/views/active/activity.vue +++ b/src/views/active/activity.vue @@ -31,11 +31,14 @@ style="margin-left: 10px;">下架 +
{{scope.row["start_time"]+"-"+changeEndTime(scope.row["end_time"])}}
+
上架中 @@ -213,11 +216,18 @@ + + +
+ +
+
- \ No newline at end of file diff --git a/src/views/report/parkRpt.vue b/src/views/report/parkRpt.vue new file mode 100644 index 0000000..02409e3 --- /dev/null +++ b/src/views/report/parkRpt.vue @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/src/views/report/visit.vue b/src/views/report/visit.vue new file mode 100644 index 0000000..569a535 --- /dev/null +++ b/src/views/report/visit.vue @@ -0,0 +1,9 @@ + + + + + diff --git a/src/views/report/visit/ageRpt.vue b/src/views/report/visit/ageRpt.vue new file mode 100644 index 0000000..02409e3 --- /dev/null +++ b/src/views/report/visit/ageRpt.vue @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/src/views/report/visit/infoRpt.vue b/src/views/report/visit/infoRpt.vue new file mode 100644 index 0000000..02409e3 --- /dev/null +++ b/src/views/report/visit/infoRpt.vue @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/src/views/report/visit/monthRpt.vue b/src/views/report/visit/monthRpt.vue new file mode 100644 index 0000000..02409e3 --- /dev/null +++ b/src/views/report/visit/monthRpt.vue @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/src/views/report/visit/seasonRpt.vue b/src/views/report/visit/seasonRpt.vue new file mode 100644 index 0000000..02409e3 --- /dev/null +++ b/src/views/report/visit/seasonRpt.vue @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/src/views/report/visit/sexRpt.vue b/src/views/report/visit/sexRpt.vue new file mode 100644 index 0000000..d40d829 --- /dev/null +++ b/src/views/report/visit/sexRpt.vue @@ -0,0 +1,86 @@ + + diff --git a/src/views/report/visit/timeRpt.vue b/src/views/report/visit/timeRpt.vue new file mode 100644 index 0000000..02409e3 --- /dev/null +++ b/src/views/report/visit/timeRpt.vue @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/src/views/resource/parking.vue b/src/views/resource/parking.vue index d7af5d5..fc5305a 100644 --- a/src/views/resource/parking.vue +++ b/src/views/resource/parking.vue @@ -4,125 +4,117 @@
-
- -
- - - -
+
+ +
+ +
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +