From e19d739b1b1eb2c5022bbffab1de5afa89afe1c7 Mon Sep 17 00:00:00 2001 From: feige <feige@qq.com> Date: 星期五, 14 四月 2023 15:56:01 +0800 Subject: [PATCH] router/index.js里面修改了几个详细页面的权限对应到系统管理的按钮当中了 在对应的index.vue中修改了对应的路由信息 已经全部可以跳转到详情页面了,不管是admin用户还是zhangshu用户 --- ruoyi-ui/src/views/bignote/index.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ruoyi-ui/src/views/bignote/index.vue b/ruoyi-ui/src/views/bignote/index.vue index 8b977a6..f47dade 100644 --- a/ruoyi-ui/src/views/bignote/index.vue +++ b/ruoyi-ui/src/views/bignote/index.vue @@ -141,7 +141,7 @@ type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" - v-hasPermi="['system:role:edit']" + v-hasPermi="['familymodel:bignote:list']" >淇敼</el-button> <el-button size="mini" @@ -150,7 +150,7 @@ @click="handleDelete(scope.row)" v-hasPermi="['system:role:remove']" >鍒犻櫎</el-button> - <el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" v-hasPermi="['system:role:edit']"> + <el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" v-hasPermi="['familymodel:bignote:list']"> <el-button size="mini" type="text" icon="el-icon-d-arrow-right" @click="handleCheck(scope.row)">鏌ョ湅璇︽儏</el-button> </el-dropdown> @@ -482,7 +482,7 @@ /** 鏌ョ湅璇︾粏淇℃伅 */ handleCheck(row){ const id = row.id; - this.$router.push("/family/zfEvent/bignote/familyeventInfo/" + id); + this.$router.push("/familymodel/bignote/familyeventInfo/" + id); }, /** 淇敼鎸夐挳鎿嶄綔 */ handleUpdate(row) { @@ -490,7 +490,7 @@ let jd = true this.$router.push({ - path:"/family/zfEvent/bignote/familyeventInfo/" + id, + path:"/familymodel/bignote/familyeventInfo/" + id, query:{ detail:jd } -- Gitblit v1.9.1