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/dict/index.vue | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/src/views/system/dict/index.vue b/src/views/system/dict/index.vue
index 6c67e1b..16731b0 100644
--- a/src/views/system/dict/index.vue
+++ b/src/views/system/dict/index.vue
@@ -57,7 +57,6 @@
plain
icon="Plus"
@click="handleAdd"
- v-hasPermi="['system:dict:add']"
>鏂板</el-button>
</el-col>
<el-col :span="1.5">
@@ -67,7 +66,6 @@
icon="Edit"
:disabled="single"
@click="handleUpdate"
- v-hasPermi="['system:dict:edit']"
>淇敼</el-button>
</el-col>
<el-col :span="1.5">
@@ -77,7 +75,6 @@
icon="Delete"
:disabled="multiple"
@click="handleDelete"
- v-hasPermi="['system:dict:remove']"
>鍒犻櫎</el-button>
</el-col>
<el-col :span="1.5">
@@ -86,7 +83,6 @@
plain
icon="Download"
@click="handleExport"
- v-hasPermi="['system:dict:export']"
>瀵煎嚭</el-button>
</el-col>
<el-col :span="1.5">
@@ -95,7 +91,6 @@
plain
icon="Refresh"
@click="handleRefreshCache"
- v-hasPermi="['system:dict:remove']"
>鍒锋柊缂撳瓨</el-button>
</el-col>
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
@@ -125,8 +120,8 @@
</el-table-column>
<el-table-column label="鎿嶄綔" align="center" width="160" class-name="small-padding fixed-width">
<template #default="scope">
- <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['system:dict:edit']">淇敼</el-button>
- <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['system:dict:remove']">鍒犻櫎</el-button>
+ <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)">淇敼</el-button>
+ <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)">鍒犻櫎</el-button>
</template>
</el-table-column>
</el-table>
--
Gitblit v1.9.3