<template>
<div class="body-conatiner">
  <div class="side-bar-container">
    <jxSidebar :menus="menus"></jxSidebar>
  </div>
  <div class="main-container">
    <router-view></router-view>
  </div>
</div>
</template>

<script>
import jxSidebar from '../../shells/sidebar/sidebar.vue'
export default {
  components: {
    jxSidebar
  },
  data () {
    return {
      menus: [{
        label: '车辆状态',
        index: '1',
        router: '/vehiclestatus'
      }, {
        label: '传感器状态',
        index: '2',
        router: '/sensorstatus'
      }, {
        label: 'AGV',
        index: '3',
        router: '/agvstatus'
      }]
    }
  }
}
</script>
