diff --git a/TUIService/TUIKit/components/TUIChat/components/MessageInput/index.js b/TUIService/TUIKit/components/TUIChat/components/MessageInput/index.js index 1b9c059..e50dc96 100644 --- a/TUIService/TUIKit/components/TUIChat/components/MessageInput/index.js +++ b/TUIService/TUIKit/components/TUIChat/components/MessageInput/index.js @@ -175,6 +175,7 @@ Component({ }); } else { // res.tempFilePath 存储录音文件的临时路径 + this.sendCallback(); const message = wx.$TUIKit.createAudioMessage({ to: this.getToAccount(), conversationType: this.data.conversation.type, @@ -189,7 +190,7 @@ Component({ is_system:0 }) }); - //this.sendCallback(); + this.$sendTIMMessage(message); } } @@ -388,7 +389,7 @@ Component({ sourceType: [type], mediaType: [mediaType], success: (res) => { - //this.sendCallback(); + this.sendCallback(); const mediaInfoList = res.tempFiles; mediaInfoList.forEach((mediaInfo) => { fileList.push({ type: res.type, tempFiles: [{ tempFilePath: mediaInfo.tempFilePath }] }); @@ -742,7 +743,7 @@ Component({ const to =this.getToAccount(); const text = flag ? msg : this.data.message; const { FEAT_NATIVE_CODE } = constant; - //this.sendCallback(); + this.sendCallback(); const message = wx.$TUIKit.createTextMessage({ to, conversationType: this.data.conversation.type, @@ -752,7 +753,7 @@ Component({ cloudCustomData: JSON.stringify({ order_inquiry_id:this.data.order_inquiry_id, inquiry_type:this.data.inquiry_type, - message_rounds:this.data.msgData.msg_round, + message_rounds:this.data.msgData.msg_round+1, patient_family_data:this.data.patient_family_data, is_system:0 }), @@ -964,7 +965,7 @@ Component({ ext3: wx.$chat_SDKAppID, }); } - this.sendCallback(); + //this.sendCallback(); }) .catch((error) => { logger.log(`| TUI-chat | message-input | sendMessageError: ${error.code} `); diff --git a/pages/expertConsult/expertConsult.js b/pages/expertConsult/expertConsult.js index 00ab3ae..cd3d425 100644 --- a/pages/expertConsult/expertConsult.js +++ b/pages/expertConsult/expertConsult.js @@ -218,7 +218,7 @@ Page({ province_id:province_id, city_id:city_id, sort_order: sort_order, - is_online, + is_first_online:is_online, keyword:keyword, is_search_welfare_reception: is_search_welfare_reception, page:page, diff --git a/pages/sickDetail/sickDetail.js b/pages/sickDetail/sickDetail.js index 96a8736..4f32b61 100644 --- a/pages/sickDetail/sickDetail.js +++ b/pages/sickDetail/sickDetail.js @@ -62,13 +62,13 @@ Page({ pathography_id:options.pathography_id }) this.handlepathographyDetail(options.pathography_id); - }; + }; if(options.index){ this.setData({ index:options.index }) - } - + }; + }, /** * 生命周期函数--监听页面初次渲染完成 */