xuanyan 4 jaren geleden
bovenliggende
commit
13f2595a33

+ 1 - 0
pages/authorize_record/authorize_record.vue

@@ -223,6 +223,7 @@ export default {
 		  pageSize:50
 	  };
       params['member_id'] = app.globalData.member.id;
+	  params['residential_id'] = uni.getStorageSync("residentialId");
       ;
       // let operation = 'guestAuthorize/getListByMemberId';
       that.$http.getGuestAuthorizeList(params).then (res =>{

+ 3 - 0
pages/index/index.vue

@@ -252,9 +252,12 @@
 			fetchAuthRecordNum(){
 				try{
 					let memberId=app.globalData.member.id
+					let residentialId=uni.getStorageSync("residentialId");
+					console.log(residentialId,"11111111")
 					if (!this.$isEmpty(memberId)) {
 						let params={
 							member_id:memberId,
+							residential_id:residentialId,
 							size:99,
 							auditStatus:0
 						}

+ 1 - 0
pages/myCar/add.vue

@@ -232,6 +232,7 @@
 				}
 				let that = this;
 				this.model.residentialId = uni.getStorageSync('residentialId')
+				console.log(this.model,1111)
 				// let operation = 'car/saveOrUpdate';
 				that.$http.saveOrUpdateCar(this.model).then (res=>{
 					console.log(res);

+ 4 - 3
pages/myFamily/myFamily.vue

@@ -109,9 +109,10 @@
 				})
 			},
 			roomChange(e){
-				this.roomName=this.roomList[e[0]].name
-				this.roomId=this.roomList[e[0]].id
-				this.$u.vuex('vuex_relationshipType', this.roomList[e[0]].relationshipType)
+				console.log(e,"1222");
+				this.roomName=this.realRoomList[e[0]].name
+				this.roomId=this.realRoomList[e[0]].id
+				// this.$u.vuex('vuex_relationshipType', this.roomList[e[0]].relationshipType)
 				this.refreshMescroll()
 			},
 			/**

+ 4 - 0
pages/record/item.vue

@@ -67,9 +67,12 @@
 			fetchAuthRecordNum(){
 				let that=this
 				let memberId=app.globalData.member.id
+				let residentialId=uni.getStorageSync("residentialId")
+				console.log(residentialId,"11111111")
 				if (!this.$isEmpty(memberId)) {
 					let params={
 						member_id:memberId,
+						residential_id:residentialId,
 						size:99,
 						auditStatus:0
 					}
@@ -147,6 +150,7 @@
 					let that=this
 					let params={
 						member_id:that.memberId,
+						residential_id:uni.getStorageSync("residentialId"),
 						current:mescroll.num,
 						size:mescroll.size,
 					}