|
@ -22,7 +22,8 @@ Vue.component('mzf-dejdsjyy-sfjdjczqk', {
|
|
|
testPosition1: 0,
|
|
|
testPosition2: 0,
|
|
|
list:[],
|
|
|
startTime:new Date('2023','05','26'),
|
|
|
// startTime:new Date('2023','05','26'),
|
|
|
startTime:new Date(new Date().getTime()-6*24*60*60*1000),
|
|
|
endTime:new Date(),
|
|
|
regionList:[],
|
|
|
regionData:[
|
|
@ -64,6 +65,8 @@ Vue.component('mzf-dejdsjyy-sfjdjczqk', {
|
|
|
},
|
|
|
created: function(){
|
|
|
this.s = this.startTime.format('yyyy-MM-dd')
|
|
|
// this.s = (new Date(this.endTime.getTime()-7*24*60*60*1000)) //往前推7天
|
|
|
// console.log(this.s,"sss")
|
|
|
this.e = this.endTime.format('yyyy-MM-dd')
|
|
|
this.list.unshift({type:'0',id:'time',label:this.s +"~"+ this.e})
|
|
|
this.getFollowAndOutData()
|