Browse Source

优化了水量分析页面

duanxiaoduan 1 year ago
parent
commit
592db38499
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/views/report/queryWater/index.vue

+ 4 - 2
src/views/report/queryWater/index.vue

@@ -201,7 +201,7 @@ export default {
   methods: {
     get_select_list() {
       var send_data =  [
-        { name: 'findAllPasture', offset: 0, pagecount: 0, returntype: 'Map', parammaps: { 'id': Cookies.get('pastureid') }},
+        { name: 'findAllPasture', offset: 0, pagecount: 0, returntype: 'Map', parammaps: { 'id': 18 }},
       ]
       this.pastureList = []
       GetDataByNames(send_data).then(response => {
@@ -348,6 +348,8 @@ export default {
       let endTime = parseTime(this.monthDate[1],'{y}-{m}')
       let radio = ''
       let pastureId = []
+      console.log(this.getChart4Parm.parammaps.pastureName,'pastureName')
+      console.log(this.pastureList,'pastureList')
       this.pastureList.forEach((item)=>{
         if(this.getChart4Parm.parammaps.pastureName){
           this.getChart4Parm.parammaps.pastureName.forEach((item1)=>{
@@ -468,7 +470,7 @@ export default {
         }else{
           this.getChart7Parm.parammaps.date = ''
         }
-        
+
         this.roadChart6(this.chart_data6)
         this.getChart7()
       })