From 597674287e557da07eab8c3b5e3a36d2e1868de9 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: 星期一, 27 十月 2025 14:06:42 +0800
Subject: [PATCH] 修改新增

---
 src/views/work/onlineEducation/systemManage/company/index.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/views/work/onlineEducation/systemManage/company/index.vue b/src/views/work/onlineEducation/systemManage/company/index.vue
index 0db040d..aab4ea7 100644
--- a/src/views/work/onlineEducation/systemManage/company/index.vue
+++ b/src/views/work/onlineEducation/systemManage/company/index.vue
@@ -8,6 +8,7 @@
               plain
               icon="Plus"
               @click="openDialog('add',{})"
+              v-hasPermi="['systemCompany:add']"
           >新增</el-button>
         </el-form-item>
         <el-form-item label="企业名称:" >
@@ -48,8 +49,8 @@
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200" >
         <template #default="scope">
           <el-button link type="primary" @click="openDialog('distribute',scope.row)">分配课时</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="openDialog('edit',scope.row)" v-hasPermi="['systemCompany:edit']">编辑</el-button>
+          <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['systemCompany:del']">删除</el-button>
         </template>
       </el-table-column>
     </el-table>

--
Gitblit v1.9.2