Browse Source

加压站调整

liangluogis 1 year ago
parent
commit
59f09ba883
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/views/dataBoard/cockpit/index.vue

+ 3 - 1
src/views/dataBoard/cockpit/index.vue

@@ -208,7 +208,8 @@ export default {
      */
     getNumList(){
       const that = this
-      that.getValveList(false)
+      that.getValveList(false);
+      that.getWaterpumpList()
       queryWaterWorks({ size: 10000 }).then(res=>{
         if(res&&res.code==1&&res.result.records){
           const tempData=[];
@@ -449,6 +450,7 @@ export default {
         outFields: '*',
         f: 'pjson'
       }
+      debugger
       const waterpumpNum= await getLayerInfo.getLayerMoreInfo(getLayerInfo.layerInfo.waterpump.layerid,data);
       console.log(waterpumpNum,'waterpump')
       if(waterpumpNum.features){