/**
 * 地址路由
 */
import Lock from '../pages/Lock.vue' // 锁屏
import workbench from '../pages/soil-sample-manage/sample-preparation/PreparationOther'
import Index from '~/pages/index'
import Blank from '~/pages/blank'
import SoilRouters from '~/router/soil-routes'
export default [
  { path: '/lock', name: 'Lock', component: Lock, meta: { allowBack: false } },
  {
    path: '/',
    component: Index,
    children: [
      {
        path: '/',
        redirect: '/soil/workbench',
        meta: { title: '首页' }
      }
    ]
  },
  {
    path: '/soil',
    component: Blank,
    children: SoilRouters,
    meta: { title: '土工试验LIMS' }
  },
  {
    path: '/blank/item_by_method',
    component: workbench
  },
  { path: '*', redirect: '/' }
]
