5.9
This commit is contained in:
@@ -229,7 +229,7 @@ getFollowDetail(){
|
||||
|
||||
this.setData({
|
||||
showServiceNumber:false,
|
||||
monthly_frequency:index==0?10:0
|
||||
monthly_frequency:index==0?10:'0'
|
||||
})
|
||||
},
|
||||
cancelServiceNumber(){
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<view class="price_steup_box_top_title">服务次数/月</view>
|
||||
<view class="price_steup_box_top_stepper" bind:tap="openServiceNumber">
|
||||
<text class="amount nodata" wx:if="{{monthly_frequency===''}}">请选择服务次数</text>
|
||||
<text class="amount" wx:else>{{monthly_frequency===0?'不限次数':'10次'}}</text>
|
||||
<text class="amount" wx:else>{{monthly_frequency==='0'?'不限次数':'10次'}}</text>
|
||||
|
||||
<van-icon name="arrow" color="#999" style="margin-top: 2rpx;"/>
|
||||
</view>
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
<view class="switch_box_note">{{ (info.is_open==1 && active==1)?'已开启,患者可以向您发起随访包服务':'已关闭,暂不接诊' }}</view>
|
||||
</view>
|
||||
<view class="help">
|
||||
<van-cell size="large" custom-style="font-size:32rpx;" title="服务内容介绍和结算" is-link border="{{false}}" />
|
||||
<van-cell size="large" url="/user/pages/yishi/manual_detail/index?manual_id=14" custom-style="font-size:32rpx;" title="服务内容介绍和结算" is-link border="{{false}}" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="checked_box" style="margin-top: 30rpx;">
|
||||
@@ -153,7 +153,7 @@
|
||||
<view class="switch_box_note">{{ (info.is_open==1 && active==2)?'已开启,患者可以向您发起健康包服务':'已关闭,暂不接诊' }}</view>
|
||||
</view>
|
||||
<view class="help">
|
||||
<van-cell size="large" url="/user/pages/yishi/manual_detail/index?manual_id=6" custom-style="font-size:32rpx;" title="服务内容介绍和结算" is-link border="{{false}}" />
|
||||
<van-cell size="large" url="/user/pages/yishi/manual_detail/index?manual_id=13" custom-style="font-size:32rpx;" title="服务内容介绍和结算" is-link border="{{false}}" />
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
@@ -51,11 +51,12 @@ Page({
|
||||
// config: response.data.config,
|
||||
// note: response.data.info.is_open == 1? this.data.open_note : this.data.close_note
|
||||
})
|
||||
this.getSysconfig();
|
||||
}).catch(errors => {console.error(errors);})
|
||||
this.getSysconfig();
|
||||
|
||||
},
|
||||
getSysconfig(){
|
||||
let {inquiry_type,inquiry_mode}=this.data;
|
||||
let {inquiry_type,inquiry_mode,info}=this.data;
|
||||
api.getSysconfig({
|
||||
inquiry_type,
|
||||
inquiry_mode
|
||||
@@ -65,7 +66,14 @@ Page({
|
||||
'config': response.data
|
||||
// config: response.data.config,
|
||||
// note: response.data.info.is_open == 1? this.data.open_note : this.data.close_note
|
||||
})
|
||||
});
|
||||
|
||||
if(!info.work_num_day){
|
||||
|
||||
this.setData({
|
||||
'info.work_num_day':response.data.default_work_num_day
|
||||
})
|
||||
}
|
||||
}).catch(errors => {console.error(errors);})
|
||||
|
||||
},
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<!-- 问诊订单 -->
|
||||
<te-nav-bar navbar-data='{{navbarData}}' ></te-nav-bar>
|
||||
<wxs src="../../../../filters/filter.wxs" module="filter"></wxs>
|
||||
|
||||
<view class="container">
|
||||
<view class="order_list">
|
||||
<view class="order_item" wx:for="{{order_list}}">
|
||||
@@ -12,7 +14,7 @@
|
||||
<view class="order_id">接诊时间:<text style="font-size: 30rpx;color: rgba(0,0,0,0.85);">{{item.start_time}}</text></view>
|
||||
<view class="order_id">结束时间:<text style="font-size: 30rpx;color: rgba(0,0,0,0.85);">{{item.finish_time}}</text></view>
|
||||
<view class="order_id">订单金额:<text style="font-size: 30rpx;color: rgba(0,0,0,0.85);">¥{{item.amount_total}}</text></view>
|
||||
<view class="order_id"><text decode style="opacity: 0;">入账</text><text >入账:</text><text style="font-size: 30rpx;color: #FF5D2E;">{{item.amount_total}}*0.75元</text></view>
|
||||
<view class="order_id"><text decode style="opacity: 0;">入账</text><text >入账:</text><text style="font-size: 30rpx;color: #FF5D2E;">{{filter.countMoney(item.amount_total)}}元</text></view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -62,11 +62,12 @@ Page({
|
||||
// this.setData({
|
||||
// note: note
|
||||
// })
|
||||
}).catch(errors => {console.error(errors);})
|
||||
this.getSysconfig()
|
||||
}).catch(errors => {console.error(errors);})
|
||||
|
||||
},
|
||||
getSysconfig(){
|
||||
let {inquiry_type,inquiry_mode}=this.data;
|
||||
let {inquiry_type,inquiry_mode,info}=this.data;
|
||||
api.getSysconfig({
|
||||
inquiry_type,
|
||||
inquiry_mode
|
||||
@@ -77,6 +78,11 @@ Page({
|
||||
// config: response.data.config,
|
||||
// note: response.data.info.is_open == 1? this.data.open_note : this.data.close_note
|
||||
})
|
||||
if(!info.work_num_day){
|
||||
this.setData({
|
||||
'info.work_num_day':response.data.default_work_num_day
|
||||
})
|
||||
}
|
||||
this.formatAmounts();
|
||||
this.formatAmountValue();
|
||||
}).catch(errors => {console.error(errors);})
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<te-nav-bar navbar-data='{{navbarData}}' ></te-nav-bar>
|
||||
|
||||
<view class="container">
|
||||
<view class="checked_box">
|
||||
<view class="price_steup_box">
|
||||
|
||||
Reference in New Issue
Block a user