| | |
| | | v-model="deptName"
|
| | | placeholder="请输入部门名称"
|
| | | clearable
|
| | | prefix-icon="el-icon-search"
|
| | | prefix-icon="Search"
|
| | | style="margin-bottom: 20px"
|
| | | />
|
| | | </div>
|
| | |
| | | </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">
|
| | | <el-tooltip content="修改" placement="top" v-if="scope.row.userId !== 1">
|
| | | <el-button
|
| | | v-if="scope.row.userId !== 1"
|
| | | type="text"
|
| | | icon="Edit"
|
| | | @click="handleUpdate(scope.row)"
|
| | | v-hasPermi="['system:user:edit']"
|
| | | ></el-button>
|
| | | </el-tooltip>
|
| | | <el-tooltip content="删除" placement="top">
|
| | | <el-tooltip content="删除" placement="top" v-if="scope.row.userId !== 1">
|
| | | <el-button
|
| | | v-if="scope.row.userId !== 1"
|
| | | type="text"
|
| | | icon="Delete"
|
| | | @click="handleDelete(scope.row)"
|
| | | v-hasPermi="['system:user:remove']"
|
| | | ></el-button>
|
| | | </el-tooltip>
|
| | | <el-tooltip content="重置密码" placement="top">
|
| | | <el-tooltip content="重置密码" placement="top" v-if="scope.row.userId !== 1">
|
| | | <el-button
|
| | | v-if="scope.row.userId !== 1"
|
| | | type="text"
|
| | | icon="Key"
|
| | | @click="handleResetPwd(scope.row)"
|
| | | v-hasPermi="['system:user:resetPwd']"
|
| | | ></el-button>
|
| | | </el-tooltip>
|
| | | <el-tooltip content="分配角色" placement="top">
|
| | | <el-tooltip content="分配角色" placement="top" v-if="scope.row.userId !== 1">
|
| | | <el-button
|
| | | v-if="scope.row.userId !== 1"
|
| | | type="text"
|
| | | icon="CircleCheck"
|
| | | @click="handleAuthRole(scope.row)"
|