更新医生端 结束接口两次问题
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<view class="TUI-message-input-container">
|
||||
<view class="TUI-commom-function">
|
||||
<view class="TUI-commom-function-item" data-key="10" bindtap="handleCommonFunctions">查看完整病历</view>
|
||||
<view class="TUI-commom-function-item" data-key="11" bindtap="handleCommonFunctions" wx:if="{{baseInfo.multi_point_status == 1}}">在线开处方</view>
|
||||
<view class="TUI-commom-function-item" data-key="11" bindtap="handleCommonFunctions" wx:if="{{baseInfo.multi_point_status == 1 && baseInfo.inquiry_status!=4}}">在线开处方</view>
|
||||
</view>
|
||||
<view class="TUI-message-input">
|
||||
<image class="TUI-icon" bindtap="switchAudio" wx:if="{{has_audio}}"
|
||||
|
||||
@@ -176,15 +176,15 @@ Component({
|
||||
message_rounds: message_rounds
|
||||
})
|
||||
let total_rounds=this.data.total_rounds;
|
||||
if(total_rounds>=0){
|
||||
if(total_rounds-message_rounds<=0 && this.data.baseInfo.inquiry_status==4){
|
||||
wx.showToast({
|
||||
title: '沟通已达到限制的'+total_rounds+'个回合',
|
||||
icon:"none"
|
||||
})
|
||||
this.finishConsult();
|
||||
}
|
||||
}
|
||||
// if(total_rounds>=0){
|
||||
// if(total_rounds-message_rounds<=0 && this.data.baseInfo.inquiry_status==4){
|
||||
// wx.showToast({
|
||||
// title: '沟通已达到限制的'+total_rounds+'个回合',
|
||||
// icon:"none"
|
||||
// })
|
||||
// this.finishConsult();
|
||||
// }
|
||||
// }
|
||||
|
||||
},
|
||||
onChangeTime(e) {
|
||||
@@ -310,13 +310,13 @@ Component({
|
||||
this.setData({
|
||||
"rest_time": countdownTime
|
||||
});
|
||||
if(countdownTime==0){
|
||||
wx.showToast({
|
||||
title: '沟通时长已超过限制时间',
|
||||
icon:"none"
|
||||
})
|
||||
this.finishConsult();
|
||||
}
|
||||
//if(countdownTime==0){
|
||||
// wx.showToast({
|
||||
// title: '沟通时长已超过限制时间',
|
||||
// icon:"none"
|
||||
// })
|
||||
// this.finishConsult();
|
||||
// }
|
||||
} else {
|
||||
|
||||
this.setData({
|
||||
|
||||
@@ -54,7 +54,8 @@
|
||||
<view class="group-profile">
|
||||
<TUIGroup id="TUIGroup" wx:if="{{isShow}}" conversation="{{conversation}}" bind:groupCall="groupCall" bind:showConversationList="showConversationList"></TUIGroup>
|
||||
</view>
|
||||
<view class="input-area" style="{{input_area_style}}" wx:if="{{baseInfo.inquiry_status==4}}">
|
||||
<!-- wx:if="{{baseInfo.inquiry_status==4}}" -->
|
||||
<view class="input-area" style="{{input_area_style}}" >
|
||||
<view class="message-input" style="{{viewData.style}}" wx:if="{{showChat}}">
|
||||
<MessageInput bind:myhandleExtensions="myhandleExtensions" id="MessageInput" inquiry_type="{{inquiry_type}}" baseInfo="{{baseInfo}}" order_inquiry_id="{{order_inquiry_id}}" conversation="{{conversation}}" hasCallKit="{{hasCallKit}}" bind:sendMessage="sendMessage" bind:downKeysBoards="downKeysBoards" bind:pullKeysBoards="pullKeysBoards" bind:showMessageErrorImage="showMessageErrorImage"
|
||||
bind:refreshMessageStatus="refreshMessageStatus"
|
||||
|
||||
@@ -154,6 +154,7 @@
|
||||
.time_desc{
|
||||
color:#E34D59;
|
||||
display: flex;
|
||||
font-size: 32rpx;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
@@ -165,6 +166,7 @@
|
||||
font-size: 32rpx;
|
||||
}
|
||||
.count_time{
|
||||
font-size: 32rpx;
|
||||
display: flex;
|
||||
height:100rpx;
|
||||
align-items: center;
|
||||
|
||||
Reference in New Issue
Block a user