Browse Source

对接脱硫系统-设备监控页面

dev_fgd_scr
selia-zx 3 weeks ago
parent
commit
4a6ef2ee9b
  1. 4
      .env.development
  2. 1
      src/assets/icons/svg/denitrification.svg
  3. 1
      src/assets/icons/svg/desulfurization.svg
  4. BIN
      src/assets/images/flowchart.png
  5. BIN
      src/assets/images/hot-icon1.png
  6. BIN
      src/assets/images/hot-icon2.png
  7. BIN
      src/assets/images/hot-icon3.png
  8. BIN
      src/assets/images/hot-icon4.png
  9. BIN
      src/assets/images/monitor-border.png
  10. BIN
      src/assets/images/monitor-hot.png
  11. 26
      src/store/modules/permission.js
  12. 1387
      src/views/desulfurization/desMonitor/desMonitorCenter.vue
  13. 20
      src/views/desulfurization/desMonitor/index.vue
  14. 0
      src/views/desulfurization/energyAnalysis/index.vue

4
.env.development

@ -7,9 +7,9 @@ ENV = 'development'
# 开发环境
# VUE_APP_BASE_API = '/dev-api'
# 后台
# VUE_APP_BASE_API = 'http://192.168.1.222:8080'
VUE_APP_BASE_API = 'http://192.168.1.222:8080'
# 梅州云端
VUE_APP_BASE_API = 'http://106.55.173.225:8091'
# VUE_APP_BASE_API = 'http://106.55.173.225:8091'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true

1
src/assets/icons/svg/denitrification.svg

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1777360300715" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6462" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M1007.2 133.6c-5.2 4.2-6.5 8.3-6.1 14.7 1.1 16-2.9 30.4-16.9 40.1-7 4.8-14.8 7-23.2 8.1-12.6 1.8-25.3 1.1-37.6-2-20.6-5.5-39.1-21.6-37-50.1l-0.6-0.1-0.5 0.2c-6.5 16.3-21.9 24.5-41.5 21.9-9.3-1-18.3-3.3-27-6.8-3.6-1.5-6.3-1-9.5 1.5-12.9 10.1-27 17.7-43.5 20.1-8.2 1.2-16.6 0.1-24.3-3.2-1.8-0.7-3.2-1.8-4.2 1.1-5.5 15.1-17.1 24.4-30.7 31.2-4.9 2.4-6.4 5.1-6 10.5 0.7 7.7-0.2 15.4-4.6 22.3-1.4 2.3-3.3 4.3-5.7 5.6-6.7 3.7-8.8 2.7-9.8-4.8-3.4-24.6-4.4-49.2 1.4-73.6 2.6-10.9 7.1-21 15.8-28.5 2.1-1.8 2.6-3.9 3.1-6.5 2.8-16.7 8.4-32.4 19.6-45.4 17-19.6 39.2-26.4 64.1-25.2 6.9 0.3 10.9-1 14.9-7.1 18.8-28.5 49.5-40 82.3-31.5 4.5 1.4 9.4 0.9 13.6-1.3 15.3-7.6 31.4-12.8 48.6-13.8 33.3-1.8 55.7 12.5 68.9 43.4 5.4 12.7 8.3 26.3 11.8 39.5 4.4 16.2-2.9 29.7-15.4 39.7zM736.3 276.4c-0.2 94.5-0.1 189-0.3 283.4 0 4.9 1.1 7.6 5.9 9.9 34.1 16.4 68 33.4 102.1 50 4.2 2.1 5.4 4.4 5.4 9-0.1 125.9-0.1 251.8 0 377.7 0 5.1-1 6.6-6.3 6.6-278.9-0.1-557.8-0.1-836.7 0-5.2 0-6.4-1.3-6.4-6.5 0.1-243.4 0.1-486.8 0-730.2 0-5.6 1.4-6.9 6.8-6.9 40 0.2 80 0.1 120 0 3.7 0 7.4 0.9 10.7 2.6 147.1 72.5 294.2 144.9 441.4 217.3 1.8 0.9 3.7 1.7 6.5 3v-7.9c0-94.1 0.1-188.1-0.2-282.2 0-6.3 1.8-7.6 7.6-7.4 14.5 0.4 29 0.3 43.5 0 4.3-0.1 5.6 1 5.6 5.5-0.2 20.7 0.1 41.5-0.2 62.2-0.1 5.4 1 7.1 6.7 7 26.9-0.4 53.9 0 80.8-0.3 5.5 0.1 7.1 1.3 7.1 7.2z m-566 370.9c0-5.4-1.6-6.4-6.6-6.4-20.9 0.3-41.8 0.3-62.8 0-5-0.1-6.6 1-6.5 6.4 0.2 47.5 0.1 95.1 0.1 142.6s0.1 95.1-0.1 142.6c0 5.1 1.4 6.2 6.2 6.1 21.1-0.3 42.2-0.3 63.4 0 4.7 0 6.3-0.9 6.3-6.1-0.2-95-0.2-190.1 0-285.2z m107.2-6.3c-21.1 0.2-42.2 0.3-63.4 0-5.1-0.1-6.6 1.1-6.5 6.4 0.2 47.3 0.1 94.7 0.1 142 0 47.8 0 95.5-0.1 143.2 0 4.4 0.6 6.2 5.6 6.1 21.5-0.3 43.1-0.2 64.6 0 4.3 0 5.6-1 5.6-5.5-0.1-95.5-0.1-191 0-286.5 0.1-5-1.5-5.8-5.9-5.7z m119.2 5.1c0-4.3-1.3-5.1-5.3-5.1-21.3 0.2-42.7 0.3-64-0.1-5.9-0.1-6.6 1.9-6.6 7.1 0.2 47.3 0.1 94.7 0.1 142s0.1 94.7-0.2 142c0 5.8 1.6 6.9 6.9 6.8 21.1-0.3 42.3-0.2 63.4 0 4.2 0 5.6-0.9 5.6-5.5 0-95.8 0-191.5 0.1-287.2z" p-id="6463"></path></svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

