Commit 8cbc9f98 8cbc9f9890a96b4c3002c0d8a4723536e93f6f32 by 张浩

commit

1 parent 66e2c90e
...@@ -30,7 +30,8 @@ ...@@ -30,7 +30,8 @@
30 export default { 30 export default {
31 data() { 31 data() {
32 return { 32 return {
33 showdate: this.$route.query.showdate, 33 beginDate: this.$route.query.beginDate,
34 endDate: this.$route.query.endDate,
34 methodCounts: [] 35 methodCounts: []
35 } 36 }
36 }, 37 },
...@@ -51,7 +52,8 @@ ...@@ -51,7 +52,8 @@
51 } 52 }
52 } 53 }
53 this.$http.get('/bigdata/methodCount?'+this.$qs.stringify({ 54 this.$http.get('/bigdata/methodCount?'+this.$qs.stringify({
54 showdate: this.showdate 55 beginDate: this.beginDate,
56 endDate: this.endDate
55 }),config).then((res)=>{ 57 }),config).then((res)=>{
56 console.log(res.data) 58 console.log(res.data)
57 this.methodCounts=res.data.methodCounts 59 this.methodCounts=res.data.methodCounts
......
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
129 methodCountSubmit() { 129 methodCountSubmit() {
130 console.log(this.methodCount.showdate); 130 console.log(this.methodCount.showdate);
131 const {href} = this.$router.resolve({ name:'methodCount', query: 131 const {href} = this.$router.resolve({ name:'methodCount', query:
132 {showdate: this.methodCount.showdate[0]}}) 132 {beginDate: this.methodCount.showdate[0], endDate: this.methodCount.showdate[1]}})
133 window.open(href, '_blank') 133 window.open(href, '_blank')
134 } 134 }
135 } 135 }
......