|
|
|
@ -32,9 +32,12 @@
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.roleName }}</template>
|
|
|
|
|
</el-table-column> -->
|
|
|
|
|
<el-table-column label="角色" show-overflow-tooltip prop="role">
|
|
|
|
|
<template slot-scope="scope">{{
|
|
|
|
|
scope.row.role == 1 ? "管理员" : "用户"
|
|
|
|
|
}}</template>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span v-if="scope.row.role == 0">超级管理员</span>
|
|
|
|
|
<span v-else-if="scope.row.role == 1">管理员</span>
|
|
|
|
|
<span v-else-if="scope.row.role == 2">用户</span>
|
|
|
|
|
<span v-else>{{ scope.row.role }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="创建时间"
|
|
|
|
|