| | |
| | | } |
| | | }, |
| | | setBattDiscInfo: function setBattDiscInfo(res) { |
| | | console.log(res); |
| | | // console.log(res); |
| | | // 对数据进行处理 |
| | | this.tbls.discharge.data = res.data; |
| | | // 统计个数 |
| | |
| | | } |
| | | }, |
| | | setBattCharInfo: function setBattCharInfo(res) { |
| | | console.log(res); |
| | | // console.log(res); |
| | | // 对数据进行处理 |
| | | this.tbls.charge.data = res.data; |
| | | // 统计个数 |
| | |
| | | url = route.url; |
| | | } |
| | | } |
| | | setTimeout(function () { |
| | | // 跳转 |
| | | router.load({ |
| | | url: url, |
| | | param: { |
| | | random: Math.random().toFixed(2) |
| | | }, |
| | | reload: true |
| | | }); |
| | | }, 100); |
| | | // 跳转 |
| | | router.load({ |
| | | url: url, |
| | | param: { |
| | | random: Math.random().toFixed(2) |
| | | }, |
| | | reload: true |
| | | }); |
| | | } |
| | | }, |
| | | mounted: function mounted() { |
| | |
| | | } |
| | | }, |
| | | setBattDiscInfo: function setBattDiscInfo(res) { |
| | | console.log(res); |
| | | // console.log(res); |
| | | // 对数据进行处理 |
| | | this.tbls.discharge.data = res.data; |
| | | // 统计个数 |
| | |
| | | } |
| | | }, |
| | | setBattCharInfo: function setBattCharInfo(res) { |
| | | console.log(res); |
| | | // console.log(res); |
| | | // 对数据进行处理 |
| | | this.tbls.charge.data = res.data; |
| | | // 统计个数 |
| | |
| | | url = route.url; |
| | | } |
| | | } |
| | | setTimeout(function () { |
| | | // 跳转 |
| | | router.load({ |
| | | url: url, |
| | | param: { |
| | | random: Math.random().toFixed(2) |
| | | }, |
| | | reload: true |
| | | }); |
| | | }, 100); |
| | | // 跳转 |
| | | router.load({ |
| | | url: url, |
| | | param: { |
| | | random: Math.random().toFixed(2) |
| | | }, |
| | | reload: true |
| | | }); |
| | | } |
| | | }, |
| | | mounted: function mounted() { |