Browse Source

Merge branch 'master' into dev

yangjing504259548 7 months ago
parent
commit
c1420ff236
28 changed files with 602 additions and 102 deletions
  1. 29 0
      src/styles/element-ui.scss
  2. 52 2
      src/views/dataBoard/header/children/menu.vue
  3. 21 17
      src/views/dataBoard/smartSewage/components/map.vue
  4. 1 1
      src/views/dataBoard/smartSewage/components/sewageStatistics.vue
  5. 3 3
      src/views/dataBoard/smartSewage/index.vue
  6. 9 3
      src/views/dataBoard/smartSewage/mapUtil/graphic.js
  7. 3 6
      src/views/dataBoard/smartSewage/mapUtil/index.js
  8. 1 1
      src/views/dataBoard/smartSewage/mapUtil/layer.js
  9. 3 12
      src/views/dataBoard/smartSewage/mapUtil/query.js
  10. 2 2
      src/views/dataBoard/smartTech/components/searchTree.vue
  11. 16 8
      src/views/dataBoard/smartTech/components/tech.vue
  12. 48 12
      src/views/dataBoard/smartTech/config/craftConfig.js
  13. 65 0
      src/views/dataBoard/smartTech/config/craftConfig/badongCraftConfig.js
  14. 2 2
      src/views/dataBoard/smartTech/config/craftConfig/cidaCraftConfig.js
  15. 65 0
      src/views/dataBoard/smartTech/config/craftConfig/heilongtanCraftConfig.js
  16. 2 2
      src/views/dataBoard/smartTech/config/craftConfig/kuanyuCraftConfig.js
  17. 65 0
      src/views/dataBoard/smartTech/config/craftConfig/leyueCraftConfig.js
  18. 2 2
      src/views/dataBoard/smartTech/config/craftConfig/maliCraftConfig.js
  19. 2 2
      src/views/dataBoard/smartTech/config/craftConfig/reheCraftConfig.js
  20. 65 0
      src/views/dataBoard/smartTech/config/craftConfig/tieluCraftConfig.js
  21. 2 2
      src/views/dataBoard/smartTech/config/craftConfig/wangsuoCraftConfig.js
  22. 2 2
      src/views/dataBoard/smartTech/config/craftConfig/yonglangCraftConfig.js
  23. 0 0
      src/views/dataBoard/smartTech/images/人工湿地.gif
  24. 0 0
      src/views/dataBoard/smartTech/images/转盘滤布滤池.gif
  25. 133 17
      src/views/reportBus/config/index.ts
  26. 5 2
      src/views/reportBus/repOperation/widget.vue
  27. 3 3
      src/views/zhpt/basicInfoManage/sewagePlantMng/formDialog.vue
  28. 1 1
      src/views/zhpt/basicInfoManage/sewagePlantMng/widget.vue

+ 29 - 0
src/styles/element-ui.scss

@@ -1,5 +1,34 @@
 // cover some element-ui styles
 
