患者12.12
This commit is contained in:
parent
fcd9d6ccad
commit
2eefc1929f
@ -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} `);
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -62,13 +62,13 @@ Page({
|
||||
pathography_id:options.pathography_id
|
||||
})
|
||||
this.handlepathographyDetail(options.pathography_id);
|
||||
};
|
||||
};
|
||||
if(options.index){
|
||||
this.setData({
|
||||
index:options.index
|
||||
})
|
||||
}
|
||||
|
||||
};
|
||||
},
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user