场地预约

master
lion 11 months ago
parent 50cafecd45
commit 97636e6984

@ -153,7 +153,8 @@
getSites() { getSites() {
this.$u.api.otherConfig().then(res => { this.$u.api.otherConfig().then(res => {
this.siteList = this.base.deepCopy(res.appointment_type) 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) { formatTime(val1,val2) {

@ -381,7 +381,7 @@
res.appointment_type.map(item => { res.appointment_type.map(item => {
if (that.appoinementType == item.id) { if (that.appoinementType == item.id) {
that.tips = item.tips that.tips = item.tips
that.showTips = true that.showTips = item.tips?true:false
that.bookName = item.name that.bookName = item.name
that.bookStartTime = item.start_time that.bookStartTime = item.start_time
that.bookEndTime = item.end_time that.bookEndTime = item.end_time

Loading…
Cancel
Save