页面跳转bug
This commit is contained in:
@@ -82,7 +82,6 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: { ...mapState(['user']) },
|
computed: { ...mapState(['user']) },
|
||||||
onLoad() {
|
onLoad() {
|
||||||
console.log(this.user.id)
|
|
||||||
this.$dict.load('marriageType', 'modeType')
|
this.$dict.load('marriageType', 'modeType')
|
||||||
this.forms.areaId = this.user.areaId
|
this.forms.areaId = this.user.areaId
|
||||||
},
|
},
|
||||||
@@ -147,12 +146,10 @@ export default {
|
|||||||
|
|
||||||
selectStatus(e) {
|
selectStatus(e) {
|
||||||
if (this.showStstus == true) {
|
if (this.showStstus == true) {
|
||||||
console.log(e)
|
|
||||||
this.forms.type = e[0].label
|
this.forms.type = e[0].label
|
||||||
this.forms.typeValue = e[0].value
|
this.forms.typeValue = e[0].value
|
||||||
}
|
}
|
||||||
if (this.showModeType == true) {
|
if (this.showModeType == true) {
|
||||||
console.log(e)
|
|
||||||
this.forms.modeType = e[0].label
|
this.forms.modeType = e[0].label
|
||||||
this.forms.modeTypeValue = e[0].value
|
this.forms.modeTypeValue = e[0].value
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -143,10 +143,10 @@ export default {
|
|||||||
onLoad(o) {
|
onLoad(o) {
|
||||||
if (o.indexTabs) {
|
if (o.indexTabs) {
|
||||||
this.currentTabs = o.indexTabs
|
this.currentTabs = o.indexTabs
|
||||||
|
this.getList()
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$dict.load('marriageType', 'modeType').then(() => {
|
this.$dict.load('marriageType', 'modeType').then(() => {
|
||||||
this.getList()
|
|
||||||
this.getEchart()
|
this.getEchart()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -262,27 +262,27 @@ export default {
|
|||||||
|
|
||||||
toList(num) {
|
toList(num) {
|
||||||
if (num == 0) {
|
if (num == 0) {
|
||||||
console.log('全部')
|
|
||||||
uni.navigateTo({ url: `./AllActiveList` })
|
uni.navigateTo({ url: `./AllActiveList` })
|
||||||
}
|
}
|
||||||
if (num == 1) {
|
if (num == 1) {
|
||||||
console.log('干部')
|
|
||||||
uni.navigateTo({ url: `./CadreList` })
|
uni.navigateTo({ url: `./CadreList` })
|
||||||
}
|
}
|
||||||
if (num == 2) {
|
if (num == 2) {
|
||||||
console.log('婚礼')
|
|
||||||
uni.navigateTo({ url: `./MarryList` })
|
uni.navigateTo({ url: `./MarryList` })
|
||||||
}
|
}
|
||||||
if (num == 3) {
|
if (num == 3) {
|
||||||
console.log('丧礼')
|
|
||||||
uni.navigateTo({ url: `./FuneralList` })
|
uni.navigateTo({ url: `./FuneralList` })
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
change(index) {
|
change(index) {
|
||||||
this.currentTabs = index
|
this.currentTabs = index
|
||||||
this.getList()
|
if (this.currentTabs == 0) {
|
||||||
this.getEchart()
|
this.getEchart()
|
||||||
|
}
|
||||||
|
if (this.currentTabs == 1) {
|
||||||
|
this.getList()
|
||||||
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
|
|||||||
Reference in New Issue
Block a user