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/config/index.vue                         |    9 --
 src/views/system/role/index.vue                           |   12 +--
 src/views/monitor/job/index.vue                           |   15 +---
 src/views/system/dept/index.vue                           |    7 +-
 src/views/system/post/index.vue                           |    8 --
 src/views/monitor/online/index.vue                        |    2 
 src/views/monitor/logininfor/index.vue                    |    4 -
 src/views/monitor/operlog/index.vue                       |    5 -
 src/views/productionManagement/productStructure/index.vue |    4 
 src/views/system/menu/index.vue                           |    7 +-
 src/views/system/user/index.vue                           |   18 +++---
 src/directive/index.js                                    |    2 
 src/views/system/role/authUser.vue                        |    4 -
 src/views/tool/gen/index.vue                              |    9 ---
 src/views/system/dict/data.vue                            |    8 --
 src/views/monitor/job/log.vue                             |    5 -
 src/views/system/notice/index.vue                         |    7 -
 src/views/projectManagement/roles/index.vue               |    7 -
 src/views/system/dict/index.vue                           |    9 --
 19 files changed, 42 insertions(+), 100 deletions(-)

diff --git a/src/directive/index.js b/src/directive/index.js
index a86e00b..8247f1e 100644
--- a/src/directive/index.js
+++ b/src/directive/index.js
@@ -1,9 +1,7 @@
 import hasRole from './permission/hasRole'
-import hasPermi from './permission/hasPermi'
 import copyText from './common/copyText'
 
 export default function directive(app){
   app.directive('hasRole', hasRole)
-  app.directive('hasPermi', hasPermi)
   app.directive('copyText', copyText)
 }
\ No newline at end of file
diff --git a/src/views/monitor/job/index.vue b/src/views/monitor/job/index.vue
index ee291a4..65de96d 100644
--- a/src/views/monitor/job/index.vue
+++ b/src/views/monitor/job/index.vue
@@ -43,7 +43,6 @@
                plain
                icon="Plus"
                @click="handleAdd"
-               v-hasPermi="['monitor:job:add']"
             >鏂板</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -53,7 +52,6 @@
                icon="Edit"
                :disabled="single"
                @click="handleUpdate"
-               v-hasPermi="['monitor:job:edit']"
             >淇敼</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -63,7 +61,6 @@
                icon="Delete"
                :disabled="multiple"
                @click="handleDelete"
-               v-hasPermi="['monitor:job:remove']"
             >鍒犻櫎</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -72,7 +69,6 @@
                plain
                icon="Download"
                @click="handleExport"
-               v-hasPermi="['monitor:job:export']"
             >瀵煎嚭</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -81,7 +77,6 @@
                plain
                icon="Operation"
                @click="handleJobLog"
-               v-hasPermi="['monitor:job:query']"
             >鏃ュ織</el-button>
          </el-col>
          <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
@@ -111,19 +106,19 @@
          <el-table-column label="鎿嶄綔" align="center" width="200" class-name="small-padding fixed-width">
             <template #default="scope">
                <el-tooltip content="淇敼" placement="top">
-                  <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['monitor:job:edit']"></el-button>
+                  <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)"></el-button>
                </el-tooltip>
                <el-tooltip content="鍒犻櫎" placement="top">
-                  <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['monitor:job:remove']"></el-button>
+                  <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)"></el-button>
                </el-tooltip>
                <el-tooltip content="鎵ц涓�娆�" placement="top">
-                  <el-button link type="primary" icon="CaretRight" @click="handleRun(scope.row)" v-hasPermi="['monitor:job:changeStatus']"></el-button>
+                  <el-button link type="primary" icon="CaretRight" @click="handleRun(scope.row)"></el-button>
                </el-tooltip>
                <el-tooltip content="浠诲姟璇︾粏" placement="top">
-                  <el-button link type="primary" icon="View" @click="handleView(scope.row)" v-hasPermi="['monitor:job:query']"></el-button>
+                  <el-button link type="primary" icon="View" @click="handleView(scope.row)"></el-button>
                </el-tooltip>
                <el-tooltip content="璋冨害鏃ュ織" placement="top">
