فهرست منبع

fix:立即沟通bug修复

jianghaili 7 ماه پیش
والد
کامیت
989b1b8e01
1فایلهای تغییر یافته به همراه5 افزوده شده و 3 حذف شده
  1. 5 3
      pages/talentSearch/resumeDetail.vue

+ 5 - 3
pages/talentSearch/resumeDetail.vue

@@ -303,7 +303,7 @@ export default {
 			//去联系
 			this.getDetail()
 			this.$Request.postJson('/app/chat/insertChatConversation', {
-				userId: this.userEntity.userId, //会话对象的id
+				userId: this.userEntity, //会话对象的id
 				focusedUserId: uni.getStorageSync('userId'), //当前登录者Id
 				postPushId: this.postPushId,
 				resumesId: this.resumesId,
@@ -312,7 +312,7 @@ export default {
 				if (ret.code == 0) {
 					uni.navigateTo({
 						url: '/pages/msg/im?byUserId=' + this.userEntity
-							.userId + '&chatConversationId=' + ret.data
+							 + '&chatConversationId=' + ret.data
 								.chatConversationId + '&resumesId=' + this.resumesId + '&postPushId=' +
 							this.postPushId
 					})
@@ -330,11 +330,13 @@ export default {
 				companyId: uni.getStorageSync('companyId')
 			}
 			this.$Request.get('/app/resumes/selectResumesByResumesId', data).then(res => {
+				console.log(res,'hhhhhhh')
 				if (res.code == 0) {
 					uni.hideLoading()
 					var data = res.data;
 					this.resumeData = res.data;
-					this.userEntity = data.userEntity
+					// this.userEntity = data.userEntity
+					this.userEntity = data.userId
 					this.eduList = data.eduList
 					this.intentions = data.intentionList
 					this.resumeList = data.resumesListDtoList