1
src/assets/icons/svg/desulfurization.svg

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1777360269810" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4784" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M480 418.88H246.08A84.8 84.8 0 0 1 160 337.28v-160A84.8 84.8 0 0 1 246.08 96H771.2a84.8 84.8 0 0 1 87.36 81.6v160a84.8 84.8 0 0 1-87.36 81.6z m29.44-54.72h262.4a27.84 27.84 0 0 0 29.12-26.88v-160a27.84 27.84 0 0 0-29.12-26.88H246.08a27.84 27.84 0 0 0-29.12 26.88v160a27.84 27.84 0 0 0 29.12 26.88z m104-32l-80-83.2a32 32 0 0 0-40.64 0l-92.8 82.88a32 32 0 0 1-40.96 0L277.44 243.84a17.28 17.28 0 0 1 5.76-27.52 32 32 0 0 1 36.8 4.8l42.56 44.8a32 32 0 0 0 40.96 0l91.52-84.48a32 32 0 0 1 40.96 0l77.44 80.64a32 32 0 0 0 41.6 0l44.8-46.72A32 32 0 0 1 736 212.8a16.64 16.64 0 0 1 5.76 27.2l-86.08 90.56a32 32 0 0 1-42.88 0.32z m132.16 449.28h43.52v73.6H745.6z m0-88.96h43.52V768H745.6z m0 206.08H704V928h86.72v-59.2H745.6z m-221.44 0H672V928h-147.84z m-178.24 0h148.48V928h-148.48z m-72.96-29.76H229.44V928h86.72v-29.44H272.96z m-43.52-87.36h43.52v73.6H229.44z m0-88.96h43.52V768H229.44z m653.76-24l-93.44-74.88v-89.28h101.76c20.48 0 36.8-25.92 36.8-40V480c0-13.76-16.64-40.96-36.8-40.96H132.48c-20.48 0-36.8 11.84-36.8 25.92V480c0 13.76 16.64 24.96 36.8 24.96h96v88.64l-89.6 75.2c-7.68 5.44-1.92 14.08 8.96 14.08H272V505.6h100.48v353.92c0 5.76 6.4 9.92 14.4 9.92s14.72-4.48 14.72-9.92v-24.64h212.48v24.64c0 5.76 6.72 9.92 14.4 9.92s14.72-4.48 14.72-9.92v-355.2h102.08v178.24h128c12.16 0 17.28-8.64 9.92-14.08z" p-id="4785"></path></svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
src/assets/images/flowchart.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 KiB

BIN
src/assets/images/hot-icon1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

BIN
src/assets/images/hot-icon2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

BIN
src/assets/images/hot-icon3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

BIN
src/assets/images/hot-icon4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

BIN
src/assets/images/monitor-border.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

BIN
src/assets/images/monitor-hot.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

26
src/store/modules/permission.js

@ -226,6 +226,32 @@ const permission = {
// console.log("不满足条件");
}
// 脱硫系统
const result6 = sidebarRoutes.find((item) => item.name === "Desulfurization");
if (result6) {
// 定义要添加的多个路由对象数组
const additionalRoutes6 = [
{
path: "/desMonitorCenter",
name: "desMonitorCenter",
hidden: true,
component: () =>
import("@/views/desulfurization/desMonitor/desMonitorCenter"),
meta: { title: "实时监测", icon: "screen" },
},
];
// 循环添加额外的路由对象到各路由数组
additionalRoutes6.forEach((route) => {
sidebarRoutes.push(route);
rewriteRoutes.push(route);
asyncRoutes.push(route);
});
} else {
// console.log("不满足条件");
}
commit("SET_ROUTES", rewriteRoutes);
commit("SET_SIDEBAR_ROUTERS", constantRoutes.concat(sidebarRoutes));
commit("SET_DEFAULT_ROUTES", sidebarRoutes);

1387
src/views/desulfurization/desMonitor/desMonitorCenter.vue

File diff suppressed because it is too large Load Diff

20
src/views/desulfurization/desMonitor/index.vue

@ -0,0 +1,20 @@
<template>
<div></div>
</template>
<script>
export default {
created() {
this.toPage();
},
methods: {
toPage() {
console.log("需要跳转的")
//
this.$router.push("/desMonitorCenter")
},
},
};
</script>
<style></style>

0
src/views/desulfurization/energyAnalysis/index.vue

Loading…
Cancel
Save