-                  <el-button link type="primary" icon="Operation" @click="handleJobLog(scope.row)" v-hasPermi="['monitor:job:query']"></el-button>
+                  <el-button link type="primary" icon="Operation" @click="handleJobLog(scope.row)"></el-button>
                </el-tooltip>
             </template>
          </el-table-column>
diff --git a/src/views/monitor/job/log.vue b/src/views/monitor/job/log.vue
index b425e45..48e723b 100644
--- a/src/views/monitor/job/log.vue
+++ b/src/views/monitor/job/log.vue
@@ -64,7 +64,6 @@
                icon="Delete"
                :disabled="multiple"
                @click="handleDelete"
-               v-hasPermi="['monitor:job:remove']"
             >鍒犻櫎</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -73,7 +72,6 @@
                plain
                icon="Delete"
                @click="handleClean"
-               v-hasPermi="['monitor:job:remove']"
             >娓呯┖</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -82,7 +80,6 @@
                plain
                icon="Download"
                @click="handleExport"
-               v-hasPermi="['monitor:job:export']"
             >瀵煎嚭</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -119,7 +116,7 @@
          </el-table-column>
          <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width">
             <template #default="scope">
-               <el-button link type="primary" icon="View" @click="handleView(scope.row)" v-hasPermi="['monitor:job:query']">璇︾粏</el-button>
+               <el-button link type="primary" icon="View" @click="handleView(scope.row)">璇︾粏</el-button>
             </template>
          </el-table-column>
       </el-table>
diff --git a/src/views/monitor/logininfor/index.vue b/src/views/monitor/logininfor/index.vue
index aa42b52..5112ebb 100644
--- a/src/views/monitor/logininfor/index.vue
+++ b/src/views/monitor/logininfor/index.vue
@@ -59,7 +59,6 @@
                icon="Delete"
                :disabled="multiple"
                @click="handleDelete"
-               v-hasPermi="['monitor:logininfor:remove']"
             >鍒犻櫎</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -68,7 +67,6 @@
                plain
                icon="Delete"
                @click="handleClean"
-               v-hasPermi="['monitor:logininfor:remove']"
             >娓呯┖</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -78,7 +76,6 @@
                icon="Unlock"
                :disabled="single"
                @click="handleUnlock"
-               v-hasPermi="['monitor:logininfor:unlock']"
             >瑙i攣</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -87,7 +84,6 @@
                plain
                icon="Download"
                @click="handleExport"
-               v-hasPermi="['monitor:logininfor:export']"
             >瀵煎嚭</el-button>
          </el-col>
          <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
diff --git a/src/views/monitor/online/index.vue b/src/views/monitor/online/index.vue
index 21f6463..3a5206f 100644
--- a/src/views/monitor/online/index.vue
+++ b/src/views/monitor/online/index.vue
@@ -48,7 +48,7 @@
          </el-table-column>
          <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width">
             <template #default="scope">
-               <el-button link type="primary" icon="Delete" @click="handleForceLogout(scope.row)" v-hasPermi="['monitor:online:forceLogout']">寮洪��</el-button>
+               <el-button link type="primary" icon="Delete" @click="handleForceLogout(scope.row)">寮洪��</el-button>
             </template>
          </el-table-column>
       </el-table>
diff --git a/src/views/monitor/operlog/index.vue b/src/views/monitor/operlog/index.vue
index 92f9c35..25b1c80 100644
--- a/src/views/monitor/operlog/index.vue
+++ b/src/views/monitor/operlog/index.vue
@@ -83,7 +83,6 @@
                icon="Delete"
                :disabled="multiple"
                @click="handleDelete"
-               v-hasPermi="['monitor:operlog:remove']"
             >鍒犻櫎</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -92,7 +91,6 @@
                plain
                icon="Delete"
                @click="handleClean"
-               v-hasPermi="['monitor:operlog:remove']"
             >娓呯┖</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -101,7 +99,6 @@
                plain
                icon="Download"
                @click="handleExport"
