From eca5924030894adc81661f0784b87a95fe702d2f Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 22 六月 2026 16:19:38 +0800
Subject: [PATCH] 新疆马铃薯 1.删除按钮添加操作权限

---
 src/views/personnelManagement/scheduling/index.vue                                                    |    4 
 src/views/basicData/product/index.vue                                                                 |    4 
 src/views/financialManagement/payable/payment.vue                                                     |    2 
 src/views/financialManagement/generalLedger/index.vue                                                 |    3 
 src/views/lavorissue/ledger/filesDia.vue                                                              |    2 
 src/views/qualityManagement/rawMaterialInspection/index.vue                                           |    2 
 src/views/inventoryManagement/stockWarning/index.vue                                                  |    2 
 src/views/qualityManagement/finalInspection/index.vue                                                 |    2 
 src/views/salesManagement/paymentShipping/index.vue                                                   |    2 
 src/views/fileManagement/document/attachmentManager.vue                                               |    2 
 src/views/qualityManagement/processInspection/index.vue                                               |    2 
 src/views/collaborativeApproval/approvalManagement/index.vue                                          |    2 
 src/views/financialManagement/payable/input-invoice.vue                                               |    2 
 src/views/productionManagement/productStructure/index.vue                                             |    3 
 src/views/salesManagement/salespersonManagement/index.vue                                             |    2 
 src/views/officeProcessAutomation/EnterpriseNews/news-manage/index.vue                                |    1 
 src/views/equipmentManagement/calibration/index.vue                                                   |    1 
 src/views/equipmentManagement/ledger/index.vue                                                        |    4 
 src/views/safeProduction/safetyTrainingAssessment/index.vue                                           |    2 
 src/views/inventoryManagement/vehicleManagement/index.vue                                             |    2 
 src/views/personnelManagement/socialSecuritySet/components/formDia.vue                                |    3 
 src/views/financialManagement/receivable/receipt.vue                                                  |    2 
 src/views/financialManagement/assets/fixedAssets.vue                                                  |    2 
 src/views/customerService/feedbackRegistration/index.vue                                              |    2 
 src/views/procurementManagement/purchaseReturnOrder/New.vue                                           |    3 
 src/directive/permission/hasPermi.js                                                                  |    2 
 src/views/collaborativeApproval/approvalProcess/fileList.vue                                          |    2 
 src/views/collaborativeApproval/notificationManagement/meetDraft/index.vue                            |    2 
 src/views/qualityManagement/nonconformingManagement/index.vue                                         |    2 
 src/views/collaborativeApproval/noticeManagement/index.vue                                            |    4 
 src/views/procurementManagement/returnManagement/index.vue                                            |    4 
 src/views/productionManagement/processRoute/index.vue                                                 |    2 
 src/views/collaborativeApproval/notificationManagement/meetSetting/index.vue                          |    2 
 src/views/collaborativeApproval/approvalProcess/index.vue                                             |    2 
 src/views/safeProduction/emergencyPlanReview/index.vue                                                |    4 
 src/views/financialManagement/voucher/index.vue                                                       |    2 
 src/views/salesManagement/salesLedger/index.vue                                                       |    5 
 src/views/personnelManagement/selfService/index.vue                                                   |    4 
 src/views/qualityManagement/metricBinding/index.vue                                                   |    4 
 src/views/safeProduction/accidentReportingRecord/index.vue                                            |    2 
 src/views/fileManagement/return/index.vue                                                             |    3 
 src/views/financialManagement/assets/intangibleAssets.vue                                             |    2 
 src/views/financialManagement/receivable/reconciliation.vue                                           |    2 
 src/views/collaborativeApproval/knowledgeBase/index.vue                                               |    4 
 src/views/collaborativeApproval/attendanceManagement/index.vue                                        |    8 
 src/views/energyManagement/energyPeriodTime/index.vue                                                 |    2 
 src/views/fileManagement/document/index.vue                                                           |    4 
 src/views/safeProduction/safeQualifications/index.vue                                                 |    2 
 src/views/personnelManagement/socialSecuritySet/index.vue                                             |    3 
 src/views/equipmentManagement/spareParts/index.vue                                                    |    1 
 src/views/fileManagement/bookshelf/index.vue                                                          |    2 
 src/views/officeProcessAutomation/ReimburseManage/travel-reimburse/index.vue                          |    2 
 src/views/inventoryManagement/index.vue                                                               |    2 
 src/components/PIMTable/PIMTable.vue                                                                  |    1 
 src/views/basicData/customerFileOpenSea/index.vue                                                     |    6 
 src/views/equipmentManagement/brand/index.vue                                                         |    3 
 src/views/equipmentManagement/inspectionManagement/index.vue                                          |    2 
 src/views/collaborativeApproval/notificationManagement/index.vue                                      |    2 
 src/views/customerService/expiryAfterSales/index.vue                                                  |    2 
 src/views/personnelManagement/attendanceCheckin/checkinRules/index.vue                                |    2 
 src/views/financialManagement/receivable/outputInvoice.vue                                            |    2 
 src/views/collaborativeApproval/rpaManagement/index.vue                                               |    2 
 src/views/personnelManagement/monthlyStatistics/index.vue                                             |    2 
 src/views/safeProduction/dangerInvestigation/index.vue                                                |    2 
 src/views/personnelManagement/payrollManagement/index.vue                                             |    2 
 src/views/basicData/parameterMaintenance/index.vue                                                    |    1 
 src/views/energyManagement/energyPower/index.vue                                                      |    2 
 src/views/energyManagement/meterCollection/index.vue                                                  |    2 
 src/views/salesManagement/returnOrder/index.vue                                                       |    4 
 src/views/collaborativeApproval/purchaseApproval/index.vue                                            |    2 
 src/views/inventoryManagement/vehicleFuelManagement/index.vue                                         |    2 
 src/views/basicData/customerFile/index.vue                                                            |    6 
 src/views/fileManagement/borrow/index.vue                                                             |    3 
 src/views/safeProduction/safeWorkApproval/index.vue                                                   |    2 
 src/views/procurementManagement/procurementPlan/index.vue                                             |    2 
 src/views/qualityManagement/metricMaintenance/index.vue                                               |    9 
 src/views/projectManagement/projectType/components/ProjectTypeDialog.vue                              |    2 
 src/views/lavorissue/ledger/index.vue                                                                 |    2 
 src/views/procurementManagement/advancedPriceManagement/index.vue                                     |    4 
 src/views/inventoryManagement/receiptManagement/Record.vue                                            |    2 
 src/views/equipmentManagement/upkeep/index.vue                                                        |    8 
 src/views/salesManagement/deliveryLedger/index.vue                                                    |    4 
 src/views/energyManagement/waterManagement/waterBill.vue                                              |    2 
 src/views/energyManagement/energyArea/index.vue                                                       |    4 
 src/views/salesManagement/strategyControl/index.vue                                                   |    2 
 src/views/salesManagement/salesQuotation/index.vue                                                    |    2 
 src/views/safeProduction/hazardSourceLedger/index.vue                                                 |    2 
 src/views/basicData/supplierManage/filesDia.vue                                                       |    2 
 src/views/financialManagement/payable/paymentApply.vue                                                |    2 
 src/views/procurementManagement/procurementLedger/index.vue                                           |    2 
 src/views/equipmentManagement/measurementEquipment/index.vue                                          |    2 
 src/views/financialManagement/payable/reconciliation.vue                                              |    2 
 src/views/productionManagement/productionReporting/index.vue                                          |    1 
 src/views/inventoryManagement/transportTaskManagement/index.vue                                       |    2 
 src/views/collaborativeApproval/officeSupplies/index.vue                                              |    2 
 src/views/safeProduction/safeWorkApproval/fileList.vue                                                |    2 
 src/views/safeProduction/safeWorkApproval/components/infoFormDia.vue                                  |    2 
 src/views/customerService/feedbackRegistration/components/formDia.vue                                 |    1 
 src/views/procurementManagement/qualityInspection/index.vue                                           |    4 
 src/views/projectManagement/projectType/index.vue                                                     |    2 
 src/views/procurementManagement/purchaseOrder/index.vue                                               |    4 
 src/views/productManagement/productIdentifier/index.vue                                               |    2 
 src/views/inventoryManagement/dispatchLog/Record.vue                                                  |    2 
 src/views/equipmentManagement/measurementEquipment/filesDia.vue                                       |    2 
 src/views/projectManagement/Management/components/formDia.vue                                         |    6 
 src/views/procurementManagement/purchaseReturnOrder/index.vue                                         |    3 
 src/views/officeProcessAutomation/ReimburseManage/cost-reimburse/index.vue                            |    2 
 src/views/officeProcessAutomation/HrManage/staff-archive/components/EmergencyAndAttachmentSection.vue |    2 
 src/views/officeProcessAutomation/HrManage/staff-archive/components/EducationWorkSection.vue          |    4 
 src/views/basicData/supplierManage/components/HomeTab.vue                                             |    2 
 src/views/energyManagement/waterManagement/index.vue                                                  |    2 
 src/views/officeProcessAutomation/HrManage/staff-contract/filesDia.vue                                |    2 
 src/views/equipmentManagement/repair/index.vue                                                        |    4 
 src/views/procurementManagement/arrivalManagement/index.vue                                           |    4 
 src/views/financialManagement/receivable/invoiceApply.vue                                             |    2 
 src/views/procurementManagement/priceManagement/index.vue                                             |    4 
 src/views/productionPlan/productionPlan/index.vue                                                     |    1 
 src/views/projectManagement/Management/projectDetail.vue                                              |    2 
 src/views/basicData/supplierManage/components/BlacklistTab.vue                                        |    2 
 src/views/safeProduction/hazardousMaterialsControl/index.vue                                          |    2 
 src/views/projectManagement/Management/index.vue                                                      |    2 
 src/views/energyManagement/dynamicEnergySaving/index.vue                                              |    2 
 122 files changed, 165 insertions(+), 154 deletions(-)

diff --git a/src/components/PIMTable/PIMTable.vue b/src/components/PIMTable/PIMTable.vue
index d63c197..2a8d5f8 100644
--- a/src/components/PIMTable/PIMTable.vue
+++ b/src/components/PIMTable/PIMTable.vue
@@ -128,6 +128,7 @@
               }"
                        link
                        @click.stop="o.clickFun(scope.row)"
+                       v-hasPermi="o.hasPermi"
                        :key="key">
               {{ o.name }}
             </el-button>
diff --git a/src/directive/permission/hasPermi.js b/src/directive/permission/hasPermi.js
index e381ea9..a86eaab 100644
--- a/src/directive/permission/hasPermi.js
+++ b/src/directive/permission/hasPermi.js
@@ -21,8 +21,6 @@
       if (!hasPermissions) {
         el.parentNode && el.parentNode.removeChild(el)
       }
