123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432 |
- import Layout from "@/page/index/";
- export default [
- {
- path: "/wel",
- component: Layout,
- redirect: "/wel/index",
- children: [
- {
- path: "index",
- name: "首页",
- meta: {
- i18n: "dashboard",
- keepAlive: true,
- isAuth: true
- },
- component: () =>
- import(/* webpackChunkName: "views" */ "@/views/wel/index")
- },
- {
- path: "dashboard",
- name: "控制台",
- meta: {
- i18n: "dashboard",
- menu: false,
- isAuth: true
- },
- component: () =>
- import(
- /* webpackChunkName: "views" */ "@/views/wel/dashboard"
- )
- }
- ]
- },
- {
- // 新增:公告页面路由配置
- path: "/announcement",
- component: Layout,
- redirect: "/announcement/index",
- meta: {
- title: "公告管理",
- icon: "el-icon-bell"
- },
- children: [
- {
- path: "index",
- name: "公告管理",
- meta: {
- keepAlive: true,
- title: "公告管理",
- icon: "el-icon-document"
- },
- component: () =>
- import(
- /* webpackChunkName: "announcement" */ "@/views/announcement/index"
- )
- },
- {
- path: "category",
- name: "分类管理",
- meta: {
- keepAlive: true,
- title: "分类管理",
- icon: "el-icon-folder"
- },
- component: () =>
- import(
- /* webpackChunkName: "announcement" */ "@/views/announcement/category/category"
- )
- }
- ]
- },
- {
- path: "/order",
- component: Layout,
- redirect: "/order/index",
- meta: {
- icon: "icon-order",
- title: "订单管理",
- keepAlive: true
- },
- children: [
- {
- path: "address",
- name: "客户地址管理",
- component: () => import("@/views/order/address/index"),
- meta: {
- keepAlive: true,
- isAuth: true
- }
- },
- // 新增:订单管理页面路由
- {
- path: "index",
- name: "订单管理",
- component: () => import("@/views/order/order/index-avue"),
- meta: {
- keepAlive: true,
- isAuth: true,
- title: "订单管理"
- }
- }
- ]
- },
- {
- path: "/dealer-inventory",
- component: Layout,
- redirect: "/dealer-inventory/index",
- meta: {
- icon: "el-icon-goods",
- title: "经销商库存管理",
- keepAlive: true
- },
- children: [
- {
- path: "index",
- name: "经销商库存管理",
- component: () => import("@/views/dealer/inventory/index"),
- meta: {
- keepAlive: true,
- isAuth: true,
- title: "经销商库存管理"
- }
- }
- ]
- },
- {
- path: "/survey",
- component: Layout,
- redirect: "/survey/index",
- meta: {
- icon: "el-icon-document-checked",
- title: "调查问卷管理",
- keepAlive: true
- },
- children: [
- {
- path: "index",
- name: "调查问卷管理",
- component: () => import("@/views/survey/index"),
- meta: {
- keepAlive: true,
- isAuth: true,
- title: "调查问卷管理"
- }
- }
- ]
- },
- {
- path: "/lead",
- component: Layout,
- redirect: "/lead/index",
- meta: {
- icon: "el-icon-user",
- title: "销售线索管理",
- keepAlive: true
- },
- children: [
- {
- path: "index",
- name: "销售线索管理",
- component: () => import("@/views/lead/index"),
- meta: {
- keepAlive: true,
- isAuth: true,
- title: "销售线索管理",
- icon: "el-icon-user"
- }
- }
- ]
- },
- {
- path: "/marketing-activity",
- component: Layout,
- redirect: "/marketing-activity/index",
- meta: {
- icon: "el-icon-star-on",
- title: "营销活动管理",
- isAuth: true,
- keepAlive: true
- },
- children: [
- {
- path: "index",
- name: "营销活动管理",
- // 市场营销模块路由(第142行)
- component: () => import("@/views/marketing-activity/index"),
- meta: {
- keepAlive: true,
- isAuth: true,
- title: "营销活动管理",
- icon: "el-icon-star-on"
- }
- }
- ]
- },
- {
- path: "/claim",
- component: Layout,
- redirect: "/claim/index",
- meta: {
- icon: "el-icon-warning",
- isAuth: true,
- title: "理赔管理",
- keepAlive: true
- },
- children: [
- {
- path: "index",
- name: "理赔查询",
- component: () => import("@/views/claim/index"),
- meta: {
- keepAlive: true,
- isAuth: true,
- title: "理赔查询",
- icon: "el-icon-warning"
- }
- }
- ]
- },
- {
- path: "/search",
- component: Layout,
- redirect: "/search/comprehensive",
- meta: {
- icon: "el-icon-search",
- title: "综合查询",
- keepAlive: true
- },
- children: [
- {
- path: "invoice",
- name: "发票及开票信息查询",
- component: () => import("@/views/order/invoice/index"),
- meta: {
- keepAlive: true,
- isAuth: true,
- title: "发票及开票信息查询",
- icon: "el-icon-document-checked"
- }
- },
- {
- path: "comprehensive",
- name: "综合搜索",
- component: () => import("@/views/search/comprehensive"),
- meta: {
- keepAlive: true,
- isTab: true,
- isAuth: true
- }
- },
- {
- path: "shipment-status",
- name: "发货状态查询",
- component: () => import("@/views/shipment/status-query"),
- meta: {
- keepAlive: true,
- isTab: true,
- isAuth: true
- }
- }
- ]
- },
- {
- path: '/complaint',
- component: Layout,
- redirect: '/complaint/index',
- meta: {
- title: '投诉管理',
- isAuth: true,
- icon: 'icon-complaint'
- },
- children: [
- {
- path: 'index',
- name: '投诉列表',
- component: () => import('@/views/complaint/index'),
- meta: {
- title: '投诉管理',
- keepAlive: true
- }
- }
- ]
- },
- {
- path: "/image-store-apply",
- component: Layout,
- redirect: "/image-store-apply/index",
- meta: {
- title: '形象店申请审核',
- isAuth: true,
- keepAlive: true,
- },
- children: [
- {
- path: 'index',
- name: '形象店申请审核',
- component: () => import('@/views/image-store-apply/index'),
- meta: {
- title: '形象店申请审核',
- keepAlive: true,
- }
- }
- ]
- },
- {
- path: "/forecast",
- component: Layout,
- redirect: "/forecast/index",
- children: [
- {
- path: "index",
- name: "预测管理",
- meta: {
- keepAlive: true,
- isAuth: true
- },
- component: () =>
- import(
- /* webpackChunkName: "views" */ "@/views/forecast/index"
- )
- }
- ]
- },
- {
- path: "/forecast-audit",
- component: Layout,
- redirect: "/forecast-audit/index",
- meta: {
- icon: "el-icon-document-checked",
- title: "预测审批管理",
- keepAlive: true,
- isAuth: true
- },
- children: [
- {
- path: "index",
- name: "预测审批",
- meta: {
- keepAlive: true,
- isAuth: true,
- title: "预测审批"
- },
- component: () =>
- import(
- /* webpackChunkName: "views" */ "@/views/forecast-audit/index.vue"
- )
- }
- ]
- },
- {
- path: "/forecast-summary",
- component: Layout,
- redirect: "/forecast-summary/index",
- meta: {
- icon: "el-icon-data-analysis",
- title: "销售预测汇总",
- keepAlive: true,
- isAuth: true
- },
- children: [
- {
- path: "index",
- name: "销售预测汇总",
- meta: {
- keepAlive: true,
- isAuth: true,
- title: "销售预测汇总",
- icon: "el-icon-data-analysis"
- },
- component: () =>
- import(
- /* webpackChunkName: "views" */ "@/views/forecast-summary/index"
- )
- }
- ]
- },
- {
- path: "/dict-horizontal",
- component: Layout,
- redirect: "/dict-horizontal/index",
- children: [
- {
- path: "index",
- name: "字典管理",
- meta: {
- i18n: "dict"
- },
- component: () =>
- import(
- /* webpackChunkName: "views" */ "@/views/util/demo/dict-horizontal"
- )
- }
- ]
- },
- {
- path: "/dict-vertical",
- component: Layout,
- redirect: "/dict-vertical/index",
- children: [
- {
- path: "index",
- name: "字典管理",
- meta: {
- i18n: "dict"
- },
- component: () =>
- import(
- /* webpackChunkName: "views" */ "@/views/util/demo/dict-vertical"
- )
- }
- ]
- },
- {
- path: "/info",
- component: Layout,
- redirect: "/info/index",
- children: [
- {
- path: "index",
- name: "个人信息",
- meta: {
- i18n: "info"
- },
- component: () =>
- import(
- /* webpackChunkName: "views" */ "@/views/system/userinfo"
- )
- }
- ]
- }
- ];
|