修改
This commit is contained in:
1 parent
866cb60801
commit
7fca37e2a6
3 files changed
+35
-24
No files matched your search
@@ -75,16 +75,16 @@
|
||||
>
|
||||
<el-table-column :selectable="handleSelectable" type="selection" width="40" />
|
||||
<el-table-column label="#" type="index" width="60" fixed="left" />
|
||||
<el-table-column label="用户名" prop="username" fixed="left" show-overflow-tooltip></el-table-column>
|
||||
<el-table-column label="姓名" prop="name" show-overflow-tooltip></el-table-column>
|
||||
<el-table-column label="手机号" prop="phone" show-overflow-tooltip></el-table-column>
|
||||
<el-table-column label="部门" prop="deptName" show-overflow-tooltip />
|
||||
<el-table-column label="角色" show-overflow-tooltip>
|
||||
<el-table-column label="用户名" prop="username" fixed="left" show-overflow-tooltip min-width="150" />
|
||||
<el-table-column label="姓名" prop="name" show-overflow-tooltip min-width="150" />
|
||||
<el-table-column label="手机号" prop="phone" show-overflow-tooltip min-width="150" />
|
||||
<el-table-column label="部门" prop="deptName" show-overflow-tooltip min-width="150" />
|
||||
<el-table-column label="角色" show-overflow-tooltip min-width="150">
|
||||
<template #default="scope">
|
||||
<el-tag v-for="(item, index) in scope.row.roleList" :key="index">{{ item.roleName }}</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="启用" show-overflow-tooltip>
|
||||
<el-table-column label="启用" show-overflow-tooltip min-width="150">
|
||||
<template #default="scope">
|
||||
<el-switch
|
||||
:disabled="!auth('sys_user_edit')"
|
||||
@@ -115,11 +115,12 @@
|
||||
<el-table-column
|
||||
v-auths="['sys_user_edit', 'userFace_sysUserFace_view', 'sys_user_del']"
|
||||
label="操作"
|
||||
min-width="370"
|
||||
width="380"
|
||||
fixed="right"
|
||||
show-overflow-tooltip
|
||||
>
|
||||
<template #default="scope">
|
||||
<div style="display: flex">
|
||||
<div style="display: flex; justify-content: center">
|
||||
<!-- 重置密码 -->
|
||||
<popover-input v-model="inputPassword" @confirm="changePassword(scope.row)">
|
||||
<template #default>
|
||||
|
||||
Reference in new issue
Block a user