This commit is contained in:
cclu 2024-04-07 16:13:10 +08:00
parent 925b0a5ae7
commit ec8a9ca99d
3 changed files with 71 additions and 60 deletions

View File

@ -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(){

View File

@ -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

View File

@ -354,7 +354,7 @@ export default {
data: [
{
min: 0,
max:3000
max: this.selectFestival===0?3000:1500
}
]
},