提交首页修改
This commit is contained in:
@@ -159,6 +159,11 @@ Page({
|
||||
this.setData({ rechargeVisible: true })
|
||||
},
|
||||
jumpToInvoice() {
|
||||
const { user, } = this.data;
|
||||
if (!user || !user.id) {
|
||||
alertInfo("请先登录")
|
||||
return
|
||||
}
|
||||
wx.navigateTo({
|
||||
url: '/pages/invoiceList/index',
|
||||
})
|
||||
@@ -172,7 +177,6 @@ Page({
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
this.getAllList();
|
||||
this.watchTenement();
|
||||
this.watchPark();
|
||||
@@ -251,6 +255,11 @@ Page({
|
||||
// }
|
||||
},
|
||||
jumpToElectric() {
|
||||
const { user, } = this.data;
|
||||
if (!user || !user.id) {
|
||||
alertInfo("请先登录")
|
||||
return
|
||||
}
|
||||
wx.navigateTo({
|
||||
url: '/childPackage/pages/electricQuery/index',
|
||||
})
|
||||
@@ -308,11 +317,21 @@ Page({
|
||||
})
|
||||
},
|
||||
jumpToRecord() {
|
||||
const { user, } = this.data;
|
||||
if (!user || !user.id) {
|
||||
alertInfo("请先登录")
|
||||
return
|
||||
}
|
||||
wx.navigateTo({
|
||||
url: '/pages/rechargeRecord/index',
|
||||
})
|
||||
},
|
||||
jumpToOrder() {
|
||||
const { user, } = this.data;
|
||||
if (!user || !user.id) {
|
||||
alertInfo("请先登录")
|
||||
return
|
||||
}
|
||||
// alertInfo("尚未完成")
|
||||
wx.navigateTo({
|
||||
url: '/pages/billList/index',
|
||||
|
Reference in New Issue
Block a user