diff --git a/src/views/geopoliticalCustomers/geopoliticalCustomers.vue b/src/views/geopoliticalCustomers/geopoliticalCustomers.vue index 9f27f89..2747295 100644 --- a/src/views/geopoliticalCustomers/geopoliticalCustomers.vue +++ b/src/views/geopoliticalCustomers/geopoliticalCustomers.vue @@ -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: '报名状态', diff --git a/src/views/geopoliticalCustomers/geopoliticalCustomersModal.vue b/src/views/geopoliticalCustomers/geopoliticalCustomersModal.vue index f8567d0..8472553 100644 --- a/src/views/geopoliticalCustomers/geopoliticalCustomersModal.vue +++ b/src/views/geopoliticalCustomers/geopoliticalCustomersModal.vue @@ -75,12 +75,6 @@ : { sm: { span: 24 }, md: { span: 19 } } " > - { //输入提示插件AMap.Autocomplete const autoComplete = ref() //POI搜索插件AMap.PlaceSearch -const placeSearch = ref() -//POI搜索插件AMap.PlaceSearch // const placeSearch = ref() //点标记AMap.Marker //创建的一个 Marker 实例 @@ -1104,13 +1096,6 @@ const initMap = () => { // city: '010' //城市设为北京,默认:“全国” // }) }) - // AMap.plugin('AMap.PlaceSearch', function () { - // // PlaceSearch - // const placeOptions = { - // map: map.value - // } - // placeSearch.value = new AMap.PlaceSearch(placeOptions) - // }) setTimeout(() => { autoComplete.value?.on('select', (e: any) => { const selectedTip = e.poi // 获取用户选择的提示结果对象