预约大厅:
{{hall}}
咨询电话:
{{item}}
{{item.week}}
{{item.date}}
选择预约时段
余号:{{item.yh}}
{{item.sjd}}
诉求描述
{{tools.bigDate(dates[dateIndex].date)}}({{dates[dateIndex].week}}) | {{times[timeIndex].sjd}}
确认预约
var yy = function (e) {
if (e) {
return Number(e.capacity) - Number(e.appointNum)
} else {
return ""
}
}
var bigDate = function (e) {
if (e) {
return e.split("-")[0] + "月" + e.split("-")[1] + "日"
} else {
return ""
}
}
var tools = {
yy: yy,
bigDate: bigDate
}
module.exports = tools;