From 1a35b614f8ce383f9ef4d25fe0bfecdcd5cd4ca8 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期一, 15 十二月 2025 16:19:11 +0800
Subject: [PATCH] 修改

---
 src/views/work/onlineEducation/systemManage/courseClassification/index.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/views/work/onlineEducation/systemManage/courseClassification/index.vue b/src/views/work/onlineEducation/systemManage/courseClassification/index.vue
index a3234ac..3241cc6 100644
--- a/src/views/work/onlineEducation/systemManage/courseClassification/index.vue
+++ b/src/views/work/onlineEducation/systemManage/courseClassification/index.vue
@@ -3,7 +3,7 @@
     <div>
       <el-form style="display: flex;flex-wrap: wrap">
         <el-form-item>
-          <el-button type="primary" plain @click="openDialog('addFirst',{})" icon="Plus"> 添加</el-button>
+          <el-button type="primary" plain @click="openDialog('addFirst',{})" icon="Plus" v-hasPermi="['courseClassification:list:add']"> 添加</el-button>
         </el-form-item>
       </el-form>
     </div>
@@ -34,9 +34,9 @@
       </el-table-column>
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="250" >
         <template #default="scope">
-          <el-button type="success" plain @click="openDialog('add',scope.row)">添加</el-button>
-          <el-button type="primary" plain @click="openDialog('edit',scope.row)">编辑</el-button>
-          <el-button type="danger" plain @click="handleDelete(scope.row.id)">删除</el-button>
+          <el-button type="success" plain @click="openDialog('add',scope.row)" v-hasPermi="['courseClassification:list:add']">添加</el-button>
+          <el-button type="primary" plain @click="openDialog('edit',scope.row)" v-hasPermi="['courseClassification:list:edit']">编辑</el-button>
+          <el-button type="danger" plain @click="handleDelete(scope.row.id)" v-hasPermi="['courseClassification:list:del']">删除</el-button>
         </template>
       </el-table-column>
     </el-table>

--
Gitblit v1.9.2