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)