From e772a2670a081374b6eecfc43548b80d8d9c3cdd Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期一, 17 十一月 2025 09:39:06 +0800
Subject: [PATCH] 修改

---
 src/views/work/qualityManage/productAndServe/finalInspecte/index.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/views/work/qualityManage/productAndServe/finalInspecte/index.vue b/src/views/work/qualityManage/productAndServe/finalInspecte/index.vue
index 11b20aa..37da7db 100644
--- a/src/views/work/qualityManage/productAndServe/finalInspecte/index.vue
+++ b/src/views/work/qualityManage/productAndServe/finalInspecte/index.vue
@@ -7,6 +7,7 @@
               type="primary"
               plain
               icon="Plus"
+              v-hasPermi="['finalInspecte:list:add']"
               @click="openDialog('add',{})"
           >新增</el-button>
         </el-form-item>
@@ -37,9 +38,9 @@
       </el-table-column>
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
         <template #default="scope">
-          <el-button link type="primary" @click="downloadFile(scope.row.filePath)">下载</el-button>
-          <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
-          <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+          <el-button link type="primary" @click="downloadFile(scope.row.filePath)" v-hasPermi="['finalInspecte:list:edit']">下载</el-button>
+          <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['finalInspecte:list:edit']">编辑</el-button>
+          <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['finalInspecte:list:del']">删除</el-button>
         </template>
       </el-table-column>
     </el-table>

--
Gitblit v1.9.2