From 1b82ef8e5a10df33ca89c0a42f4b82d194400768 Mon Sep 17 00:00:00 2001 From: fanluyan <754122931@qq.com> Date: Wed, 29 Nov 2023 16:26:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A6=86=E5=86=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 7 +- src/components/Sidebar.vue | 46 +- src/components/leftTree.vue | 117 +-- src/main.js | 1 + src/utils/api/index.js | 39 +- src/utils/request.js | 53 +- src/views/equipmentStatus/index.vue | 3 +- src/views/icing/index.vue | 628 ++++++++++++---- src/views/lineInformation/index.vue | 68 +- .../components/addPhotoDialog.vue | 3 + src/views/photographicDevice/index.vue | 347 ++++++++- src/views/towerInformation/index.vue | 141 +++- src/views/weather/index.vue | 671 +++++++++++++----- vue.config.js | 5 +- 14 files changed, 1656 insertions(+), 473 deletions(-) diff --git a/README.md b/README.md index 53030fa..3c3dc88 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,29 @@ -# my +# 覆冰项目 ## Project setup + ``` npm install ``` ### Compiles and hot-reloads for development + ``` npm run serve ``` ### Compiles and minifies for production + ``` npm run build ``` ### Lints and fixes files + ``` npm run lint ``` ### Customize configuration + See [Configuration Reference](https://cli.vuejs.org/config/). diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue index 0f50502..7d5eb61 100644 --- a/src/components/Sidebar.vue +++ b/src/components/Sidebar.vue @@ -63,31 +63,31 @@ export default { index: "/icing", title: "覆冰监测", }, - { - icon: "el-icon-s-marketing", - index: "/equipmentStatus", - title: "设备状态", - }, // { - // icon: "el-icon-files", - // index: "/property", - // title: "资产管理", - // subs: [ - // { - // index: "/lineInformation", - // title: "线路管理", - // }, - // { - // index: "/towerInformation", - // title: "杆塔管理", - // }, - - // { - // index: "/photographicDevice", - // title: "监测终端管理", - // }, - // ], + // icon: "el-icon-s-marketing", + // index: "/equipmentStatus", + // title: "设备状态", // }, + { + icon: "el-icon-files", + index: "/property", + title: "资产管理", + subs: [ + { + index: "/lineInformation", + title: "线路管理", + }, + { + index: "/towerInformation", + title: "杆塔管理", + }, + + { + index: "/photographicDevice", + title: "监测终端管理", + }, + ], + }, ], }; }, diff --git a/src/components/leftTree.vue b/src/components/leftTree.vue index ccec156..00ba637 100644 --- a/src/components/leftTree.vue +++ b/src/components/leftTree.vue @@ -1,5 +1,22 @@