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 @@ + + +