yangan
2024-08-14 2904fc5b1490a50d75e6ea97e82eb92fcf449ce2
pages/customer-page/customer-my/customer-my.vue
@@ -129,7 +129,7 @@
         <view class="statistics"><u-button text="用户管理"
               type="primary"
               @click="userManage"
               v-if="roleType == 1 && userEntity.isHostUser === '0'"></u-button></view>
               v-if="roleType == 1 && userInfo.isHostUser === 0"></u-button></view>
         <view class="logout"><u-button text="修改密码"
               type="primary"
               @click="modifyPwd"></u-button></view>
@@ -259,6 +259,9 @@
      computed: {
         roleType() {
            return uni.getStorageSync('roleType');
         },
         userInfo(){
               return uni.getStorageSync('userInfo');
         }
      },
      methods: {
@@ -297,9 +300,7 @@
                     success: res => {
                        res.data.data.records.forEach(item=>{
                           if(item.description.includes('联系')){
                              this.phoneList=item.value.split(',').map(ite=>{
                                 return ite.split(":")[1]
                              })
                              this.phoneList=item.value.split(',')
                           }
                        })
                     },
@@ -490,7 +491,7 @@
               itemList: this.phoneList,
               success: (res) => {
               uni.makePhoneCall({
                  phoneNumber:this.phoneList[res.tapIndex]
                  phoneNumber:this.phoneList[res.tapIndex].split(":")[1]
               })
            },
            fail: (err) => {