|
|
@@ -285,10 +285,27 @@
|
|
|
},
|
|
|
|
|
|
contactCandidate() {
|
|
|
- uni.showToast({
|
|
|
- title: '功能开发中',
|
|
|
- icon: 'none'
|
|
|
- });
|
|
|
+ //去联系
|
|
|
+ this.getDetail()
|
|
|
+ this.$Request.postJson('/app/chat/insertChatConversation', {
|
|
|
+ userId: this.order.userId,
|
|
|
+ focusedUserId: uni.getStorageSync('userId'),
|
|
|
+ postPushId: this.postPushId,
|
|
|
+ resumesId: this.resumesId,
|
|
|
+ // type:2,
|
|
|
+ }).then(ret => {
|
|
|
+ if (ret.code == 0) {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pages/msg/im?byUserId=' + this.order
|
|
|
+ .userId + '&chatConversationId=' + ret.data
|
|
|
+ .chatConversationId + '&resumesId=' + ret
|
|
|
+ .data
|
|
|
+ .resumesId + '&postPushId=' +
|
|
|
+ ret.data.postPushId
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+
|
|
|
},
|
|
|
getDetail() {
|
|
|
uni.showLoading({
|