diff --git a/src/api/report/visit.js b/src/api/report/visit.js index 8e82921..676e920 100644 --- a/src/api/report/visit.js +++ b/src/api/report/visit.js @@ -64,3 +64,12 @@ export function detailRpt(params) { }) } +export function teamtotalRpt(params) { + return request({ + url: '/api/admin/chart/team-total', + method: 'get', + params: params + }) +} + + diff --git a/src/views/active/activity.vue b/src/views/active/activity.vue index 2625a3c..19bd16e 100644 --- a/src/views/active/activity.vue +++ b/src/views/active/activity.vue @@ -27,13 +27,13 @@ - + -
+
{{scope.row["start_time"]+"-"+changeEndTime(scope.row["end_time"])}}
@@ -92,8 +92,8 @@ - - + + @@ -131,26 +131,35 @@ - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -206,11 +215,29 @@ + + + + + + + + + + + + + +
- diff --git a/src/views/dashboard/components/PanelGroup.vue b/src/views/dashboard/components/PanelGroup.vue index f4f1683..6a55cd6 100644 --- a/src/views/dashboard/components/PanelGroup.vue +++ b/src/views/dashboard/components/PanelGroup.vue @@ -5,11 +5,12 @@
预约参观
-
总预约人数/总入场人数
+
+
总预约人数 / 总入场人数
- +
团队:{{totaldata.visit_list.total.appointment.team}}
个人:{{totaldata.visit_list.total.appointment.person}}
@@ -17,7 +18,7 @@
- +
团队:{{totaldata.visit_list.total.enter.team}}
个人:{{totaldata.visit_list.total.enter.person}}
@@ -27,11 +28,14 @@ 核销比:{{toCaculateper(totaldata.visit_list.total.enter.total,totaldata.visit_list.total.appointment.total)}}
-
今日预约人数/今日入场人数
+ +
+ +
今日预约人数 / 今日入场人数
- +
团队:{{totaldata.visit_list.today.appointment.team}}
个人:{{totaldata.visit_list.today.appointment.person}}
@@ -39,7 +43,7 @@
- +
团队:{{totaldata.visit_list.today.enter.team}}
个人:{{totaldata.visit_list.today.enter.person}}
@@ -55,12 +59,13 @@
活动参加
+
-
总报名人数/总核销人数
+
总报名人数 / 总核销人数
- +
团队:{{totaldata.activity_list.total.appointment.team}}
个人:{{totaldata.activity_list.total.appointment.person}}
@@ -68,7 +73,7 @@
- +
团队:{{totaldata.activity_list.total.enter.team}}
个人:{{totaldata.activity_list.total.enter.person}}
@@ -78,24 +83,25 @@ 核销比:{{toCaculateper(totaldata.activity_list.total.enter.total,totaldata.activity_list.total.appointment.total)}}
-
今日报名人数/今日核销人数
+
+
今日报名人数 / 今日核销人数
-
-
- -
-
团队:{{totaldata.activity_list.today.appointment.team}}
-
个人:{{totaldata.activity_list.today.appointment.person}}
-
-
-
-
- -
-
团队:{{totaldata.activity_list.today.enter.team}}
-
个人:{{totaldata.activity_list.today.enter.person}}
-
-
+
+
+ +
+
团队:{{totaldata.activity_list.today.appointment.team}}
+
个人:{{totaldata.activity_list.today.appointment.person}}
+
+
+
+
+ +
+
团队:{{totaldata.activity_list.today.enter.team}}
+
个人:{{totaldata.activity_list.today.enter.person}}
+
+
@@ -104,40 +110,48 @@
停车预约
-
总预约数/总核销数
+
+
总预约数 / 总核销数
- +
-
-
+
0
+
0
- +
+
0
+
0
-
核销比:{{toCaculateper(totaldata.park_list.total.enter,totaldata.park_list.total.appointment)}}
-
今日预约数/今日核销数
+
+ 核销比:{{toCaculateper(totaldata.park_list.total.enter,totaldata.park_list.total.appointment)}}
+
+
今日预约数 / 今日核销数
- +
-
-
+
0
+
0
- +
+
0
+
0
-
核销比:{{toCaculateper(totaldata.park_list.today.enter,totaldata.park_list.today.appointment)}}
+
+ 核销比:{{toCaculateper(totaldata.park_list.today.enter,totaldata.park_list.today.appointment)}}
@@ -227,9 +241,9 @@ methods: { handleRoute(type) { this.$emit('handleRoute', type) - }, - toCaculateper(f1,f2){ - return ((f1 / (f2 == 0 ? 1 : f2)) * 100).toFixed(2) + "%" + }, + toCaculateper(f1, f2) { + return ((f1 / (f2 == 0 ? 1 : f2)) * 100).toFixed(2) + "%" } } } @@ -254,6 +268,8 @@ width: 100%; } + + .box { position: relative; width: 33%; @@ -263,8 +279,8 @@ box-shadow: 0px 8px 15px 0px rgba(212, 84, 32, 0.3100); border-radius: 8px; box-sizing: border-box; - padding: 1.25rem; opacity: 0.8; + padding: 1.25rem 0; .boxcontentsubtitle { color: #FFFFFF; @@ -289,6 +305,7 @@ font-family: Source Han Sans CN; font-weight: 400; color: #FFFFFF; + padding: 0 1.25rem; } .boxcontent { @@ -299,12 +316,14 @@ .boxline { width: 1px; height: 4.0625rem; - background: #FFFFFF; + background: #FFFFFF00; opacity: 0.3; margin-left: 2.0625rem; margin-right: 2.0625rem; } + + .boxcontentitem { display: flex; flex-direction: column; @@ -329,20 +348,59 @@ .box1 { background: linear-gradient(134deg, #D1AC7B, #DFC69C); + + .boxcline { + width: 100%; + background: #DFC69C; + height: 0.125rem; + margin-top: 1.25rem; + margin-bottom: 1.25rem; + } + } + + .bline { + background: linear-gradient(to right, rgba(255,255,255,0.3), rgba(255,255,255,0) 60%); + height: 0.25rem; + width: 100%; + margin-top: 1.25rem; } .box2 { background: linear-gradient(134deg, #9193BC, #B7B9D4); + + .boxcline { + width: 100%; + background: #B7B9D4; + height: 0.125rem; + margin-top: 1.25rem; + margin-bottom: 1.25rem; + } } .box3 { background: linear-gradient(-55deg, #F6A868, #F4C59E); + + .boxcline { + width: 100%; + background: #F4C59E; + height: 0.125rem; + margin-top: 1.25rem; + margin-bottom: 1.25rem; + } } .box4 { background: linear-gradient(-55deg, #64A48E, #9ECABB); + + .boxcline { + width: 100%; + background: #9ECABB; + height: 0.125rem; + margin-top: 1.25rem; + margin-bottom: 1.25rem; + } } .panel-group { diff --git a/src/views/report/activeRpt.vue b/src/views/report/activeRpt.vue index 5d64593..6ae145d 100644 --- a/src/views/report/activeRpt.vue +++ b/src/views/report/activeRpt.vue @@ -33,7 +33,7 @@ - + diff --git a/src/views/report/parkRpt.vue b/src/views/report/parkRpt.vue index 0e392e5..b9e071f 100644 --- a/src/views/report/parkRpt.vue +++ b/src/views/report/parkRpt.vue @@ -33,7 +33,7 @@ - +
diff --git a/src/views/report/visit/teamRpt.vue b/src/views/report/visit/teamRpt.vue new file mode 100644 index 0000000..6d91cbc --- /dev/null +++ b/src/views/report/visit/teamRpt.vue @@ -0,0 +1,147 @@ + + diff --git a/src/views/resource/visitspecial.vue b/src/views/resource/visitspecial.vue index 2a1923f..312bf75 100644 --- a/src/views/resource/visitspecial.vue +++ b/src/views/resource/visitspecial.vue @@ -23,21 +23,21 @@
- -
-
-
- {{item.value}} -
+ +
+
+
+ {{item.value}} +
{{scope.row[column.field]}}
- -
@@ -52,34 +52,26 @@ - - - - - - - - - - - - + + + + + + + + + + + +
预约时间 @@ -87,76 +79,67 @@
+ + + + + + +
- - - - - - - - - - - - - - + + + + + + + + + + + + + + -