Ver código fonte

app2.0 查看我的信息

娄底高职分支
ndbs 2 anos atrás
pai
commit
7faee28828
1 arquivos alterados com 3 adições e 3 exclusões
  1. +3
    -3
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/my/info.vue

+ 3
- 3
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/my/info.vue Ver arquivo

@@ -24,8 +24,8 @@ export default {
// 计算出用户公司、岗位等信息
info() {
const company = this.currentUser.companyId ? this.GET_GLOBAL('company')[this.currentUser.companyId]?.name : ''
const dep = this.currentUser.departmentId ? this.GET_GLOBAL('department')[this.currentUser.departmentId]?.name : ''
const company = this.currentUser.companyId ? this.GET_GLOBAL('company')[this.currentUser.companyId].name : ''
const dep = this.currentUser.departmentId ? this.GET_GLOBAL('department')[this.currentUser.departmentId].name : ''
const role = (this.currentUser.role || []).map(t => t.F_FullName).join(' · ')
const job = (this.currentUser.post || []).map(t => t.F_Name).join(' · ')

@@ -34,7 +34,7 @@ export default {
// 头像图片 url
avatarSrc() {
return this.API + `/user/img?data=${this.currentUser.userId}`
return this.API + `/learun/adms/user/img?data=${this.currentUser.userId}`
}
}
}


Carregando…
Cancelar
Salvar