diff --git a/components/my/My.vue b/components/my/My.vue index 36b35b9..7cd9431 100644 --- a/components/my/My.vue +++ b/components/my/My.vue @@ -17,7 +17,7 @@ {{ userInfo?.user?.nickName || '--' }} - {{ userInfo.roles[0] }} + {{ userInfo?.user?.deptName || '--' }} diff --git a/pages/my/profile/index.vue b/pages/my/profile/index.vue index 66a6d79..466be98 100644 --- a/pages/my/profile/index.vue +++ b/pages/my/profile/index.vue @@ -29,15 +29,15 @@ {{ userInfo?.user?.nickName || '--' }} {{ userInfo?.user?.deptName || '--' }} - - - {{ role }} - - + + + + + + + + + @@ -45,23 +45,23 @@ - - 工作统计 - - - {{ userInfo?.user?.taskCount || 0 }} - 任务数 - - - {{ userInfo?.user?.projectCount || 0 }} - 项目数 - - - {{ userInfo?.user?.taskNum || 0 }} - 任务编号 - - - + + + + + + + + + + + + + + + + + @@ -151,18 +151,18 @@ - - 权限信息 - - - {{ permission }} - - - + + + + + + + + + + + +