飘泊客 1 year ago
commit 4c56924248

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

@ -75,12 +75,6 @@
: { sm: { span: 24 }, md: { span: 19 } } : { sm: { span: 24 }, md: { span: 19 } }
" "
> >
<!-- <a-input
v-model:value="formModel.remark"
placeholder="请输入备注"
:style="{ width: title === '详情' || title === '分发' ? '83%' : '100%' }"
:readonly="title === '详情' || title === '分发'"
/> -->
<a-textarea <a-textarea
v-model:value="formModel.remark" v-model:value="formModel.remark"
placeholder="请输入备注" placeholder="请输入备注"
@ -1000,8 +994,6 @@ const filter: ShowSearchType['filter'] = (inputValue, path) => {
//AMap.Autocomplete //AMap.Autocomplete
const autoComplete = ref() const autoComplete = ref()
//POIAMap.PlaceSearch //POIAMap.PlaceSearch
const placeSearch = ref()
//POIAMap.PlaceSearch
// const placeSearch = ref() // const placeSearch = ref()
//AMap.Marker //AMap.Marker
// Marker // Marker
@ -1104,13 +1096,6 @@ const initMap = () => {
// city: '010' // // city: '010' //
// }) // })
}) })
// AMap.plugin('AMap.PlaceSearch', function () {
// // PlaceSearch
// const placeOptions = {
// map: map.value
// }
// placeSearch.value = new AMap.PlaceSearch(placeOptions)
// })
setTimeout(() => { setTimeout(() => {
autoComplete.value?.on('select', (e: any) => { autoComplete.value?.on('select', (e: any) => {
const selectedTip = e.poi // const selectedTip = e.poi //

Loading…
Cancel
Save