个人中心信息更新、重置cc密码

This commit is contained in:
陈淳
2022-09-14 20:35:45 +08:00
parent ea2be7609c
commit e535133eca
11 changed files with 106 additions and 29 deletions

View File

@@ -88,19 +88,19 @@
</el-table-column>
<el-table-column label="操作" align="center" width="150" class-name="small-padding fixed-width">
<template #default="scope">
<el-tooltip content="修改" placement="top" v-if="scope.row.userName != 'c'">
<el-tooltip content="修改" placement="top" v-if="scope.row.userName != 'test'">
<el-button type="text" icon="Edit" @click="handleUpdate(scope.row)"
v-hasPermi="['system:user:edit']"></el-button>
</el-tooltip>
<el-tooltip content="删除" placement="top" v-if="scope.row.userName != 'c'">
<el-tooltip content="删除" placement="top" v-if="scope.row.userName != 'test'">
<el-button type="text" icon="Delete" @click="handleDelete(scope.row)"
v-hasPermi="['system:user:remove']"></el-button>
</el-tooltip>
<el-tooltip content="重置密码" placement="top" v-if="scope.row.userName != 'c'">
<el-tooltip content="重置密码" placement="top" v-if="scope.row.userName != 'test'">
<el-button type="text" icon="Key" @click="handleResetPwd(scope.row)"
v-hasPermi="['system:user:resetPwd']"></el-button>
</el-tooltip>
<el-tooltip content="分配角色" placement="top" v-if="scope.row.userName != 'c'">
<el-tooltip content="分配角色" placement="top" v-if="scope.row.userName != 'test'">
<el-button type="text" icon="CircleCheck" @click="handleAuthRole(scope.row)"
v-hasPermi="['system:user:edit']"></el-button>
</el-tooltip>