wk
2024-08-13 c9c81928d1c97c2f98868996745b868f66e6ca4b
pages/customer-page/customer-my/customer-my.vue
@@ -274,7 +274,7 @@
               url:  `${BaseUrl}/admin/dict/page`,
               method: 'GET',
               data: {
                  dictType:'phone'
                  dictType:'Setings'
               },
               header: {
                  Authorization: 'Bearer' + ' ' + uni.getStorageSync('token'),
@@ -295,7 +295,13 @@
                        'CLIENT_TOC': 'Y',
                     },
                     success: res => {
                        this.phoneList=res.data.data.records
                        res.data.data.records.forEach(item=>{
                           if(item.description.includes('联系')){
                              this.phoneList=item.value.split(',').map(ite=>{
                                 return ite.split(":")[1]
                              })
                           }
                        })
                     },
                     fail: err => {
                     }
@@ -480,17 +486,11 @@
            this.logoutShow = true;
         },
         contactUs(){
            let data=[]
            this.phoneList.map(item=>{
               item.value.split(',').map(ite=>{
                  data.push(ite)
               })
            })
            uni.showActionSheet({
            itemList: Array.from(new Set(data)),
            success: (res) => {
               itemList: this.phoneList,
               success: (res) => {
               uni.makePhoneCall({
                  phoneNumber:Array.from(new Set(data))[res.tapIndex + 1]
                  phoneNumber:this.phoneList[res.tapIndex]
               })
            },
            fail: (err) => {