|
|
@ -180,7 +180,11 @@ |
|
|
|
} |
|
|
|
}, |
|
|
|
async onShow() { |
|
|
|
await this.getDoctorInfo(); |
|
|
|
this.selectCount = 0 |
|
|
|
this.activeVisitors = [] |
|
|
|
this.visitUsers = false |
|
|
|
this.pageshow = false |
|
|
|
this.getDoctorInfo(); |
|
|
|
}, |
|
|
|
onReady() { |
|
|
|
|
|
|
@ -190,13 +194,11 @@ |
|
|
|
this.$nav.navToPath('/pages/index/index') |
|
|
|
}, |
|
|
|
// 预约时间 -跳转就诊人页面-预约时间 |
|
|
|
async getDoctorInfo() { |
|
|
|
await this.$http.req('api/user/index_info', {}, 'GET').then(data=>{ |
|
|
|
getDoctorInfo() { |
|
|
|
this.$http.req('api/user/index_info', {}, 'GET').then(data=>{ |
|
|
|
if(data == -1) return |
|
|
|
|
|
|
|
this.doctorInfo = data; |
|
|
|
|
|
|
|
|
|
|
|
if(this.doctorInfo.hospital_departs && this.doctorInfo.hospital_departs.length>0) this.hospitals = this.doctorInfo.hospital_departs; |
|
|
|
|
|
|
|
var hospital = {} |
|
|
|