From 97636e69847085c3c382b94c05a4cdf561f8d6da Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Fri, 10 Jan 2025 14:19:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=BA=E5=9C=B0=E9=A2=84=E7=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/booksubmit/appointment.vue | 3 ++- packages/booksubmit/index.vue | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/booksubmit/appointment.vue b/packages/booksubmit/appointment.vue index a3a34df..3716373 100644 --- a/packages/booksubmit/appointment.vue +++ b/packages/booksubmit/appointment.vue @@ -153,7 +153,8 @@ getSites() { this.$u.api.otherConfig().then(res => { this.siteList = this.base.deepCopy(res.appointment_type) - this.siteList = this.siteList.sort((a, b) => a['sort'] - b['sort']) + this.siteList = this.siteList.sort((a, b) => a['sort'] - b['sort']) + this.siteList = this.siteList.filter(item=>{return item.is_show===1}) }) }, formatTime(val1,val2) { diff --git a/packages/booksubmit/index.vue b/packages/booksubmit/index.vue index 1975151..0c1f1fd 100644 --- a/packages/booksubmit/index.vue +++ b/packages/booksubmit/index.vue @@ -381,7 +381,7 @@ res.appointment_type.map(item => { if (that.appoinementType == item.id) { that.tips = item.tips - that.showTips = true + that.showTips = item.tips?true:false that.bookName = item.name that.bookStartTime = item.start_time that.bookEndTime = item.end_time