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

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

diff --git a/src/views/work/onlineEducation/people/index.vue b/src/views/work/onlineEducation/people/index.vue
index f1b1971..54d8ca2 100644
--- a/src/views/work/onlineEducation/people/index.vue
+++ b/src/views/work/onlineEducation/people/index.vue
@@ -8,6 +8,7 @@
               plain
               icon="Plus"
               @click="openDialog('add',{})"
+              v-hasPermi="['onlineEducationPeople:list:add']"
           >新增</el-button>
         </el-form-item>
         <el-form-item label="姓名:" >
@@ -53,9 +54,9 @@
       </el-table-column>
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width"  width="180">
         <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('pwd',scope.row)">修改密码</el-button>
+          <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['onlineEducationPeople:list:edit']">编辑</el-button>
+          <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['onlineEducationPeople:list:del']">删除</el-button>
+<!--          <el-button link type="primary" @click="openDialog('pwd',scope.row)" v-hasPermi="['onlineEducationPeople:list:edit']">修改密码</el-button>-->
         </template>
       </el-table-column>
     </el-table>

--
Gitblit v1.9.2