const CustomerView = () => import("@/views/crm/customer/list/index.vue");
const CustomerDetailView = () =>
  import("@/views/crm/customer/detail/index.vue");
const LeadView = () => import("@/views/crm/lead/index.vue");
const CallLogView = () => import("@/views/crm/calllog/index.vue");
const CallLogDashboardView = () => import("@/views/crm/calllog/dashboard.vue");
export const CrmRoutes = [
  {
    name: "crm-customer",
    path: "/khach-hang",
    component: CustomerView,
    meta: { title: "Quản lý khách hàng" },
  },
  {
    name: "crm-customer-detail",
    path: "/chi-tiet-khach-hang/:id",
    component: CustomerDetailView,
    props: true,
    meta: { title: "Chi tiết khách hàng" },
  },
  {
    name: "crm-lead",
    path: "/lead",
    component: LeadView,
    props: true,
    meta: { title: "Quản lý lead" },
  },
  {
    name: "crm-calllog",
    path: "/call-log",
    component: CallLogView,
    meta: { title: "Quản lý CallLog" },
  },
  {
    name: "crm-calllog-dashboard",
    path: "/call-log-dashboard",
    component: CallLogDashboardView,
    meta: { title: "Dashboard CallLog" },
  },
];
