|
|
|
|
@ -171,8 +171,22 @@
@@ -171,8 +171,22 @@
|
|
|
|
|
@click="handleDelete(scope.row)" |
|
|
|
|
v-hasPermi="['system:user:remove']" |
|
|
|
|
>删除</el-button> |
|
|
|
|
<el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" v-hasPermi="['system:user:resetPwd', 'system:user:edit']"> |
|
|
|
|
<el-button size="mini" type="primary">更多<i class="el-icon-arrow-down el-icon--right" /></el-button> |
|
|
|
|
<el-dropdown |
|
|
|
|
trigger="click" |
|
|
|
|
size="mini" |
|
|
|
|
@command="(command) => handleCommand(command, scope.row)" |
|
|
|
|
v-hasPermi="['system:user:resetPwd', 'system:user:edit']" |
|
|
|
|
> |
|
|
|
|
<el-button |
|
|
|
|
class="user-more-button" |
|
|
|
|
size="mini" |
|
|
|
|
type="primary" |
|
|
|
|
aria-label="更多操作" |
|
|
|
|
> |
|
|
|
|
<el-tooltip content="更多操作" placement="top"> |
|
|
|
|
<i class="el-icon-more" /> |
|
|
|
|
</el-tooltip> |
|
|
|
|
</el-button> |
|
|
|
|
<el-dropdown-menu slot="dropdown"> |
|
|
|
|
<el-dropdown-item command="handleResetPwd" icon="el-icon-key" |
|
|
|
|
v-hasPermi="['system:user:resetPwd']">重置密码</el-dropdown-item> |
|
|
|
|
@ -779,6 +793,12 @@ export default {
@@ -779,6 +793,12 @@ export default {
|
|
|
|
|
margin-left: 6px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
::v-deep .user-list-table .user-more-button { |
|
|
|
|
width: 32px; |
|
|
|
|
padding-right: 0; |
|
|
|
|
padding-left: 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
::v-deep .user-list-actions .top-right-btn { |
|
|
|
|
float: none; |
|
|
|
|
margin-left: 8px; |
|
|
|
|
|