场地预约

master
lion 10 months ago
parent 50cafecd45
commit 97636e6984

@ -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) {

@ -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

Loading…
Cancel
Save