开始做工作台,调整用电查询分页
This commit is contained in:
@@ -39,6 +39,11 @@ Page({
|
||||
})
|
||||
},
|
||||
jumpToQrCode() {
|
||||
const { user = {} } = this.data;
|
||||
if (!user?.id) {
|
||||
alertInfo("请先登录")
|
||||
return;
|
||||
}
|
||||
wx.navigateTo({
|
||||
url: '/pages/qrCode/index',
|
||||
})
|
||||
@@ -73,6 +78,11 @@ Page({
|
||||
url: '/pages/invoiceList/index?tab=2',
|
||||
})
|
||||
},
|
||||
jumpToWorkBench() {
|
||||
wx.navigateTo({
|
||||
url: '/pages/workBench/index',
|
||||
})
|
||||
},
|
||||
async getUnReadNumber() {
|
||||
const dot = await getDot();
|
||||
this.setData({
|
||||
@@ -117,4 +127,8 @@ Page({
|
||||
});
|
||||
|
||||
},
|
||||
// onTabItemTap(item) {
|
||||
// console.log('------------', item)
|
||||
|
||||
// }
|
||||
})
|
@@ -14,6 +14,7 @@
|
||||
<van-cell title="发票抬头" value="" is-link bind:tap="jumpToUpdateInvoice" />
|
||||
<van-cell title="绑定企业" value="" is-link bind:tap="bindTenement" />
|
||||
<van-cell title="常见问题" value="" is-link bind:tap="jumpToQuestions" />
|
||||
<van-cell title="工作台" wx:if="{{user.workStatus}}" value="" is-link bind:tap="jumpToWorkBench" />
|
||||
<van-cell title="退出登录" value="" is-link bind:tap="logout" />
|
||||
|
||||
<van-dialog id="van-dialog" />
|
Reference in New Issue
Block a user