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