| | |
| | | <top-nav id="topmenu-container" class="topmenu-container" v-if="topNav"/> |
| | | |
| | | <div class="right-menu"> |
| | | <el-button-group style="vertical-align: text-bottom;"> |
| | | <el-button @click="exchange(100)">省厅角色</el-button> |
| | | <el-button @click="exchange(103)">区县角色</el-button> |
| | | <el-button @click="exchange(2)">运维角色</el-button> |
| | | </el-button-group> |
| | | <template v-if="device!=='mobile'"> |
| | | <screenfull id="screenfull" class="right-menu-item hover-effect" /> |
| | | <el-tooltip content="布局大小" effect="dark" placement="bottom"> |
| | |
| | | </el-dropdown-item> |
| | | </el-dropdown-menu> |
| | | </el-dropdown> |
| | | |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | import Search from '@/components/HeaderSearch' |
| | | import RuoYiGit from '@/components/RuoYi/Git' |
| | | import RuoYiDoc from '@/components/RuoYi/Doc' |
| | | |
| | | import { exchangeRole} from "@/api/system/role"; |
| | | export default { |
| | | components: { |
| | | Breadcrumb, |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | exchange(roleId){ |
| | | exchangeRole(roleId).then(response => { |
| | | this.$modal.msgSuccess("修改成功"); |
| | | }).catch(()=>{}); |
| | | }, |
| | | toggleSideBar() { |
| | | this.$store.dispatch('app/toggleSideBar') |
| | | }, |