git 修复
This commit is contained in:
@@ -148,11 +148,8 @@ Page({
|
||||
},
|
||||
|
||||
getConfig(){
|
||||
let {inquiry_type,inquiry_mode}=this.data;
|
||||
api.getServiceConfig({
|
||||
inquiry_type,
|
||||
inquiry_mode
|
||||
}).then(response => {
|
||||
// let {inquiry_type,inquiry_mode}=this.data;
|
||||
api.getServiceConfig().then(response => {
|
||||
let result=response.data;
|
||||
if(result){
|
||||
this.setData({
|
||||
@@ -160,7 +157,7 @@ Page({
|
||||
'config_setting.service_process':result.service_process,
|
||||
'config_setting.service_period':result.service_period,
|
||||
'config_setting.service_rounds':result.service_rounds,
|
||||
'config_setting.config_service_id':result.config_service_id,
|
||||
'config_setting.config_service_id':result.difficult_consultation_id,
|
||||
difficultSetting:true
|
||||
})
|
||||
}else{
|
||||
|
||||
@@ -46,11 +46,11 @@ Page({
|
||||
},
|
||||
onShow(){
|
||||
this.getDoctorOpen()
|
||||
// let doctor_id=wx.getStorageSync('client_user_id_2');
|
||||
// console.log(doctor_id);
|
||||
// if(doctor_id){
|
||||
// this.getService(doctor_id)
|
||||
// }
|
||||
let doctor_id=wx.getStorageSync('client_user_id_2');
|
||||
|
||||
if(doctor_id){
|
||||
this.getService(doctor_id)
|
||||
}
|
||||
let params = {};
|
||||
params.inquiry_type = this.data.inquiry_type;//接诊类型(1:专家问诊 2:快速问诊 3:公益问诊 4:问诊购药)
|
||||
params.inquiry_mode = this.data.inquiry_mode;//接诊方式(1:图文 2:视频 3:语音 4:电话 5:会员)
|
||||
|
||||
Reference in New Issue
Block a user