|
|
|
|
|
|
|
|
send: function () { |
|
|
send: function () { |
|
|
var _this = this; |
|
|
var _this = this; |
|
|
if (_this.data.input) { |
|
|
if (_this.data.input) { |
|
|
// wx.sendSocketMessage({ |
|
|
|
|
|
// data: _this.data.input, |
|
|
|
|
|
// success: (res) => { |
|
|
|
|
|
// console.log(`发送成功`) |
|
|
|
|
|
// console.log(res) |
|
|
|
|
|
// // let { sendMemberId, receiveMemberId, businessCommunicationDemandId } = _this.data; |
|
|
|
|
|
// // let params = { |
|
|
|
|
|
// // sender: receiveMemberId, // 发件人Id |
|
|
|
|
|
// // addressee: sendMemberId, // 收件人Id |
|
|
|
|
|
// // transactionId: businessCommunicationDemandId, // 产品ID |
|
|
|
|
|
// // content: _this.data.input |
|
|
|
|
|
// // }; |
|
|
|
|
|
// }, |
|
|
|
|
|
// fail: (err) => { |
|
|
|
|
|
// console.log('sendSocketMessage', '失败') |
|
|
|
|
|
// } |
|
|
|
|
|
// }) |
|
|
|
|
|
// return |
|
|
|
|
|
this.sendmsgApi(_this.data.input, 0); |
|
|
this.sendmsgApi(_this.data.input, 0); |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
newsList: list, |
|
|
newsList: list, |
|
|
input: null, |
|
|
input: null, |
|
|
inputShowed: true, |
|
|
inputShowed: true, |
|
|
currentGuid:tempGuid |
|
|
|
|
|
}) |
|
|
}) |
|
|
this.scrollBottom() |
|
|
this.scrollBottom() |
|
|
// 表情选择隐藏 |
|
|
// 表情选择隐藏 |