wjt
2024-06-25 244d89b41c0e0e995d38f635a126a0959b9ba25b
qiye/my/my.vue
@@ -17,7 +17,7 @@
         </view>
         <view class="show-phone-number">
            <text class="label">联系电话</text>
            <text>{{msg.companyPhone}}</text>
            <text>{{userPhone||""}}</text>
         </view>
         <view class="wbox">
            <view class="item" @click="tousu()">
@@ -60,7 +60,8 @@
<script>
   import tabsCom from '@/qiye/components/bottom.vue'
   import { getInfo } from '@/api/auth.js'
   import {  company } from '@/api/qiye.js'
   export default {
      components: {
         tabsCom
@@ -68,11 +69,23 @@
      data() {
         return {
            activeNumber: 2,
            msg:uni.getStorageSync("qiyedata"),
            src: '/static/policy/header.png'
            msg: {},
            src: '/static/policy/header.png',
            userPhone: ""
         }
      },
      onShow() {
         this.httoInfo()
      },
      methods: {
         httoInfo() {
            getInfo().then(val => {
               this.userPhone = val.data.data.phonenumber
               company(val.data.data.deptId).then(val => {
                  this.msg = val.data.data
               })
            })
         },
         goChangePhone() {
            uni.navigateTo({
               url: '/policy/changePhone/changePhone?code=02'