+
+.eloption {
+  background: rgba(1, 46, 88, 0.9);
+  border: none;
+  z-index: 999;
+  width: 120px;
+  .el-menu {
+    background: rgba(1, 46, 88, 0.9);
+    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.24);
+    border: none;
+    min-width: 120px;
+    .el-menu-item {
+      background: rgba(1, 46, 88, 0.9);
+      color: #CEE7FF;
+      text-align: center;
+      &:hover,
+      &.is-active {
+        border: none; 
+        outline: none;
+        color: #00FCFF;
+        background: url(~@/assets/dataBoard/images/header-hover.png) no-repeat;
+        background-size: 100% 100%;
+        background-origin: content-box;
+      }
+    }
+  }
+}
+
+
 .el-breadcrumb__inner,
 .el-breadcrumb__inner a {
   font-weight: 400 !important;

+ 52 - 2
src/views/dataBoard/header/children/menu.vue

@@ -3,24 +3,74 @@
     <el-menu-item v-for="(item,index) in menuItems" :key="index" :index="item.path">
       <span v-cloak>{{item.label}}</span>
     </el-menu-item>
+    <template v-if="elMenus.length">
+      <el-submenu popper-class='eloption'>
+        <template slot="title">更多</template>
+        <el-menu-item v-for="(e, i) in elMenus" :key="i" :index="e.path">
+          <span v-cloak>{{e.label}}</span>
+        </el-menu-item>
+      </el-submenu>
+    </template>
   </el-menu>
 </template>
 
 <script>
 export default {
+  data() {
+    return {
+      elMenus: []
+    }
+  },
   computed: {
     currentMenu() {
       return this.$route.name
     },
     menuItems() {
       // 驾驶舱路由(权限)
-      return this.$store.state.routeSetting?.dynamicRoutes?.cockpit || []
+      const menus = this.$store.state.routeSetting?.dynamicRoutes?.cockpit
+      let menuItems = [...menus]
+      console.log('大屏菜单', menuItems)
+      const menuLimit = 6
+      if(menuItems.length > menuLimit) {
+        this.elMenus = menuItems.splice(menuLimit, menuItems.length - menuLimit) 
+      }
+      return menuItems
+      // return this.$store.state.routeSetting?.dynamicRoutes?.cockpit || []
     }
   }
 }
 </script>
 
 <style lang="scss" scoped>
+/deep/.el-submenu {
+  &.is-active {
+      border: none; 
+      outline: none;
+      background: url(~@/assets/dataBoard/images/header-hover.png) no-repeat;
+      background-size: 100% 100%;
+      background-origin: content-box;
+      .el-submenu__title {
+        color: #00FCFF;
+      }
+  }
+  .el-submenu__title {
+    font-family: Source Han Sans CN;
+    font-weight: 500;
+    font-size: 16px;
+    height: 47px;
+    line-height: 46px;
+    margin: 0 5px;
+    color: #CEE7FF;
+    &:hover {
+      border: none; 
+      outline: none;
+      color: #00FCFF;
+      background: url(~@/assets/dataBoard/images/header-hover.png) no-repeat;
+      background-size: 100% 100%;
+      background-origin: content-box;
+    }
+  }
+}
 .el-menu-page {
   display: inline-block;
   background-color: transparent;
@@ -45,7 +95,7 @@ export default {
     }
     &:not(.is-disabled):hover,
     &.is-active {
-      border: none;
+      border: none; 
       outline: none;
       color: #00FCFF;
       background: url(~@/assets/dataBoard/images/header-hover.png) no-repeat;

+ 21 - 17
src/views/dataBoard/smartSewage/components/map.vue

@@ -18,39 +18,43 @@ export default {
     },
     methods: {
         createMap() {
-            // 加载完后,定位污水厂点
+            // 地图加载完后,定位污水厂点
             const afterLoad = () => {
                 const url = `${mapServerUrl}/${layerId.wsc}`
-                this.mapUtil.queryUtil.sqlQuery(url).then(this.setMapPoint.bind(this))
+                this.mapUtil.queryUtil.sqlQuery(url).then(this.setSewagePoint.bind(this))
             }
-            const mapConfig = { dark: true, afterLoad }
+            const mapConfig = { dark: true, afterLoad } // 地图参数
             this.mapUtil = new MapUtil(this.mapContainerId, mapConfig)
         },
-        setMapPoint(res) {
-            this.data = res.features.map(({ attributes }) => {
+        setSewagePoint(res) {
+            const resData = res.features.map(({ attributes }) => {
                 return { name: attributes['NAME'], coors: [attributes['X'], attributes['Y']] }
             })
-            this.setData()
-        },
-        setData(data) {
-            let features = [], baseImgFeatures = [];
-            this.data.forEach(({ name, coors }) => {
+            let features = [], baseImgFeatures = [], nameFeatures = [];
+            console.log('污水厂的数据', resData)
+            resData.forEach(({ name, coors }) => {
                 // 背景
-                const style1 = {
+                const style_img = {
                     point: { pic: flowPng, height:'30px', width:'69px', yoffset:'65px' }
                 }
-                const baseGraphicParams = { type: GraphicUtil.GTYPE.PIC, style: style1, coors }
+                const baseGraphicParams = { type: GraphicUtil.GTYPE.PIC, style: style_img, coors }
                 baseImgFeatures.push(this.mapUtil.graphicUtil.getGraphic(baseGraphicParams))
+                // 名称
+                console.log('标注名称', name)
+                const style_name = {
+                    point: { txt: name, yoffset:'-15px' }
+                }
+                const nameGraphicParams = { type: GraphicUtil.GTYPE.TXT, style: style_name, coors }
+                nameFeatures.push(this.mapUtil.graphicUtil.getGraphic(nameGraphicParams))
                 // 数值
-               const style2 = {
-                    point: { txt: '2.1 m³/h', yoffset:'60px' }
+                const style_value = {
+                    point: { txt: '0 m³/h', yoffset:'60px' }
                 }
-                const valueGraphicParams = { type: GraphicUtil.GTYPE.TXT, style: style2, coors }
+                const valueGraphicParams = { type: GraphicUtil.GTYPE.TXT, style: style_value, coors }
                 features.push(this.mapUtil.graphicUtil.getGraphic(valueGraphicParams))
             })
             //
-            this.mapUtil.graphicUtil.addGraphics(baseImgFeatures)
-            this.mapUtil.graphicUtil.addGraphics(features)
+            this.mapUtil.graphicUtil.addGraphics([...baseImgFeatures, ...features, ...nameFeatures])
         }
     },
     mounted() {

+ 1 - 1
src/views/dataBoard/smartSewage/components/sewageStatistics.vue

@@ -34,7 +34,7 @@
 </template>
 
 <script>
-import { CPTopPanel } from './CPTopPanel.vue'
+import CPTopPanel from './CPTopPanel.vue'
 export default {
   name: 'CategoryStatistics',
   components: { CPTopPanel },

+ 3 - 3
src/views/dataBoard/smartSewage/index.vue

@@ -276,8 +276,8 @@ export default {
   },
   mounted() {
     this.getScreenData()
-    this.getMonitorData()
-    this.timer = setInterval(this.getMonitorData, this.intervalTime)
+    // this.getMonitorData()
+    // this.timer = setInterval(this.getMonitorData, this.intervalTime)
   },
   destroyed() {
     this.timer && clearInterval(this.timer)
@@ -444,7 +444,7 @@ export default {
         //
         this.total = { num, ratio, total }
         // 顶部
-        this.setTopData(resObj)
+        // this.setTopData(resObj)
       }
       // 污泥处理情况、月污水处理和报警统计
       const sewageAndWarnningStatisMonthly = (res) => {

+ 9 - 3
src/views/dataBoard/smartSewage/mapUtil/graphic.js

@@ -29,11 +29,13 @@ export default class GraphicUtil {
     createLayer() {
         if(!this.layer) {
             this.layer = new this.GraphicLayer()
+        } else {
+            console.log('已有要素图层')
         }
     }
     // 添加要素图层
     addGraphicLayer() {
-        this.layer && this.mapview.map.add(this.layer)
+        this.layer && this.mapview.map.add(this.layer, -1)
     }
     // 移除要素图层
     removeGraphicLayer() {
@@ -66,7 +68,7 @@ export default class GraphicUtil {
     setGrometryEmpty(graphic) {
         const { geometry: { type } } = graphic
         switch(type) {
-            case GraphicUtil.POINT:
+            case GraphicUtil.GTYPE.POINT:
                 graphic.geometry.x = 0
                 graphic.geometry.y = 0
                 break
@@ -133,7 +135,11 @@ export default class GraphicUtil {
                     yoffset: point.yoffset || '10px',
                     xoffset: point.xoffset || '0px', 
                     verticalAlignment: 'bottom',
-                    font: { size: '14px', weight: '900' }
+                    font: {
+                        family: 'Arial Unicode MS',
+                        size: '14px', 
+                        weight: 'normal' // normal, bold, bolder, lighter
+                    } 
                 }
                 break
             case GraphicUtil.GTYPE.MARKER:

+ 3 - 6
src/views/dataBoard/smartSewage/mapUtil/index.js

@@ -54,12 +54,9 @@ export default class MapUtil {
         this.layerUtil = new LayerUtil(mapview)
         this.queryUtil = new QueryUtil()
         this.graphicUtil = new GraphicUtil(mapview)
-        // 构建图层
-        let conf = appconfig.isonline ? layerConf.online : layerConf.offline // 底图
-        conf = [
-            ...conf, 
-            ...layerConf.business
-        ] // 业务图层
+        // 离/在线图层
+        let conf = appconfig.isonline ? layerConf.online : layerConf.offline
+        conf = [ ...conf, ...layerConf.business ] // 业务图层
         const layerSource = conf.map(({ layername, visible }) => ({ ...appconfig.gisResource[layername], visible }))
         const layers = layerSource.map(({ type, config: [{ url, name }], visible }) => {
             return this.layerUtil.createLayer({ type, url, visible })

+ 1 - 1
src/views/dataBoard/smartSewage/mapUtil/layer.js

@@ -20,7 +20,7 @@ export default class layerUtil {
                 layer = new this.mapview[type](url, { visible })
                 break
             case layerUtil.LTYPE.DYNA:
-                // 去掉供水图层
+                // 隐藏供水图层
                 let sublayers = [
                     { id: 0, visible: false },
                     { id: 18, visible: true }

+ 3 - 12
src/views/dataBoard/smartSewage/mapUtil/query.js

@@ -22,19 +22,11 @@ export default class Query {
   // 综合查询(单图层)
   sqlQuery(url, sqlText = '1=1') {
     console.log('综合查询', url)
-    return new Promise(async resolve => {
+    return new Promise(resolve => {
       load(["esri/layers/FeatureLayer", "esri/config"]).then(async ([FeatureLayer, esriConfig]) => {
         setConfigRequest(esriConfig)
         var featureLayer = new FeatureLayer({ url });
-        await featureLayer
-          .queryFeatures({
-            where: sqlText, 
-            outFields: ["*"]
-          })
-          .then(results => {
-            
-            resolve(results);
-          });
+        featureLayer.queryFeatures({ where: sqlText, outFields: ["*"] }).then(resolve);
       });
     });
   }
@@ -47,10 +39,9 @@ function setConfigRequest(config) {
     // 排水分区
     "http://36.138.232.112:6080/arcgis/rest/services/PIPE_DCSW_CS/MapServer/23",
     "http://36.138.232.112:6080/arcgis/rest/services/PIPE_DCSW_CS/MapServer/23/query",
-
     // 污水厂
-    "http://36.138.232.112:6080/arcgis/rest/services/PIPE_DCSW_CS/FeatureServer/19",
     "http://36.138.232.112:6080/arcgis/rest/services/PIPE_DCSW_CS/MapServer/19",
+    "http://36.138.232.112:6080/arcgis/rest/services/PIPE_DCSW_CS/FeatureServer/19",
     "http://36.138.232.112:6080/arcgis/rest/services/PIPE_DCSW_CS/MapServer/19/query", // 查询
     "http://36.138.232.112:6080/arcgis/rest/services/PIPE_DCSW_CS/FeatureServer/19/applyEdits", // 新增、修改、删除
   ]

+ 2 - 2
src/views/dataBoard/smartTech/components/searchTree.vue

@@ -11,7 +11,7 @@
       icon-class="arrow-class"
       class="filter-tree"
       :data="data"
-      :node-key="id"
+      :node-key="nodekey"
       :props="defaultProps"
       default-expand-all
       :filter-node-method="filterNode"
@@ -42,7 +42,7 @@ export default {
     },
     placeholder: { default: "节点名称", type: String },
     treeLevel: { default: 0, type: Number | String },
-    nodekey: {default: 'id', type: String },
+    nodekey: { default: 'id', type: String },
   },
   data() {
     return {

+ 16 - 8
src/views/dataBoard/smartTech/components/tech.vue

@@ -636,8 +636,10 @@ export default {
             color: white;
             position: relative;
             content: '\2191';
-            left: -8px;
-            top: 88%;
+            font-size: 18px;
+            font-weight: bold;
+            left: -10px;
+            top: 50%;
             height: 20px;
             width: 20px;
           }
@@ -647,8 +649,10 @@ export default {
             color: white;
             position: relative;
             content: '\2193';
-            left: -8px;
-            top: 88%;
+            font-size: 18px;
+            font-weight: bold;
+            left: -10px;
+            top: 50%;
             height: 20px;
             width: 20px;
           }
@@ -663,8 +667,10 @@ export default {
             color: white;
             position: relative;
             content: '\2192';
-            top: -8px;
-            left: 88%;
+            font-size: 18px;
+            font-weight: bold;
+            top: 10px;
+            left: 50%;
             height: 20px;
             width: 20px;
           }
@@ -674,8 +680,10 @@ export default {
             color: white;
             position: relative;
             content: '\2190';
-            top: -8px;
-            left: 88%;
+            font-size: 18px;
+            font-weight: bold;
+            top: 10px;
+            left: 50%;
             height: 20px;
             width: 20px;
           }

+ 48 - 12
src/views/dataBoard/smartTech/config/craftConfig.js

@@ -12,6 +12,10 @@ import { config as kuanyuConfig } from './craftConfig/kuanyuCraftConfig'
 import { config as reheConfig } from './craftConfig/reheCraftConfig'
 import { config as yonglangConfig } from './craftConfig/yonglangCraftConfig'
 import { config as wangsuoConfig } from './craftConfig/wangsuoCraftConfig'
+import { config as badongConfig } from './craftConfig/badongCraftConfig'
+import { config as leyueConfig } from './craftConfig/leyueCraftConfig'
+import { config as heilongtanConfig } from './craftConfig/heilongtanCraftConfig'
+import { config as tieluConfig } from './craftConfig/tieluCraftConfig'
 
 export const config = [
   {
@@ -31,35 +35,67 @@ export const config = [
     title: false
   },
   {
-    name: '热河污水处理站',
+    name: '王所污水处理站',
     active: false,
     id: 'graphContainer3',
+    sewageId: 3,
+    config: wangsuoConfig,
+    title: false
+  },
+  {
+    name: '热河污水处理站',
+    active: false,
+    id: 'graphContainer4',
     sewageId: 4,
     config: reheConfig,
     title: false
   },
+  {
+    name: '麻栗污水处理站',
+    active: true,
+    id: 'graphContainer5',
+    sewageId: 5,
+    config: maliConfig,
+    title: true
+  },
   {
     name: '永郎污水处理站',
     active: false,
-    id: 'graphContainer4',
+    id: 'graphContainer6',
     sewageId: 6,
     config: yonglangConfig,
     title: false
   },
   {
-    name: '王所污水处理站',
+    name: '巴洞污水处理站',
     active: false,
-    id: 'graphContainer5',
-    sewageId: 3,
-    config: wangsuoConfig,
+    id: 'graphContainer7',
+    sewageId: 7,
+    config: badongConfig,
     title: false
   },
   {
-    name: '麻栗污水处理站',
-    active: true,
-    id: 'graphContainer',
-    sewageId: 5,
-    config: maliConfig,
-    title: true
+    name: '乐跃污水处理站',
+    active: false,
+    id: 'graphContainer8',
+    sewageId: 8,
+    config: leyueConfig,
+    title: false
   },
+  {
+    name: '黑龙潭污水处理站',
+    active: false,
+    id: 'graphContainer9',
+    sewageId: 9,
+    config: heilongtanConfig,
+    title: false
+  },
+  {
+    name: '铁炉污水处理站',
+    active: false,
+    id: 'graphContainer10',
+    sewageId: 10,
+    config: tieluConfig,
+    title: false
+  }
 ]

+ 65 - 0
src/views/dataBoard/smartTech/config/craftConfig/badongCraftConfig.js

@@ -0,0 +1,65 @@
+export const config = [
+  // 点
+  { 'type': 'point', 'id': 'm1p1', 'name': '基准点1', 'x': [0, 0], 'y': [0.5, 0] }, 
+  { 'type': 'point', 'id': 'm1p2', 'name': '基准点2', 'x': [0, 150], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p3', 'name': '基准点3', 'x': [0, 300], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p4', 'name': '基准点4', 'x': [0, 450], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p5', 'name': '基准点5', 'x': [0, 600], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p6', 'name': '基准点6', 'x': [0, 750], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p7', 'name': '基准点7', 'x': [0, 900], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p8', 'name': '基准点8', 'x': [0, 1040], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p10', 'name': '基准点10', 'x': [0, 1040], 'y': [0.8, 0] },
+  { 'type': 'point', 'id': 'm1p21', 'name': '基准点21', 'x': [0, 900], 'y': [0.8, 0] },
+  { 'type': 'point', 'id': 'm1p22', 'name': '基准点22', 'x': [0, 750], 'y': [0.8, 0] },
+  { 'type': 'point', 'id': 'm1p13', 'name': '基准点13', 'x': [0, 150], 'y': [0.2, 0] },
+  // 虚线点
+  { 'type': 'point', 'id': 'm1p31', 'name': '基准点31', 'x': [0, 300], 'y': [0.2, 0] },
+  { 'type': 'point', 'id': 'm1p15', 'name': '基准点15', 'x': [0, 450], 'y': [0.2, 0] },
+  { 'type': 'point', 'id': 'm1p16', 'name': '基准点16', 'x': [0, 900], 'y': [0.2, 0] },
+
+  { 'type': 'point', 'id': 'm1p17', 'name': '基准点17', 'x': [0, 520], 'y': [0.35, 0] },
+  { 'type': 'point', 'id': 'm1p18', 'name': '基准点18', 'x': [0, 820], 'y': [0.35, 0] },
+  { 'type': 'point', 'id': 'm1p19', 'name': '基准点19', 'x': [0, 520], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p20', 'name': '基准点20', 'x': [0, 820], 'y': [0.5, 0] },
+
+
+  // 线
+  { 'type': 'arrow', 'id': 'a1', 'from': 'm1p1', 'to': 'm1p8', 'style': 'strokeColor=#33f3fe;', 'flow': true },
+  { 'type': 'arrow', 'id': 'a3', 'from': 'm1p8', 'to': 'm1p10', 'style': 'strokeColor=#33f3fe;', 'flow': true },
+  { 'type': 'arrow', 'id': 'a4', 'from': 'm1p10', 'to': 'm1p21', 'style': 'strokeColor=#33f3fe;', 'flow': true },
+  { 'type': 'arrow', 'id': 'a5', 'from': 'm1p21', 'to': 'm1p22', 'style': 'strokeColor=#33f3fe;', 'flow': true },
+  // 虚线
+  { 'type': 'linedash', 'id': 'ld1', 'from': 'm1p2', 'to': 'm1p13', isVer: true, arrow: 'top' },
+
+  { 'type': 'linedash', 'id': 'ld3', 'from': 'm1p7', 'to': 'm1p16', isVer: true, arrow: 'top' },
+  { 'type': 'linedash', 'id': 'ld4', 'from': 'm1p16', 'to': 'm1p15', isVer: false, arrow: 'left'  },
+  { 'type': 'linedash', 'id': 'ld5', 'from': 'm1p15', 'to': 'm1p4', isVer: true, arrow: 'bottom' },
+
+  
+  { 'type': 'linedash', 'id': 'ld6', 'from': 'm1p20', 'to': 'm1p18', isVer: true },
+  { 'type': 'linedash', 'id': 'ld7', 'from': 'm1p18', 'to': 'm1p17', isVer: false, arrow: 'left' },
+  { 'type': 'linedash', 'id': 'ld9', 'from': 'm1p17', 'to': 'm1p19', isVer: true },
+  
+  { 'type': 'linedash', 'id': 'ld10', 'from': 'm1p13', 'to': 'm1p31', isVer: false },
+
+  // 图片
+  { 'type': 'image', 'id': 'm1i1', 'name': '格栅机', 'src': '格栅池.gif', 'text': '格栅机', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p2', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i2', 'name': '调节池', 'src': '调节池.gif', 'text': '调节池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p3', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i3', 'name': '厌氧池', 'src': '厌氧池.gif', 'text': '厌氧池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p4', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i4', 'name': '缺氧池', 'src': '缺氧池.gif', 'text': '缺氧池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p5', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i5', 'name': '好氧池', 'src': '好氧池.gif', 'text': '好氧池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p6', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i6', 'name': '二沉池', 'src': '二沉池.gif', 'text': '二沉池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p7', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i7', 'name': '转盘滤布滤池', 'src': '转盘滤布滤池.gif', 'text': '转盘滤布滤池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p8', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i17', 'name': '人工湿地', 'src': '人工湿地.gif', 'text': '人工湿地', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p10', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i19', 'name': '紫外消毒', 'src': '紫外线消毒渠.png', 'text': '紫外消毒', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p21', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  
+  { 'type': 'image', 'id': 'm1i8', 'name': '污泥池', 'text': '污泥池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p13', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 120, 'src': '储泥池.gif' },
+  
+  // 文字
+  { 'type': 'text', 'id': 'm1t1', 'text': '生活污水', 'from': 'm1p1', 'point': [0, 0.5], 'margin': { 'x': [0, 0], 'y': [0, -20] }},
+  { 'type': 'text', 'id': 'm1t2', 'text': '泥渣', 'from': 'm1p2', 'point': [0, 0.5], 'margin': { 'x': [0, 10], 'y': [-0.15, 0] }},
+  { 'type': 'text', 'id': 'm1t3', 'text': '污泥回流', 'from': 'm1p15', 'point': [0, 0.5], 'margin': { 'x': [0.2, 0], 'y': [0, -20] }},
+  { 'type': 'text', 'id': 'm1t4', 'text': '内部回流', 'from': 'm1p17', 'point': [0, 0.35], 'margin': { 'x': [0.1, 0], 'y': [0, -20] }},
+  { 'type': 'text', 'id': 'm1t5', 'text': '定期外运', 'from': 'm1p31', 'point': [0, 0.35], 'margin': { 'x': [0, 10], 'y': [0, -20] }},
+  { 'type': 'text', 'id': 'm1t6', 'text': '达标排放', 'from': 'm1p22', 'point': [0, 0.35], 'margin': { 'x': [0, -10], 'y': [0, -20] }},
+]

+ 2 - 2
src/views/dataBoard/smartTech/config/craftConfig/cidaCraftConfig.js

@@ -26,8 +26,8 @@ export const config = [
   { 'type': 'arrow', 'id': 'a4', 'from': 'm1p10', 'to': 'm1p12', 'style': 'strokeColor=#33f3fe;', 'flow': true },
   // 虚线
   { 'type': 'linedash', 'id': 'ld1', 'from': 'm1p5', 'to': 'm1p13', isVer: true },
-  { 'type': 'linedash', 'id': 'ld2', 'from': 'm1p13', 'to': 'm1p14', isVer: false },
-  { 'type': 'linedash', 'id': 'ld3', 'from': 'm1p14', 'to': 'm1p7', isVer: true, arrow: 'bottom' },
+  { 'type': 'linedash', 'id': 'ld2', 'from': 'm1p13', 'to': 'm1p14', isVer: false, arrow: 'left' },
+  { 'type': 'linedash', 'id': 'ld3', 'from': 'm1p14', 'to': 'm1p7', isVer: true },
 
   // 图片
   { 'type': 'image', 'id': 'm1i1', 'name': '格栅机', 'text': '格栅机', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p2', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100, 'src': '格栅池.gif' }, // 格栅池

+ 65 - 0
src/views/dataBoard/smartTech/config/craftConfig/heilongtanCraftConfig.js

@@ -0,0 +1,65 @@
+export const config = [
+  // 点
+  { 'type': 'point', 'id': 'm1p1', 'name': '基准点1', 'x': [0, 0], 'y': [0.5, 0] }, 
+  { 'type': 'point', 'id': 'm1p2', 'name': '基准点2', 'x': [0, 150], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p3', 'name': '基准点3', 'x': [0, 300], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p4', 'name': '基准点4', 'x': [0, 450], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p5', 'name': '基准点5', 'x': [0, 600], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p6', 'name': '基准点6', 'x': [0, 750], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p7', 'name': '基准点7', 'x': [0, 900], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p8', 'name': '基准点8', 'x': [0, 1040], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p10', 'name': '基准点10', 'x': [0, 1040], 'y': [0.8, 0] },
+  { 'type': 'point', 'id': 'm1p21', 'name': '基准点21', 'x': [0, 900], 'y': [0.8, 0] },
+  { 'type': 'point', 'id': 'm1p22', 'name': '基准点22', 'x': [0, 750], 'y': [0.8, 0] },
+  { 'type': 'point', 'id': 'm1p13', 'name': '基准点13', 'x': [0, 150], 'y': [0.2, 0] },
+  // 虚线点
+  { 'type': 'point', 'id': 'm1p31', 'name': '基准点31', 'x': [0, 300], 'y': [0.2, 0] },
+  { 'type': 'point', 'id': 'm1p15', 'name': '基准点15', 'x': [0, 450], 'y': [0.2, 0] },
+  { 'type': 'point', 'id': 'm1p16', 'name': '基准点16', 'x': [0, 900], 'y': [0.2, 0] },
+
+  { 'type': 'point', 'id': 'm1p17', 'name': '基准点17', 'x': [0, 520], 'y': [0.35, 0] },
+  { 'type': 'point', 'id': 'm1p18', 'name': '基准点18', 'x': [0, 820], 'y': [0.35, 0] },
+  { 'type': 'point', 'id': 'm1p19', 'name': '基准点19', 'x': [0, 520], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p20', 'name': '基准点20', 'x': [0, 820], 'y': [0.5, 0] },
+
+
+  // 线
+  { 'type': 'arrow', 'id': 'a1', 'from': 'm1p1', 'to': 'm1p8', 'style': 'strokeColor=#33f3fe;', 'flow': true },
+  { 'type': 'arrow', 'id': 'a3', 'from': 'm1p8', 'to': 'm1p10', 'style': 'strokeColor=#33f3fe;', 'flow': true },
+  { 'type': 'arrow', 'id': 'a4', 'from': 'm1p10', 'to': 'm1p21', 'style': 'strokeColor=#33f3fe;', 'flow': true },
+  { 'type': 'arrow', 'id': 'a5', 'from': 'm1p21', 'to': 'm1p22', 'style': 'strokeColor=#33f3fe;', 'flow': true },
+  // 虚线
+  { 'type': 'linedash', 'id': 'ld1', 'from': 'm1p2', 'to': 'm1p13', isVer: true, arrow: 'top' },
+
+  { 'type': 'linedash', 'id': 'ld3', 'from': 'm1p7', 'to': 'm1p16', isVer: true, arrow: 'top' },
+  { 'type': 'linedash', 'id': 'ld4', 'from': 'm1p16', 'to': 'm1p15', isVer: false, arrow: 'left'  },
+  { 'type': 'linedash', 'id': 'ld5', 'from': 'm1p15', 'to': 'm1p4', isVer: true, arrow: 'bottom' },
+
+  
+  { 'type': 'linedash', 'id': 'ld6', 'from': 'm1p20', 'to': 'm1p18', isVer: true },
+  { 'type': 'linedash', 'id': 'ld7', 'from': 'm1p18', 'to': 'm1p17', isVer: false, arrow: 'left' },
+  { 'type': 'linedash', 'id': 'ld9', 'from': 'm1p17', 'to': 'm1p19', isVer: true },
+  
+  { 'type': 'linedash', 'id': 'ld10', 'from': 'm1p13', 'to': 'm1p31', isVer: false },
+
+  // 图片
+  { 'type': 'image', 'id': 'm1i1', 'name': '格栅机', 'src': '格栅池.gif', 'text': '格栅机', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p2', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i2', 'name': '调节池', 'src': '调节池.gif', 'text': '调节池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p3', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i3', 'name': '厌氧池', 'src': '厌氧池.gif', 'text': '厌氧池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p4', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i4', 'name': '缺氧池', 'src': '缺氧池.gif', 'text': '缺氧池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p5', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i5', 'name': '好氧池', 'src': '好氧池.gif', 'text': '好氧池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p6', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i6', 'name': '二沉池', 'src': '二沉池.gif', 'text': '二沉池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p7', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i7', 'name': '转盘滤布滤池', 'src': '转盘滤布滤池.gif', 'text': '转盘滤布滤池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p8', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i17', 'name': '人工湿地', 'src': '人工湿地.gif', 'text': '人工湿地', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p10', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i19', 'name': '紫外消毒', 'src': '紫外线消毒渠.png', 'text': '紫外消毒', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p21', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  
+  { 'type': 'image', 'id': 'm1i8', 'name': '污泥池', 'text': '污泥池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p13', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 120, 'src': '储泥池.gif' },
+  
+  // 文字
+  { 'type': 'text', 'id': 'm1t1', 'text': '生活污水', 'from': 'm1p1', 'point': [0, 0.5], 'margin': { 'x': [0, 0], 'y': [0, -20] }},
+  { 'type': 'text', 'id': 'm1t2', 'text': '泥渣', 'from': 'm1p2', 'point': [0, 0.5], 'margin': { 'x': [0, 10], 'y': [-0.15, 0] }},
+  { 'type': 'text', 'id': 'm1t3', 'text': '污泥回流', 'from': 'm1p15', 'point': [0, 0.5], 'margin': { 'x': [0.2, 0], 'y': [0, -20] }},
+  { 'type': 'text', 'id': 'm1t4', 'text': '内部回流', 'from': 'm1p17', 'point': [0, 0.35], 'margin': { 'x': [0.1, 0], 'y': [0, -20] }},
+  { 'type': 'text', 'id': 'm1t5', 'text': '定期外运', 'from': 'm1p31', 'point': [0, 0.35], 'margin': { 'x': [0, 10], 'y': [0, -20] }},
+  { 'type': 'text', 'id': 'm1t6', 'text': '达标排放', 'from': 'm1p22', 'point': [0, 0.35], 'margin': { 'x': [0, -10], 'y': [0, -20] }},
+]

+ 2 - 2
src/views/dataBoard/smartTech/config/craftConfig/kuanyuCraftConfig.js

@@ -26,8 +26,8 @@ export const config = [
   { 'type': 'arrow', 'id': 'a4', 'from': 'm1p10', 'to': 'm1p12', 'style': 'strokeColor=#33f3fe;', 'flow': true },
   // 虚线
   { 'type': 'linedash', 'id': 'ld1', 'from': 'm1p5', 'to': 'm1p13', isVer: true },
-  { 'type': 'linedash', 'id': 'ld2', 'from': 'm1p13', 'to': 'm1p14', isVer: false },
-  { 'type': 'linedash', 'id': 'ld3', 'from': 'm1p14', 'to': 'm1p7', isVer: true, arrow: 'bottom' },
+  { 'type': 'linedash', 'id': 'ld2', 'from': 'm1p13', 'to': 'm1p14', isVer: false, arrow: 'left' },
+  { 'type': 'linedash', 'id': 'ld3', 'from': 'm1p14', 'to': 'm1p7', isVer: true },
 
   // 图片
   { 'type': 'image', 'id': 'm1i1', 'name': '格栅机', 'text': '格栅机', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p2', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100, 'src': '格栅池.gif' },

+ 65 - 0
src/views/dataBoard/smartTech/config/craftConfig/leyueCraftConfig.js

@@ -0,0 +1,65 @@
+export const config = [
+  // 点
+  { 'type': 'point', 'id': 'm1p1', 'name': '基准点1', 'x': [0, 0], 'y': [0.5, 0] }, 
+  { 'type': 'point', 'id': 'm1p2', 'name': '基准点2', 'x': [0, 150], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p3', 'name': '基准点3', 'x': [0, 300], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p4', 'name': '基准点4', 'x': [0, 450], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p5', 'name': '基准点5', 'x': [0, 600], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p6', 'name': '基准点6', 'x': [0, 750], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p7', 'name': '基准点7', 'x': [0, 900], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p8', 'name': '基准点8', 'x': [0, 1040], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p10', 'name': '基准点10', 'x': [0, 1040], 'y': [0.8, 0] },
+  { 'type': 'point', 'id': 'm1p21', 'name': '基准点21', 'x': [0, 900], 'y': [0.8, 0] },
+  { 'type': 'point', 'id': 'm1p22', 'name': '基准点22', 'x': [0, 750], 'y': [0.8, 0] },
+  { 'type': 'point', 'id': 'm1p13', 'name': '基准点13', 'x': [0, 150], 'y': [0.2, 0] },
+  // 虚线点
+  { 'type': 'point', 'id': 'm1p31', 'name': '基准点31', 'x': [0, 300], 'y': [0.2, 0] },
+  { 'type': 'point', 'id': 'm1p15', 'name': '基准点15', 'x': [0, 450], 'y': [0.2, 0] },
+  { 'type': 'point', 'id': 'm1p16', 'name': '基准点16', 'x': [0, 900], 'y': [0.2, 0] },
+
+  { 'type': 'point', 'id': 'm1p17', 'name': '基准点17', 'x': [0, 520], 'y': [0.35, 0] },
+  { 'type': 'point', 'id': 'm1p18', 'name': '基准点18', 'x': [0, 820], 'y': [0.35, 0] },
+  { 'type': 'point', 'id': 'm1p19', 'name': '基准点19', 'x': [0, 520], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p20', 'name': '基准点20', 'x': [0, 820], 'y': [0.5, 0] },
+
+
+  // 线
+  { 'type': 'arrow', 'id': 'a1', 'from': 'm1p1', 'to': 'm1p8', 'style': 'strokeColor=#33f3fe;', 'flow': true },
+  { 'type': 'arrow', 'id': 'a3', 'from': 'm1p8', 'to': 'm1p10', 'style': 'strokeColor=#33f3fe;', 'flow': true },
+  { 'type': 'arrow', 'id': 'a4', 'from': 'm1p10', 'to': 'm1p21', 'style': 'strokeColor=#33f3fe;', 'flow': true },
+  { 'type': 'arrow', 'id': 'a5', 'from': 'm1p21', 'to': 'm1p22', 'style': 'strokeColor=#33f3fe;', 'flow': true },
+  // 虚线
+  { 'type': 'linedash', 'id': 'ld1', 'from': 'm1p2', 'to': 'm1p13', isVer: true, arrow: 'top' },
+
+  { 'type': 'linedash', 'id': 'ld3', 'from': 'm1p7', 'to': 'm1p16', isVer: true, arrow: 'top' },
+  { 'type': 'linedash', 'id': 'ld4', 'from': 'm1p16', 'to': 'm1p15', isVer: false, arrow: 'left'  },
+  { 'type': 'linedash', 'id': 'ld5', 'from': 'm1p15', 'to': 'm1p4', isVer: true, arrow: 'bottom' },
+
+  
+  { 'type': 'linedash', 'id': 'ld6', 'from': 'm1p20', 'to': 'm1p18', isVer: true },
+  { 'type': 'linedash', 'id': 'ld7', 'from': 'm1p18', 'to': 'm1p17', isVer: false, arrow: 'left' },
+  { 'type': 'linedash', 'id': 'ld9', 'from': 'm1p17', 'to': 'm1p19', isVer: true },
+  
+  { 'type': 'linedash', 'id': 'ld10', 'from': 'm1p13', 'to': 'm1p31', isVer: false },
+
+  // 图片
+  { 'type': 'image', 'id': 'm1i1', 'name': '格栅机', 'src': '格栅池.gif', 'text': '格栅机', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p2', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i2', 'name': '调节池', 'src': '调节池.gif', 'text': '调节池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p3', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i3', 'name': '厌氧池', 'src': '厌氧池.gif', 'text': '厌氧池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p4', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i4', 'name': '缺氧池', 'src': '缺氧池.gif', 'text': '缺氧池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p5', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i5', 'name': '好氧池', 'src': '好氧池.gif', 'text': '好氧池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p6', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i6', 'name': '二沉池', 'src': '二沉池.gif', 'text': '二沉池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p7', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i7', 'name': '转盘滤布滤池', 'src': '转盘滤布滤池.gif', 'text': '转盘滤布滤池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p8', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i17', 'name': '人工湿地', 'src': '人工湿地.gif', 'text': '人工湿地', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p10', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i19', 'name': '紫外消毒', 'src': '紫外线消毒渠.png', 'text': '紫外消毒', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p21', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  
+  { 'type': 'image', 'id': 'm1i8', 'name': '污泥池', 'text': '污泥池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p13', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 120, 'src': '储泥池.gif' },
+  
+  // 文字
+  { 'type': 'text', 'id': 'm1t1', 'text': '生活污水', 'from': 'm1p1', 'point': [0, 0.5], 'margin': { 'x': [0, 0], 'y': [0, -20] }},
+  { 'type': 'text', 'id': 'm1t2', 'text': '泥渣', 'from': 'm1p2', 'point': [0, 0.5], 'margin': { 'x': [0, 10], 'y': [-0.15, 0] }},
+  { 'type': 'text', 'id': 'm1t3', 'text': '污泥回流', 'from': 'm1p15', 'point': [0, 0.5], 'margin': { 'x': [0.2, 0], 'y': [0, -20] }},
+  { 'type': 'text', 'id': 'm1t4', 'text': '内部回流', 'from': 'm1p17', 'point': [0, 0.35], 'margin': { 'x': [0.1, 0], 'y': [0, -20] }},
+  { 'type': 'text', 'id': 'm1t5', 'text': '定期外运', 'from': 'm1p31', 'point': [0, 0.35], 'margin': { 'x': [0, 10], 'y': [0, -20] }},
+  { 'type': 'text', 'id': 'm1t6', 'text': '达标排放', 'from': 'm1p22', 'point': [0, 0.35], 'margin': { 'x': [0, -10], 'y': [0, -20] }},
+]

+ 2 - 2
src/views/dataBoard/smartTech/config/craftConfig/maliCraftConfig.js

@@ -30,8 +30,8 @@ export const config = [
   { 'type': 'linedash', 'id': 'ld2', 'from': 'm1p13', 'to': 'm1p9', isVer: false, arrow: 'right' },
 
   { 'type': 'linedash', 'id': 'ld3', 'from': 'm1p7', 'to': 'm1p16', isVer: true },
-  { 'type': 'linedash', 'id': 'ld4', 'from': 'm1p16', 'to': 'm1p15', isVer: false },
-  { 'type': 'linedash', 'id': 'ld5', 'from': 'm1p15', 'to': 'm1p14', isVer: true, arrow: 'top' },
+  { 'type': 'linedash', 'id': 'ld4', 'from': 'm1p16', 'to': 'm1p15', isVer: false, arrow: 'left' },
+  { 'type': 'linedash', 'id': 'ld5', 'from': 'm1p15', 'to': 'm1p14', isVer: true },
   
 
   // 图片

+ 2 - 2
src/views/dataBoard/smartTech/config/craftConfig/reheCraftConfig.js

@@ -26,8 +26,8 @@ export const config = [
   { 'type': 'arrow', 'id': 'a4', 'from': 'm1p10', 'to': 'm1p12', 'style': 'strokeColor=#33f3fe;', 'flow': true },
   // 虚线
   { 'type': 'linedash', 'id': 'ld1', 'from': 'm1p5', 'to': 'm1p13', isVer: true },
-  { 'type': 'linedash', 'id': 'ld2', 'from': 'm1p13', 'to': 'm1p14', isVer: false },
-  { 'type': 'linedash', 'id': 'ld3', 'from': 'm1p14', 'to': 'm1p7', isVer: true, arrow: 'bottom' },
+  { 'type': 'linedash', 'id': 'ld2', 'from': 'm1p13', 'to': 'm1p14', isVer: false, arrow: 'left' },
+  { 'type': 'linedash', 'id': 'ld3', 'from': 'm1p14', 'to': 'm1p7', isVer: true },
 
   // 图片
   { 'type': 'image', 'id': 'm1i1', 'name': '格栅机', 'text': '格栅机', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p2', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100, 'src': '格栅池.gif' },

+ 65 - 0
src/views/dataBoard/smartTech/config/craftConfig/tieluCraftConfig.js

@@ -0,0 +1,65 @@
+export const config = [
+  // 点
+  { 'type': 'point', 'id': 'm1p1', 'name': '基准点1', 'x': [0, 0], 'y': [0.5, 0] }, 
+  { 'type': 'point', 'id': 'm1p2', 'name': '基准点2', 'x': [0, 150], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p3', 'name': '基准点3', 'x': [0, 300], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p4', 'name': '基准点4', 'x': [0, 450], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p5', 'name': '基准点5', 'x': [0, 600], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p6', 'name': '基准点6', 'x': [0, 750], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p7', 'name': '基准点7', 'x': [0, 900], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p8', 'name': '基准点8', 'x': [0, 1040], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p10', 'name': '基准点10', 'x': [0, 1040], 'y': [0.8, 0] },
+  { 'type': 'point', 'id': 'm1p21', 'name': '基准点21', 'x': [0, 900], 'y': [0.8, 0] },
+  { 'type': 'point', 'id': 'm1p22', 'name': '基准点22', 'x': [0, 750], 'y': [0.8, 0] },
+  { 'type': 'point', 'id': 'm1p13', 'name': '基准点13', 'x': [0, 150], 'y': [0.2, 0] },
+  // 虚线点
+  { 'type': 'point', 'id': 'm1p31', 'name': '基准点31', 'x': [0, 300], 'y': [0.2, 0] },
+  { 'type': 'point', 'id': 'm1p15', 'name': '基准点15', 'x': [0, 450], 'y': [0.2, 0] },
+  { 'type': 'point', 'id': 'm1p16', 'name': '基准点16', 'x': [0, 900], 'y': [0.2, 0] },
+
+  { 'type': 'point', 'id': 'm1p17', 'name': '基准点17', 'x': [0, 520], 'y': [0.35, 0] },
+  { 'type': 'point', 'id': 'm1p18', 'name': '基准点18', 'x': [0, 820], 'y': [0.35, 0] },
+  { 'type': 'point', 'id': 'm1p19', 'name': '基准点19', 'x': [0, 520], 'y': [0.5, 0] },
+  { 'type': 'point', 'id': 'm1p20', 'name': '基准点20', 'x': [0, 820], 'y': [0.5, 0] },
+
+
+  // 线
+  { 'type': 'arrow', 'id': 'a1', 'from': 'm1p1', 'to': 'm1p8', 'style': 'strokeColor=#33f3fe;', 'flow': true },
+  { 'type': 'arrow', 'id': 'a3', 'from': 'm1p8', 'to': 'm1p10', 'style': 'strokeColor=#33f3fe;', 'flow': true },
+  { 'type': 'arrow', 'id': 'a4', 'from': 'm1p10', 'to': 'm1p21', 'style': 'strokeColor=#33f3fe;', 'flow': true },
+  { 'type': 'arrow', 'id': 'a5', 'from': 'm1p21', 'to': 'm1p22', 'style': 'strokeColor=#33f3fe;', 'flow': true },
+  // 虚线
+  { 'type': 'linedash', 'id': 'ld1', 'from': 'm1p2', 'to': 'm1p13', isVer: true, arrow: 'top' },
+
+  { 'type': 'linedash', 'id': 'ld3', 'from': 'm1p7', 'to': 'm1p16', isVer: true, arrow: 'top' },
+  { 'type': 'linedash', 'id': 'ld4', 'from': 'm1p16', 'to': 'm1p15', isVer: false, arrow: 'left'  },
+  { 'type': 'linedash', 'id': 'ld5', 'from': 'm1p15', 'to': 'm1p4', isVer: true, arrow: 'bottom' },
+
+  
+  { 'type': 'linedash', 'id': 'ld6', 'from': 'm1p20', 'to': 'm1p18', isVer: true },
+  { 'type': 'linedash', 'id': 'ld7', 'from': 'm1p18', 'to': 'm1p17', isVer: false, arrow: 'left' },
+  { 'type': 'linedash', 'id': 'ld9', 'from': 'm1p17', 'to': 'm1p19', isVer: true },
+  
+  { 'type': 'linedash', 'id': 'ld10', 'from': 'm1p13', 'to': 'm1p31', isVer: false },
+
+  // 图片
+  { 'type': 'image', 'id': 'm1i1', 'name': '格栅机', 'src': '格栅池.gif', 'text': '格栅机', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p2', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i2', 'name': '调节池', 'src': '调节池.gif', 'text': '调节池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p3', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i3', 'name': '厌氧池', 'src': '厌氧池.gif', 'text': '厌氧池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p4', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i4', 'name': '缺氧池', 'src': '缺氧池.gif', 'text': '缺氧池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p5', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i5', 'name': '好氧池', 'src': '好氧池.gif', 'text': '好氧池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p6', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i6', 'name': '二沉池', 'src': '二沉池.gif', 'text': '二沉池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p7', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i7', 'name': '转盘滤布滤池', 'src': '转盘滤布滤池.gif', 'text': '转盘滤布滤池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p8', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i17', 'name': '人工湿地', 'src': '人工湿地.gif', 'text': '人工湿地', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p10', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  { 'type': 'image', 'id': 'm1i19', 'name': '紫外消毒', 'src': '紫外线消毒渠.png', 'text': '紫外消毒', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p21', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100 },
+  
+  { 'type': 'image', 'id': 'm1i8', 'name': '污泥池', 'text': '污泥池', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p13', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 120, 'src': '储泥池.gif' },
+  
+  // 文字
+  { 'type': 'text', 'id': 'm1t1', 'text': '生活污水', 'from': 'm1p1', 'point': [0, 0.5], 'margin': { 'x': [0, 0], 'y': [0, -20] }},
+  { 'type': 'text', 'id': 'm1t2', 'text': '泥渣', 'from': 'm1p2', 'point': [0, 0.5], 'margin': { 'x': [0, 10], 'y': [-0.15, 0] }},
+  { 'type': 'text', 'id': 'm1t3', 'text': '污泥回流', 'from': 'm1p15', 'point': [0, 0.5], 'margin': { 'x': [0.2, 0], 'y': [0, -20] }},
+  { 'type': 'text', 'id': 'm1t4', 'text': '内部回流', 'from': 'm1p17', 'point': [0, 0.35], 'margin': { 'x': [0.1, 0], 'y': [0, -20] }},
+  { 'type': 'text', 'id': 'm1t5', 'text': '定期外运', 'from': 'm1p31', 'point': [0, 0.35], 'margin': { 'x': [0, 10], 'y': [0, -20] }},
+  { 'type': 'text', 'id': 'm1t6', 'text': '达标排放', 'from': 'm1p22', 'point': [0, 0.35], 'margin': { 'x': [0, -10], 'y': [0, -20] }},
+]

+ 2 - 2
src/views/dataBoard/smartTech/config/craftConfig/wangsuoCraftConfig.js

@@ -26,8 +26,8 @@ export const config = [
   { 'type': 'arrow', 'id': 'a4', 'from': 'm1p10', 'to': 'm1p12', 'style': 'strokeColor=#33f3fe;', 'flow': true },
   // 虚线
   { 'type': 'linedash', 'id': 'ld1', 'from': 'm1p5', 'to': 'm1p13', isVer: true },
-  { 'type': 'linedash', 'id': 'ld2', 'from': 'm1p13', 'to': 'm1p14', isVer: false },
-  { 'type': 'linedash', 'id': 'ld3', 'from': 'm1p14', 'to': 'm1p7', isVer: true, arrow: 'bottom' },
+  { 'type': 'linedash', 'id': 'ld2', 'from': 'm1p13', 'to': 'm1p14', isVer: false, arrow: 'left' },
+  { 'type': 'linedash', 'id': 'ld3', 'from': 'm1p14', 'to': 'm1p7', isVer: true },
 
   // 图片
   { 'type': 'image', 'id': 'm1i1', 'name': '格栅机', 'text': '格栅机', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p2', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100, 'src': '格栅池.gif' },

+ 2 - 2
src/views/dataBoard/smartTech/config/craftConfig/yonglangCraftConfig.js

@@ -26,8 +26,8 @@ export const config = [
   { 'type': 'arrow', 'id': 'a4', 'from': 'm1p10', 'to': 'm1p12', 'style': 'strokeColor=#33f3fe;', 'flow': true },
   // 虚线
   { 'type': 'linedash', 'id': 'ld1', 'from': 'm1p5', 'to': 'm1p13', isVer: true },
-  { 'type': 'linedash', 'id': 'ld2', 'from': 'm1p13', 'to': 'm1p14', isVer: false },
-  { 'type': 'linedash', 'id': 'ld3', 'from': 'm1p14', 'to': 'm1p7', isVer: true, arrow: 'bottom' },
+  { 'type': 'linedash', 'id': 'ld2', 'from': 'm1p13', 'to': 'm1p14', isVer: false, arrow: 'left' },
+  { 'type': 'linedash', 'id': 'ld3', 'from': 'm1p14', 'to': 'm1p7', isVer: true },
 
   // 图片
   { 'type': 'image', 'id': 'm1i1', 'name': '格栅机', 'text': '格栅机', 'class': 'onWhiteText', 'titleStyle': 'font-size:14px;', 'point': [0, 0.9], 'from': 'm1p2', 'margin': { 'x': [0, -50], 'y': [0, 30] }, 'width': 100, 'height': 100, 'src': '格栅池.gif' },

src/views/dataBoard/smartTech/images/人工湿地池.gif → src/views/dataBoard/smartTech/images/人工湿地.gif


src/views/dataBoard/smartTech/images/污泥浓缩池.gif → src/views/dataBoard/smartTech/images/转盘滤布滤池.gif


+ 133 - 17
src/views/reportBus/config/index.ts

@@ -142,23 +142,139 @@ export const sewageConfig = [
             { name: '日进水量(m³)', prop: 'inflow' },
         ],
         equip: [
-            { name: '格栅机', prop: '' },
-            { name: '1#进水提升泵', prop: '' },
-            { name: '2#进水提升泵', prop: '' },
-            { name: '3#进水提升泵', prop: '' },
-            { name: '4#进水提升泵', prop: '' },
-            { name: '1#过滤器', prop: '' },
-            { name: '2#过滤器', prop: '' },
-            { name: '加药1#搅拌器', prop: '' },
-            { name: '加药2#搅拌器', prop: '' },
-            { name: '1#鼓风机', prop: '' },
-            { name: '2#鼓风机', prop: '' },
-            { name: '1#自吸泵', prop: '' },
-            { name: '2#自吸泵', prop: '' },
-            { name: '1#污泥回流泵', prop: '' },
-            { name: '2#污泥回流泵', prop: '' },
-            { name: '1#紫外线消毒', prop: '' },
-            { name: '2#紫外线消毒', prop: '' },
+            { name: '格栅机', prop: 'grilleMachine' },
+            { name: '1#进水提升泵', prop: 'liftPump1' },
+            { name: '2#进水提升泵', prop: 'liftPump2' },
+            { name: '3#进水提升泵', prop: 'liftPump3' },
+            { name: '4#进水提升泵', prop: 'liftPump4' },
+            { name: '1#过滤器', prop: 'filter1' },
+            { name: '2#过滤器', prop: 'filter2' },
+            { name: '加药1#搅拌器', prop: 'agitator1' },
+            { name: '加药2#搅拌器', prop: 'agitator2' },
+            { name: '1#鼓风机', prop: 'blowingMachine1' },
+            { name: '2#鼓风机', prop: 'blowingMachine2' },
+            { name: '1#自吸泵', prop: 'selfprimingPump1' },
+            { name: '2#自吸泵', prop: 'selfprimingPump2' },
+            { name: '1#污泥回流泵', prop: 'sludgeRefluxPump1' },
+            { name: '2#污泥回流泵', prop: 'sludgeRefluxPump2' },
+            { name: '1#紫外线消毒', prop: 'ultravioletDisinfection1' },
+            { name: '2#紫外线消毒', prop: 'ultravioletDisinfection2' },
+        ]
+    },
+    { 
+        name: '巴洞污水处理站', 
+        indexName: [
+            { name: '出水累计流量(m³)', prop: 'amount' },
+            { name: '日处理水量(m³)', prop: 'inflow' },
+        ],
+        equip: [
+            { name: '格栅机', prop: 'grilleMachine' },
+            { name: '1#进水提升泵', prop: 'liftPump1' },
+            { name: '2#进水提升泵', prop: 'liftPump2' },
+            { name: '调节池潜水搅拌器', prop: 'adjustPoolAgitator' },
+            { name: '厌氧池潜水搅拌器', prop: 'anaerobicPoolAgitator' },
+            { name: '缺氧池潜水搅拌器', prop: 'hypoxiaPoolAgitator' },
+            { name: '1#风机', prop: 'blowingMachine1' },
+            { name: '2#风机', prop: 'blowingMachine2' },
+            { name: '1#污泥内回流泵', prop: 'sludgeRefluxPump1' },
+            { name: '2#污泥内回流泵', prop: 'sludgeRefluxPump2' },
+            { name: '污泥回流泵', prop: 'sludgeRefluxPump' },
+            { name: '1#加药泵', prop: 'agitatorPump1' },
+            { name: '2#加药泵', prop: 'agitatorPump2' },
+            { name: '1#加药搅拌器', prop: 'agitator1' },
+            { name: '2#加药搅拌器', prop: 'agitator2' },
+            { name: '滤布旋转驱动电机', prop: 'filterClothDriveMotor' },
+            { name: '转盘滤池排泥泵', prop: 'rotaryFilterSludgePump' },
+            { name: '1#储泥池排泥泵', prop: 'mudStoragePoolSludgePump1' },
+            { name: '2#储泥池排泥泵', prop: 'mudStoragePoolSludgePump2' },
+            { name: '紫外线消毒器', prop: 'ultravioletDisinfection2' },
+        ]
+    },
+    { 
+        name: '黑龙潭污水处理站', 
+        indexName: [
+            { name: '出水累计流量(m³)', prop: 'amount' },
+            { name: '日处理水量(m³)', prop: 'inflow' },
+        ],
+        equip: [
+            { name: '格栅机', prop: 'grilleMachine' },
+            { name: '1#进水提升泵', prop: 'liftPump1' },
+            { name: '2#进水提升泵', prop: 'liftPump2' },
+            { name: '调节池潜水搅拌器', prop: 'adjustPoolAgitator' },
+            { name: '厌氧池潜水搅拌器', prop: 'anaerobicPoolAgitator' },
+            { name: '缺氧池潜水搅拌器', prop: 'hypoxiaPoolAgitator' },
+            { name: '1#风机', prop: 'blowingMachine1' },
+            { name: '2#风机', prop: 'blowingMachine2' },
+            { name: '1#污泥内回流泵', prop: 'sludgeRefluxPump1' },
+            { name: '2#污泥内回流泵', prop: 'sludgeRefluxPump2' },
+            { name: '污泥回流泵', prop: 'sludgeRefluxPump' },
+            { name: '1#加药泵', prop: 'agitatorPump1' },
+            { name: '2#加药泵', prop: 'agitatorPump2' },
+            { name: '1#加药搅拌器', prop: 'agitator1' },
+            { name: '2#加药搅拌器', prop: 'agitator2' },
+            { name: '滤布旋转驱动电机', prop: 'filterClothDriveMotor' },
+            { name: '转盘滤池排泥泵', prop: 'rotaryFilterSludgePump' },
+            { name: '1#储泥池排泥泵', prop: 'mudStoragePoolSludgePump1' },
+            { name: '2#储泥池排泥泵', prop: 'mudStoragePoolSludgePump2' },
+            { name: '紫外线消毒器', prop: 'ultravioletDisinfection2' },
+        ]
+    },
+    { 
+        name: '乐跃污水处理站', 
+        indexName: [
+            { name: '出水累计流量(m³)', prop: 'amount' },
+            { name: '日处理水量(m³)', prop: 'inflow' },
+        ],
+        equip: [
+            { name: '格栅机', prop: 'grilleMachine' },
+            { name: '1#进水提升泵', prop: 'liftPump1' },
+            { name: '2#进水提升泵', prop: 'liftPump2' },
+            { name: '调节池潜水搅拌器', prop: 'adjustPoolAgitator' },
+            { name: '厌氧池潜水搅拌器', prop: 'anaerobicPoolAgitator' },
+            { name: '缺氧池潜水搅拌器', prop: 'hypoxiaPoolAgitator' },
+            { name: '1#风机', prop: 'blowingMachine1' },
+            { name: '2#风机', prop: 'blowingMachine2' },
+            { name: '1#污泥内回流泵', prop: 'sludgeRefluxPump1' },
+            { name: '2#污泥内回流泵', prop: 'sludgeRefluxPump2' },
+            { name: '污泥回流泵', prop: 'sludgeRefluxPump' },
+            { name: '1#加药泵', prop: 'agitatorPump1' },
+            { name: '2#加药泵', prop: 'agitatorPump2' },
+            { name: '1#加药搅拌器', prop: 'agitator1' },
+            { name: '2#加药搅拌器', prop: 'agitator2' },
+            { name: '滤布旋转驱动电机', prop: 'filterClothDriveMotor' },
+            { name: '转盘滤池排泥泵', prop: 'rotaryFilterSludgePump' },
+            { name: '1#储泥池排泥泵', prop: 'mudStoragePoolSludgePump1' },
+            { name: '2#储泥池排泥泵', prop: 'mudStoragePoolSludgePump2' },
+            { name: '紫外线消毒器', prop: 'ultravioletDisinfection2' },
+        ]
+    },
+    { 
+        name: '铁炉污水处理站', 
+        indexName: [
+            { name: '出水累计流量(m³)', prop: 'amount' },
+            { name: '日处理水量(m³)', prop: 'inflow' },
+        ],
+        equip: [
+            { name: '格栅机', prop: 'grilleMachine' },
+            { name: '1#进水提升泵', prop: 'liftPump1' },
+            { name: '2#进水提升泵', prop: 'liftPump2' },
+            { name: '调节池潜水搅拌器', prop: 'adjustPoolAgitator' },
+            { name: '厌氧池潜水搅拌器', prop: 'anaerobicPoolAgitator' },
+            { name: '缺氧池潜水搅拌器', prop: 'hypoxiaPoolAgitator' },
+            { name: '1#风机', prop: 'blowingMachine1' },
+            { name: '2#风机', prop: 'blowingMachine2' },
+            { name: '1#污泥内回流泵', prop: 'sludgeRefluxPump1' },
+            { name: '2#污泥内回流泵', prop: 'sludgeRefluxPump2' },
+            { name: '污泥回流泵', prop: 'sludgeRefluxPump' },
+            { name: '1#加药泵', prop: 'agitatorPump1' },
+            { name: '2#加药泵', prop: 'agitatorPump2' },
+            { name: '1#加药搅拌器', prop: 'agitator1' },
+            { name: '2#加药搅拌器', prop: 'agitator2' },
+            { name: '滤布旋转驱动电机', prop: 'filterClothDriveMotor' },
+            { name: '转盘滤池排泥泵', prop: 'rotaryFilterSludgePump' },
+            { name: '1#储泥池排泥泵', prop: 'mudStoragePoolSludgePump1' },
+            { name: '2#储泥池排泥泵', prop: 'mudStoragePoolSludgePump2' },
+            { name: '紫外线消毒器', prop: 'ultravioletDisinfection2' },
         ]
     },
 ]

+ 5 - 2
src/views/reportBus/repOperation/widget.vue

@@ -28,7 +28,8 @@
         </el-form-item>
       </div>
       <el-form-item label>
-        <el-button type="primary" @click="modify">{{ sewageCurr.dataId ? '修改' : '新增' }}</el-button>
+        <el-button v-if="!isEdit" type="primary" @click="modify">{{ sewageCurr.dataId ? '修改' : '新增' }}</el-button>
+        <el-button v-else type="warning" @click="cancel">取消</el-button>
         <el-button type="success" @click="submit" :disabled="!isEdit && !!sewageCurr.dataId">提交</el-button>
         <export-btn :tableId="tableId" :name="`${sewageCurr.name}设备运行记录表`"></export-btn>
       </el-form-item>
@@ -223,9 +224,11 @@ export default {
         })
       }
     },
+    cancel() {
+      this.isEdit = false
+    },
     modify() {
       this.isEdit = true;
-
     },
     getValue(value) {
       let findItem = this.status.find(i => i.value == value);

+ 3 - 3
src/views/zhpt/basicInfoManage/sewagePlantMng/formDialog.vue

@@ -647,7 +647,7 @@
             </div>
           </el-col>
           <!-- <tf-title>附件</tf-title> -->
-          <el-col :span="24">
+          <!-- <el-col :span="24">
             <div
               style="
                 height: 26px;
@@ -678,7 +678,7 @@
                 >上传附件</el-button
               >
             </el-upload>
-          </el-col>
+          </el-col> -->
         </el-row>
       </el-col>
     </el-row>
@@ -847,7 +847,7 @@ export default {
       this.setAttributes();
       if (this.openType === "edit" || this.openType === "view") {
         let { EXP_NO } = this.data;
-        this.queryFiles(EXP_NO);
+        // this.queryFiles(EXP_NO);
         if (this.data.GEOSTRING) {
           let arr = this.data.GEOSTRING.split(",");
           for (let index = 0; index < arr.length - 1; index += 2) {

+ 1 - 1
src/views/zhpt/basicInfoManage/sewagePlantMng/widget.vue

@@ -527,7 +527,7 @@ export default {
         if (Object.hasOwnProperty.call(fields, "RDATE")) {
           if (fields.RDATE && fields.RDATE != "") {
             fields.RDATE = parseTime(
-              new Date(fields.RDATE).getTime() + 3600 * 1000 * 24 * 1,
+              new Date(fields.RDATE).getTime(),
               "{y}-{m}-{d}"
             );
           }