-    } else {
-      throw new Error(`璇疯缃搷浣滄潈闄愭爣绛惧�糮)
     }
   }
 }
diff --git a/src/views/basicData/customerFile/index.vue b/src/views/basicData/customerFile/index.vue
index f1d8069..daf38b7 100644
--- a/src/views/basicData/customerFile/index.vue
+++ b/src/views/basicData/customerFile/index.vue
@@ -37,7 +37,7 @@
                    @click="handleImport">瀵煎叆</el-button>
         <el-button type="danger"
                    plain
-                   @click="handleDelete">鍒犻櫎</el-button>
+                   @click="handleDelete" v-hasPermi="['basicData:customerFile:remove']">鍒犻櫎</el-button>
       </div>
     </div>
     <div class="table_list">
@@ -410,7 +410,7 @@
               </el-button>
               <el-button type="danger"
                          link
-                         @click="deleteNegotiationRecord(row, $index)">
+                         @click="deleteNegotiationRecord(row, $index)" v-hasPermi="['basicData:customerFile:remove']">
                 鍒犻櫎
               </el-button>
             </template>
@@ -485,7 +485,7 @@
                 </el-button>
                 <el-button type="danger"
                            link
-                           @click="deleteAttachment(row, $index)">
+                           @click="deleteAttachment(row, $index)" v-hasPermi="['basicData:customerFile:remove']">
                   鍒犻櫎
                 </el-button>
               </template>
diff --git a/src/views/basicData/customerFileOpenSea/index.vue b/src/views/basicData/customerFileOpenSea/index.vue
index d3495e5..29ddfc8 100644
--- a/src/views/basicData/customerFileOpenSea/index.vue
+++ b/src/views/basicData/customerFileOpenSea/index.vue
@@ -34,7 +34,7 @@
                    @click="handleImport">瀵煎叆</el-button>
         <el-button type="danger"
                    plain
-                   @click="handleDelete">鍒犻櫎</el-button>
+                   @click="handleDelete" v-hasPermi="['basicData:customerFileOpenSea:remove']">鍒犻櫎</el-button>
       </div>
     </div>
     <div class="table_list">
@@ -476,7 +476,7 @@
               </el-button>
               <el-button type="danger"
                          link
-                         @click="deleteNegotiationRecord(row, $index)">
+                         @click="deleteNegotiationRecord(row, $index)" v-hasPermi="['basicData:customerFileOpenSea:remove']">
                 鍒犻櫎
               </el-button>
             </template>
@@ -551,7 +551,7 @@
                 </el-button>
                 <el-button type="danger"
                            link
-                           @click="deleteAttachment(row, $index)">
+                           @click="deleteAttachment(row, $index)" v-hasPermi="['basicData:customerFileOpenSea:remove']">
                   鍒犻櫎
                 </el-button>
               </template>
diff --git a/src/views/basicData/parameterMaintenance/index.vue b/src/views/basicData/parameterMaintenance/index.vue
index 38ddd4f..0ce0a42 100644
--- a/src/views/basicData/parameterMaintenance/index.vue
+++ b/src/views/basicData/parameterMaintenance/index.vue
@@ -319,6 +319,7 @@
           clickFun: row => {
             handleDelete(row);
           },
+          hasPermi: ['basicData:parameterMaintenance:remove']
         },
       ],
     },
diff --git a/src/views/basicData/product/index.vue b/src/views/basicData/product/index.vue
index b05b215..cdf9a96 100644
--- a/src/views/basicData/product/index.vue
+++ b/src/views/basicData/product/index.vue
@@ -56,7 +56,7 @@
                            type="danger"
                            link
                            :disabled="isTopLevelNode(data, node)"
-                           @click="remove(node, data)">
+                           @click="remove(node, data)" v-hasPermi="['basicData:product:remove']">
                   鍒犻櫎
                 </el-button>
               </div>
@@ -77,7 +77,7 @@
         <el-button type="danger"
                    @click="handleDelete"
                    style="margin-left: 10px"
-                   plain>
+                   plain v-hasPermi="['basicData:product:remove']">
           鍒犻櫎
         </el-button>
       </div>
diff --git a/src/views/basicData/supplierManage/components/BlacklistTab.vue b/src/views/basicData/supplierManage/components/BlacklistTab.vue
index 206ba62..89e8edc 100644
--- a/src/views/basicData/supplierManage/components/BlacklistTab.vue
+++ b/src/views/basicData/supplierManage/components/BlacklistTab.vue
@@ -17,7 +17,7 @@
       </div>
       <div>
         <el-button @click="handleOut">瀵煎嚭</el-button>
-        <el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button>
+        <el-button type="danger" plain @click="handleDelete" v-hasPermi="['basicData:supplierManage:remove']">鍒犻櫎</el-button>
       </div>
     </div>
     <div class="table_list">
diff --git a/src/views/basicData/supplierManage/components/HomeTab.vue b/src/views/basicData/supplierManage/components/HomeTab.vue
index da62ca4..71b1b8a 100644
--- a/src/views/basicData/supplierManage/components/HomeTab.vue
+++ b/src/views/basicData/supplierManage/components/HomeTab.vue
@@ -23,7 +23,7 @@
         <el-button type="info" plain icon="Upload" @click="handleImport"
         >瀵煎叆</el-button
         >
-        <el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button>
+        <el-button type="danger" plain @click="handleDelete" v-hasPermi="['basicData:supplierManage:remove']">鍒犻櫎</el-button>
       </div>
     </div>
     <div class="table_list">
diff --git a/src/views/basicData/supplierManage/filesDia.vue b/src/views/basicData/supplierManage/filesDia.vue
index ef41985..b226122 100644
--- a/src/views/basicData/supplierManage/filesDia.vue
+++ b/src/views/basicData/supplierManage/filesDia.vue
@@ -20,7 +20,7 @@
         >
           <el-button type="primary">涓婁紶闄勪欢</el-button>
         </el-upload>
-        <el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button>
+        <el-button type="danger" plain @click="handleDelete" v-hasPermi="['basicData:supplierManage:remove']">鍒犻櫎</el-button>
       </div>
       <PIMTable
           rowKey="id"
diff --git a/src/views/collaborativeApproval/approvalManagement/index.vue b/src/views/collaborativeApproval/approvalManagement/index.vue
index 4638392..98940a5 100644
--- a/src/views/collaborativeApproval/approvalManagement/index.vue
+++ b/src/views/collaborativeApproval/approvalManagement/index.vue
@@ -127,7 +127,7 @@
                   @click="handleDelete(index)"
                   size="small"
                   class="action-btn"
-                >
+                 v-hasPermi="['collaborativeApproval:approvalManagement:remove']">
                   <el-icon><Delete /></el-icon>
                 </el-button>
               </div>
diff --git a/src/views/collaborativeApproval/approvalProcess/fileList.vue b/src/views/collaborativeApproval/approvalProcess/fileList.vue
index 1f1b671..4106cad 100644
--- a/src/views/collaborativeApproval/approvalProcess/fileList.vue
+++ b/src/views/collaborativeApproval/approvalProcess/fileList.vue
@@ -6,7 +6,7 @@
         <template #default="scope">
           <el-button link type="primary" @click="downLoadFile(scope.row)">涓嬭浇</el-button>
           <el-button link type="primary" @click="lookFile(scope.row)">棰勮</el-button>
-          <el-button link type="danger" @click="handleDelete(scope.row)">鍒犻櫎</el-button>
+          <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['collaborativeApproval:approvalProcessFile:remove']">鍒犻櫎</el-button>
         </template>
       </el-table-column>
     </el-table>
diff --git a/src/views/collaborativeApproval/approvalProcess/index.vue b/src/views/collaborativeApproval/approvalProcess/index.vue
index 158916c..f072f46 100644
--- a/src/views/collaborativeApproval/approvalProcess/index.vue
+++ b/src/views/collaborativeApproval/approvalProcess/index.vue
@@ -86,7 +86,7 @@
             @click="handleDelete"
             v-if="currentApproveType !== 5 && currentApproveType !== 6 && currentApproveType !== 7"
             class="action-btn danger"
-          >
+           v-hasPermi="['collaborativeApproval:approvalProcess:remove']">
             <el-icon><Delete /></el-icon>
             鍒犻櫎
           </el-button>
diff --git a/src/views/collaborativeApproval/attendanceManagement/index.vue b/src/views/collaborativeApproval/attendanceManagement/index.vue
index 1f5f956..fe278b3 100644
--- a/src/views/collaborativeApproval/attendanceManagement/index.vue
+++ b/src/views/collaborativeApproval/attendanceManagement/index.vue
@@ -26,7 +26,7 @@
             <el-table-column label="鎿嶄綔" fixed="right">
               <template #default="scope">
                 <el-button type="primary" size="small" @click="openDialog('holiday', 'edit', scope.row)">缂栬緫</el-button>
-                <el-button type="danger" size="small" @click="deleteItem('holiday', scope.row)">鍒犻櫎</el-button>
+                <el-button type="danger" size="small" @click="deleteItem('holiday', scope.row)" v-hasPermi="['collaborativeApproval:attendanceManagement:remove']">鍒犻櫎</el-button>
               </template>
             </el-table-column>
           </el-table>
@@ -57,7 +57,7 @@
             <el-table-column label="鎿嶄綔" fixed="right">
               <template #default="scope">
                 <el-button type="primary" size="small" @click="openDialog('annual', 'edit', scope.row)">缂栬緫</el-button>
-                <el-button type="danger" size="small" @click="deleteItem('annual', scope.row)">鍒犻櫎</el-button>
+                <el-button type="danger" size="small" @click="deleteItem('annual', scope.row)" v-hasPermi="['collaborativeApproval:attendanceManagement:remove']">鍒犻櫎</el-button>
               </template>
             </el-table-column>
           </el-table>
@@ -89,7 +89,7 @@
             <el-table-column label="鎿嶄綔" fixed="right">
               <template #default="scope">
                 <el-button type="primary" size="small" @click="openDialog('overtime', 'edit', scope.row)">缂栬緫</el-button>
-                <el-button type="danger" size="small" @click="deleteItem('overtime', scope.row)">鍒犻櫎</el-button>
+                <el-button type="danger" size="small" @click="deleteItem('overtime', scope.row)" v-hasPermi="['collaborativeApproval:attendanceManagement:remove']">鍒犻櫎</el-button>
               </template>
             </el-table-column>
           </el-table>
@@ -123,7 +123,7 @@
             <el-table-column label="鎿嶄綔" fixed="right">
               <template #default="scope">
                 <el-button type="primary" size="small" @click="openDialog('worktime', 'edit', scope.row)">缂栬緫</el-button>
-                <el-button type="danger" size="small" @click="deleteItem('worktime', scope.row)">鍒犻櫎</el-button>
+                <el-button type="danger" size="small" @click="deleteItem('worktime', scope.row)" v-hasPermi="['collaborativeApproval:attendanceManagement:remove']">鍒犻櫎</el-button>
               </template>
             </el-table-column>
           </el-table>
diff --git a/src/views/collaborativeApproval/knowledgeBase/index.vue b/src/views/collaborativeApproval/knowledgeBase/index.vue
index ab78893..536982f 100644
--- a/src/views/collaborativeApproval/knowledgeBase/index.vue
+++ b/src/views/collaborativeApproval/knowledgeBase/index.vue
@@ -31,7 +31,7 @@
           <div>
             <el-button @click="handleExport" style="margin-right: 10px">瀵煎嚭</el-button>
             <el-button type="primary" @click="openForm('add')">鏂板鐭ヨ瘑</el-button>
-            <el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button>
+            <el-button type="danger" plain @click="handleDelete" v-hasPermi="['collaborativeApproval:knowledgeBase:remove']">鍒犻櫎</el-button>
           </div>
         </div>
 
@@ -307,7 +307,7 @@
                     link
                     @click="revectorFile(row)"
                   >閲嶆柊澶勭悊</el-button>
-                  <el-button type="danger" size="small" link @click="deleteFile(row)">鍒犻櫎</el-button>
+                  <el-button type="danger" size="small" link @click="deleteFile(row)" v-hasPermi="['collaborativeApproval:knowledgeBase:remove']">鍒犻櫎</el-button>
                 </template>
               </el-table-column>
             </el-table>
diff --git a/src/views/collaborativeApproval/noticeManagement/index.vue b/src/views/collaborativeApproval/noticeManagement/index.vue
index a36b950..af8bda3 100644
--- a/src/views/collaborativeApproval/noticeManagement/index.vue
+++ b/src/views/collaborativeApproval/noticeManagement/index.vue
@@ -43,7 +43,7 @@
                   <div class="card-actions">
                     <el-button link type="primary" @click="handleEdit(notice)" :disabled="isNoticeExpired(notice)" v-if="notice.status !== 1">缂栬緫</el-button>
                     <el-button link type="success" @click="handlePublish(notice)" v-if="notice.status === 0">鍙戝竷</el-button>
-                    <el-button link type="danger" @click="handleDelete(notice.id)" v-if="notice.status !== 1">鍒犻櫎</el-button>
+                    <el-button link type="danger" @click="handleDelete(notice.id)" v-if="notice.status !== 1" v-hasPermi="['collaborativeApproval:noticeManagement:remove']">鍒犻櫎</el-button>
                   </div>
                 </div>
                 <div class="card-content">
@@ -235,7 +235,7 @@
                   link
                   type="danger"
                   @click="handleDeleteNoticeType(scope.row)"
-              >
+               v-hasPermi="['collaborativeApproval:noticeManagement:remove']">
                 鍒犻櫎
               </el-button>
             </template>
diff --git a/src/views/collaborativeApproval/notificationManagement/index.vue b/src/views/collaborativeApproval/notificationManagement/index.vue
index fa02f47..77b751c 100644
--- a/src/views/collaborativeApproval/notificationManagement/index.vue
+++ b/src/views/collaborativeApproval/notificationManagement/index.vue
@@ -28,7 +28,7 @@
         <el-button type="success" @click="openMeetingDialog">鍦ㄧ嚎浼氳</el-button>
         <el-button type="warning" @click="openFileShareDialog">鏂囦欢鍏变韩</el-button>
         <!-- <el-button type="info" @click="refreshEmployees">鍒锋柊鍛樺伐</el-button> -->
-        <el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button>
+        <el-button type="danger" plain @click="handleDelete" v-hasPermi="['collaborativeApproval:notificationManagement:remove']">鍒犻櫎</el-button>
       </div>
     </div>
     <div class="table_list">
diff --git a/src/views/collaborativeApproval/notificationManagement/meetDraft/index.vue b/src/views/collaborativeApproval/notificationManagement/meetDraft/index.vue
index 11d1774..9a4c322 100644
--- a/src/views/collaborativeApproval/notificationManagement/meetDraft/index.vue
+++ b/src/views/collaborativeApproval/notificationManagement/meetDraft/index.vue
@@ -53,7 +53,7 @@
           <template #default="scope">
             <el-button type="primary" link @click="viewDraft(scope.row)">鏌ョ湅</el-button>
             <el-button type="primary" link @click="editDraft(scope.row)">缂栬緫</el-button>
-            <el-button type="danger" link @click="deleteDraft(scope.row)">鍒犻櫎</el-button>
+            <el-button type="danger" link @click="deleteDraft(scope.row)" v-hasPermi="['collaborativeApproval:meetDraft:remove']">鍒犻櫎</el-button>
           </template>
         </el-table-column>
       </el-table>
diff --git a/src/views/collaborativeApproval/notificationManagement/meetSetting/index.vue b/src/views/collaborativeApproval/notificationManagement/meetSetting/index.vue
index 7ad8a7a..afaf43d 100644
--- a/src/views/collaborativeApproval/notificationManagement/meetSetting/index.vue
+++ b/src/views/collaborativeApproval/notificationManagement/meetSetting/index.vue
@@ -44,7 +44,7 @@
         <el-table-column label="鎿嶄綔" align="center" width="200">
           <template #default="scope">
             <el-button type="primary" link @click="handleEdit(scope.row)">缂栬緫</el-button>
-            <el-button type="danger" link @click="handleDelete(scope.row)">鍒犻櫎</el-button>
+            <el-button type="danger" link @click="handleDelete(scope.row)" v-hasPermi="['collaborativeApproval:meetSetting:remove']">鍒犻櫎</el-button>
           </template>
         </el-table-column>
       </el-table>
diff --git a/src/views/collaborativeApproval/officeSupplies/index.vue b/src/views/collaborativeApproval/officeSupplies/index.vue
index a2d1c6d..d7bbd95 100644
--- a/src/views/collaborativeApproval/officeSupplies/index.vue
+++ b/src/views/collaborativeApproval/officeSupplies/index.vue
@@ -119,7 +119,7 @@
               type="danger"
 							link
               @click="handleDelete(scope.row)"
-            >
+             v-hasPermi="['collaborativeApproval:officeSupplies:remove']">
               鍒犻櫎
             </el-button>
           </template>
diff --git a/src/views/collaborativeApproval/purchaseApproval/index.vue b/src/views/collaborativeApproval/purchaseApproval/index.vue
index d39748f..bdd4182 100644
--- a/src/views/collaborativeApproval/purchaseApproval/index.vue
+++ b/src/views/collaborativeApproval/purchaseApproval/index.vue
@@ -45,7 +45,7 @@
         <el-button @click="handleOut">瀵煎嚭</el-button>
         <el-button type="danger"
                    plain
-                   @click="handleDelete">鍒犻櫎</el-button>
+                   @click="handleDelete" v-hasPermi="['collaborativeApproval:purchaseApproval:remove']">鍒犻櫎</el-button>
       </div>
       <el-table :data="tableData"
                 border
diff --git a/src/views/collaborativeApproval/rpaManagement/index.vue b/src/views/collaborativeApproval/rpaManagement/index.vue
index c734b28..93411d9 100644
--- a/src/views/collaborativeApproval/rpaManagement/index.vue
+++ b/src/views/collaborativeApproval/rpaManagement/index.vue
@@ -24,7 +24,7 @@
       <div>
         <el-button @click="handleExport" style="margin-right: 10px">瀵煎嚭</el-button>
         <el-button type="primary" @click="openForm('add')">鏂板</el-button>
-        <el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button>
+        <el-button type="danger" plain @click="handleDelete" v-hasPermi="['collaborativeApproval:rpaManagement:remove']">鍒犻櫎</el-button>
       </div>
     </div>
     <div class="table_list">
diff --git a/src/views/customerService/expiryAfterSales/index.vue b/src/views/customerService/expiryAfterSales/index.vue
index 9966785..4a1c7ba 100644
--- a/src/views/customerService/expiryAfterSales/index.vue
+++ b/src/views/customerService/expiryAfterSales/index.vue
@@ -36,7 +36,7 @@
 			</div>
 			<div class="table_actions">
 				<el-button type="primary" @click="openForm('add')">鏂板</el-button>
-				<el-button type="danger" @click="handleDelete">鍒犻櫎</el-button>
+				<el-button type="danger" @click="handleDelete" v-hasPermi="['customerService:expiryAfterSales:remove']">鍒犻櫎</el-button>
 			</div>
 		</div>
 
diff --git a/src/views/customerService/feedbackRegistration/components/formDia.vue b/src/views/customerService/feedbackRegistration/components/formDia.vue
index fd3091e..d0ba87b 100644
--- a/src/views/customerService/feedbackRegistration/components/formDia.vue
+++ b/src/views/customerService/feedbackRegistration/components/formDia.vue
@@ -274,6 +274,7 @@
               i => getProductRowId(i) !== getProductRowId(row)
             );
           },
+          hasPermi: ['customerService:feedbackRegistration:remove']
         },
       ],
     },
diff --git a/src/views/customerService/feedbackRegistration/index.vue b/src/views/customerService/feedbackRegistration/index.vue
index 1e57bdb..bdec0f2 100644
--- a/src/views/customerService/feedbackRegistration/index.vue
+++ b/src/views/customerService/feedbackRegistration/index.vue
@@ -97,7 +97,7 @@
           <el-button @click="handleOut">瀵煎嚭</el-button>
           <el-button type="danger"
                      plain
-                     @click="handleDelete">鍒犻櫎</el-button>
+                     @click="handleDelete" v-hasPermi="['customerService:feedbackRegistration:remove']">鍒犻櫎</el-button>
         </div>
       </div>
       <PIMTable rowKey="id"
diff --git a/src/views/energyManagement/dynamicEnergySaving/index.vue b/src/views/energyManagement/dynamicEnergySaving/index.vue
index 8976b22..81b1ed4 100644
--- a/src/views/energyManagement/dynamicEnergySaving/index.vue
+++ b/src/views/energyManagement/dynamicEnergySaving/index.vue
@@ -165,7 +165,7 @@
             <el-button
               type="danger" 
               @click="deleteModel(scope.row)"
-            >
+             v-hasPermi="['energyManagement:dynamicEnergySaving:remove']">
               鍒犻櫎
             </el-button>
           </template>
diff --git a/src/views/energyManagement/energyArea/index.vue b/src/views/energyManagement/energyArea/index.vue
index 63feff8..fecbd3f 100644
--- a/src/views/energyManagement/energyArea/index.vue
+++ b/src/views/energyManagement/energyArea/index.vue
@@ -65,7 +65,7 @@
                   type="danger"
                   link
                   @click="remove(node, data)"
-                >
+                 v-hasPermi="['energyManagement:energyArea:remove']">
                   鍒犻櫎
                 </el-button>
               </div>
@@ -84,7 +84,7 @@
           @click="handleDelete"
           style="margin-left: 10px"
           plain
-        >
+         v-hasPermi="['energyManagement:energyArea:remove']">
           鍒犻櫎
         </el-button>
       </div>
diff --git a/src/views/energyManagement/energyPeriodTime/index.vue b/src/views/energyManagement/energyPeriodTime/index.vue
index 49bb226..10b40bc 100644
--- a/src/views/energyManagement/energyPeriodTime/index.vue
+++ b/src/views/energyManagement/energyPeriodTime/index.vue
@@ -43,7 +43,7 @@
       <div>
         <el-button type="primary" @click="openForm('add')">鏂板</el-button>
         <el-button @click="handleOut">瀵煎嚭</el-button>
-        <el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button>
+        <el-button type="danger" plain @click="handleDelete" v-hasPermi="['energyManagement:energyPeriodTime:remove']">鍒犻櫎</el-button>
       </div>
     </div>
     <div class="table_list">
diff --git a/src/views/energyManagement/energyPower/index.vue b/src/views/energyManagement/energyPower/index.vue
index 6311019..80d98ac 100644
--- a/src/views/energyManagement/energyPower/index.vue
+++ b/src/views/energyManagement/energyPower/index.vue
@@ -19,7 +19,7 @@
 				<el-button type="primary" @click="openForm('add')">鏂板</el-button>
 				<el-button type="info" plain icon="Upload" @click="handleImport">瀵煎叆</el-button>
 				<el-button @click="handleOut">瀵煎嚭</el-button>
-				<el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button>
+				<el-button type="danger" plain @click="handleDelete" v-hasPermi="['energyManagement:energyPower:remove']">鍒犻櫎</el-button>
 			</div>
 		</div>
 		<div class="table_list">
diff --git a/src/views/energyManagement/meterCollection/index.vue b/src/views/energyManagement/meterCollection/index.vue
index dfa5617..9f62282 100644
--- a/src/views/energyManagement/meterCollection/index.vue
+++ b/src/views/energyManagement/meterCollection/index.vue
@@ -12,7 +12,7 @@
        <el-row :gutter="20" style="margin-bottom: 15px;">
          <el-col :span="24">
            <el-button @click="addTestData" type="primary" size="small">娣诲姞娴嬭瘯鏁版嵁</el-button>
-           <el-button @click="clearData" type="danger" size="small">娓呯┖鏁版嵁</el-button>
+           <el-button @click="clearData" type="danger" size="small" v-hasPermi="['energyManagement:meterCollection:remove']">娓呯┖鏁版嵁</el-button>
            <el-button @click="testChart" type="success" size="small">娴嬭瘯鍥捐〃</el-button>
          </el-col>
        </el-row>
diff --git a/src/views/energyManagement/waterManagement/index.vue b/src/views/energyManagement/waterManagement/index.vue
index 4ada029..57d67b5 100644
--- a/src/views/energyManagement/waterManagement/index.vue
+++ b/src/views/energyManagement/waterManagement/index.vue
@@ -19,7 +19,7 @@
 				<el-button type="primary" @click="openForm('add')">鏂板</el-button>
 				<el-button type="info" plain icon="Upload" @click="handleImport">瀵煎叆</el-button>
 				<el-button @click="handleOut">瀵煎嚭</el-button>
-				<el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button>
+				<el-button type="danger" plain @click="handleDelete" v-hasPermi="['energyManagement:waterManagement:remove']">鍒犻櫎</el-button>
 			</div>
 		</div>
 		<div class="table_list">
diff --git a/src/views/energyManagement/waterManagement/waterBill.vue b/src/views/energyManagement/waterManagement/waterBill.vue
index ea382f0..77d3fe6 100644
--- a/src/views/energyManagement/waterManagement/waterBill.vue
+++ b/src/views/energyManagement/waterManagement/waterBill.vue
@@ -17,7 +17,7 @@
 			</div>
 			<div>
 				<el-button type="primary" @click="openForm('add')">鏂板</el-button>
-				<el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button>
+				<el-button type="danger" plain @click="handleDelete" v-hasPermi="['energyManagement:waterManagement:remove']">鍒犻櫎</el-button>
 			</div>
 		</div>
 		<div class="table_list">
diff --git a/src/views/equipmentManagement/brand/index.vue b/src/views/equipmentManagement/brand/index.vue
index 6607cc8..6a9f59d 100644
--- a/src/views/equipmentManagement/brand/index.vue
+++ b/src/views/equipmentManagement/brand/index.vue
@@ -27,7 +27,7 @@
             icon="Delete"
             :disabled="multipleSelection.length <= 0"
             @click="handleBatchDelete"
-          >鎵归噺鍒犻櫎</el-button>
+           v-hasPermi="['equipmentManagement:brand:remove']">鎵归噺鍒犻櫎</el-button>
         </div>
       </div>
 
@@ -121,6 +121,7 @@
           name: '鍒犻櫎',
           type: 'text',
           clickFun: (row) => handleDelete(row.id),
+          hasPermi: ['equipmentManagement:brand:remove']
         }
       ]
     }
diff --git a/src/views/equipmentManagement/calibration/index.vue b/src/views/equipmentManagement/calibration/index.vue
index e3eaef6..489c34a 100644
--- a/src/views/equipmentManagement/calibration/index.vue
+++ b/src/views/equipmentManagement/calibration/index.vue
@@ -155,6 +155,7 @@
 				clickFun: (row) => {
 					handleDelete(row);
 				},
+				hasPermi: ['equipmentManagement:calibration:remove']
 			},
 		],
 	},
diff --git a/src/views/equipmentManagement/inspectionManagement/index.vue b/src/views/equipmentManagement/inspectionManagement/index.vue
index d7e94a9..f6edad7 100644
--- a/src/views/equipmentManagement/inspectionManagement/index.vue
+++ b/src/views/equipmentManagement/inspectionManagement/index.vue
@@ -62,7 +62,7 @@
         </el-radio-group>
         <el-space v-if="activeRadio !== 'task'">
           <el-button type="primary" :icon="Plus" @click="handleAdd(undefined)">鏂板缓</el-button>
-          <el-button type="danger" :icon="Delete" @click="handleDelete">鍒犻櫎</el-button>
+          <el-button type="danger" :icon="Delete" @click="handleDelete" v-hasPermi="['equipmentManagement:inspectionManagement:remove']">鍒犻櫎</el-button>
           <el-button @click="handleOut">瀵煎嚭</el-button>
         </el-space>
         <el-space v-else>
diff --git a/src/views/equipmentManagement/ledger/index.vue b/src/views/equipmentManagement/ledger/index.vue
index ebc0325..61f37a8 100644
--- a/src/views/equipmentManagement/ledger/index.vue
+++ b/src/views/equipmentManagement/ledger/index.vue
@@ -53,7 +53,7 @@
                 link
                 type="danger"
                 @click.stop="handleDeleteArea(data)"
-              >
+               v-hasPermi="['equipmentManagement:ledger:remove']">
                 鍒犻櫎
               </el-button>
             </div>
@@ -122,7 +122,7 @@
               icon="Delete"
               :disabled="multipleList.length <= 0"
               @click="deleteRow(multipleList.map((item) => item.id))"
-            >
+             v-hasPermi="['equipmentManagement:ledger:remove']">
               鎵归噺鍒犻櫎
             </el-button>
           </div>
diff --git a/src/views/equipmentManagement/measurementEquipment/filesDia.vue b/src/views/equipmentManagement/measurementEquipment/filesDia.vue
index ee9dc3a..acfb8b6 100644
--- a/src/views/equipmentManagement/measurementEquipment/filesDia.vue
+++ b/src/views/equipmentManagement/measurementEquipment/filesDia.vue
@@ -20,7 +20,7 @@
         >
           <el-button type="primary">涓婁紶闄勪欢</el-button>
         </el-upload>
-        <el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button>
+        <el-button type="danger" plain @click="handleDelete" v-hasPermi="['equipmentManagement:measurementEquipment:remove']">鍒犻櫎</el-button>
       </div>
       <PIMTable
           rowKey="id"
diff --git a/src/views/equipmentManagement/measurementEquipment/index.vue b/src/views/equipmentManagement/measurementEquipment/index.vue
index 20ea038..e413af0 100644
--- a/src/views/equipmentManagement/measurementEquipment/index.vue
+++ b/src/views/equipmentManagement/measurementEquipment/index.vue
@@ -27,7 +27,7 @@
 			</div>
 			<div>
 				<el-button type="primary" @click="openForm('add')">鏂板璁¢噺鍣ㄥ叿</el-button>
-				<el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button>
+				<el-button type="danger" plain @click="handleDelete" v-hasPermi="['equipmentManagement:measurementEquipment:remove']">鍒犻櫎</el-button>
 				<el-button @click="handleOut">瀵煎嚭</el-button>
 			</div>
 		</div>
diff --git a/src/views/equipmentManagement/repair/index.vue b/src/views/equipmentManagement/repair/index.vue
index 961e661..42e34ad 100644
--- a/src/views/equipmentManagement/repair/index.vue
+++ b/src/views/equipmentManagement/repair/index.vue
@@ -75,7 +75,7 @@
             icon="Delete"
             :disabled="multipleList.length <= 0 || hasFinishedStatus"
             @click="delRepairByIds(multipleList.map((item) => item.id))"
-          >
+           v-hasPermi="['equipmentManagement:repair:remove']">
             鎵归噺鍒犻櫎
           </el-button>
         </div>
@@ -130,7 +130,7 @@
           <el-button type="danger"
                      link
                      :disabled="row.status === 1 || row.status === 3"
-                     @click="delRepairByIds(row.id)">
+                     @click="delRepairByIds(row.id)" v-hasPermi="['equipmentManagement:repair:remove']">
             鍒犻櫎
           </el-button>
           <el-button type="primary"
diff --git a/src/views/equipmentManagement/spareParts/index.vue b/src/views/equipmentManagement/spareParts/index.vue
index c297b63..a060a85 100644
--- a/src/views/equipmentManagement/spareParts/index.vue
+++ b/src/views/equipmentManagement/spareParts/index.vue
@@ -280,6 +280,7 @@
         clickFun: (row) => {
           deleteCategory(row.id)
         },
+        hasPermi: ['equipmentManagement:spareParts:remove']
       },
     ],
   },
diff --git a/src/views/equipmentManagement/upkeep/index.vue b/src/views/equipmentManagement/upkeep/index.vue
index 4e9c57b..a4647a2 100644
--- a/src/views/equipmentManagement/upkeep/index.vue
+++ b/src/views/equipmentManagement/upkeep/index.vue
@@ -39,7 +39,7 @@
                 icon="Delete"
                 :disabled="scheduledMultipleList.length <= 0"
                 @click="delScheduledTaskByIds(scheduledMultipleList.map((item) => item.id))"
-              >
+               v-hasPermi="['equipmentManagement:upkeep:remove']">
                 鎵归噺鍒犻櫎
               </el-button>
             </div>
@@ -78,7 +78,7 @@
                 type="danger"
                 link
                 @click="delScheduledTaskByIds(row.id)"
-              >
+               v-hasPermi="['equipmentManagement:upkeep:remove']">
                 鍒犻櫎
               </el-button>
             </template>
@@ -149,7 +149,7 @@
                 icon="Delete"
                 :disabled="multipleList.length <= 0 || hasFinishedStatus"
                 @click="delRepairByIds(multipleList.map((item) => item.id))"
-              >
+               v-hasPermi="['equipmentManagement:upkeep:remove']">
                 鎵归噺鍒犻櫎
               </el-button>
             </div>
@@ -206,7 +206,7 @@
             link
             :disabled="row.status === 1"
             @click="delRepairByIds(row.id)"
-          >
+           v-hasPermi="['equipmentManagement:upkeep:remove']">
             鍒犻櫎
           </el-button>
           <el-button
diff --git a/src/views/fileManagement/bookshelf/index.vue b/src/views/fileManagement/bookshelf/index.vue
index c73ae1c..1330e28 100644
--- a/src/views/fileManagement/bookshelf/index.vue
+++ b/src/views/fileManagement/bookshelf/index.vue
@@ -88,7 +88,7 @@
               <el-col :span="10" v-if="node.level<3">
                 <el-button type="link" size="small" :icon="Edit" @click.stop="handleEdit(data,node.level)">
                 </el-button>
-                <el-button type="danger" size="small" :icon="Delete" @click.stop="handleDelete(data,node.level)">
+                <el-button type="danger" size="small" :icon="Delete" @click.stop="handleDelete(data,node.level)" v-hasPermi="['fileManagement:bookshelf:remove']">
                 </el-button>
               </el-col>
             </el-row>
diff --git a/src/views/fileManagement/borrow/index.vue b/src/views/fileManagement/borrow/index.vue
index c7d8e0d..ccca895 100644
--- a/src/views/fileManagement/borrow/index.vue
+++ b/src/views/fileManagement/borrow/index.vue
@@ -51,7 +51,7 @@
             type="danger"
             @click="handleBatchDelete"
             :disabled="selectedRows.length === 0"
-          >
+           v-hasPermi="['fileManagement:borrow:remove']">
             <el-icon><Delete /></el-icon>
             鎵归噺鍒犻櫎 ({{ selectedRows.length }})
           </el-button>
@@ -299,6 +299,7 @@
         clickFun: (row) => {
           handleDelete(row)
         },
+        hasPermi: ['fileManagement:borrow:remove']
       },
     ],
   }
diff --git a/src/views/fileManagement/document/attachmentManager.vue b/src/views/fileManagement/document/attachmentManager.vue
index f3c0504..a8aa52b 100644
--- a/src/views/fileManagement/document/attachmentManager.vue
+++ b/src/views/fileManagement/document/attachmentManager.vue
@@ -57,7 +57,7 @@
               <el-button link type="primary" size="small" @click="downloadFile(scope.row)">
                 涓嬭浇
               </el-button>
-              <el-button link type="danger" size="small" @click="removeFile(scope.row)">
+              <el-button link type="danger" size="small" @click="removeFile(scope.row)" v-hasPermi="['fileManagement:document:remove']">
                 鍒犻櫎
               </el-button>
             </template>
diff --git a/src/views/fileManagement/document/index.vue b/src/views/fileManagement/document/index.vue
index f4eac2d..f083568 100644
--- a/src/views/fileManagement/document/index.vue
+++ b/src/views/fileManagement/document/index.vue
@@ -70,7 +70,7 @@
                   type="danger"
                   link
                   @click="removeCategory(node, data)"
-                >
+                 v-hasPermi="['fileManagement:document:remove']">
                   鍒犻櫎
                 </el-button>
               </div>
@@ -90,7 +90,7 @@
           style="margin-left: 10px"
           plain
           :disabled="selectedRows.length === 0"
-        >
+         v-hasPermi="['fileManagement:document:remove']">
           鍒犻櫎 ({{ selectedRows.length }})
         </el-button>
       </div>
diff --git a/src/views/fileManagement/return/index.vue b/src/views/fileManagement/return/index.vue
index 097ab29..5489c8b 100644
--- a/src/views/fileManagement/return/index.vue
+++ b/src/views/fileManagement/return/index.vue
@@ -59,7 +59,7 @@
             type="danger"
             @click="handleBatchDelete"
             :disabled="selectedRows.length === 0"
-          >
+           v-hasPermi="['fileManagement:return:remove']">
             <el-icon><Delete /></el-icon>
             鎵归噺鍒犻櫎 ({{ selectedRows.length }})
           </el-button>
@@ -303,6 +303,7 @@
         clickFun: (row) => {
           handleDelete(row)
         },
+        hasPermi: ['fileManagement:return:remove']
       },
     ],
   }
diff --git a/src/views/financialManagement/assets/fixedAssets.vue b/src/views/financialManagement/assets/fixedAssets.vue
index 95eb017..1e28f94 100644
--- a/src/views/financialManagement/assets/fixedAssets.vue
+++ b/src/views/financialManagement/assets/fixedAssets.vue
@@ -72,7 +72,7 @@
         <template #operation="{ row }">
           <el-button type="primary" link @click="view(row)">鏌ョ湅</el-button>
           <el-button type="primary" link @click="edit(row)">缂栬緫</el-button>
-          <el-button type="danger" link @click="handleDelete(row)">鍒犻櫎</el-button>
+          <el-button type="danger" link @click="handleDelete(row)" v-hasPermi="['financialManagement:fixedAssets:remove']">鍒犻櫎</el-button>
         </template>
       </PIMTable>
     </div>
diff --git a/src/views/financialManagement/assets/intangibleAssets.vue b/src/views/financialManagement/assets/intangibleAssets.vue
index 9aef2bf..1cfa22f 100644
--- a/src/views/financialManagement/assets/intangibleAssets.vue
+++ b/src/views/financialManagement/assets/intangibleAssets.vue
@@ -73,7 +73,7 @@
         <template #operation="{ row }">
           <el-button type="primary" link @click="view(row)">鏌ョ湅</el-button>
           <el-button type="primary" link @click="edit(row)">缂栬緫</el-button>
-          <el-button type="danger" link @click="handleDelete(row)">鍒犻櫎</el-button>
+          <el-button type="danger" link @click="handleDelete(row)" v-hasPermi="['financialManagement:intangibleAssets:remove']">鍒犻櫎</el-button>
         </template>
       </PIMTable>
     </div>
diff --git a/src/views/financialManagement/generalLedger/index.vue b/src/views/financialManagement/generalLedger/index.vue
index a7b1d30..9e1195f 100644
--- a/src/views/financialManagement/generalLedger/index.vue
+++ b/src/views/financialManagement/generalLedger/index.vue
@@ -96,7 +96,7 @@
           <template #default="scope">
             <el-button link type="primary" icon="Plus" @click="addChild(scope.row)">鏂板</el-button>
             <el-button link type="primary" icon="Edit" @click="edit(scope.row)">缂栬緫</el-button>
-            <el-button link type="danger" icon="Delete" @click="handleDelete(scope.row)">鍒犻櫎</el-button>
+            <el-button link type="danger" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['financialManagement:generalLedger:remove']">鍒犻櫎</el-button>
           </template>
         </el-table-column>
       </el-table>
@@ -269,6 +269,7 @@
           clickFun: row => {
             handleDelete(row);
           },
+          hasPermi: ['financialManagement:generalLedger:remove']
         },
       ],
     },
diff --git a/src/views/financialManagement/payable/input-invoice.vue b/src/views/financialManagement/payable/input-invoice.vue
index 86ebd09..cab46cb 100644
--- a/src/views/financialManagement/payable/input-invoice.vue
+++ b/src/views/financialManagement/payable/input-invoice.vue
@@ -75,7 +75,7 @@
         <template #operation="{ row }">
           <el-button type="primary" link @click="view(row)">鏌ョ湅</el-button>
           <el-button type="warning" link @click="handleCancel(row)" v-if="isNormalStatus(row.status)">浣滃簾</el-button>
-          <el-button type="danger" link @click="handleDelete(row)">鍒犻櫎</el-button>
+          <el-button type="danger" link @click="handleDelete(row)" v-hasPermi="['financialManagement:inputInvoice:remove']">鍒犻櫎</el-button>
         </template>
       </PIMTable>
     </div>
diff --git a/src/views/financialManagement/payable/payment.vue b/src/views/financialManagement/payable/payment.vue
index 18e7941..7e3ad79c 100644
--- a/src/views/financialManagement/payable/payment.vue
+++ b/src/views/financialManagement/payable/payment.vue
@@ -81,7 +81,7 @@
           <el-button :disabled="row.accountStatemen"
                      type="danger"
                      link
-                     @click="handleDelete(row)">鍒犻櫎</el-button>
+                     @click="handleDelete(row)" v-hasPermi="['financialManagement:payable:remove']">鍒犻櫎</el-button>
         </template>
       </PIMTable>
     </div>
diff --git a/src/views/financialManagement/payable/paymentApply.vue b/src/views/financialManagement/payable/paymentApply.vue
index e34793f..062d27e 100644
--- a/src/views/financialManagement/payable/paymentApply.vue
+++ b/src/views/financialManagement/payable/paymentApply.vue
@@ -73,7 +73,7 @@
           <el-button type="primary" link @click="edit(row)" v-if="isPendingStatus(row.status)">缂栬緫</el-button>
           <el-button type="success" link @click="handleAudit(row)" v-if="isPendingStatus(row.status)">瀹℃牳</el-button>
           <el-button type="warning" link @click="openPaymentDialog(row)" v-if="isApprovedStatus(row.status)">浠樻</el-button>
-          <el-button type="danger" link @click="handleDelete(row)" v-if="isPendingStatus(row.status)">鍒犻櫎</el-button>
+          <el-button type="danger" link @click="handleDelete(row)" v-if="isPendingStatus(row.status)" v-hasPermi="['financialManagement:paymentApply:remove']">鍒犻櫎</el-button>
         </template>
       </PIMTable>
     </div>
diff --git a/src/views/financialManagement/payable/reconciliation.vue b/src/views/financialManagement/payable/reconciliation.vue
index e749e56..650364d 100644
--- a/src/views/financialManagement/payable/reconciliation.vue
+++ b/src/views/financialManagement/payable/reconciliation.vue
@@ -56,7 +56,7 @@
         </template>
         <template #operation="{ row }">
           <el-button type="primary" link @click="viewDetail(row)">鏌ョ湅鏄庣粏</el-button>
-          <el-button type="danger" link @click="handleDelete(row)">鍒犻櫎</el-button>
+          <el-button type="danger" link @click="handleDelete(row)" v-hasPermi="['financialManagement:payableReconciliation:remove']">鍒犻櫎</el-button>
         </template>
       </PIMTable>
     </div>
diff --git a/src/views/financialManagement/receivable/invoiceApply.vue b/src/views/financialManagement/receivable/invoiceApply.vue
index 85f30b2..528c887 100644
--- a/src/views/financialManagement/receivable/invoiceApply.vue
+++ b/src/views/financialManagement/receivable/invoiceApply.vue
@@ -70,7 +70,7 @@
         <template #operation="{ row }">
           <el-button type="primary" link @click="view(row)">鏌ョ湅</el-button>
           <el-button type="primary" link @click="edit(row)" v-if="isPendingStatus(row.status)">缂栬緫</el-button>
-          <el-button type="danger" link @click="handleDelete(row)" v-if="isPendingStatus(row.status)">鍒犻櫎</el-button>
+          <el-button type="danger" link @click="handleDelete(row)" v-if="isPendingStatus(row.status)" v-hasPermi="['financialManagement:invoiceApply:remove']">鍒犻櫎</el-button>
           <el-button type="success" link @click="handleAudit(row)" v-if="isPendingStatus(row.status)">瀹℃牳</el-button>
           <el-button type="primary" link @click="openFileDialog(row)" v-if="isApprovedStatus(row.status)">闄勪欢</el-button>
         </template>
diff --git a/src/views/financialManagement/receivable/outputInvoice.vue b/src/views/financialManagement/receivable/outputInvoice.vue
index d746aea..ea6dd18 100644
--- a/src/views/financialManagement/receivable/outputInvoice.vue
+++ b/src/views/financialManagement/receivable/outputInvoice.vue
@@ -78,7 +78,7 @@
             闄勪欢
           </el-button>
           <el-button type="warning" link @click="handleCancel(row)" v-if="isNormalStatus(row.status)">浣滃簾</el-button>
-          <el-button type="danger" link @click="handleDelete(row)">鍒犻櫎</el-button>
+          <el-button type="danger" link @click="handleDelete(row)" v-hasPermi="['financialManagement:outputInvoice:remove']">鍒犻櫎</el-button>
         </template>
       </PIMTable>
     </div>
diff --git a/src/views/financialManagement/receivable/receipt.vue b/src/views/financialManagement/receivable/receipt.vue
index ae7a763..3b200c8 100644
--- a/src/views/financialManagement/receivable/receipt.vue
+++ b/src/views/financialManagement/receivable/receipt.vue
@@ -92,7 +92,7 @@
           <el-button :disabled="row.accountStatemen"
                      type="danger"
                      link
-                     @click="handleDelete(row)">鍒犻櫎</el-button>
+                     @click="handleDelete(row)" v-hasPermi="['financialManagement:receipt:remove']">鍒犻櫎</el-button>
         </template>
       </PIMTable>
     </div>
diff --git a/src/views/financialManagement/receivable/reconciliation.vue b/src/views/financialManagement/receivable/reconciliation.vue
index b1bff0e..13011c3 100644
--- a/src/views/financialManagement/receivable/reconciliation.vue
+++ b/src/views/financialManagement/receivable/reconciliation.vue
@@ -52,7 +52,7 @@
         <template #operation="{ row }">
           <el-button type="primary" link @click="viewDetail(row)">鏌ョ湅鏄庣粏</el-button>
           <!-- <el-button type="primary" link @click="printStatement(row)">鎵撳嵃</el-button> -->
-          <el-button type="danger" link @click="handleDelete(row)">鍒犻櫎</el-button>
+          <el-button type="danger" link @click="handleDelete(row)" v-hasPermi="['financialManagement:receivableReconciliation:remove']">鍒犻櫎</el-button>
         </template>
       </PIMTable>
     </div>
diff --git a/src/views/financialManagement/voucher/index.vue b/src/views/financialManagement/voucher/index.vue
index 1aa6f69..a3bb870 100644
--- a/src/views/financialManagement/voucher/index.vue
+++ b/src/views/financialManagement/voucher/index.vue
@@ -182,7 +182,7 @@
                     </td>
                   </template>
                   <td class="col-action">
-                    <el-button type="danger" link size="small" @click="removeEntry(rowIndex)" icon="Delete" :disabled="isViewMode || form.entries.length <= 2">鍒犻櫎</el-button>
+                    <el-button type="danger" link size="small" @click="removeEntry(rowIndex)" icon="Delete" :disabled="isViewMode || form.entries.length <= 2" v-hasPermi="['financialManagement:voucher:remove']">鍒犻櫎</el-button>
                   </td>
                 </tr>
                 <tr class="total-row">
diff --git a/src/views/inventoryManagement/dispatchLog/Record.vue b/src/views/inventoryManagement/dispatchLog/Record.vue
index 431fd24..eab58b6 100644
--- a/src/views/inventoryManagement/dispatchLog/Record.vue
+++ b/src/views/inventoryManagement/dispatchLog/Record.vue
@@ -75,7 +75,7 @@
     <div class="actions">
       <el-button type="primary" @click="handleBatchApprove">瀹℃壒</el-button>
       <el-button @click="handleOut">瀵煎嚭</el-button>
-      <el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button>
+      <el-button type="danger" plain @click="handleDelete" v-hasPermi="['inventoryManagement:dispatchLog:remove']">鍒犻櫎</el-button>
       <el-button type="primary" plain @click="handlePrint">鎵撳嵃</el-button>
     </div>
     <div class="table_list">
diff --git a/src/views/inventoryManagement/index.vue b/src/views/inventoryManagement/index.vue
index f371e26..820753e 100644
--- a/src/views/inventoryManagement/index.vue
+++ b/src/views/inventoryManagement/index.vue
@@ -33,7 +33,7 @@
 					icon="Delete"
 					:disabled="multipleList.length <= 0"
 					@click="deleteRow(multipleList.map((item) => item.id))"
-				>
+				 v-hasPermi="['inventoryManagement:inventoryManagement:remove']">
 					鎵归噺鍒犻櫎
 				</el-button>
 			</div>
diff --git a/src/views/inventoryManagement/receiptManagement/Record.vue b/src/views/inventoryManagement/receiptManagement/Record.vue
index 0a01def..de2b2f0 100644
--- a/src/views/inventoryManagement/receiptManagement/Record.vue
+++ b/src/views/inventoryManagement/receiptManagement/Record.vue
@@ -83,7 +83,7 @@
       <el-button type="danger"
                  plain
                  :disabled="!canDelete"
-                 @click="handleDelete">鍒犻櫎
+                 @click="handleDelete" v-hasPermi="['inventoryManagement:receiptManagement:remove']">鍒犻櫎
       </el-button>
     </div>
     <div class="table_list">
diff --git a/src/views/inventoryManagement/stockWarning/index.vue b/src/views/inventoryManagement/stockWarning/index.vue
index b5216cb..51699da 100644
--- a/src/views/inventoryManagement/stockWarning/index.vue
+++ b/src/views/inventoryManagement/stockWarning/index.vue
@@ -121,7 +121,7 @@
           <template #default="scope">
             <el-button link type="primary" @click="handleEdit(scope.row)">缂栬緫</el-button>
 <!--            <el-button link type="success" size="small" @click="handleProcess(scope.row)">澶勭悊@</el-button>-->
-            <el-button link type="danger" @click="handleDelete(scope.row)">鍒犻櫎</el-button>
+            <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['inventoryManagement:stockWarning:remove']">鍒犻櫎</el-button>
           </template>
         </el-table-column>
       </el-table>
diff --git a/src/views/inventoryManagement/transportTaskManagement/index.vue b/src/views/inventoryManagement/transportTaskManagement/index.vue
index 8e73004..7eac0db 100644
--- a/src/views/inventoryManagement/transportTaskManagement/index.vue
+++ b/src/views/inventoryManagement/transportTaskManagement/index.vue
@@ -203,7 +203,7 @@
               link
               size="small"
               @click="removeRow(scope.row)"
-            >
+             v-hasPermi="['inventoryManagement:transportTaskManagement:remove']">
               鍒犻櫎
             </el-button>
           </template>
diff --git a/src/views/inventoryManagement/vehicleFuelManagement/index.vue b/src/views/inventoryManagement/vehicleFuelManagement/index.vue
index eaf543c..3948ca4 100644
--- a/src/views/inventoryManagement/vehicleFuelManagement/index.vue
+++ b/src/views/inventoryManagement/vehicleFuelManagement/index.vue
@@ -159,7 +159,7 @@
               link
               size="small"
               @click="removeRow(scope.row)"
-            >
+             v-hasPermi="['inventoryManagement:vehicleFuelManagement:remove']">
               鍒犻櫎
             </el-button>
           </template>
diff --git a/src/views/inventoryManagement/vehicleManagement/index.vue b/src/views/inventoryManagement/vehicleManagement/index.vue
index 1e383c6..bd5bb9f 100644
--- a/src/views/inventoryManagement/vehicleManagement/index.vue
+++ b/src/views/inventoryManagement/vehicleManagement/index.vue
@@ -174,7 +174,7 @@
               link
               size="small"
               @click="removeRow(scope.row)"
-            >
+             v-hasPermi="['inventoryManagement:vehicleManagement:remove']">
               鍒犻櫎
             </el-button>
           </template>
diff --git a/src/views/lavorissue/ledger/filesDia.vue b/src/views/lavorissue/ledger/filesDia.vue
index 46da350..0e9b66b 100644
--- a/src/views/lavorissue/ledger/filesDia.vue
+++ b/src/views/lavorissue/ledger/filesDia.vue
@@ -20,7 +20,7 @@
         >
           <el-button type="primary">涓婁紶闄勪欢</el-button>
         </el-upload>
-        <el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button>
+        <el-button type="danger" plain @click="handleDelete" v-hasPermi="['lavorissue:ledger:remove']">鍒犻櫎</el-button>
       </div>
       <PIMTable
           rowKey="id"
diff --git a/src/views/lavorissue/ledger/index.vue b/src/views/lavorissue/ledger/index.vue
index 19d0e59..2ac35aa 100644
--- a/src/views/lavorissue/ledger/index.vue
+++ b/src/views/lavorissue/ledger/index.vue
@@ -38,7 +38,7 @@
               icon="Delete"
               :disabled="multipleList.length <= 0"
               @click="deleteRow(multipleList.map((item) => item.id))"
-          >
+           v-hasPermi="['lavorissue:ledger:remove']">
             鎵归噺鍒犻櫎
           </el-button>
         </div>
diff --git a/src/views/officeProcessAutomation/EnterpriseNews/news-manage/index.vue b/src/views/officeProcessAutomation/EnterpriseNews/news-manage/index.vue
index f263a41..1dd3d9b 100644
--- a/src/views/officeProcessAutomation/EnterpriseNews/news-manage/index.vue
+++ b/src/views/officeProcessAutomation/EnterpriseNews/news-manage/index.vue
@@ -327,6 +327,7 @@
       type: "danger",
       disabled: (row) => !canEditEnterpriseNewsRow(row),
       clickFun: (row) => handleNewsDelete(row),
+      hasPermi: ['officeProcessAutomation:enterpriseNews:remove']
     },
   ])
 );
diff --git a/src/views/officeProcessAutomation/HrManage/staff-archive/components/EducationWorkSection.vue b/src/views/officeProcessAutomation/HrManage/staff-archive/components/EducationWorkSection.vue
index c1470e7..98a478c 100644
--- a/src/views/officeProcessAutomation/HrManage/staff-archive/components/EducationWorkSection.vue
+++ b/src/views/officeProcessAutomation/HrManage/staff-archive/components/EducationWorkSection.vue
@@ -91,7 +91,7 @@
               type="primary"
               link
               @click="removeEducationRow(scope.$index)"
-            >
+             v-hasPermi="['officeProcessAutomation:staffArchive:remove']">
               鍒犻櫎
             </el-button>
           </template>
@@ -188,7 +188,7 @@
               type="primary"
               link
               @click="removeWorkRow(scope.$index)"
-            >
+             v-hasPermi="['officeProcessAutomation:staffArchive:remove']">
               鍒犻櫎
             </el-button>
           </template>
diff --git a/src/views/officeProcessAutomation/HrManage/staff-archive/components/EmergencyAndAttachmentSection.vue b/src/views/officeProcessAutomation/HrManage/staff-archive/components/EmergencyAndAttachmentSection.vue
index bd63608..0cd9c69 100644
--- a/src/views/officeProcessAutomation/HrManage/staff-archive/components/EmergencyAndAttachmentSection.vue
+++ b/src/views/officeProcessAutomation/HrManage/staff-archive/components/EmergencyAndAttachmentSection.vue
@@ -60,7 +60,7 @@
               type="primary"
               link
               @click="removeEmergencyRow(scope.$index)"
-            >
+             v-hasPermi="['officeProcessAutomation:staffArchive:remove']">
               鍒犻櫎
             </el-button>
           </template>
diff --git a/src/views/officeProcessAutomation/HrManage/staff-contract/filesDia.vue b/src/views/officeProcessAutomation/HrManage/staff-contract/filesDia.vue
index 02f9cef..1d83666 100644
--- a/src/views/officeProcessAutomation/HrManage/staff-contract/filesDia.vue
+++ b/src/views/officeProcessAutomation/HrManage/staff-contract/filesDia.vue
@@ -20,7 +20,7 @@
         >
           <el-button type="primary">涓婁紶闄勪欢</el-button>
         </el-upload>
-        <el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button>
+        <el-button type="danger" plain @click="handleDelete" v-hasPermi="['officeProcessAutomation:staffContract:remove']">鍒犻櫎</el-button>
       </div>
       <PIMTable
           rowKey="id"
diff --git a/src/views/officeProcessAutomation/ReimburseManage/cost-reimburse/index.vue b/src/views/officeProcessAutomation/ReimburseManage/cost-reimburse/index.vue
index c9da4fc..d371761 100644
--- a/src/views/officeProcessAutomation/ReimburseManage/cost-reimburse/index.vue
+++ b/src/views/officeProcessAutomation/ReimburseManage/cost-reimburse/index.vue
@@ -239,7 +239,7 @@
             </el-table-column>
             <el-table-column v-if="!formDialog.readonly" label="鎿嶄綔" width="70" align="center">
               <template #default="{ $index }">
-                <el-button type="danger" link size="small" @click="removeExpenseDetail($index)">鍒犻櫎</el-button>
+                <el-button type="danger" link size="small" @click="removeExpenseDetail($index)" v-hasPermi="['officeProcessAutomation:reimburseManage:remove']">鍒犻櫎</el-button>
               </template>
             </el-table-column>
           </el-table>
diff --git a/src/views/officeProcessAutomation/ReimburseManage/travel-reimburse/index.vue b/src/views/officeProcessAutomation/ReimburseManage/travel-reimburse/index.vue
index 17737e3..6161658 100644
--- a/src/views/officeProcessAutomation/ReimburseManage/travel-reimburse/index.vue
+++ b/src/views/officeProcessAutomation/ReimburseManage/travel-reimburse/index.vue
@@ -319,7 +319,7 @@
           </el-table-column>
           <el-table-column v-if="!formDialog.readonly" label="鎿嶄綔" width="70" align="center">
             <template #default="{ $index }">
-              <el-button type="danger" link size="small" @click="removeExpenseDetail($index)">鍒犻櫎</el-button>
+              <el-button type="danger" link size="small" @click="removeExpenseDetail($index)" v-hasPermi="['officeProcessAutomation:reimburseManage:remove']">鍒犻櫎</el-button>
             </template>
           </el-table-column>
         </el-table>
diff --git a/src/views/personnelManagement/attendanceCheckin/checkinRules/index.vue b/src/views/personnelManagement/attendanceCheckin/checkinRules/index.vue
index c47dd2e..0eb669c 100644
--- a/src/views/personnelManagement/attendanceCheckin/checkinRules/index.vue
+++ b/src/views/personnelManagement/attendanceCheckin/checkinRules/index.vue
@@ -103,7 +103,7 @@
                        @click="openForm('edit', scope.row)">缂栬緫</el-button>
             <el-button type="danger"
                        link
-                       @click="handleDelete(scope.row.id)">鍒犻櫎</el-button>
+                       @click="handleDelete(scope.row.id)" v-hasPermi="['personnelManagement:attendanceCheckin:remove']">鍒犻櫎</el-button>
           </template>
         </el-table-column>
       </el-table>
diff --git a/src/views/personnelManagement/monthlyStatistics/index.vue b/src/views/personnelManagement/monthlyStatistics/index.vue
index 4ac9e97..cc34203 100644
--- a/src/views/personnelManagement/monthlyStatistics/index.vue
+++ b/src/views/personnelManagement/monthlyStatistics/index.vue
@@ -38,7 +38,7 @@
     <div class="table_list">
       <div style="margin-bottom: 10px;text-align: right">
         <el-button type="primary" @click="openForm('add')">鏂板缓宸ヨ祫琛�</el-button>
-        <el-button @click="handleDelete">鍒犻櫎</el-button>
+        <el-button @click="handleDelete" v-hasPermi="['personnelManagement:monthlyStatistics:remove']">鍒犻櫎</el-button>
         <el-button @click="openBankSetting">璁剧疆閾惰</el-button>
         <el-button @click="handleExport">瀵煎嚭</el-button>
       </div>
diff --git a/src/views/personnelManagement/payrollManagement/index.vue b/src/views/personnelManagement/payrollManagement/index.vue
index f17f42e..237e761 100644
--- a/src/views/personnelManagement/payrollManagement/index.vue
+++ b/src/views/personnelManagement/payrollManagement/index.vue
@@ -29,7 +29,7 @@
 			<div>
 				<el-button @click="handleExport" style="margin-right: 10px">瀵煎嚭</el-button>
 				<el-button type="primary" @click="openForm('add')">鏂板钖祫</el-button>
-				<el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button>
+				<el-button type="danger" plain @click="handleDelete" v-hasPermi="['personnelManagement:payrollManagement:remove']">鍒犻櫎</el-button>
 			</div>
 		</div>
 		<div class="table_list">
diff --git a/src/views/personnelManagement/scheduling/index.vue b/src/views/personnelManagement/scheduling/index.vue
index 19d2062..22e265e 100644
--- a/src/views/personnelManagement/scheduling/index.vue
+++ b/src/views/personnelManagement/scheduling/index.vue
@@ -104,7 +104,7 @@
                 type="danger"
                 size="small"
                 @click="handleDelete(scope.row)"
-            >
+             v-hasPermi="['personnelManagement:scheduling:remove']">
               鍒犻櫎
             </el-button>
           </template>
@@ -125,7 +125,7 @@
           type="danger"
           @click="handleBatchDelete"
           :disabled="selectedRows.length === 0"
-      >
+       v-hasPermi="['personnelManagement:scheduling:remove']">
         鎵归噺鍒犻櫎 ({{ selectedRows.length }})
       </el-button>
     </div>
diff --git a/src/views/personnelManagement/selfService/index.vue b/src/views/personnelManagement/selfService/index.vue
index 647f149..3871cdc 100644
--- a/src/views/personnelManagement/selfService/index.vue
+++ b/src/views/personnelManagement/selfService/index.vue
@@ -41,7 +41,7 @@
           <el-table-column label="鎿嶄綔" width="150">
             <template #default="scope">
               <el-button size="small" @click="editAttendanceRecord(scope.row)">缂栬緫</el-button>
-              <el-button size="small" type="danger" @click="deleteAttendanceRecord(scope.row)">鍒犻櫎</el-button>
+              <el-button size="small" type="danger" @click="deleteAttendanceRecord(scope.row)" v-hasPermi="['personnelManagement:selfService:remove']">鍒犻櫎</el-button>
             </template>
           </el-table-column>
         </el-table>
@@ -95,7 +95,7 @@
           <el-table-column label="鎿嶄綔" width="150">
             <template #default="scope">
               <el-button size="small" @click="editLeaveRecord(scope.row)">缂栬緫</el-button>
-              <el-button size="small" type="danger" @click="deleteLeaveRecord(scope.row)">鍒犻櫎</el-button>
+              <el-button size="small" type="danger" @click="deleteLeaveRecord(scope.row)" v-hasPermi="['personnelManagement:selfService:remove']">鍒犻櫎</el-button>
             </template>
           </el-table-column>
         </el-table>
diff --git a/src/views/personnelManagement/socialSecuritySet/components/formDia.vue b/src/views/personnelManagement/socialSecuritySet/components/formDia.vue
index 71f5e61..60fb11c 100644
--- a/src/views/personnelManagement/socialSecuritySet/components/formDia.vue
+++ b/src/views/personnelManagement/socialSecuritySet/components/formDia.vue
@@ -91,8 +91,7 @@
                         link
                         size="small"
                         class="card-delete-btn"
-                        @click="removeInsuranceBenefit(index)"
-                      >
+                        @click="removeInsuranceBenefit(index)">
                         鍒犻櫎
                       </el-button>
                     </div>
diff --git a/src/views/personnelManagement/socialSecuritySet/index.vue b/src/views/personnelManagement/socialSecuritySet/index.vue
index 1f3f104..6a80231 100644
--- a/src/views/personnelManagement/socialSecuritySet/index.vue
+++ b/src/views/personnelManagement/socialSecuritySet/index.vue
@@ -23,7 +23,7 @@
           type="danger"
           @click="handleBatchDelete"
           :disabled="selectedRows.length === 0"
-        >
+         v-hasPermi="['personnelManagement:socialSecuritySet:remove']">
           鎵归噺鍒犻櫎
         </el-button>
       </div>
@@ -91,6 +91,7 @@
           color: "#F56C6C",
         },
         clickFun: (row) => handleDelete(row),
+        hasPermi: ['personnelManagement:socialSecuritySet:remove']
       },
     ],
   },
diff --git a/src/views/procurementManagement/advancedPriceManagement/index.vue b/src/views/procurementManagement/advancedPriceManagement/index.vue
index 84bd160..a1a16b8 100644
--- a/src/views/procurementManagement/advancedPriceManagement/index.vue
+++ b/src/views/procurementManagement/advancedPriceManagement/index.vue
@@ -39,7 +39,7 @@
           <el-icon><Download /></el-icon>
           瀵煎嚭鏁版嵁
         </el-button>
-        <el-button type="danger" @click="handleBatchDelete" :disabled="selectedRows.length === 0">
+        <el-button type="danger" @click="handleBatchDelete" :disabled="selectedRows.length === 0" v-hasPermi="['procurementManagement:advancedPriceManagement:remove']">
           <el-icon><Delete /></el-icon>
           鎵归噺鍒犻櫎
         </el-button>
@@ -116,7 +116,7 @@
               <el-icon><Edit /></el-icon>
               缂栬緫
             </el-button>
-            <el-button type="danger" link @click="handleDelete(row)">
+            <el-button type="danger" link @click="handleDelete(row)" v-hasPermi="['procurementManagement:advancedPriceManagement:remove']">
               <el-icon><Delete /></el-icon>
               鍒犻櫎
             </el-button>
diff --git a/src/views/procurementManagement/arrivalManagement/index.vue b/src/views/procurementManagement/arrivalManagement/index.vue
index a1b5eed..114a22b 100644
--- a/src/views/procurementManagement/arrivalManagement/index.vue
+++ b/src/views/procurementManagement/arrivalManagement/index.vue
@@ -18,7 +18,7 @@
     <el-card class="table-card" shadow="never">
       <div class="table-header">
         <el-button type="primary" @click="openDialog('add')">鏂板鍒拌揣</el-button>
-        <el-button type="danger" @click="handleBatchDelete">鎵归噺鍒犻櫎</el-button>
+        <el-button type="danger" @click="handleBatchDelete" v-hasPermi="['procurementManagement:arrivalManagement:remove']">鎵归噺鍒犻櫎</el-button>
       </div>
 
       <el-table :data="tableData" border v-loading="loading" @selection-change="handleSelectionChange">
@@ -37,7 +37,7 @@
           <template #default="{ row }">
             <el-button type="primary" link @click="openDialog('edit', row)">缂栬緫</el-button>
             <el-button type="success" v-if="row.status === 'pending'" link @click="handleReceive(row)">鏀惰揣</el-button>
-            <el-button type="danger" link @click="handleDelete(row)">鍒犻櫎</el-button>
+            <el-button type="danger" link @click="handleDelete(row)" v-hasPermi="['procurementManagement:arrivalManagement:remove']">鍒犻櫎</el-button>
           </template>
         </el-table-column>
       </el-table>
diff --git a/src/views/procurementManagement/priceManagement/index.vue b/src/views/procurementManagement/priceManagement/index.vue
index 76a39ed..929b56c 100644
--- a/src/views/procurementManagement/priceManagement/index.vue
+++ b/src/views/procurementManagement/priceManagement/index.vue
@@ -25,7 +25,7 @@
       <div class="table-header">
         <el-button type="primary" @click="openDialog('add')">鏂板浠锋牸</el-button>
         <el-button type="success" @click="handleBatchUpdate">鎵归噺鏇存柊</el-button>
-        <el-button type="danger" @click="handleBatchDelete">鎵归噺鍒犻櫎</el-button>
+        <el-button type="danger" @click="handleBatchDelete" v-hasPermi="['procurementManagement:priceManagement:remove']">鎵归噺鍒犻櫎</el-button>
       </div>
 
       <el-table :data="tableData" border v-loading="loading" @selection-change="handleSelectionChange">
@@ -56,7 +56,7 @@
           <template #default="{ row }">
             <el-button type="primary" link @click="openDialog('edit', row)">缂栬緫</el-button>
             <el-button type="success" link @click="handleApply(row)" v-if="row.status === 'pending'">搴旂敤</el-button>
-            <el-button type="danger" link @click="handleDelete(row)">鍒犻櫎</el-button>
+            <el-button type="danger" link @click="handleDelete(row)" v-hasPermi="['procurementManagement:priceManagement:remove']">鍒犻櫎</el-button>
           </template>
         </el-table-column>
       </el-table>
diff --git a/src/views/procurementManagement/procurementLedger/index.vue b/src/views/procurementManagement/procurementLedger/index.vue
index 03d2ad2..cb47101 100644
--- a/src/views/procurementManagement/procurementLedger/index.vue
+++ b/src/views/procurementManagement/procurementLedger/index.vue
@@ -77,7 +77,7 @@
         <el-button @click="handleOut">瀵煎嚭</el-button>
         <el-button type="danger"
                    plain
-                   @click="handleDelete">鍒犻櫎
+                   @click="handleDelete" v-hasPermi="['procurementManagement:procurementLedger:remove']">鍒犻櫎
         </el-button>
       </div>
       <el-table :data="tableData"
diff --git a/src/views/procurementManagement/procurementPlan/index.vue b/src/views/procurementManagement/procurementPlan/index.vue
index ba9a38c..d1ddc46 100644
--- a/src/views/procurementManagement/procurementPlan/index.vue
+++ b/src/views/procurementManagement/procurementPlan/index.vue
@@ -110,7 +110,7 @@
                        @click="handleCalculate(row)">璁$畻</el-button>
             <el-button type="danger"
                        link
-                       @click="handleDelete(row)">鍒犻櫎</el-button>
+                       @click="handleDelete(row)" v-hasPermi="['procurementManagement:procurementPlan:remove']">鍒犻櫎</el-button>
           </template>
         </el-table-column>
       </el-table>
diff --git a/src/views/procurementManagement/purchaseOrder/index.vue b/src/views/procurementManagement/purchaseOrder/index.vue
index 4f9812f..3242868 100644
--- a/src/views/procurementManagement/purchaseOrder/index.vue
+++ b/src/views/procurementManagement/purchaseOrder/index.vue
@@ -22,7 +22,7 @@
     <el-card class="table-card" shadow="never">
       <div class="table-header">
         <el-button type="primary" @click="openDialog('add')">鏂板璁㈠崟</el-button>
-        <el-button type="danger" @click="handleBatchDelete" :disabled="!selectedRows.length">鎵归噺鍒犻櫎</el-button>
+        <el-button type="danger" @click="handleBatchDelete" :disabled="!selectedRows.length" v-hasPermi="['procurementManagement:purchaseOrder:remove']">鎵归噺鍒犻櫎</el-button>
       </div>
 
       <el-table :data="tableData" border v-loading="loading" @selection-change="handleSelectionChange">
@@ -42,7 +42,7 @@
           <template #default="{ row }">
             <el-button type="primary" size="small" @click="openDialog('edit', row)">缂栬緫</el-button>
             <el-button type="success" size="small" @click="viewDetails(row)">鏌ョ湅</el-button>
-            <el-button type="danger" size="small" @click="handleDelete(row)">鍒犻櫎</el-button>
+            <el-button type="danger" size="small" @click="handleDelete(row)" v-hasPermi="['procurementManagement:purchaseOrder:remove']">鍒犻櫎</el-button>
           </template>
         </el-table-column>
       </el-table>
diff --git a/src/views/procurementManagement/purchaseReturnOrder/New.vue b/src/views/procurementManagement/purchaseReturnOrder/New.vue
index 9474b11..669ddef 100644
--- a/src/views/procurementManagement/purchaseReturnOrder/New.vue
+++ b/src/views/procurementManagement/purchaseReturnOrder/New.vue
@@ -319,8 +319,7 @@
                       link
                       type="danger"
                       size="small"
-                      @click="delProduct(scope.$index)"
-                  >
+                      @click="delProduct(scope.$index)">
                     鍒犻櫎
                   </el-button>
                 </template>
diff --git a/src/views/procurementManagement/purchaseReturnOrder/index.vue b/src/views/procurementManagement/purchaseReturnOrder/index.vue
index f8866e1..018f8e3 100644
--- a/src/views/procurementManagement/purchaseReturnOrder/index.vue
+++ b/src/views/procurementManagement/purchaseReturnOrder/index.vue
@@ -46,7 +46,7 @@
             >璇︽儏</el-button
           >
           <el-button link size="small" @click="handleDelete(row)"
-            >鍒犻櫎</el-button
+             v-hasPermi="['procurementManagement:purchaseReturnOrder:remove']">鍒犻櫎</el-button
           >
         </template>
       </PIMTable>
@@ -344,6 +344,7 @@
         clickFun: (row) => {
           handleDelete(row);
         },
+        hasPermi: ['procurementManagement:purchaseReturnOrder:remove']
       },
     ],
   },
diff --git a/src/views/procurementManagement/qualityInspection/index.vue b/src/views/procurementManagement/qualityInspection/index.vue
index aee1d99..9c99277 100644
--- a/src/views/procurementManagement/qualityInspection/index.vue
+++ b/src/views/procurementManagement/qualityInspection/index.vue
@@ -23,7 +23,7 @@
       <div class="table-header">
         <el-button type="primary" @click="openDialog('add')">鏂板璐ㄦ鍗�</el-button>
         <el-button type="success" @click="handleBatchComplete">鎵归噺瀹屾垚</el-button>
-        <el-button type="danger" @click="handleBatchDelete">鎵归噺鍒犻櫎</el-button>
+        <el-button type="danger" @click="handleBatchDelete" v-hasPermi="['procurementManagement:qualityInspection:remove']">鎵归噺鍒犻櫎</el-button>
       </div>
 
       <el-table :data="tableData" border v-loading="loading" @selection-change="handleSelectionChange">
@@ -43,7 +43,7 @@
           <template #default="{ row }">
             <el-button type="primary" link @click="openDialog('edit', row)">缂栬緫</el-button>
             <el-button type="success" link @click="handleComplete(row)" v-if="row.status !== 'completed'">瀹屾垚</el-button>
-            <el-button type="danger" link @click="handleDelete(row)">鍒犻櫎</el-button>
+            <el-button type="danger" link @click="handleDelete(row)" v-hasPermi="['procurementManagement:qualityInspection:remove']">鍒犻櫎</el-button>
           </template>
         </el-table-column>
       </el-table>
diff --git a/src/views/procurementManagement/returnManagement/index.vue b/src/views/procurementManagement/returnManagement/index.vue
index d44b588..b796b33 100644
--- a/src/views/procurementManagement/returnManagement/index.vue
+++ b/src/views/procurementManagement/returnManagement/index.vue
@@ -21,7 +21,7 @@
     <el-card class="table-card" shadow="never">
       <div class="table-header">
         <el-button type="primary" @click="openDialog('add')">鏂板閫�璐у崟</el-button>
-        <el-button type="danger" @click="handleBatchDelete">鎵归噺鍒犻櫎</el-button>
+        <el-button type="danger" @click="handleBatchDelete" v-hasPermi="['procurementManagement:returnManagement:remove']">鎵归噺鍒犻櫎</el-button>
       </div>
 
       <el-table :data="tableData" border v-loading="loading" @selection-change="handleSelectionChange">
@@ -46,7 +46,7 @@
           <template #default="{ row }">
             <el-button type="primary" link @click="openDialog('edit', row)">缂栬緫</el-button>
             <el-button type="success" link @click="handleApprove(row)" v-if="row.status === 'pending'">瀹℃牳</el-button>
-            <el-button type="danger" link @click="handleDelete(row)">鍒犻櫎</el-button>
+            <el-button type="danger" link @click="handleDelete(row)" v-hasPermi="['procurementManagement:returnManagement:remove']">鍒犻櫎</el-button>
           </template>
         </el-table-column>
       </el-table>
diff --git a/src/views/productManagement/productIdentifier/index.vue b/src/views/productManagement/productIdentifier/index.vue
index d638e7a..dcb4936 100644
--- a/src/views/productManagement/productIdentifier/index.vue
+++ b/src/views/productManagement/productIdentifier/index.vue
@@ -117,7 +117,7 @@
                        v-if="scope.row.status === '宸插垎閰�'">閲嶆柊鍒嗛厤</el-button>
             <el-button link
                        type="danger"
-                       @click="handleDelete(scope.row)">鍒犻櫎</el-button>
+                       @click="handleDelete(scope.row)" v-hasPermi="['productManagement:productIdentifier:remove']">鍒犻櫎</el-button>
           </template>
         </el-table-column>
       </el-table>
diff --git a/src/views/productionManagement/processRoute/index.vue b/src/views/productionManagement/processRoute/index.vue
index 1ef5b9d..e6c7da0 100644
--- a/src/views/productionManagement/processRoute/index.vue
+++ b/src/views/productionManagement/processRoute/index.vue
@@ -25,7 +25,7 @@
         <el-button type="danger"
                    @click="handleDelete"
                    :disabled="selectedRows.length === 0"
-                   plain>鍒犻櫎宸ヨ壓璺嚎</el-button>
+                   plain v-hasPermi="['productionManagement:processRoute:remove']">鍒犻櫎宸ヨ壓璺嚎</el-button>
       </div>
       <PIMTable rowKey="id"
                 :column="tableColumn"
diff --git a/src/views/productionManagement/productStructure/index.vue b/src/views/productionManagement/productStructure/index.vue
index e05ed3c..d26a4a3 100644
--- a/src/views/productionManagement/productStructure/index.vue
+++ b/src/views/productionManagement/productStructure/index.vue
@@ -18,7 +18,7 @@
         <el-button type="danger"
                    plain
                    @click="handleBatchDelete"
-                   :disabled="selectedRows.length === 0">鍒犻櫎</el-button>
+                   :disabled="selectedRows.length === 0" v-hasPermi="['product:bom:remove']">鍒犻櫎</el-button>
       </div>
       <PIMTable rowKey="id"
                 :column="tableColumn"
@@ -183,6 +183,7 @@
           clickFun: row => {
             handleDelete(row);
           },
+          hasPermi: ['product:bom:remove']
         },
       ],
     },
diff --git a/src/views/productionManagement/productionReporting/index.vue b/src/views/productionManagement/productionReporting/index.vue
index fa4e163..f4e9deb 100644
--- a/src/views/productionManagement/productionReporting/index.vue
+++ b/src/views/productionManagement/productionReporting/index.vue
@@ -264,6 +264,7 @@
           clickFun: row => {
             deleteReport(row);
           },
+          hasPermi: ['productionManagement:productionReporting:remove']
         },
       ],
     },
diff --git a/src/views/productionPlan/productionPlan/index.vue b/src/views/productionPlan/productionPlan/index.vue
index fd6c1a3..fe4dd7c 100644
--- a/src/views/productionPlan/productionPlan/index.vue
+++ b/src/views/productionPlan/productionPlan/index.vue
@@ -461,6 +461,7 @@
           clickFun: row => {
             handleDelete(row);
           },
+          hasPermi: ['productionPlan:productionPlan:remove']
         },
       ],
     },
diff --git a/src/views/projectManagement/Management/components/formDia.vue b/src/views/projectManagement/Management/components/formDia.vue
index 0db3efe..2609166 100644
--- a/src/views/projectManagement/Management/components/formDia.vue
+++ b/src/views/projectManagement/Management/components/formDia.vue
@@ -174,7 +174,7 @@
           </div>
           <div class="section-actions" @click.stop>
             <el-button v-if="!isView" type="primary" @click="openProductForm('add')">娣诲姞</el-button>
-            <el-button v-if="!isView" plain type="danger" @click="deleteProduct">鍒犻櫎</el-button>
+            <el-button v-if="!isView" plain type="danger" @click="deleteProduct" v-hasPermi="['projectManagement:Management:remove']">鍒犻櫎</el-button>
             <el-icon class="toggle-icon" @click="toggleSection('product')">
               <ArrowDown v-if="sectionCollapsed.product" />
               <ArrowUp v-else />
@@ -272,7 +272,7 @@
               <el-input v-model="row.remark" placeholder="璇疯緭鍏�" clearable :disabled="isView" />
             </template>
             <template #teamAction="{ row, index }">
-              <el-button v-if="!isView" link type="danger" :icon="Delete" @click="removeTeamRow(index)">鍒犻櫎</el-button>
+              <el-button v-if="!isView" link type="danger" :icon="Delete" @click="removeTeamRow(index)" v-hasPermi="['projectManagement:Management:remove']">鍒犻櫎</el-button>
               <span v-else>鈥�</span>
             </template>
           </PIMTable>
@@ -414,7 +414,7 @@
               <el-input v-model="row.address" placeholder="璇疯緭鍏�" clearable :disabled="isView" />
             </template>
             <template #addressAction="{ row, index }">
-              <el-button v-if="!isView" link type="danger" :icon="Delete" @click="removeAddressRow(index)">鍒犻櫎</el-button>
+              <el-button v-if="!isView" link type="danger" :icon="Delete" @click="removeAddressRow(index)" v-hasPermi="['projectManagement:Management:remove']">鍒犻櫎</el-button>
               <span v-else>鈥�</span>
             </template>
           </PIMTable>
diff --git a/src/views/projectManagement/Management/index.vue b/src/views/projectManagement/Management/index.vue
index 0438aef..7acfd57 100644
--- a/src/views/projectManagement/Management/index.vue
+++ b/src/views/projectManagement/Management/index.vue
@@ -38,7 +38,7 @@
         <el-button :loading="submitLoading" @click="handleSubmit">鎻愪氦</el-button>
         <el-button :loading="auditLoading" @click="handleAudit">瀹℃牳</el-button>
         <!-- <el-button :loading="reverseAuditLoading" @click="handleReverseAudit">鍙嶅鏍�</el-button> -->
-        <el-button :loading="deleteLoading" @click="handleDelete">鍒犻櫎</el-button>
+        <el-button :loading="deleteLoading" @click="handleDelete" v-hasPermi="['projectManagement:Management:remove']">鍒犻櫎</el-button>
       </div>
 
       <PIMTable
diff --git a/src/views/projectManagement/Management/projectDetail.vue b/src/views/projectManagement/Management/projectDetail.vue
index be670cb..38b00de 100644
--- a/src/views/projectManagement/Management/projectDetail.vue
+++ b/src/views/projectManagement/Management/projectDetail.vue
@@ -155,7 +155,7 @@
             </el-table-column>
             <el-table-column v-if="false" label="鎿嶄綔" width="100" align="center" fixed="right" >
               <template #default="{ row }">
-                <el-button link type="danger" size="small" @click="handleDeleteStage(row)">鍒犻櫎</el-button>
+                <el-button link type="danger" size="small" @click="handleDeleteStage(row)" v-hasPermi="['projectManagement:Management:remove']">鍒犻櫎</el-button>
               </template>
             </el-table-column>
           </el-table>
diff --git a/src/views/projectManagement/projectType/components/ProjectTypeDialog.vue b/src/views/projectManagement/projectType/components/ProjectTypeDialog.vue
index bc1e196..46e3b2b 100644
--- a/src/views/projectManagement/projectType/components/ProjectTypeDialog.vue
+++ b/src/views/projectManagement/projectType/components/ProjectTypeDialog.vue
@@ -126,7 +126,7 @@
           </el-table-column>
           <el-table-column label="鎿嶄綔" min-width="150">
             <template #default="scope">
-              <el-button type="danger" size="mini" @click="removeStep(scope.$index)">鍒犻櫎</el-button>
+              <el-button type="danger" size="mini" @click="removeStep(scope.$index)" v-hasPermi="['projectManagement:projectType:remove']">鍒犻櫎</el-button>
             </template>
           </el-table-column>
         </el-table>
diff --git a/src/views/projectManagement/projectType/index.vue b/src/views/projectManagement/projectType/index.vue
index 65cc916..1d47143 100644
--- a/src/views/projectManagement/projectType/index.vue
+++ b/src/views/projectManagement/projectType/index.vue
@@ -38,7 +38,7 @@
             <div class="actions">
               <el-button link type="primary" @click="handleUpdate(item)">缂栬緫</el-button>
               <el-button link type="primary" @click="handleCopy(item)">澶嶅埗</el-button>
-              <el-button link type="danger" @click="handleDelete(item)">鍒犻櫎</el-button>
+              <el-button link type="danger" @click="handleDelete(item)" v-hasPermi="['projectManagement:projectType:remove']">鍒犻櫎</el-button>
             </div>
           </div>
 
diff --git a/src/views/qualityManagement/finalInspection/index.vue b/src/views/qualityManagement/finalInspection/index.vue
index 5ee6e26..c4c33fb 100644
--- a/src/views/qualityManagement/finalInspection/index.vue
+++ b/src/views/qualityManagement/finalInspection/index.vue
@@ -51,7 +51,7 @@
       <el-button type="primary" @click="openQuickCheck">蹇�熸楠�</el-button>
       <el-button type="primary" @click="openForm('add')">鏂板</el-button>
       <el-button @click="handleOut">瀵煎嚭</el-button>
-      <el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button>
+      <el-button type="danger" plain @click="handleDelete" v-hasPermi="['qualityManagement:finalInspection:remove']">鍒犻櫎</el-button>
     </div>
       <PIMTable rowKey="id"
                 :column="tableColumn"
diff --git a/src/views/qualityManagement/metricBinding/index.vue b/src/views/qualityManagement/metricBinding/index.vue
index 5d115d6..cfdc8f1 100644
--- a/src/views/qualityManagement/metricBinding/index.vue
+++ b/src/views/qualityManagement/metricBinding/index.vue
@@ -90,7 +90,7 @@
 
       <div class="right-toolbar">
         <el-button type="primary" :disabled="!currentStandard" @click="openBindingDialog">娣诲姞缁戝畾</el-button>
-        <el-button type="danger" plain :disabled="!currentStandard" @click="handleBatchUnbind">鍒犻櫎</el-button>
+        <el-button type="danger" plain :disabled="!currentStandard" @click="handleBatchUnbind" v-hasPermi="['qualityManagement:metricBinding:remove']">鍒犻櫎</el-button>
       </div>
 
       <el-table
@@ -108,7 +108,7 @@
         <el-table-column prop="productName" label="浜у搧鍚嶇О" min-width="140" />
         <el-table-column label="鎿嶄綔" width="120" fixed="right" align="center">
           <template #default="{ row }">
-            <el-button link type="danger" size="small" @click="handleUnbind(row)">鍒犻櫎</el-button>
+            <el-button link type="danger" size="small" @click="handleUnbind(row)" v-hasPermi="['qualityManagement:metricBinding:remove']">鍒犻櫎</el-button>
           </template>
         </el-table-column>
       </el-table>
diff --git a/src/views/qualityManagement/metricMaintenance/index.vue b/src/views/qualityManagement/metricMaintenance/index.vue
index d07893a..da6c73b 100644
--- a/src/views/qualityManagement/metricMaintenance/index.vue
+++ b/src/views/qualityManagement/metricMaintenance/index.vue
@@ -10,7 +10,7 @@
           <el-button type="primary" @click="openStandardDialog('add')">鏂板</el-button>
           <el-button type="success" plain @click="handleBatchAudit(1)">鎵瑰噯</el-button>
           <el-button type="warning" plain @click="handleBatchAudit(2)">鎾ら攢</el-button>
-          <el-button type="danger" plain @click="handleBatchDelete">鍒犻櫎</el-button>
+          <el-button type="danger" plain @click="handleBatchDelete" v-hasPermi="['qualityManagement:metricMaintenance:remove']">鍒犻櫎</el-button>
         </div>
       </div>
       <PIMTable
@@ -103,7 +103,7 @@
         <el-button type="primary" :disabled="!currentStandard || isStandardReadonly" @click="openParamDialog('add')">
           鏂板
         </el-button>
-        <el-button type="danger" plain :disabled="!currentStandard || isStandardReadonly" @click="handleParamBatchDelete">
+        <el-button type="danger" plain :disabled="!currentStandard || isStandardReadonly" @click="handleParamBatchDelete" v-hasPermi="['qualityManagement:metricMaintenance:remove']">
           鍒犻櫎
         </el-button>
       </div>
@@ -130,7 +130,7 @@
             <el-button link type="primary" :disabled="isStandardReadonly" @click="openParamDialog('edit', row)">
               缂栬緫
             </el-button>
-            <el-button link type="danger" :disabled="isStandardReadonly" @click="handleParamDelete(row)">
+            <el-button link type="danger" :disabled="isStandardReadonly" @click="handleParamDelete(row)" v-hasPermi="['qualityManagement:metricMaintenance:remove']">
               鍒犻櫎
             </el-button>
           </template>
@@ -387,7 +387,8 @@
         type: 'text',
         clickFun: (row) => {
           handleDelete(row)
-        }
+        },
+        hasPermi: ['qualityManagement:metricMaintenance:remove']
       }
     ]
   }
diff --git a/src/views/qualityManagement/nonconformingManagement/index.vue b/src/views/qualityManagement/nonconformingManagement/index.vue
index fc9d5d2..30ddc6c 100644
--- a/src/views/qualityManagement/nonconformingManagement/index.vue
+++ b/src/views/qualityManagement/nonconformingManagement/index.vue
@@ -38,7 +38,7 @@
     <div class="mb20" style="text-align: right;">
         <el-button type="primary" @click="openForm('add')">鏂板</el-button>
         <el-button @click="handleOut">瀵煎嚭</el-button>
-        <el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button>
+        <el-button type="danger" plain @click="handleDelete" v-hasPermi="['qualityManagement:nonconformingManagement:remove']">鍒犻櫎</el-button>
       </div>
     <div class="table_list">
       <PIMTable
diff --git a/src/views/qualityManagement/processInspection/index.vue b/src/views/qualityManagement/processInspection/index.vue
index 066813a..8d838c8 100644
--- a/src/views/qualityManagement/processInspection/index.vue
+++ b/src/views/qualityManagement/processInspection/index.vue
@@ -21,7 +21,7 @@
       <el-button type="primary" @click="openQuickCheck">蹇�熸楠�</el-button>
       <el-button type="primary" @click="openForm('add')">鏂板</el-button>
       <el-button @click="handleOut">瀵煎嚭</el-button>
-      <el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button>
+      <el-button type="danger" plain @click="handleDelete" v-hasPermi="['qualityManagement:processInspection:remove']">鍒犻櫎</el-button>
     </div>
       <PIMTable rowKey="id"
                 :column="tableColumn"
diff --git a/src/views/qualityManagement/rawMaterialInspection/index.vue b/src/views/qualityManagement/rawMaterialInspection/index.vue
index 03a5771..3e3385c 100644
--- a/src/views/qualityManagement/rawMaterialInspection/index.vue
+++ b/src/views/qualityManagement/rawMaterialInspection/index.vue
@@ -37,7 +37,7 @@
       <el-button type="primary" @click="openQuickCheck">蹇�熸楠�</el-button>
       <el-button type="primary" @click="openForm('add')">鏂板</el-button>
       <el-button @click="handleOut">瀵煎嚭</el-button>
-      <el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button>
+      <el-button type="danger" plain @click="handleDelete" v-hasPermi="['qualityManagement:rawMaterialInspection:remove']">鍒犻櫎</el-button>
     </div>
       <PIMTable rowKey="id"
                 :column="tableColumn"
diff --git a/src/views/safeProduction/accidentReportingRecord/index.vue b/src/views/safeProduction/accidentReportingRecord/index.vue
index 5a6c345..a54561c 100644
--- a/src/views/safeProduction/accidentReportingRecord/index.vue
+++ b/src/views/safeProduction/accidentReportingRecord/index.vue
@@ -30,7 +30,7 @@
                    @click="openForm('add')">鏂板浜嬫晠</el-button>
         <el-button type="danger"
                    plain
-                   @click="handleDelete">鍒犻櫎</el-button>
+                   @click="handleDelete" v-hasPermi="['safeProduction:accidentReportingRecord:remove']">鍒犻櫎</el-button>
       </div>
     </div>
     <div class="table_list">
diff --git a/src/views/safeProduction/dangerInvestigation/index.vue b/src/views/safeProduction/dangerInvestigation/index.vue
index a278058..05d3022 100644
--- a/src/views/safeProduction/dangerInvestigation/index.vue
+++ b/src/views/safeProduction/dangerInvestigation/index.vue
@@ -30,7 +30,7 @@
           <el-button @click="handleOut">瀵煎嚭</el-button> -->
           <el-button type="danger"
                      plain
-                     @click="handleDelete">鍒犻櫎</el-button>
+                     @click="handleDelete" v-hasPermi="['safeProduction:dangerInvestigation:remove']">鍒犻櫎</el-button>
           <!-- <el-button type="primary"
                      plain
                      @click="handlePrint">鎵撳嵃</el-button> -->
diff --git a/src/views/safeProduction/emergencyPlanReview/index.vue b/src/views/safeProduction/emergencyPlanReview/index.vue
index 1850c18..2c25951 100644
--- a/src/views/safeProduction/emergencyPlanReview/index.vue
+++ b/src/views/safeProduction/emergencyPlanReview/index.vue
@@ -30,7 +30,7 @@
                    @click="openForm('add')">鏂板搴旀�ラ妗�</el-button>
         <el-button type="danger"
                    plain
-                   @click="handleDelete">鍒犻櫎</el-button>
+                   @click="handleDelete" v-hasPermi="['safeProduction:emergencyPlanReview:remove']">鍒犻櫎</el-button>
       </div>
     </div>
     <div class="table_list">
@@ -145,7 +145,7 @@
                   <el-button type="danger"
                              size="small"
                              @click="removeExecStep(index)"
-                             style="margin-left: 10px">鍒犻櫎</el-button>
+                             style="margin-left: 10px" v-hasPermi="['safeProduction:emergencyPlanReview:remove']">鍒犻櫎</el-button>
                 </div>
                 <div style="margin-top: 5px;width: 100%;">
                   <el-input v-model="step.description"
diff --git a/src/views/safeProduction/hazardSourceLedger/index.vue b/src/views/safeProduction/hazardSourceLedger/index.vue
index 416202e..d77f093 100644
--- a/src/views/safeProduction/hazardSourceLedger/index.vue
+++ b/src/views/safeProduction/hazardSourceLedger/index.vue
@@ -30,7 +30,7 @@
                    @click="openForm('add')">鏂板鍗遍櫓婧�</el-button>
         <el-button type="danger"
                    plain
-                   @click="handleDelete">鍒犻櫎</el-button>
+                   @click="handleDelete" v-hasPermi="['safeProduction:hazardSourceLedger:remove']">鍒犻櫎</el-button>
       </div>
     </div>
     <div class="table_list">
diff --git a/src/views/safeProduction/hazardousMaterialsControl/index.vue b/src/views/safeProduction/hazardousMaterialsControl/index.vue
index e43b4f6..f3f739f 100644
--- a/src/views/safeProduction/hazardousMaterialsControl/index.vue
+++ b/src/views/safeProduction/hazardousMaterialsControl/index.vue
@@ -30,7 +30,7 @@
                    @click="openForm('add')">鍘婚鐢�</el-button>
         <el-button type="danger"
                    plain
-                   @click="handleDelete">鍒犻櫎</el-button>
+                   @click="handleDelete" v-hasPermi="['safeProduction:hazardousMaterialsControl:remove']">鍒犻櫎</el-button>
       </div>
     </div>
     <div class="table_list">
diff --git a/src/views/safeProduction/safeQualifications/index.vue b/src/views/safeProduction/safeQualifications/index.vue
index 39111be..2f073f7 100644
--- a/src/views/safeProduction/safeQualifications/index.vue
+++ b/src/views/safeProduction/safeQualifications/index.vue
@@ -50,7 +50,7 @@
           <el-button @click="handleOut">瀵煎嚭</el-button> -->
           <el-button type="danger"
                      plain
-                     @click="handleDelete">鍒犻櫎</el-button>
+                     @click="handleDelete" v-hasPermi="['safeProduction:safeQualifications:remove']">鍒犻櫎</el-button>
           <!-- <el-button type="primary"
                      plain
                      @click="handlePrint">鎵撳嵃</el-button> -->
diff --git a/src/views/safeProduction/safeWorkApproval/components/infoFormDia.vue b/src/views/safeProduction/safeWorkApproval/components/infoFormDia.vue
index 86acdf8..a9e8451 100644
--- a/src/views/safeProduction/safeWorkApproval/components/infoFormDia.vue
+++ b/src/views/safeProduction/safeWorkApproval/components/infoFormDia.vue
@@ -131,7 +131,7 @@
                     <el-button type="danger"
                                size="small"
                                @click="removeApproverNode(index)"
-                               v-if="approverNodes.length > 1">鍒犻櫎</el-button>
+                               v-if="approverNodes.length > 1" v-hasPermi="['safeProduction:safeWorkApproval:remove']">鍒犻櫎</el-button>
                   </div>
                 </div>
               </div>
diff --git a/src/views/safeProduction/safeWorkApproval/fileList.vue b/src/views/safeProduction/safeWorkApproval/fileList.vue
index c3b7597..4ff03ee 100644
--- a/src/views/safeProduction/safeWorkApproval/fileList.vue
+++ b/src/views/safeProduction/safeWorkApproval/fileList.vue
@@ -6,7 +6,7 @@
         <template #default="scope">
           <el-button link type="primary" size="small" @click="downLoadFile(scope.row)">涓嬭浇</el-button>
           <el-button link type="primary" size="small" @click="lookFile(scope.row)">棰勮</el-button>
-          <el-button link type="danger" size="small" @click="handleDelete(scope.row)">鍒犻櫎</el-button>
+          <el-button link type="danger" size="small" @click="handleDelete(scope.row)" v-hasPermi="['safeProduction:safeWorkApproval:remove']">鍒犻櫎</el-button>
         </template>
       </el-table-column>
     </el-table>
diff --git a/src/views/safeProduction/safeWorkApproval/index.vue b/src/views/safeProduction/safeWorkApproval/index.vue
index bfd1d90..586d1d8 100644
--- a/src/views/safeProduction/safeWorkApproval/index.vue
+++ b/src/views/safeProduction/safeWorkApproval/index.vue
@@ -36,7 +36,7 @@
         <el-button @click="handleOut">瀵煎嚭</el-button>
         <el-button type="danger"
                    plain
-                   @click="handleDelete">鍒犻櫎</el-button>
+                   @click="handleDelete" v-hasPermi="['safeProduction:safeWorkApproval:remove']">鍒犻櫎</el-button>
       </div>
     </div>
     <div class="table_list">
diff --git a/src/views/safeProduction/safetyTrainingAssessment/index.vue b/src/views/safeProduction/safetyTrainingAssessment/index.vue
index 38c2172..c1b6d05 100644
--- a/src/views/safeProduction/safetyTrainingAssessment/index.vue
+++ b/src/views/safeProduction/safetyTrainingAssessment/index.vue
@@ -23,7 +23,7 @@
                    @click="opendetail">鍩硅璁板綍</el-button>
         <el-button type="danger"
                    plain
-                   @click="handleDelete">鍒犻櫎</el-button>
+                   @click="handleDelete" v-hasPermi="['safeProduction:safetyTrainingAssessment:remove']">鍒犻櫎</el-button>
       </div>
     </div>
     <div class="table_list">
diff --git a/src/views/salesManagement/deliveryLedger/index.vue b/src/views/salesManagement/deliveryLedger/index.vue
index 7a1c037..f8f1539 100644
--- a/src/views/salesManagement/deliveryLedger/index.vue
+++ b/src/views/salesManagement/deliveryLedger/index.vue
@@ -42,7 +42,7 @@
         <div></div>
         <div>
           <el-button @click="handleOut">瀵煎嚭</el-button>
-          <el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button>
+          <el-button type="danger" plain @click="handleDelete" v-hasPermi="['salesManagement:deliveryLedger:remove']">鍒犻櫎</el-button>
         </div>
       </div>
       <el-table
@@ -174,7 +174,7 @@
               type="danger"
               :disabled="isApproving(scope.row.status)"
               @click="handleDeleteSingle(scope.row)"
-              >鍒犻櫎
+               v-hasPermi="['salesManagement:deliveryLedger:remove']">鍒犻櫎
             </el-button>
           </template>
         </el-table-column>
diff --git a/src/views/salesManagement/paymentShipping/index.vue b/src/views/salesManagement/paymentShipping/index.vue
index 56caf3b..eb39c4a 100644
--- a/src/views/salesManagement/paymentShipping/index.vue
+++ b/src/views/salesManagement/paymentShipping/index.vue
@@ -82,7 +82,7 @@
             <el-button link type="primary" @click="handlePayment(scope.row)" v-if="scope.row.paymentStatus !== '宸蹭粯娆�'">浠樻</el-button>
             <el-button link type="primary" @click="handleShipping(scope.row)" v-if="scope.row.paymentStatus === '宸蹭粯娆�' && scope.row.shippingStatus === '寰呭彂璐�'">鍙戣揣</el-button>
             <el-button link type="primary" @click="handleEdit(scope.row)">缂栬緫</el-button>
-            <el-button link type="danger" @click="handleDelete(scope.row)">鍒犻櫎</el-button>
+            <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['salesManagement:paymentShipping:remove']">鍒犻櫎</el-button>
           </template>
         </el-table-column>
       </el-table>
diff --git a/src/views/salesManagement/returnOrder/index.vue b/src/views/salesManagement/returnOrder/index.vue
index 776ef0c..99fa334 100644
--- a/src/views/salesManagement/returnOrder/index.vue
+++ b/src/views/salesManagement/returnOrder/index.vue
@@ -23,7 +23,7 @@
     <div class="table_list">
       <div class="table_header" style="display: flex;justify-content: flex-end;margin-bottom: 10px;">
         <el-button type="primary" @click="openForm('add')">鏂板缓閿�鍞��璐�</el-button>
-        <el-button type="danger" :disabled="selectedRows.length === 0 || selectedRows.some(row => row.status !== 0)" @click="handleDelete">鍒犻櫎</el-button>
+        <el-button type="danger" :disabled="selectedRows.length === 0 || selectedRows.some(row => row.status !== 0)" @click="handleDelete" v-hasPermi="['salesManagement:returnOrder:remove']">鍒犻櫎</el-button>
       </div>
       <PIMTable
         rowKey="id"
@@ -138,7 +138,7 @@
       { name: "缂栬緫", disabled: (row) => row.status !== 0, type: "text", clickFun: (row) => openForm("edit", row) },
       { name: "閫�娆惧鐞�", disabled: (row) => row.status !== 0, type: "text", clickFun: (row) => handleRowHandle(row) },
       { name: "璇︽儏", type: "text", clickFun: (row) => openDetail(row) },
-      { name: "鍒犻櫎", disabled: (row) => row.status !== 0, type: "text", clickFun: (row) => handleRowDelete(row) },
+      { name: "鍒犻櫎", disabled: (row) => row.status !== 0, type: "text", clickFun: (row) => handleRowDelete(row), hasPermi: ['salesManagement:returnOrder:remove'] },
     ],
   },
 ];
diff --git a/src/views/salesManagement/salesLedger/index.vue b/src/views/salesManagement/salesLedger/index.vue
index a403dc6..756ce00 100644
--- a/src/views/salesManagement/salesLedger/index.vue
+++ b/src/views/salesManagement/salesLedger/index.vue
@@ -56,7 +56,7 @@
             >瀵煎叆
           </el-button>
           <el-button @click="handleOut">瀵煎嚭</el-button>
-          <el-button type="danger" plain @click="handleDelete">鍒犻櫎 </el-button>
+          <el-button type="danger" plain @click="handleDelete" v-hasPermi="['salesManagement:salesLedger:remove']">鍒犻櫎 </el-button>
           <el-button type="primary" plain @click="handlePrint">鎵撳嵃 </el-button>
         </div>
       </div>
@@ -519,8 +519,7 @@
               v-if="operationType !== 'view'"
               plain
               type="danger"
-              @click="deleteProduct"
-              >鍒犻櫎
+              @click="deleteProduct">鍒犻櫎
             </el-button>
           </el-form-item>
         </el-row>
diff --git a/src/views/salesManagement/salesQuotation/index.vue b/src/views/salesManagement/salesQuotation/index.vue
index 3072350..5c47115 100644
--- a/src/views/salesManagement/salesQuotation/index.vue
+++ b/src/views/salesManagement/salesQuotation/index.vue
@@ -72,7 +72,7 @@
           <template #default="scope">
             <el-button link type="primary" @click="handleEdit(scope.row)">缂栬緫</el-button>
             <el-button link type="primary" @click="handleView(scope.row)" style="color: #67C23A">鏌ョ湅</el-button>
-            <el-button link type="danger" @click="handleDelete(scope.row)">鍒犻櫎</el-button>
+            <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['salesManagement:salesQuotation:remove']">鍒犻櫎</el-button>
           </template>
         </el-table-column>
       </el-table>
diff --git a/src/views/salesManagement/salespersonManagement/index.vue b/src/views/salesManagement/salespersonManagement/index.vue
index e0094ec..76c3f8c 100644
--- a/src/views/salesManagement/salespersonManagement/index.vue
+++ b/src/views/salesManagement/salespersonManagement/index.vue
@@ -70,7 +70,7 @@
           <template #default="scope">
             <el-button link type="primary" @click="handleEdit(scope.row)">缂栬緫</el-button>
             <el-button link type="primary" @click="handlePermissions(scope.row)">鏉冮檺</el-button>
-            <el-button link type="danger" @click="handleDelete(scope.row)">鍒犻櫎</el-button>
+            <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['salesManagement:salespersonManagement:remove']">鍒犻櫎</el-button>
           </template>
         </el-table-column>
       </el-table>
diff --git a/src/views/salesManagement/strategyControl/index.vue b/src/views/salesManagement/strategyControl/index.vue
index dbdae38..914d065 100644
--- a/src/views/salesManagement/strategyControl/index.vue
+++ b/src/views/salesManagement/strategyControl/index.vue
@@ -77,7 +77,7 @@
               <template #default="scope">
                 <el-button link type="primary" @click="handleViewPriceStrategy(scope.row)" style="color: #67C23A">鏌ョ湅</el-button>
                 <el-button link type="primary" @click="handleEditPriceStrategy(scope.row)">缂栬緫</el-button>
-                <el-button link type="danger" @click="handleDeletePriceStrategy(scope.row)">鍒犻櫎</el-button>
+                <el-button link type="danger" @click="handleDeletePriceStrategy(scope.row)" v-hasPermi="['salesManagement:strategyControl:remove']">鍒犻櫎</el-button>
               </template>
             </el-table-column>
           </el-table>

--
Gitblit v1.9.3