5.17改动
This commit is contained in:
parent
c8cf0b0543
commit
0c437a60f3
@ -15,6 +15,7 @@ Page({
|
||||
user_name: "医师姓名",
|
||||
not_accepted_inquiry_num: 0,
|
||||
accepting_inquiry_num: 0,
|
||||
is_welfare_cooperation:null,
|
||||
info_shiming_status_txt: "未认证",
|
||||
info_shiming_status: "info_shiming_status_no",
|
||||
show_info_note: false,
|
||||
@ -268,6 +269,8 @@ Page({
|
||||
let multi_point_status = response.data.info.multi_point_status;
|
||||
//绑定结算银行卡
|
||||
let is_bind_bank = response.data.info.is_bind_bank;
|
||||
let is_welfare_cooperation=response.data.info.is_welfare_cooperation;
|
||||
|
||||
api.getDoctorService(response.data.info.doctor_id).then(res=>{
|
||||
if(res.code==200){
|
||||
let result=res.data;
|
||||
@ -316,6 +319,7 @@ Page({
|
||||
"info.iden_auth_status": iden_auth_status,
|
||||
"info.multi_point_status": multi_point_status,
|
||||
"info.is_bind_bank": is_bind_bank,
|
||||
'info.is_welfare_cooperation':is_welfare_cooperation
|
||||
// "info.is_img_expert_reception": is_img_expert_reception,
|
||||
// "info.is_img_quick_reception": is_img_quick_reception,
|
||||
// "info.is_img_welfare_reception": is_img_welfare_reception,
|
||||
|
||||
@ -115,7 +115,7 @@
|
||||
<text class="fun_box_item_txt">个人简介管理</text>
|
||||
<view class="introicon" wx:if="{{info.introduction_status==3}}">!</view>
|
||||
</view>
|
||||
<view bindtap="go" data-moudle="4" data-url="/user/pages/yishi/onlinesetup/index?multi_point_status={{info.multi_point_status}}&&idcard_status={{info.idcard_status}}&&is_bind_bank={{info.is_bind_bank}}&&iden_auth_status={{info.iden_auth_status}}" class="fun_box_item" style="height: {{funbox_height}}rpx;">
|
||||
<view bindtap="go" data-moudle="4" data-url="/user/pages/yishi/onlinesetup/index?multi_point_status={{info.multi_point_status}}&idcard_status={{info.idcard_status}}&is_bind_bank={{info.is_bind_bank}}&iden_auth_status={{info.iden_auth_status}}" class="fun_box_item" style="height: {{funbox_height}}rpx;">
|
||||
<van-image class="fun_box_item_img"
|
||||
fit="widthFix"
|
||||
width="70rpx"
|
||||
@ -131,7 +131,7 @@
|
||||
/>
|
||||
<text class="fun_box_item_txt">快速问诊管理</text>
|
||||
</view>
|
||||
<view bindtap="go" data-moudle="6" data-url="/user/pages/yishi/yizhensetup/index" class="fun_box_item" style="height: {{funbox_height}}rpx;">
|
||||
<view bindtap="go" data-moudle="6" data-url="/user/pages/yishi/yizhensetup/index?is_welfare_cooperation={{info.is_welfare_cooperation}}" class="fun_box_item" style="height: {{funbox_height}}rpx;">
|
||||
<van-image class="fun_box_item_img"
|
||||
fit="widthFix"
|
||||
width="70rpx"
|
||||
|
||||
@ -9,6 +9,7 @@ Page({
|
||||
showCapsule: 1, //是否显示左上角图标 1表示显示 0表示不显示
|
||||
title: '公益问诊设置', //导航栏 中间的标题
|
||||
},
|
||||
is_welfare_cooperation:null,
|
||||
height: app.globalData.height,
|
||||
checked: true,
|
||||
showSetting:false,
|
||||
@ -41,8 +42,13 @@ Page({
|
||||
sub_visible: false,
|
||||
},
|
||||
|
||||
onLoad(){
|
||||
|
||||
onLoad(options){
|
||||
console.log(options.is_welfare_cooperation)
|
||||
if(options.is_welfare_cooperation){
|
||||
this.setData({
|
||||
is_welfare_cooperation:options.is_welfare_cooperation
|
||||
})
|
||||
}
|
||||
},
|
||||
onShow(){
|
||||
this.getDoctorOpen()
|
||||
@ -257,6 +263,7 @@ Page({
|
||||
|
||||
onPickerChange(e) {
|
||||
console.log(e);
|
||||
|
||||
const { key } = e.currentTarget.dataset;
|
||||
const { value } = e.detail;
|
||||
console.log('picker change:', e.detail);
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
<van-cell size="large" custom-style="font-size:32rpx;border-radius: 20rpx;"
|
||||
title="每日接诊数量" is-link
|
||||
border="{{true}}"
|
||||
url="/user/pages/yishi/yizhensetupprice/index"
|
||||
url="/user/pages/yishi/yizhensetupprice/index?is_welfare_cooperation={{is_welfare_cooperation}}"
|
||||
>
|
||||
<view class="num" wx:if="{{info.work_num_day!==''}}">
|
||||
{{ info.work_num_day }}
|
||||
@ -37,7 +37,7 @@
|
||||
<van-cell size="large" custom-style="font-size:32rpx;border-radius: 20rpx;"
|
||||
title="问诊单价" is-link
|
||||
border="{{false}}"
|
||||
url="/user/pages/yishi/yizhensetupprice/index"
|
||||
url="/user/pages/yishi/yizhensetupprice/index?is_welfare_cooperation={{is_welfare_cooperation}}"
|
||||
>
|
||||
<view wx:if="{{info.inquiry_price}}">
|
||||
<text class="price">{{ amountText }}</text>
|
||||
|
||||
@ -9,6 +9,7 @@ Page({
|
||||
showCapsule: 1, //是否显示左上角图标 1表示显示 0表示不显示
|
||||
title: '设置价格', //导航栏 中间的标题
|
||||
},
|
||||
is_welfare_cooperation:null,
|
||||
height: app.globalData.height,
|
||||
checked: true,
|
||||
open_note: "已开启,可在问诊消息中进行接诊",
|
||||
@ -39,7 +40,14 @@ Page({
|
||||
},
|
||||
sub_visible: false,
|
||||
},
|
||||
|
||||
onLoad(options){
|
||||
console.log(options.is_welfare_cooperation)
|
||||
if(options.is_welfare_cooperation){
|
||||
this.setData({
|
||||
is_welfare_cooperation:options.is_welfare_cooperation
|
||||
})
|
||||
}
|
||||
},
|
||||
onShow(){
|
||||
let params = {};
|
||||
params.inquiry_type = this.data.inquiry_type;//接诊类型(1:专家问诊 2:快速问诊 3:公益问诊 4:问诊购药)
|
||||
@ -199,6 +207,17 @@ Page({
|
||||
console.log(e);
|
||||
const { key } = e.currentTarget.dataset;
|
||||
const { value } = e.detail;
|
||||
console.log(value);
|
||||
if(this.data.is_welfare_cooperation==='0' && value[0] ==0){
|
||||
wx.showToast({
|
||||
title: `您不能设置${value}元,有疑问联系相关客服`,
|
||||
icon:'none'
|
||||
})
|
||||
this.setData({
|
||||
amountVisible:true
|
||||
})
|
||||
return false;
|
||||
}
|
||||
console.log('picker change:', e.detail);
|
||||
this.setData({
|
||||
[`${key}Visible`]: false,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user