-               v-hasPermi="['monitor:operlog:export']"
             >瀵煎嚭</el-button>
          </el-col>
          <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
@@ -135,7 +132,7 @@
          </el-table-column>
          <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width">
             <template #default="scope">
-               <el-button link type="primary" icon="View" @click="handleView(scope.row, scope.index)" v-hasPermi="['monitor:operlog:query']">璇︾粏</el-button>
+               <el-button link type="primary" icon="View" @click="handleView(scope.row, scope.index)">璇︾粏</el-button>
             </template>
          </el-table-column>
       </el-table>
diff --git a/src/views/productionManagement/productStructure/index.vue b/src/views/productionManagement/productStructure/index.vue
index e05ed3c..28517ba 100644
--- a/src/views/productionManagement/productStructure/index.vue
+++ b/src/views/productionManagement/productStructure/index.vue
@@ -8,13 +8,13 @@
                    plain
                    icon="Upload"
                    @click="handleImport"
-                   v-hasPermi="['product:bom:import']">瀵煎叆</el-button>
+                   >瀵煎叆</el-button>
         <el-button type="warning"
                    plain
                    icon="Download"
                    @click="handleExport"
                    :disabled="selectedRows.length !== 1"
-                   v-hasPermi="['product:bom:export']">瀵煎嚭</el-button>
+                   >瀵煎嚭</el-button>
         <el-button type="danger"
                    plain
                    @click="handleBatchDelete"
diff --git a/src/views/projectManagement/roles/index.vue b/src/views/projectManagement/roles/index.vue
index 1e161f8..b3ec9e4 100644
--- a/src/views/projectManagement/roles/index.vue
+++ b/src/views/projectManagement/roles/index.vue
@@ -33,7 +33,6 @@
             plain
             icon="Plus"
             @click="handleAdd"
-            v-hasPermi="['system:role:add']"
         >鏂板</el-button>
       </el-col>
       <el-col :span="1.5">
@@ -43,7 +42,6 @@
             icon="Edit"
             :disabled="single"
             @click="handleUpdate"
-            v-hasPermi="['system:role:edit']"
         >淇敼</el-button>
       </el-col>
       <el-col :span="1.5">
@@ -53,7 +51,6 @@
             icon="Delete"
             :disabled="multiple"
             @click="handleDelete"
-            v-hasPermi="['system:role:remove']"
         >鍒犻櫎</el-button>
       </el-col>
       <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
@@ -83,10 +80,10 @@
 				<el-table-column fixed="right" label="鎿嶄綔" align="center" width="120">
 					<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>
 					</template>
 				</el-table-column>
diff --git a/src/views/system/config/index.vue b/src/views/system/config/index.vue
index 77d9f5a..371711b 100644
--- a/src/views/system/config/index.vue
+++ b/src/views/system/config/index.vue
@@ -52,7 +52,6 @@
                plain
                icon="Plus"
                @click="handleAdd"
-               v-hasPermi="['system:config:add']"
             >鏂板</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -62,7 +61,6 @@
                icon="Edit"
                :disabled="single"
                @click="handleUpdate"
-               v-hasPermi="['system:config:edit']"
             >淇敼</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -72,7 +70,6 @@
                icon="Delete"
                :disabled="multiple"
                @click="handleDelete"
-               v-hasPermi="['system:config:remove']"
             >鍒犻櫎</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -81,7 +78,6 @@
                plain
                icon="Download"
                @click="handleExport"
-               v-hasPermi="['system:config:export']"
             >瀵煎嚭</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -90,7 +86,6 @@
                plain
                icon="Refresh"
                @click="handleRefreshCache"
-               v-hasPermi="['system:config:remove']"
             >鍒锋柊缂撳瓨</el-button>
          </el-col>
          <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
@@ -115,8 +110,8 @@
          </el-table-column>
          <el-table-column label="鎿嶄綔" align="center" width="150" class-name="small-padding fixed-width">
             <template #default="scope">
