办税大厅:
{{hall}}
办理业务:
{{business.ywmc + '—' + business.ywxxmc}}
{{item.week}}
{{item.date}}
余号:{{tools.yy(item)}}
{{item.periodName}}
{{tools.bigDate(dates[dateIndex].date)}}({{dates[dateIndex].week}}) | {{times[timeIndex].periodName}}
确认预约
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;