界面和权限调整

This commit is contained in:
kerwincui
2022-06-03 12:39:28 +08:00
parent e36c9849a8
commit f281ccc1da
2 changed files with 23 additions and 16 deletions

View File

@@ -123,7 +123,7 @@
</template>
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope" v-if="scope.row.roleId !== 1">
<template slot-scope="scope" v-if="scope.row.roleId !== 1 && scope.row.roleId !== 2 && scope.row.roleId !== 3">
<el-button
size="mini"
type="text"
@@ -137,7 +137,6 @@
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['system:role:remove']"
:disabled="scope.row.roleKey !== 'visitor'"
>删除</el-button>
<el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" v-hasPermi="['system:role:edit']">
<span class="el-dropdown-link">