-               <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['system:config:edit']" >淇敼</el-button>
-               <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['system:config: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>
diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue
index a177314..f33c65c 100644
--- a/src/views/system/dept/index.vue
+++ b/src/views/system/dept/index.vue
@@ -33,7 +33,6 @@
 					plain
 					icon="Plus"
 					@click="handleAdd"
-					v-hasPermi="['system:dept:add']"
 				>鏂板</el-button>
 			</el-col>
 			<el-col :span="1.5">
@@ -68,9 +67,9 @@
 			</el-table-column>
 			<el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width">
 				<template #default="scope">
-					<el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['system:dept:edit']">淇敼</el-button>
-					<el-button link type="primary" icon="Plus" @click="handleAdd(scope.row)" v-hasPermi="['system:dept:add']">鏂板</el-button>
-					<el-button v-if="scope.row.parentId != 0" link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['system:dept:remove']">鍒犻櫎</el-button>
+					<el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)">淇敼</el-button>
+					<el-button link type="primary" icon="Plus" @click="handleAdd(scope.row)">鏂板</el-button>
+					<el-button v-if="scope.row.parentId != 0" link type="primary" icon="Delete" @click="handleDelete(scope.row)">鍒犻櫎</el-button>
 				</template>
 			</el-table-column>
 		</el-table>
diff --git a/src/views/system/dict/data.vue b/src/views/system/dict/data.vue
index f4e2c6f..b685c7d 100644
--- a/src/views/system/dict/data.vue
+++ b/src/views/system/dict/data.vue
@@ -43,7 +43,6 @@
                plain
                icon="Plus"
                @click="handleAdd"
-               v-hasPermi="['system:dict:add']"
             >鏂板</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -53,7 +52,6 @@
                icon="Edit"
                :disabled="single"
                @click="handleUpdate"
-               v-hasPermi="['system:dict:edit']"
             >淇敼</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -63,7 +61,6 @@
                icon="Delete"
                :disabled="multiple"
                @click="handleDelete"
-               v-hasPermi="['system:dict:remove']"
             >鍒犻櫎</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -72,7 +69,6 @@
                plain
                icon="Download"
                @click="handleExport"
-               v-hasPermi="['system:dict:export']"
             >瀵煎嚭</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -110,8 +106,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>
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>
diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue
index 3bea122..ac674c2 100644
--- a/src/views/system/menu/index.vue
+++ b/src/views/system/menu/index.vue
@@ -33,7 +33,6 @@
                plain
                icon="Plus"
                @click="handleAdd"
-               v-hasPermi="['system:menu:add']"
             >鏂板</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -76,9 +75,9 @@
          </el-table-column>
          <el-table-column label="鎿嶄綔" align="center" width="210" class-name="small-padding fixed-width">
             <template #default="scope">
-               <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['system:menu:edit']">淇敼</el-button>
-               <el-button link type="primary" icon="Plus" @click="handleAdd(scope.row)" v-hasPermi="['system:menu:add']">鏂板</el-button>
-               <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['system:menu:remove']">鍒犻櫎</el-button>
+               <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)">淇敼</el-button>
+               <el-button link type="primary" icon="Plus" @click="handleAdd(scope.row)">鏂板</el-button>
+               <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)">鍒犻櫎</el-button>
             </template>
          </el-table-column>
       </el-table>
diff --git a/src/views/system/notice/index.vue b/src/views/system/notice/index.vue
index 8043db0..562cd76 100644
--- a/src/views/system/notice/index.vue
+++ b/src/views/system/notice/index.vue
@@ -42,7 +42,6 @@
                plain
                icon="Plus"
                @click="handleAdd"
-               v-hasPermi="['system:notice:add']"
             >鏂板</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -52,7 +51,6 @@
                icon="Edit"
                :disabled="single"
                @click="handleUpdate"
-               v-hasPermi="['system:notice:edit']"
             >淇敼</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -62,7 +60,6 @@
                icon="Delete"
                :disabled="multiple"
                @click="handleDelete"
