import SamplingPlan from '@/page/sampling-plan/SamplingPlan.vue'
import SamplingPlanAdd from '@/page/sampling-plan/SamplingPlanAdd.vue'

import SamplerChecked from '@/page/sampling-plan/sampler/SamplerChecked.vue'
import SelectSampler from '@/page/sampling-plan/sampler/SelectSampler.vue'
import CreateSampler from '@/page/sampling-plan/sampler/CreateSampler.vue'

import LocChecked from '@/page/sampling-plan/loc/LocChecked.vue'
import SelectLoc from '@/page/sampling-plan/loc/SelectLoc.vue'
import CreateLoc from '@/page/sampling-plan/loc/CreateLoc.vue'

import File from '@/page/sampling-plan/file/File.vue'
import FileDownLoad from '@/page/sampling-plan/file/FileDownLoad.vue'
import FileUpload from '@/page/sampling-plan/file/FileUpload.vue'

export default [
    {path: 'sampling_plan', component: SamplingPlan, meta: {title: '抽样计划', hideNavBar: true}},
    {path: 'sampling_plan_add', component: SamplingPlanAdd, meta: {customerNavBarTitle: true}},

    {path: 'sampler_checked', component: SamplerChecked, meta: {title: '管理抽样人员'}},
    {path: 'select_sampler', component: SelectSampler, meta: {title: '选择抽样人员'}},
    {path: 'create_sampler', component: CreateSampler, meta: {title: '生成抽样人员'}},

    {path: 'loc_checked', component: LocChecked, meta: {title: '管理抽样地点'}},
    {path: 'select_loc', component: SelectLoc, meta: {title: '选择抽样地点'}},
    {path: 'create_loc', component: CreateLoc, meta: {title: '生成抽样地点'}},

    {path: 'file', component: File, meta: {title: '附件'}},
    {path: 'file_upload', component: FileUpload, meta: {title: '添加附件'}},
    {path: 'file_download', component: FileDownLoad, meta: {title: '预览附件'}},
]
