正式1.0.0
This commit is contained in:
@@ -173,7 +173,7 @@ Component({
|
||||
wx.setStorageSync('words', "");
|
||||
}
|
||||
|
||||
console.log("pageLifetimes show")
|
||||
// console.log("pageLifetimes show")
|
||||
let _this = this
|
||||
wx.getNetworkType({
|
||||
success (res) {
|
||||
@@ -361,7 +361,7 @@ Component({
|
||||
handleSendImageMessage(file) {
|
||||
|
||||
let networkstatus = this.data.networkstatus
|
||||
console.log("networkstatus: ", networkstatus)
|
||||
// console.log("networkstatus: ", networkstatus)
|
||||
if(networkstatus === 'none'){
|
||||
wx.showToast({
|
||||
title: '请检查您的网络',
|
||||
@@ -405,12 +405,15 @@ Component({
|
||||
message_rounds = cloudCustomDataJson.message_rounds;
|
||||
}
|
||||
|
||||
let cach_message_rounds = this.data.message_rounds
|
||||
message_rounds = cach_message_rounds>message_rounds?cach_message_rounds:message_rounds
|
||||
|
||||
const mycloudCustomData = JSON.stringify({
|
||||
order_inquiry_id: this.data.order_inquiry_id,
|
||||
inquiry_type: this.data.inquiry_type,
|
||||
message_type: 0,
|
||||
is_system: 0,
|
||||
message_rounds: this.data.message_rounds,
|
||||
message_rounds: message_rounds,
|
||||
patient_family_data: patient_family_data
|
||||
});
|
||||
|
||||
@@ -459,7 +462,7 @@ Component({
|
||||
},
|
||||
|
||||
handleCommonFunctions(e) {
|
||||
console.log("handleCommonFunctions: ", e)
|
||||
// console.log("handleCommonFunctions: ", e)
|
||||
switch (e.target.dataset.key) {
|
||||
case '0':
|
||||
this.setData({
|
||||
@@ -541,7 +544,7 @@ Component({
|
||||
})
|
||||
wx.openSetting({
|
||||
success (res) {
|
||||
console.log(res.authSetting)
|
||||
// console.log(res.authSetting)
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -679,7 +682,7 @@ Component({
|
||||
sendTextMessage(msg, flag) {
|
||||
|
||||
let networkstatus = this.data.networkstatus
|
||||
console.log("networkstatus: ", networkstatus)
|
||||
// console.log("networkstatus: ", networkstatus)
|
||||
if(networkstatus === 'none'){
|
||||
wx.showToast({
|
||||
title: '请检查您的网络',
|
||||
@@ -730,6 +733,9 @@ Component({
|
||||
message_rounds = cloudCustomDataJson.message_rounds;
|
||||
}
|
||||
|
||||
let cach_message_rounds = this.data.message_rounds
|
||||
message_rounds = cach_message_rounds>message_rounds?cach_message_rounds:message_rounds
|
||||
|
||||
const to = this.getToAccount();
|
||||
const text = flag ? msg : this.data.message;
|
||||
|
||||
@@ -739,7 +745,7 @@ Component({
|
||||
inquiry_type: this.data.inquiry_type,
|
||||
message_type: 0,
|
||||
is_system: 0,
|
||||
message_rounds: this.data.message_rounds,
|
||||
message_rounds: message_rounds,
|
||||
patient_family_data: patient_family_data
|
||||
});
|
||||
|
||||
|
||||
@@ -235,7 +235,7 @@ Component({
|
||||
},
|
||||
refreshMessageRounds(message){
|
||||
try {
|
||||
console.log("messageList refreshMessageRounds message: ", message);
|
||||
// console.log("messageList refreshMessageRounds message: ", message);
|
||||
let cloudCustomData = "";
|
||||
let cloudCustomDataJson = "";
|
||||
if(message.cloudCustomData){
|
||||
|
||||
Reference in New Issue
Block a user