From e50eb636e24007ac32b8a6cec18cad13bbfcaf3b Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期一, 18 五月 2026 16:03:58 +0800 Subject: [PATCH] 浪潮 1.权限修改 --- src/views/system/dept/index.vue | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index a177314..f33c65c 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -33,7 +33,6 @@ plain icon="Plus" @click="handleAdd" - v-hasPermi="['system:dept:add']" >鏂板</el-button> </el-col> <el-col :span="1.5"> @@ -68,9 +67,9 @@ </el-table-column> <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width"> <template #default="scope"> - <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['system:dept:edit']">淇敼</el-button> - <el-button link type="primary" icon="Plus" @click="handleAdd(scope.row)" v-hasPermi="['system:dept:add']">鏂板</el-button> - <el-button v-if="scope.row.parentId != 0" link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['system:dept:remove']">鍒犻櫎</el-button> + <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)">淇敼</el-button> + <el-button link type="primary" icon="Plus" @click="handleAdd(scope.row)">鏂板</el-button> + <el-button v-if="scope.row.parentId != 0" link type="primary" icon="Delete" @click="handleDelete(scope.row)">鍒犻櫎</el-button> </template> </el-table-column> </el-table> -- Gitblit v1.9.3