소스 검색

系统管理元增加分配权限

Lijy 3 년 전
부모
커밋
49d0cf889c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      fhKeeper/formulahousekeeper/timesheet/src/views/quanx/quanx.vue

+ 1 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/quanx/quanx.vue

@@ -30,7 +30,7 @@
             <template slot-scope="scope">
                 <div>
                     <el-button size="small" @click="handleAdd('编辑角色', '立即修改', scope.row)" v-if="scope.row.rolename != '超级管理员'">编辑角色</el-button>
-                    <el-button type="primary" size="small" @click="shisha(scope.row.id), roleName = scope.row.rolename" v-if="user.roleName == '超级管理员'">分配权限</el-button>
+                    <el-button type="primary" size="small" @click="shisha(scope.row.id), roleName = scope.row.rolename" v-if="user.roleName == '超级管理员' || user.roleName == '系统管理员'">分配权限</el-button>
                     <el-button type="danger" size="small" @click="deteHand(scope.row)" v-if="scope.row.rolename != '超级管理员'">删除</el-button>
                 </div>
             </template>