|
|
@ -11,7 +11,9 @@ |
|
|
|
|
|
|
|
<script> |
|
|
|
import { Navbar, Sidebar, AppMain, TagsView } from './components' |
|
|
|
import { GET_ALL_HAVE } from '@/api/jurisdiction' |
|
|
|
import ResizeMixin from './mixin/ResizeHandler' |
|
|
|
import { mapMutations } from 'vuex' |
|
|
|
|
|
|
|
export default { |
|
|
|
name: 'Layout', |
|
|
@ -39,8 +41,15 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
...mapMutations('SET_PER_LIST'), |
|
|
|
|
|
|
|
handleClickOutside() { |
|
|
|
this.$store.dispatch('closeSideBar', { withoutAnimation: false }) |
|
|
|
}, |
|
|
|
getPerList() { |
|
|
|
GET_ALL_HAVE({}).then(res => { |
|
|
|
console.log(res) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|