4.18上传
This commit is contained in:
@@ -74,6 +74,16 @@ Component({
|
||||
});
|
||||
},
|
||||
},
|
||||
serviceInfo:{
|
||||
type: Object,
|
||||
value: {},
|
||||
observer(serviceInfo) {
|
||||
console.log(serviceInfo)
|
||||
this.setData({
|
||||
serviceInfo: serviceInfo
|
||||
});
|
||||
},
|
||||
},
|
||||
baseInfo: {
|
||||
type: Object,
|
||||
value: {},
|
||||
@@ -172,7 +182,9 @@ Component({
|
||||
*/
|
||||
data: {
|
||||
rest_time:0,
|
||||
showYaotip:false,
|
||||
videoInfo:{},
|
||||
serviceInfo:{},
|
||||
total_rounds:0,
|
||||
timeData:{},
|
||||
showTip:false,
|
||||
@@ -221,6 +233,11 @@ Component({
|
||||
* 组件的方法列表
|
||||
*/
|
||||
methods: {
|
||||
closeYaotip(){
|
||||
this.setData({
|
||||
showYaotip:true
|
||||
})
|
||||
},
|
||||
openTime(){
|
||||
this.selectComponent("#MessageInput").openTimePicker();
|
||||
this.setData({
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<view class="name" wx:if="{{baseInfo.inquiry_status!=4}}">{{baseInfo.patient_family_name}}</view>
|
||||
<view class="age" wx:if="{{baseInfo.inquiry_status!=4}}">{{baseInfo.patient_family_sex==1?'男':'女'}} | {{baseInfo.patient_family_age}}岁</view>
|
||||
|
||||
<view class="count_time" wx:else="{{baseInfo.inquiry_status==4}}">
|
||||
<view class="count_time" wx:elif="{{baseInfo.inquiry_status==4 && !(baseInfo.inquiry_mode==9 || baseInfo.inquiry_mode==8) }}">
|
||||
|
||||
问诊中|<text wx:if="{{rest_time==-1}}" class="time_desc">不限时间</text>
|
||||
<view wx:else="{{rest_time!=-1}}" class="time_desc">
|
||||
@@ -26,6 +26,8 @@
|
||||
<text wx:else>0</text>个沟通回合
|
||||
</text>
|
||||
</view>
|
||||
<view class="count_time" wx:elif="{{baseInfo.inquiry_status==4 && (baseInfo.inquiry_mode==9 || baseInfo.inquiry_mode==8) }}"> 问诊中 | <text wx:if="{{serviceInfo.monthly_frequency==0}}" class="red" decode> 不限问诊次数,{{serviceInfo.finish_time}}后结束</text>
|
||||
<text decode wx:else> 当月剩余:<text class="red">{{serviceInfo.monthly_frequency-serviceInfo.month_inquiry_count}}</text>次</text></view>
|
||||
</view>
|
||||
<view class="right">
|
||||
<text class="right_txt" bindtap="putDoctorInquiryFinish" wx:if="{{baseInfo.inquiry_status==4}}">结束问诊</text>
|
||||
@@ -36,6 +38,10 @@
|
||||
<view >如需要修改视频时间,请点击这里</view>
|
||||
<van-icon name="arrow" size="14px" style="margin-top: 3rpx;" color="#FF9C00" />
|
||||
</view>
|
||||
<view class="yaotip" hidden="{{showYaotip}}">
|
||||
<view>温馨提示:还剩{{serviceInfo.remaining_quantity}}盒“肝爽颗粒(步长)”,记得开具处方</view>
|
||||
<van-icon name="cross" bind:tap="closeYaotip"/>
|
||||
</view>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -317,4 +317,23 @@ margin-left: 32rpx;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
color: #FF9C00;
|
||||
}
|
||||
}
|
||||
.count_time .red{
|
||||
color:#E34D59;
|
||||
}
|
||||
.yaotip{
|
||||
position: fixed;
|
||||
z-index:999;
|
||||
top:230rpx;
|
||||
justify-content: space-between;
|
||||
padding: 0 10rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
width:100%;
|
||||
height: 72rpx;
|
||||
background: #facd91;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
color: #db0f22;
|
||||
}
|
||||
Reference in New Issue
Block a user