From a6a7a4e83171181477a99d429b01c3b73cb0be2d Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期五, 07 十一月 2025 15:35:11 +0800
Subject: [PATCH] 修改

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

diff --git a/src/views/work/onlineEducation/offlineEducation/index.vue b/src/views/work/onlineEducation/offlineEducation/index.vue
index a8d8e1a..fbd358e 100644
--- a/src/views/work/onlineEducation/offlineEducation/index.vue
+++ b/src/views/work/onlineEducation/offlineEducation/index.vue
@@ -8,6 +8,7 @@
               plain
               icon="Plus"
               @click="openDialog('add',{})"
+              v-hasPermi="['offlineEducation:list:add']"
           >新增登记</el-button>
         </el-form-item>
         <el-form-item label="企业名称:" >
@@ -81,7 +82,7 @@
           <div v-for="item in scope.row.files" style="display: flex;flex-direction: column">
             <div style="display: flex;flex-direction: column;align-items: center">
               <el-link type="primary" @click="openFile(item.filePath)">{{item.fileName}}</el-link>
-              <el-button style="width: 50px;margin-bottom: 5px" size="small" @click="downloadFile(item)">下载</el-button>
+              <el-button style="width: 50px;margin-bottom: 5px" size="small" @click="downloadFile(item)" v-hasPermi="['offlineEducation:list:edit']">下载</el-button>
             </div>
 
           </div>
@@ -90,8 +91,8 @@
       </el-table-column>
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="120">
         <template #default="scope">
-          <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="openDialog('edit',scope.row)" v-hasPermi="['offlineEducation:list:edit']">编辑</el-button>
+          <el-button link type="danger"  @click="handleDelete(scope.row)" v-hasPermi="['offlineEducation:list:del']">删除</el-button>
         </template>
       </el-table-column>
     </el-table>

--
Gitblit v1.9.2