-               v-hasPermi="['system:notice:remove']"
             >鍒犻櫎</el-button>
          </el-col>
          <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
@@ -95,8 +92,8 @@
          </el-table-column>
          <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width">
             <template #default="scope">
-               <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['system:notice:edit']">淇敼</el-button>
-               <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['system:notice: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>
diff --git a/src/views/system/post/index.vue b/src/views/system/post/index.vue
index 0e80652..4034eab 100644
--- a/src/views/system/post/index.vue
+++ b/src/views/system/post/index.vue
@@ -42,7 +42,6 @@
                plain
                icon="Plus"
                @click="handleAdd"
-               v-hasPermi="['system:post:add']"
             >鏂板</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -52,7 +51,6 @@
                icon="Edit"
                :disabled="single"
                @click="handleUpdate"
-               v-hasPermi="['system:post:edit']"
             >淇敼</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -62,7 +60,6 @@
                icon="Delete"
                :disabled="multiple"
                @click="handleDelete"
-               v-hasPermi="['system:post:remove']"
             >鍒犻櫎</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -71,7 +68,6 @@
                plain
                icon="Download"
                @click="handleExport"
-               v-hasPermi="['system:post:export']"
             >瀵煎嚭</el-button>
          </el-col>
          <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
@@ -95,8 +91,8 @@
          </el-table-column>
          <el-table-column label="鎿嶄綔" width="180" align="center" class-name="small-padding fixed-width">
             <template #default="scope">
-               <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['system:post:edit']">淇敼</el-button>
-               <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['system:post: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>
diff --git a/src/views/system/role/authUser.vue b/src/views/system/role/authUser.vue
index a460f3c..beefab1 100644
--- a/src/views/system/role/authUser.vue
+++ b/src/views/system/role/authUser.vue
@@ -33,7 +33,6 @@
                plain
                icon="Plus"
                @click="openSelectUser"
-               v-hasPermi="['system:role:add']"
             >娣诲姞鐢ㄦ埛</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -43,7 +42,6 @@
                icon="CircleClose"
                :disabled="multiple"
                @click="cancelAuthUserAll"
-               v-hasPermi="['system:role:remove']"
             >鎵归噺鍙栨秷鎺堟潈</el-button>
          </el-col>
          <el-col :span="1.5">
@@ -75,7 +73,7 @@
          </el-table-column>
          <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width">
             <template #default="scope">
-               <el-button link type="primary" icon="CircleClose" @click="cancelAuthUser(scope.row)" v-hasPermi="['system:role:remove']">鍙栨秷鎺堟潈</el-button>
+               <el-button link type="primary" icon="CircleClose" @click="cancelAuthUser(scope.row)">鍙栨秷鎺堟潈</el-button>
             </template>
          </el-table-column>
       </el-table>
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>
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index 9d16126..5e2b67f 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -39,19 +39,19 @@
 						
 						<el-row :gutter="10" class="mb8">
 							<el-col :span="1.5">
-								<el-button type="primary" plain icon="Plus" @click="handleAdd" v-hasPermi="['system:user:add']">鏂板</el-button>
+								<el-button type="primary" plain icon="Plus" @click="handleAdd">鏂板</el-button>
 							</el-col>
 							<el-col :span="1.5">
-								<el-button type="success" plain icon="Edit" :disabled="single" @click="handleUpdate" v-hasPermi="['system:user:edit']">淇敼</el-button>
+								<el-button type="success" plain icon="Edit" :disabled="single" @click="handleUpdate">淇敼</el-button>
 							</el-col>
 							<el-col :span="1.5">
-								<el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete" v-hasPermi="['system:user:remove']">鍒犻櫎</el-button>
+								<el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete">鍒犻櫎</el-button>
 							</el-col>
 							<el-col :span="1.5">
-								<el-button type="info" plain icon="Upload" @click="handleImport" v-hasPermi="['system:user:import']">瀵煎叆</el-button>
+								<el-button type="info" plain icon="Upload" @click="handleImport">瀵煎叆</el-button>
 							</el-col>
 							<el-col :span="1.5">
-								<el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['system:user:export']">瀵煎嚭</el-button>
+								<el-button type="warning" plain icon="Download" @click="handleExport">瀵煎嚭</el-button>
 							</el-col>
 							<right-toolbar v-model:showSearch="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
 						</el-row>
@@ -82,16 +82,16 @@
 								<el-table-column label="鎿嶄綔" align="center" width="150" class-name="small-padding fixed-width">
 									<template #default="scope">
 										<el-tooltip content="淇敼" placement="top" v-if="scope.row.userId !== 1">
-											<el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['system:user: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.userId !== 1">
-											<el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['system:user: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.userId !== 1">
-											<el-button link type="primary" icon="Key" @click="handleResetPwd(scope.row)" v-hasPermi="['system:user:resetPwd']"></el-button>
+											<el-button link type="primary" icon="Key" @click="handleResetPwd(scope.row)"></el-button>
 										</el-tooltip>
 										<el-tooltip content="鍒嗛厤瑙掕壊" placement="top" v-if="scope.row.userId !== 1">
-											<el-button link type="primary" icon="CircleCheck" @click="handleAuthRole(scope.row)" v-hasPermi="['system:user:edit']"></el-button>
+											<el-button link type="primary" icon="CircleCheck" @click="handleAuthRole(scope.row)"></el-button>
 										</el-tooltip>
 									</template>
 								</el-table-column>
diff --git a/src/views/tool/gen/index.vue b/src/views/tool/gen/index.vue
index aaddeb6..fe10fb7 100644
--- a/src/views/tool/gen/index.vue
+++ b/src/views/tool/gen/index.vue
@@ -50,7 +50,6 @@
           icon="Download"
           :disabled="multiple"
           @click="handleGenTable"
-          v-hasPermi="['tool:gen:code']"
           >鐢熸垚</el-button
         >
       </el-col>
@@ -70,7 +69,6 @@
           plain
           icon="Upload"
           @click="openImportTable"
-          v-hasPermi="['tool:gen:import']"
           >瀵煎叆</el-button
         >
       </el-col>
@@ -81,7 +79,6 @@
           icon="Edit"
           :disabled="single"
           @click="handleEditTable"
-          v-hasPermi="['tool:gen:edit']"
           >淇敼</el-button
         >
       </el-col>
@@ -92,7 +89,6 @@
           icon="Delete"
           :disabled="multiple"
           @click="handleDelete"
-          v-hasPermi="['tool:gen:remove']"
           >鍒犻櫎</el-button
         >
       </el-col>
@@ -169,7 +165,6 @@
               type="primary"
               icon="View"
               @click="handlePreview(scope.row)"
-              v-hasPermi="['tool:gen:preview']"
             ></el-button>
           </el-tooltip>
           <el-tooltip content="缂栬緫" placement="top">
@@ -178,7 +173,6 @@
               type="primary"
               icon="Edit"
               @click="handleEditTable(scope.row)"
-              v-hasPermi="['tool:gen:edit']"
             ></el-button>
           </el-tooltip>
           <el-tooltip content="鍒犻櫎" placement="top">
@@ -187,7 +181,6 @@
               type="primary"
               icon="Delete"
               @click="handleDelete(scope.row)"
-              v-hasPermi="['tool:gen:remove']"
             ></el-button>
           </el-tooltip>
           <el-tooltip content="鍚屾" placement="top">
@@ -196,7 +189,6 @@
               type="primary"
               icon="Refresh"
               @click="handleSynchDb(scope.row)"
-              v-hasPermi="['tool:gen:edit']"
             ></el-button>
           </el-tooltip>
           <el-tooltip content="鐢熸垚浠g爜" placement="top">
@@ -205,7 +197,6 @@
               type="primary"
               icon="Download"
               @click="handleGenTable(scope.row)"
-              v-hasPermi="['tool:gen:code']"
             ></el-button>
           </el-tooltip>
         </template>

--
Gitblit v1.9.3