|
|
|
@ -413,7 +413,7 @@ const AdminResetPassword = async () => {
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="权限组" width="300">
|
|
|
|
<el-table-column label="权限组" width="300">
|
|
|
|
<template #default="scope">
|
|
|
|
<template #default="scope">
|
|
|
|
<el-tag :type="Number(scope.row.admin_auth_group) === -1 ? 'warning' : 'success'">
|
|
|
|
<el-tag disable-transitions :type="Number(scope.row.admin_auth_group) === -1 ? 'warning' : 'success'">
|
|
|
|
<span v-if="Number(scope.row.admin_auth_group) === -1">超级管理员</span>
|
|
|
|
<span v-if="Number(scope.row.admin_auth_group) === -1">超级管理员</span>
|
|
|
|
<span v-else-if="!scope.row.admin_auth_group_name">未分配权限组</span>
|
|
|
|
<span v-else-if="!scope.row.admin_auth_group_name">未分配权限组</span>
|
|
|
|
<span v-else>{{ scope.row.admin_auth_group_name }}</span>
|
|
|
|
<span v-else>{{ scope.row.admin_auth_group_name }}</span>
|
|
|
|
@ -422,14 +422,14 @@ const AdminResetPassword = async () => {
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="密码状态" width="120">
|
|
|
|
<el-table-column label="密码状态" width="120">
|
|
|
|
<template #default="scope">
|
|
|
|
<template #default="scope">
|
|
|
|
<el-tag :type="Number(scope.row.initial_password) === 1 ? 'warning' : 'success'">
|
|
|
|
<el-tag disable-transitions :type="Number(scope.row.initial_password) === 1 ? 'warning' : 'success'">
|
|
|
|
{{ Number(scope.row.initial_password) === 1 ? '未修改' : '已修改' }}
|
|
|
|
{{ Number(scope.row.initial_password) === 1 ? '未修改' : '已修改' }}
|
|
|
|
</el-tag>
|
|
|
|
</el-tag>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="状态" width="120">
|
|
|
|
<el-table-column label="状态" width="120">
|
|
|
|
<template #default="scope">
|
|
|
|
<template #default="scope">
|
|
|
|
<el-tag :type="Number(scope.row.status) === 1 ? 'success' : 'warning'">
|
|
|
|
<el-tag disable-transitions :type="Number(scope.row.status) === 1 ? 'success' : 'warning'">
|
|
|
|
{{ Number(scope.row.status) === 1 ? '可用' : '停用' }}
|
|
|
|
{{ Number(scope.row.status) === 1 ? '可用' : '停用' }}
|
|
|
|
</el-tag>
|
|
|
|
</el-tag>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|