From 43d458b47f3340733a7bdb9be71c6e5c2fb6caf8 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: 星期一, 08 十二月 2025 10:46: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