| | |
| | | plain |
| | | @click="handleDelete">删 除 |
| | | </el-button> |
| | | <!-- v-if="userInfo.role_name.includes('admin')" --> |
| | | <el-button size="small" |
| | | icon="el-icon-setting" |
| | | @click="handleRole" |
| | | v-if="userInfo.role_name.includes('admin')" |
| | | plain>权限设置 |
| | | icon="el-icon-setting" |
| | | @click="handleRole" |
| | | plain>权限设置 |
| | | </el-button> |
| | | </template> |
| | | </avue-crud> |
| | | <el-dialog title="角色权限配置" |
| | | append-to-body |
| | | :visible.sync="box" |
| | | width="350px" |
| | | width="350px" |
| | | style="height: 115vh; margin-top: -13vh; overflow: hidden"> |
| | | <el-tabs type="border-card" style="overflow-y: auto; height: 72vh"> |
| | | <el-tab-pane label="菜单权限"> |
| | |
| | | option: { |
| | | height: "auto", |
| | | tip: false, |
| | | columnBtn:false, |
| | | // simplePage: true, |
| | | searchShow: true, |
| | | searchMenuSpan: 6, |