From 4a9ea7ee51cad90e200fcce1145075fa33115403 Mon Sep 17 00:00:00 2001 From: doublekou <951513186@qq.com> Date: Mon, 25 Sep 2023 10:48:51 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../geopoliticalCustomersModal.vue | 15 --------------- 1 file changed, 15 deletions(-) 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 // 获取用户选择的提示结果对象 From 1a8a33247bac9b02d21fce3a724842977d582f9d Mon Sep 17 00:00:00 2001 From: doublekou <951513186@qq.com> Date: Mon, 25 Sep 2023 10:58:34 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=BD=95=E5=85=A5=E5=91=98=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E9=80=9A=E8=BF=87=E6=89=8B=E6=9C=BA=E5=8F=B7=E7=A0=81?= =?UTF-8?q?=E5=8A=A0=E5=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../geopoliticalCustomers.vue | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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: '报名状态',