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