import LayoutIndex from '@/layout/Index.vue'

export default[
  {
    path:'/customer',
    component:LayoutIndex,
    name:'CustomerIndex',
    meta:{
      title:'用户列表'
    },
    children:[
      {
        path:'userList',
        component:()=>import('@/views/customer/UserList.vue'),
        name:"CustomerUserList",
        meta:{
          title:'基础信息'
        },
      },
      {
        path:'userAdd',
        component:()=>import('@/views/customer/UserEdit.vue'),
        name:"CustomerUserAdd",
        meta:{
          title:'新增用户',
          from:'基础信息'
        },
      },
      {
        path:'userEdit',
        component:()=>import('@/views/customer/UserEdit.vue'),
        name:"CustomerUserEdit",
        meta:{
          title:'编辑用户',
          from:'基础信息'
        },
      },
      {
        path:'userDetail',
        component:()=>import('@/views/customer/UserEdit.vue'),
        name:"CustomerUserDetail",
        meta:{
          title:'用户详情',
          from:'基础信息'
        },
      },
      {
        path:'userReportStatistic',
        component:()=>import('@/views/customer/reportStatistic/Index.vue'),
        name:"CustomerUserReportStatistic",
        meta:{
          title:'阅读统计'
        },
      },
      {
        path:'potentialUserList',
        component:()=>import('@/views/customer/PotentialUserList.vue'),
        name:"CustomerPotentialUserList",
        meta:{
          title:'潜在用户列表'
        },
      },
      {
        path:'userTransform',
        component:()=>import('@/views/customer/UserEdit.vue'),
        name:"CustomerUserTransform",
        meta:{
          title:'转客户',
          from:'潜在用户列表'
        },
      },
    ]
  }
]
