Commit 8cbc9f98 8cbc9f9890a96b4c3002c0d8a4723536e93f6f32 by 张浩

commit

1 parent 66e2c90e
......@@ -30,7 +30,8 @@
export default {
data() {
return {
showdate: this.$route.query.showdate,
beginDate: this.$route.query.beginDate,
endDate: this.$route.query.endDate,
methodCounts: []
}
},
......@@ -51,7 +52,8 @@
}
}
this.$http.get('/bigdata/methodCount?'+this.$qs.stringify({
showdate: this.showdate
beginDate: this.beginDate,
endDate: this.endDate
}),config).then((res)=>{
console.log(res.data)
this.methodCounts=res.data.methodCounts
......
......@@ -129,7 +129,7 @@
methodCountSubmit() {
console.log(this.methodCount.showdate);
const {href} = this.$router.resolve({ name:'methodCount', query:
{showdate: this.methodCount.showdate[0]}})
{beginDate: this.methodCount.showdate[0], endDate: this.methodCount.showdate[1]}})
window.open(href, '_blank')
}
}
......