需求变更进行调整

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){

View File

@@ -110,17 +110,13 @@
},
data() {
return {
init: true,
cusNo: null,
openId: null,
loginType: null,
authCode: '', // 身份证号 / 社会信用代码
keyword: '',
pageNo: 1,
pageSize: 20,
scrollTop: 0,
activeIndex: 0, // 当前选中的索引
noticeList: [],
filterActiveConditions:[],
defaultImgUrl: '/public/static/index/assets.jpg',
navList: [{
name: "住房",
@@ -171,10 +167,6 @@
label: '为您推荐',
type: 'recommend'
},
{
label: '附近',
type: 'nearby'
},
{
label: '上新',
type: 'new'
@@ -183,14 +175,14 @@
// 筛选标签状态
activeFilterTabs: [0], // 支持多选
filterTabs: [{
label: '两室两厅',
room: 2,
hall: 2
label: '两室',
filterType: '户型',
value: '两室'
},
{
label: '一室一厅',
room: 1,
hall: 1
label: '一室',
filterType: '户型',
value: '一室'
}
],
flowList: [],
@@ -209,12 +201,6 @@
})
},
onShow() {
let userInfo = uni.getStorageSync('userInfo');
if (userInfo) {
this.cusNo = userInfo.cusNo;
this.openId = userInfo.cusNo;
}
this.resetAndLoad()
},
onUnload() {