zhulizhen hace 6 años
padre
commit
25f35b14a6
Se han modificado 2 ficheros con 8 adiciones y 6 borrados
  1. 6 6
      src/store/index.js
  2. 2 0
      src/views/spread/index.vue

+ 6 - 6
src/store/index.js

@@ -7,12 +7,12 @@ const store = new Vuex.Store({
   state: {
     name: '这里是全局的',
     equipmentAll: [],
-    // projectArr: [
-    //   { projId: 'Pj1101080001', secret: '123', projLocalName: '新华创新大厦' }
-    // { projId: 'Pj1101080001', secret: '123', projLocalName: '广联达二期' }
-    // { projId: 'Pj1101010001', secret: '123', projLocalName: '北京中海地产广场' }
-    // { projId: 'Pj1101020001', secret: 'saga123456', projLocalName: '广电国际酒店' }
-    // ],
+    projectArr: [
+      { projId: 'Pj1101080001', secret: '123', projLocalName: '新华创新大厦' },
+      { projId: 'Pj1101080001', secret: '123', projLocalName: '广联达二期' },
+      { projId: 'Pj1101010001', secret: '123', projLocalName: '北京中海地产广场' },
+      { projId: 'Pj1101020001', secret: 'saga123456', projLocalName: '广电国际酒店' }
+    ],
     projId: 'Pj4419000005',
     baseUrl: "http://api.sagacloud.cn/dp-auxiliary"
   },

+ 2 - 0
src/views/spread/index.vue

@@ -222,6 +222,8 @@ export default {
       this.getCurrentData(this.objectId)
       this.underwayOrder(this.objectId)
       this.getMoniCount(this.objectId)
+      this.getNoAlarmNum(this.objectId)
+      this.getEqRepair()
     },
     getEqNameAndId () {
       let hostUrl = location.search