首页添加字段
This commit is contained in:
parent
3d2599717f
commit
b35893fd9c
@ -266,8 +266,45 @@ Page({
|
||||
let iden_auth_status = response.data.info.iden_auth_status;
|
||||
//多点执业认证
|
||||
let multi_point_status = response.data.info.multi_point_status;
|
||||
console.log(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:是)
|
||||
@ -674,6 +711,7 @@ Page({
|
||||
let is_bind_bank = this.data.info.is_bind_bank;
|
||||
//是否参加专家图文接诊(0:否 1:是)
|
||||
let is_img_expert_reception = this.data.info.is_img_expert_reception;
|
||||
console.log(is_img_expert_reception)
|
||||
//是否参加专家快速接诊(0:否 1:是)
|
||||
let is_img_quick_reception = this.data.info.is_img_quick_reception;
|
||||
//是否参加专家公益接诊(0:否 1:是)
|
||||
@ -708,11 +746,12 @@ Page({
|
||||
}
|
||||
|
||||
let retult = true;
|
||||
console.log(statusArr);
|
||||
statusArr.forEach(status => {
|
||||
let now_case = this.data.mycase.find(item => {
|
||||
return item.case_status == status;
|
||||
});
|
||||
// console.log("now_case: ", now_case);
|
||||
console.log("now_case: ", now_case);
|
||||
//所属模块
|
||||
let moudle = e.currentTarget.dataset.moudle;
|
||||
// console.log("moudle: ", moudle);
|
||||
@ -732,7 +771,7 @@ Page({
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
console.log(retult);
|
||||
return retult;
|
||||
},
|
||||
onClickHideOverlay(){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user