录入员审核通过手机号码加密

master
doublekou 1 year ago
parent 62cc4530ec
commit 1a8a33247b

@ -123,16 +123,16 @@ const columns: ProColumns[] = [
},
{
title: '联系方式',
// dataIndex: 'customNid',
customRender: function ({ record }: any) {
if (record.enrollStatus === 2) {
const phoneNumber = record.customNid.toString()
const hiddenPhoneNumber = phoneNumber.replace(/^(\d{3})\d{4}(\d{4})$/, '$1****$2')
return h('div', hiddenPhoneNumber)
} else {
return h('div', record.customNid)
}
}
dataIndex: 'customNid'
// customRender: function ({ record }: any) {
// if (record.enrollStatus === 2) {
// const phoneNumber = record.customNid.toString()
// const hiddenPhoneNumber = phoneNumber.replace(/^(\d{3})\d{4}(\d{4})$/, '$1****$2')
// return h('div', hiddenPhoneNumber)
// } else {
// return h('div', record.customNid)
// }
// }
},
{
title: '报名状态',

Loading…
Cancel
Save