From 533b65c1c622f2c0429af5ca8e37367002190a60 Mon Sep 17 00:00:00 2001 From: kuaileWu <1432334894@qq.com> Date: Thu, 5 Jun 2025 17:31:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AB=E5=8F=B7=E9=87=8C=E6=97=A0=E6=82=A3?= =?UTF-8?q?=E8=80=85=20=E5=AF=8C=E5=90=AB=E8=8C=B6=E5=A4=9A=E9=85=9A?= =?UTF-8?q?=E5=92=8C=E4=B8=8D=E7=9F=A5=E9=81=93=E5=95=8A=20=E6=8A=A5?= =?UTF-8?q?=E9=81=93=E7=9A=84=E6=97=B6=E5=80=99=E5=8D=B4=E5=87=BA=E7=8E=B0?= =?UTF-8?q?=E4=BA=86=E8=BF=992=E4=BD=8D=E6=82=A3=E8=80=85=20=E6=98=AF?= =?UTF-8?q?=E4=B8=8D=E6=98=AF=E5=8F=AA=E6=9C=89=E5=BE=85=E5=8F=AB=E5=8F=B7?= =?UTF-8?q?=E7=9A=84=E6=89=8D=E8=83=BD=E6=8A=A5=E9=81=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/visitors/visitors.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pages/visitors/visitors.vue b/pages/visitors/visitors.vue index e8a70a6..96d867f 100644 --- a/pages/visitors/visitors.vue +++ b/pages/visitors/visitors.vue @@ -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 = {}