排队叫号
{{addressInfo.address}}
已实名
Hi,{{userInfo.name || "请点击这里进行实名认证"}}
{{userInfo.nsrmc && userInfo.nsrmc.length>1?'企业身份':'个人身份'}}
{{tools.phone(userInfo.phone)}}
{{tools.idcard(userInfo.idcard)}}
{{userInfo.nsrmc}}
我的办税厅
切换办税厅
{{hall.bsfwtmc}}
距您 {{tools.juli(hall.zxjl)}}
选择企业信息
{{item.nsrmc}}
var juli = function (e) {
if (e) {
var b = e.split('.')[0]
var a = e.split('.')[1].substring(0, 3) || '00'
return b + '.' + a + 'km'
} else {
return ""
}
}
var phone = function (e) {
if (e) {
return e.substring(0, 3) + '****' + e.substring(7, 11)
} else {
return ""
}
}
var idcard = function (e) {
if (e) {
return e.substring(0, 6) + '********' + e.substring(14, 18)
} else {
return ""
}
}
var tools = {
juli: juli,
phone: phone,
idcard: idcard
}
module.exports = tools;