wkw 6 luni în urmă
părinte
comite
e8e61dd6e7
2 a modificat fișierele cu 4 adăugiri și 2 ștergeri
  1. 2 1
      src/components/messageCom/messageCom.vue
  2. 2 1
      src/views/message/index.vue

+ 2 - 1
src/components/messageCom/messageCom.vue

@@ -822,7 +822,7 @@
 									duration: 1500,
 									offset: this.screenHeight / 2
 								})
-								this.sendMessage(99)
+								this.sendMessage(99,res.data)
 								this.dialogms = false
 							} 
 							// else {
@@ -1090,6 +1090,7 @@
 				}
 				if (type == 99) { //面试邀约
 					data.content = '一份面试邀约';
+					data.recordId = url
 				}
 				//把要发送的消息转换为json字符串
 				data = JSON.stringify(data);

+ 2 - 1
src/views/message/index.vue

@@ -1112,7 +1112,7 @@
 									duration: 1500,
 									offset: this.screenHeight / 2
 								})
-								this.sendMessage(99)
+								this.sendMessage(99,res.data)
 								this.dialogms = false
 							}
 							// else {
@@ -1514,6 +1514,7 @@
 				}
 				if(type == 99){ //面试邀约
 					data.content = '一份面试邀约';
+					data.recordId = url
 				}
 				//把要发送的消息转换为json字符串
 				data = JSON.stringify(data);