|
|
|
@ -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: '报名状态',
|
|
|
|
|