update
This commit is contained in:
parent
779a1d1597
commit
02b7d4d925
@ -389,6 +389,11 @@ export default {
|
||||
console.log('byssiness',value)
|
||||
this.showIndex = value
|
||||
if (value===6 || value===7){
|
||||
if (value===6){
|
||||
this.selectTab = 1
|
||||
}else if (value===7){
|
||||
this.selectTab = 2
|
||||
}
|
||||
this.handleGetPageData()
|
||||
}
|
||||
},
|
||||
@ -750,9 +755,10 @@ export default {
|
||||
},
|
||||
// 改变时间的方法
|
||||
bindDateChange(e){
|
||||
console.log('e',e)
|
||||
const date = new Date(e.detail.value)
|
||||
let y = date.getFullYear()
|
||||
let m = date.getMonth()
|
||||
let m = date.getMonth() + 1
|
||||
if (m<10){
|
||||
m = '0' + m
|
||||
}
|
||||
@ -767,6 +773,8 @@ export default {
|
||||
uni.showLoading({
|
||||
title:'正在加载'
|
||||
})
|
||||
console.log('selectTab',this.selectTab)
|
||||
console.log('`${y}-${m}-${d}`',`${y}-${m}-${d}`)
|
||||
// 判断当前选中的是哪个选项 调用它相对应的拿到数据的两个方法
|
||||
if (this.selectTab===1){
|
||||
this.single = e.detail.value
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user