需求变更进行调整

This commit is contained in:
2026-01-30 09:01:38 +08:00
parent 44a4b33502
commit 79a21ff0a5
30 changed files with 1482 additions and 1707 deletions

View File

@@ -173,12 +173,33 @@
this.loadUserInfo()
this.countHandlingReserve()
this.countUnHandleContract()
this.countUnpayRentBills()
this.countUnpayWaeBills()
this.countUnreadMsg()
},
methods: {
loadUserInfo(){
let userInfo = uni.getStorageSync('userInfo');
if(!userInfo) {
return
}
let url = `/login/userInfo`;
this.$u.get(url, {}, {
'WT': this.$getToken(),
'USERTYPE': userInfo.userType
}).then(obj => {
if(obj.flag){
uni.setStorageSync('userInfo', {
userType: obj.data.userType,
oaAuth: obj.data.oaAuth,
cusNo: obj.data.cusNo,
userName: obj.data.userName,
openId: obj.data.openId,
subscribe: obj.data.subscribeMsg
})
}
});
this.user = uni.getStorageSync('userInfo');
},
logout() {
@@ -234,7 +255,7 @@
})
},
countUnreadMsg(){
this.$u.get(`/messsage/countUnread`, {},{
this.$u.get(`/message/countUnread`, {},{
WT: this.$getToken()
}).then(res => {
if(res.flag){