| | |
| | | @toggleClick="toggleSideBar" |
| | | /> |
| | | <!-- :style="{marginLeft:$store.state.settings.menuIsHorizontal?'50px':'40px'}"--> |
| | | <!-- :style="{marginLeft:$store.state.settings.menuIsHorizontal?'20px':''}"--> |
| | | |
| | | <breadcrumb |
| | | class="breadcrumb-container" |
| | | :style="{marginLeft:$store.state.settings.menuIsHorizontal?'20px':''}" |
| | | :style="{marginLeft:$store.state.settings.menuIsHorizontal?'60px':'40px'}" |
| | | /> |
| | | |
| | | <!--页é¢å·æ°åè½ æä¸å¼å æéæ±äºåå¼å--> |
| | | <!-- <el-tooltip class="item" effect="dark" content="å·æ°é¡µé¢" placement="bottom">--> |
| | | <!-- <PageRefresh--> |
| | | <!-- :style="{--> |
| | | <!-- color:$store.state.settings.headBackgroundColorValue?'#fff':'#000',--> |
| | | <!-- marginLeft:$store.state.settings.menuIsHorizontal?'20px':'50px'--> |
| | | <!-- }"--> |
| | | <!-- style="position: absolute;"--> |
| | | <!-- @click="pageRefreshClick"--> |
| | | <!-- />--> |
| | | <!-- </el-tooltip>--> |
| | | <el-tooltip class="item" effect="dark" content="å·æ°é¡µé¢" placement="bottom"> |
| | | <div |
| | | :style="{ |
| | | color:$store.state.settings.headBackgroundColorValue?'#fff':'#000', |
| | | marginLeft:$store.state.settings.menuIsHorizontal?'10px':'44px', |
| | | position:'absolute', |
| | | }" |
| | | style="padding:0 8px" |
| | | @click="pageRefreshClick" |
| | | > |
| | | <i class="el-icon-refresh-right" style="font-size: 20px;cursor: pointer;line-height:50px" /> |
| | | </div> |
| | | </el-tooltip> |
| | | |
| | | <el-menu |
| | | v-if="$store.state.settings.menuIsHorizontal" |
| | |
| | | import Search from '@/components/HeaderSearch' |
| | | import Screenfull from '@/components/Screenfull' |
| | | import variables from '@/styles/variables.scss' |
| | | import PageRefresh from '@/components/PageRefresh/PageRefresh' |
| | | |
| | | export default { |
| | | components: { |
| | |
| | | Breadcrumb, |
| | | Hamburger, |
| | | Search, |
| | | Screenfull, |
| | | PageRefresh |
| | | Screenfull |
| | | }, |
| | | directives: { elDragDialog }, |
| | | data() { |
| | |
| | | } |
| | | } |
| | | }, |
| | | inject: [ |
| | | 'reload' |
| | | ], |
| | | created() { |
| | | this.usercode = getCookie('navTabId') |
| | | this.username = getCookie('username') |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | pageRefreshClick() { |
| | | console.log('ç¹å»äºï¼') |
| | | this.reload() |
| | | }, |
| | | handleSelect(key, keyPath) { |
| | | // console.log(key, keyPath) |
| | | }, |