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