From c229a614cf3076bff3000b3902a9e5f8eae88204 Mon Sep 17 00:00:00 2001 From: binbin_pan Date: Thu, 19 Sep 2024 16:20:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=93=E6=A3=80app=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jobAppointment/jobAppointment.vue | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pages/HealthExaminationApp/jobAppointment/jobAppointment.vue b/pages/HealthExaminationApp/jobAppointment/jobAppointment.vue index c0a6723..700753e 100644 --- a/pages/HealthExaminationApp/jobAppointment/jobAppointment.vue +++ b/pages/HealthExaminationApp/jobAppointment/jobAppointment.vue @@ -37,7 +37,9 @@ -
当天剩余可预约人数:{{ reservationNumber }}人
+
+ 当天剩余可预约人数:{{ reservationNumber < 0 ? '0' : reservationNumber }}人 +

医院信息

@@ -48,7 +50,7 @@
联系方式: {{ hospitalInfo.telPhone }}
-
+
@@ -77,7 +79,7 @@ export default { showTime: false, columns: [], showPropup: false, - checkId: '', + checkId: '', setMealId: '', // 检查类型 checkType: '', @@ -104,7 +106,7 @@ export default { // 获取医院列表 getHospitalList() { const params = { - token: this.token, + token: this.token } console.log('🚀 ~ getHospitalList ~ params:', params) uni.request({ @@ -151,7 +153,7 @@ export default { if (res.res == 1) { // this.checkTypeList = res.obj this.checkType = res.obj.combName - this.setMealId = res.obj.id + this.setMealId = res.obj.id } }, fail: err => { @@ -247,7 +249,7 @@ export default { checkId: undefined, phyAppontTime: this.healthTime, setMealType: '3', - combName: this.checkType, + combName: this.checkType // token: this.token } console.log('🚀 ~ handleSave ~ params:', params)