Commit 8b9d912edd257a5cd5ce2dec14066e731c14b3f0
1 parent
3b7be3b2
停车场总数
Showing
2 changed files
with
18 additions
and
2 deletions
src/components/chinaMap/index.vue
| ... | ... | @@ -41,7 +41,7 @@ |
| 41 | 41 | animationTime:5000,//动画时间 |
| 42 | 42 | parkParams:{//parkTotal:738,//停车场总数 |
| 43 | 43 | startVal:0, |
| 44 | - endVal: 100 | |
| 44 | + endVal: 0 | |
| 45 | 45 | }, |
| 46 | 46 | memberParams:{//memberTotal:738,//会员总数 |
| 47 | 47 | startVal:0, |
| ... | ... | @@ -58,6 +58,23 @@ |
| 58 | 58 | ...mapGetters(['getParkingTotal','getOrderTotal']) |
| 59 | 59 | }, |
| 60 | 60 | mounted() { |
| 61 | + this.axios.post('urban/intelligence/park/queryParkNumStatisticByOrgIds',{ | |
| 62 | + orgIds: [10003,10005] | |
| 63 | + }).then((response)=>{ | |
| 64 | + let data = response.data.data | |
| 65 | + this.parkParams.endVal=data | |
| 66 | + }).catch((response)=>{ | |
| 67 | + console.log(response); | |
| 68 | + }) | |
| 69 | + this.axios.post('urban/intelligence/berth/queryBerthStatisticForOrgId',{ | |
| 70 | + orgIds: [10003,10005] | |
| 71 | + }).then((response)=>{ | |
| 72 | + let data = response.data.data | |
| 73 | + console.log(data) | |
| 74 | + }).catch((response)=>{ | |
| 75 | + console.log(response); | |
| 76 | + }) | |
| 77 | + | |
| 61 | 78 | //this.parkParams.endVal = this.getParkingTotal |
| 62 | 79 | this.mapChart= this.createPie(); |
| 63 | 80 | const _self=this; | ... | ... |
src/components/weekAndDay/uDay.vue