Browse Source

fix: [系统管理] [用户管理] 页面数据bug

luojie
memorylkf 3 weeks ago
parent
commit
083d43ca6c
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/views/system/user/index.vue

+ 2
- 1
src/views/system/user/index.vue View File

@ -78,7 +78,8 @@
<el-table-column :label="$t('page.system.user.department')" align="center" key="deptName" prop="dept.deptName" v-if="columns.deptName.visible" :show-overflow-tooltip="true" width="150" /> <el-table-column :label="$t('page.system.user.department')" align="center" key="deptName" prop="dept.deptName" v-if="columns.deptName.visible" :show-overflow-tooltip="true" width="150" />
<el-table-column :label="$t('page.system.user.role')" align="center" key="roleName" prop="role.roleName" v-if="columns.deptName.visible" :show-overflow-tooltip="true"> <el-table-column :label="$t('page.system.user.role')" align="center" key="roleName" prop="role.roleName" v-if="columns.deptName.visible" :show-overflow-tooltip="true">
<template slot-scope="scope"> <template slot-scope="scope">
{{getRoleName(scope.row)}}
<!-- {{getRoleName(scope.row)}} -->
{{scope.row.roleNames}}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('page.system.user.status')" align="center" key="status" v-if="columns.status.visible" width="100"> <el-table-column :label="$t('page.system.user.status')" align="center" key="status" v-if="columns.status.visible" width="100">

Loading…
Cancel
Save