From 338743036ee4bbe9fb3eb95d7777aa5806a18976 Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Thu, 3 Dec 2020 09:23:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E7=94=A8=E6=88=B7=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=20=E5=85=AC=E5=8F=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/userInfo.vue | 44 +++++++++++++++--------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/src/layout/components/userInfo.vue b/src/layout/components/userInfo.vue index 3c36cdfa8..22866c0da 100644 --- a/src/layout/components/userInfo.vue +++ b/src/layout/components/userInfo.vue @@ -236,14 +236,14 @@ -
-
单位:
-
-
- {{ handleCompany(userInfo.companyId) }} -
-
-
+ + + + + + + +
绑定微信:
@@ -398,11 +398,11 @@ export default { .catch(error => { console.log(error, '请求个人信息失败'); }); - getCompanyList().then(resp => { - this.companyList = resp.data; - }).catch((error) => { - console.log(error, '获取公司列表信息失败'); - }); + // getCompanyList().then(resp => { + // this.companyList = resp.data; + // }).catch((error) => { + // console.log(error, '获取公司列表信息失败'); + // }); }, doClose() { this.visible = false; @@ -464,15 +464,15 @@ export default { } } }, - handleCompany(companyId) { - let name = ''; - this.companyList.forEach(item => { - if (item.id == companyId) { - name = item.name; - } - }); - return name; - }, + // handleCompany(companyId) { + // let name = ''; + // this.companyList.forEach(item => { + // if (item.id == companyId) { + // name = item.name; + // } + // }); + // return name; + // }, switcherMobile() { // this.editInfo.mobile = this.userInfo.mobile; this.mobileShow = !this.mobileShow;