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,7 +41,7 @@ | ||
41 | animationTime:5000,//动画时间 | 41 | animationTime:5000,//动画时间 |
42 | parkParams:{//parkTotal:738,//停车场总数 | 42 | parkParams:{//parkTotal:738,//停车场总数 |
43 | startVal:0, | 43 | startVal:0, |
44 | - endVal: 100 | 44 | + endVal: 0 |
45 | }, | 45 | }, |
46 | memberParams:{//memberTotal:738,//会员总数 | 46 | memberParams:{//memberTotal:738,//会员总数 |
47 | startVal:0, | 47 | startVal:0, |
@@ -58,6 +58,23 @@ | @@ -58,6 +58,23 @@ | ||
58 | ...mapGetters(['getParkingTotal','getOrderTotal']) | 58 | ...mapGetters(['getParkingTotal','getOrderTotal']) |
59 | }, | 59 | }, |
60 | mounted() { | 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 | //this.parkParams.endVal = this.getParkingTotal | 78 | //this.parkParams.endVal = this.getParkingTotal |
62 | this.mapChart= this.createPie(); | 79 | this.mapChart= this.createPie(); |
63 | const _self=this; | 80 | const _self=this; |
src/components/weekAndDay/uDay.vue
@@ -30,7 +30,6 @@ | @@ -30,7 +30,6 @@ | ||
30 | orgIds: [10003,10005] | 30 | orgIds: [10003,10005] |
31 | }).then((response)=>{ | 31 | }).then((response)=>{ |
32 | let data = response.data.data | 32 | let data = response.data.data |
33 | - console.log(data) | ||
34 | let xData=[],inNum=[],outNum=[] | 33 | let xData=[],inNum=[],outNum=[] |
35 | for(let i=0;i<data.length;i++){ | 34 | for(let i=0;i<data.length;i++){ |
36 | xData.push(data[i].queryDate) | 35 | xData.push(data[i].queryDate) |