From d9fe04421de01be645725e6558ef1dd8f0494ef5 Mon Sep 17 00:00:00 2001 From: fanluyan <754122931@qq.com> Date: Mon, 5 Aug 2024 16:19:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=9B=BE=E7=89=87=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 | 9 + src/utils/api/index.js | 9 + src/views/picReport/index.vue | 307 ++++++++++++++++++++++++++++++++++ 4 files changed, 329 insertions(+) create mode 100644 src/views/picReport/index.vue diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue index 5a8372d..658573c 100644 --- a/src/components/Sidebar.vue +++ b/src/components/Sidebar.vue @@ -41,6 +41,10 @@ export default { path: "/msgAuth", name: "短信授权", }, + { + path: "/picReport", + name: "装置图片报表", + }, // { // path: "/deviceConfig", // name: "设备配置", diff --git a/src/router/index.js b/src/router/index.js index 67bef07..d7e7a63 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -88,6 +88,15 @@ const routes = [ keepAlive: true, }, }, + { + path: "/picReport", + component: () => import("../views/picReport/index.vue"), + name: "picReport", + meta: { + title: "装置图片报表", + keepAlive: true, + }, + }, { path: "/userlist", component: () => import("../views/userList/index.vue"), diff --git a/src/utils/api/index.js b/src/utils/api/index.js index 0f3cce2..31363e3 100644 --- a/src/utils/api/index.js +++ b/src/utils/api/index.js @@ -236,3 +236,12 @@ export function updateAuthApi(data) { data, }); } + +//图片报表 +export function picRportApi(data) { + return request({ + url: "/xymanager/terminal/statMaintain", + method: "get", + params: data, + }); +} diff --git a/src/views/picReport/index.vue b/src/views/picReport/index.vue new file mode 100644 index 0000000..f86f83d --- /dev/null +++ b/src/views/picReport/index.vue @@ -0,0 +1,307 @@ + + +