From e50eb636e24007ac32b8a6cec18cad13bbfcaf3b Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 18 五月 2026 16:03:58 +0800
Subject: [PATCH] 浪潮 1.权限修改
---
src/views/system/role/index.vue | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue
index 85ecf28..2691b3b 100644
--- a/src/views/system/role/index.vue
+++ b/src/views/system/role/index.vue
@@ -56,7 +56,6 @@
plain
icon="Plus"
@click="handleAdd"
- v-hasPermi="['system:role:add']"
>鏂板</el-button>
</el-col>
<el-col :span="1.5">
@@ -66,7 +65,6 @@
icon="Edit"
:disabled="single"
@click="handleUpdate"
- v-hasPermi="['system:role:edit']"
>淇敼</el-button>
</el-col>
<el-col :span="1.5">
@@ -76,7 +74,6 @@
icon="Delete"
:disabled="multiple"
@click="handleDelete"
- v-hasPermi="['system:role:remove']"
>鍒犻櫎</el-button>
</el-col>
<el-col :span="1.5">
@@ -85,7 +82,6 @@
plain
icon="Download"
@click="handleExport"
- v-hasPermi="['system:role:export']"
>瀵煎嚭</el-button>
</el-col>
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
@@ -116,16 +112,16 @@
<el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width">
<template #default="scope">
<el-tooltip content="淇敼" placement="top" v-if="scope.row.roleId !== 1">
- <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['system:role:edit']"></el-button>
+ <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)"></el-button>
</el-tooltip>
<el-tooltip content="鍒犻櫎" placement="top" v-if="scope.row.roleId !== 1">
- <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['system:role:remove']"></el-button>
+ <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)"></el-button>
</el-tooltip>
<el-tooltip content="鏁版嵁鏉冮檺" placement="top" v-if="scope.row.roleId !== 1">
- <el-button link type="primary" icon="CircleCheck" @click="handleDataScope(scope.row)" v-hasPermi="['system:role:edit']"></el-button>
+ <el-button link type="primary" icon="CircleCheck" @click="handleDataScope(scope.row)"></el-button>
</el-tooltip>
<el-tooltip content="鍒嗛厤鐢ㄦ埛" placement="top" v-if="scope.row.roleId !== 1">
- <el-button link type="primary" icon="User" @click="handleAuthUser(scope.row)" v-hasPermi="['system:role:edit']"></el-button>
+ <el-button link type="primary" icon="User" @click="handleAuthUser(scope.row)"></el-button>
</el-tooltip>
</template>
</el-table-column>
--
Gitblit v1.9.3