首页service
This commit is contained in:
parent
821ead9205
commit
176d383cff
@ -268,6 +268,42 @@ Page({
|
||||
let multi_point_status = response.data.info.multi_point_status;
|
||||
//绑定结算银行卡
|
||||
let is_bind_bank = response.data.info.is_bind_bank;
|
||||
api.getDoctorService(response.data.info.doctor_id).then(res=>{
|
||||
if(res.code==200){
|
||||
let result=res.data;
|
||||
for (let i = 0; i < result.length; i++) {
|
||||
if(result[i].inquiry_type=1 && result[i].inquiry_mode==1 && result[i].is_enable==1){
|
||||
this.setData({
|
||||
'info.is_img_expert_reception':1
|
||||
})
|
||||
}else{
|
||||
this.setData({
|
||||
'info.is_img_expert_reception':0
|
||||
})
|
||||
};
|
||||
if(result[i].inquiry_type=2 && result[i].is_enable==1){
|
||||
this.setData({
|
||||
'info.is_img_quick_reception':1
|
||||
})
|
||||
}else{
|
||||
this.setData({
|
||||
'info.is_img_quick_reception':0
|
||||
})
|
||||
};
|
||||
if(result[i].inquiry_type=3 && result[i].is_enable==1){
|
||||
this.setData({
|
||||
'info.is_img_welfare_reception':1
|
||||
})
|
||||
}else{
|
||||
this.setData({
|
||||
'info.is_img_welfare_reception':0
|
||||
})
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
})
|
||||
// //是否参加专家图文接诊(0:否 1:是)
|
||||
// let is_img_expert_reception = response.data.info.is_img_expert_reception;
|
||||
// //是否参加专家快速接诊(0:否 1:是)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user