wjt
2024-06-22 95688fbabcde0e4fd8dbb622cc1b890aee1cc8ca
qiye/my/my.vue
@@ -20,7 +20,7 @@
            <text>{{msg.companyPhone}}</text>
         </view>
         <view class="wbox">
            <view class="item">
            <view class="item" @click="tousu()">
               <view class="set-flex">
                  <image src="/static/qiye/q06.png" mode="widthFix"></image>
                  <text class="change">投诉记录</text>
@@ -50,7 +50,7 @@
         
      
      </view> -->
      <view class="logout">
      <view class="logout" @click="logout()">
         退出登录
      </view>
      <tabsCom :activeNumber.sync="activeNumber"></tabsCom>
@@ -77,6 +77,25 @@
            uni.navigateTo({
               url: '/policy/changePhone/changePhone?code=02'
            })
         },
         tousu(){
            uni.navigateTo({
               url: '/qiye/complaint/complaint'
            })
         },
         logout(){
            uni.showModal({
                 title: '提示',
                 content: '确认退出登录?',
                 success: res => {
                  if(res.confirm) {
                   uni.clearStorageSync()
                   uni.redirectTo({
                    url: '/pages/index/index'
                   })
                  }
                 }
                })
         }
      }
   }