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;