update
This commit is contained in:
parent
925b0a5ae7
commit
ec8a9ca99d
@ -280,9 +280,12 @@ export default {
|
||||
this.handleTab(this.selectTab)
|
||||
},
|
||||
handleBack(){
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
uni.switchTab({
|
||||
url: '/pages/index/index'
|
||||
});
|
||||
// uni.navigateBack({
|
||||
// delta: 1
|
||||
// });
|
||||
},
|
||||
// 拿到服务区列表的方法
|
||||
async handleGetServiceList(){
|
||||
|
||||
@ -1611,6 +1611,7 @@ export default {
|
||||
showMoreFixed:false,// 显示悬浮框
|
||||
profitSharingList:[],// 分润占比旁边的list
|
||||
isShowFestival:'qm',// 显示的节日
|
||||
oldSwiperIndex: 0,// 移动swiper 等待1秒钟 如果保持一致就请求 不一致就return
|
||||
}
|
||||
},
|
||||
watch:{
|
||||
@ -2432,6 +2433,9 @@ export default {
|
||||
console.log('1')
|
||||
console.log('this.stopSwiper',this.stopSwiper)
|
||||
console.log('e',e.detail.current)
|
||||
this.oldSwiperIndex = e.detail.current
|
||||
setTimeout(()=>{
|
||||
if (this.oldSwiperIndex === e.detail.current){
|
||||
this.showRateChart = false
|
||||
if (!this.stopSwiper){
|
||||
this.selectMonth = e.detail.current>11?(e.detail.current + 1)%12===0?12:(e.detail.current + 1)%12:e.detail.current + 1
|
||||
@ -2467,7 +2471,7 @@ export default {
|
||||
// 月份详情卡片的详情
|
||||
this.initYesterdayData(this.selectMonth!==date.getMonth()+1)
|
||||
// 自营计划
|
||||
this.monthYearPlan()
|
||||
// this.monthYearPlan()
|
||||
// 切换月份的车流量变化
|
||||
// 是当前月份传入日期 不是当前日期传入月份
|
||||
let carDate
|
||||
@ -2478,9 +2482,9 @@ export default {
|
||||
}
|
||||
this.getCarInfo(carDate)
|
||||
// 切换考核的数据
|
||||
this.handleGetExamine()
|
||||
// this.handleGetExamine()
|
||||
// 切换日常巡检数据
|
||||
this.handleGetDailyPatrol()
|
||||
// this.handleGetDailyPatrol()
|
||||
// 获取全省平均车流量
|
||||
this.handleGetAllCarTraffic()
|
||||
|
||||
@ -2489,6 +2493,10 @@ export default {
|
||||
this.showRateChart = true
|
||||
},1500)
|
||||
}
|
||||
}
|
||||
},1000)
|
||||
|
||||
|
||||
},
|
||||
handleShowYDModal(){
|
||||
this.ydModal = !this.ydModal
|
||||
|
||||
@ -354,7 +354,7 @@ export default {
|
||||
data: [
|
||||
{
|
||||
min: 0,
|
||||
max:3000
|
||||
max: this.selectFestival===0?3000:1500
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user