From ce73915e3f9316f563a90882c2e640d479be0732 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=AD=E6=89=BF?= Date: Tue, 8 Apr 2025 17:26:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=BB=9F=E8=AE=A1=E6=8A=A5?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Sidebar.vue | 4 + src/router/index.js | 12 + src/utils/api/index.js | 9 + src/views/statisticalReport/index.vue | 575 ++++++++++++++++++++++++++ 4 files changed, 600 insertions(+) create mode 100644 src/views/statisticalReport/index.vue diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue index ae15b7e..2cb2351 100644 --- a/src/components/Sidebar.vue +++ b/src/components/Sidebar.vue @@ -127,6 +127,10 @@ export default { index: "/reportData", title: "数据报表", }, + { + index: "/statisticalReport", + title: "统计报表", + } ], }, { diff --git a/src/router/index.js b/src/router/index.js index 033cbe6..11bccfb 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -273,6 +273,18 @@ const routes = [ name: "icing", meta: { title: "覆冰监测", keepAlive: true, requiresAuth: true }, }, + //数据报表 + { + path: "/statisticalReport", + component: () => import("../views/statisticalReport/index.vue"), + name: "statisticalReport", + meta: { + title: "统计报表", + icon: "", + keepAlive: true, + requiresAuth: true, + }, + } ], }, { diff --git a/src/utils/api/index.js b/src/utils/api/index.js index da29936..a58e7d1 100644 --- a/src/utils/api/index.js +++ b/src/utils/api/index.js @@ -1051,3 +1051,12 @@ export function deletePresetApi(data) { }, }); } + +//统计报表查询 +export function getStatisticalReport(data){ + return request({ + url: "/xymanager/getPhotoStat", + method: "post", + data + }); +} \ No newline at end of file diff --git a/src/views/statisticalReport/index.vue b/src/views/statisticalReport/index.vue new file mode 100644 index 0000000..3b6c458 --- /dev/null +++ b/src/views/statisticalReport/index.vue @@ -0,0 +1,575 @@ + + + + \ No newline at end of file