mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 11:36:45 +08:00
桂冠数据,默认查当月数据,本月按钮为选中状态
This commit is contained in:
@@ -512,15 +512,16 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
// let date = new Date()
|
let date = new Date()
|
||||||
// let month = date.getMonth() + 1
|
let month = date.getMonth() + 1
|
||||||
// if (month <= 9) {
|
if (month <= 9) {
|
||||||
// month = '0' + month
|
month = '0' + month
|
||||||
// }
|
}
|
||||||
//默认展示当天数据
|
//默认展示当天数据
|
||||||
// this.postDate = date.getFullYear() + '-' + month + '-' + date.getDate()
|
// this.postDate = date.getFullYear() + '-' + month + '-' + date.getDate()
|
||||||
this.postDate = beforeDate.getLastMonth()
|
this.postDate = date.getFullYear() + '-' + month
|
||||||
this.filterDate = beforeDate.getLastMonth()
|
// this.postDate = beforeDate.getLastMonth()
|
||||||
|
this.filterDate = ''
|
||||||
this.initDataPersonal()
|
this.initDataPersonal()
|
||||||
this.getBranchByUserFunc() //团队数据是否有权限
|
this.getBranchByUserFunc() //团队数据是否有权限
|
||||||
window.addEventListener('scroll', this.handleScroll)
|
window.addEventListener('scroll', this.handleScroll)
|
||||||
|
|||||||
Reference in New Issue
Block a user