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/note/index.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ruoyi-ui/src/views/note/index.vue b/ruoyi-ui/src/views/note/index.vue index d06cf3a..c8e82d5 100644 --- a/ruoyi-ui/src/views/note/index.vue +++ b/ruoyi-ui/src/views/note/index.vue @@ -131,7 +131,7 @@ type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" - v-hasPermi="['system:role:edit']" + v-hasPermi="['familymodel:property:info']" >淇敼</el-button> <el-button size="mini" @@ -140,7 +140,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:property:info']"> <el-button size="mini" type="text" icon="el-icon-d-arrow-right" @click="handleCheck(scope.row)">鏌ョ湅璇︽儏</el-button> </el-dropdown> @@ -500,7 +500,7 @@ /** 鏌ョ湅璇︾粏淇℃伅 */ handleCheck(row){ const id = row.id; - this.$router.push("/family/property/note1/propertyInfo/" + id); + this.$router.push("/familymodel/property/propertyInfo/" + id); }, /** 淇敼鎸夐挳鎿嶄綔 */ handleUpdate(row) { @@ -508,7 +508,7 @@ let jd = true this.$router.push({ - path:"/family/property/note1/propertyInfo/" + id, + path:"/familymodel/property/propertyInfo/" + id, query:{ detail:jd } -- Gitblit v1.9.1