From 6a2c75481145aab5adc1d8947cf6ea0e4649b846 Mon Sep 17 00:00:00 2001
From: lonewolfyx <877085893@qq.com>
Date: Tue, 14 Jan 2025 11:01:47 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E7=BB=BC=E5=90=88?=
=?UTF-8?q?=E6=9F=A5=E8=AF=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package.json | 2 +-
src/api/RegistVisitApi/RegistVisitApi.js | 10 +
.../components/CategorySummaryDimension.vue | 95 ++++
.../components/LatitudeAggregator.vue | 95 ++++
src/views/Composite/index.vue | 474 ++++++++++++++++++
src/views/PoliceWork/RegisterVisit/index.vue | 3 +-
6 files changed, 677 insertions(+), 2 deletions(-)
create mode 100644 src/views/Composite/components/CategorySummaryDimension.vue
create mode 100644 src/views/Composite/components/LatitudeAggregator.vue
create mode 100644 src/views/Composite/index.vue
diff --git a/package.json b/package.json
index 560a453..7010430 100644
--- a/package.json
+++ b/package.json
@@ -32,7 +32,7 @@
"crypto-js": "^4.2.0",
"dayjs": "^1.11.13",
"echarts": "^5.5.0",
- "element-plus": "^2.8.3",
+ "element-plus": "^2.9.3",
"file-saver": "^2.0.5",
"fuse.js": "^6.6.2",
"guodu-data-panel": "^0.0.12",
diff --git a/src/api/RegistVisitApi/RegistVisitApi.js b/src/api/RegistVisitApi/RegistVisitApi.js
index 5a80627..ca565ee 100644
--- a/src/api/RegistVisitApi/RegistVisitApi.js
+++ b/src/api/RegistVisitApi/RegistVisitApi.js
@@ -140,4 +140,14 @@ export const getVisitHourTrend = () => {
method: 'get',
url: '/visiting/visit/stat_hour',
})
+}
+
+// 获取综合查询饼图与趋势图
+export const getVisitPieAndTrend = (data) => {
+ return request({
+ method: 'post',
+ url: '/visiting/visit/unify_stat',
+ data: data,
+ isEncrypt: false
+ })
}
\ No newline at end of file
diff --git a/src/views/Composite/components/CategorySummaryDimension.vue b/src/views/Composite/components/CategorySummaryDimension.vue
new file mode 100644
index 0000000..4ece4e6
--- /dev/null
+++ b/src/views/Composite/components/CategorySummaryDimension.vue
@@ -0,0 +1,95 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/Composite/components/LatitudeAggregator.vue b/src/views/Composite/components/LatitudeAggregator.vue
new file mode 100644
index 0000000..60ad96f
--- /dev/null
+++ b/src/views/Composite/components/LatitudeAggregator.vue
@@ -0,0 +1,95 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/Composite/index.vue b/src/views/Composite/index.vue
new file mode 100644
index 0000000..fa63689
--- /dev/null
+++ b/src/views/Composite/index.vue
@@ -0,0 +1,474 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+
+
+
+
+
+
+
+
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+ {{ dayjs(scope.row.visitTime).format('YYYY-MM-DD hh:mm:ss') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 详情
+
+
+
+
+
+ 打印
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/PoliceWork/RegisterVisit/index.vue b/src/views/PoliceWork/RegisterVisit/index.vue
index 3008cf7..2181dcd 100644
--- a/src/views/PoliceWork/RegisterVisit/index.vue
+++ b/src/views/PoliceWork/RegisterVisit/index.vue
@@ -63,7 +63,7 @@
-
+
导入
@@ -152,6 +152,7 @@ import DictTag from '@/components/DictTag/index.vue';
import dayjs from 'dayjs';
import Upload from '@/views/PoliceWork/RegisterVisit/components/upload.vue';
import Print from '@/views/PoliceWork/RegisterVisit/print.vue';
+import {View,Upload as IconUpload} from '@element-plus/icons-vue';
const {proxy} = getCurrentInstance();