{"remainingRequest":"/Users/admin/projects/dms/src/dealer_admin/node_modules/thread-loader/dist/cjs.js!/Users/admin/projects/dms/src/dealer_admin/node_modules/babel-loader/lib/index.js!/Users/admin/projects/dms/src/dealer_admin/src/router/index.js","dependencies":[{"path":"/Users/admin/projects/dms/src/dealer_admin/src/router/index.js","mtime":1713161556000},{"path":"/Users/admin/projects/dms/src/dealer_admin/babel.config.js","mtime":1713161556000},{"path":"/Users/admin/projects/dms/src/dealer_admin/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/Users/admin/projects/dms/src/dealer_admin/node_modules/thread-loader/dist/cjs.js","mtime":499162500000},{"path":"/Users/admin/projects/dms/src/dealer_admin/node_modules/babel-loader/lib/index.js","mtime":456789000000}],"contextDependencies":[],"result":["import Vue from 'vue';\nimport Router from 'vue-router';\nVue.use(Router);\n\n/* Layout */\nimport Layout from '@/layout';\n\n/* Router Modules */\n\nexport var constantRoutes = [\n// {\n//   path: '/redirect',\n//   component: Layout,\n//   hidden: true,\n//   children: [\n//     {\n//       path: '/redirect/:path*',\n//       component: () => import('@/views/redirect/index')\n//     }\n//   ]\n// },\n{\n  path: '/login',\n  component: function component() {\n    return import('@/views/login/index');\n  },\n  hidden: true\n}, {\n  path: '/auth-redirect',\n  component: function component() {\n    return import('@/views/login/auth-redirect');\n  },\n  hidden: true\n}, {\n  path: '/404',\n  component: function component() {\n    return import('@/views/error-page/404');\n  },\n  hidden: true\n}, {\n  path: '/401',\n  component: function component() {\n    return import('@/views/error-page/401');\n  },\n  hidden: true\n}, {\n  path: '/',\n  component: Layout,\n  hidden: true,\n  children: [{\n    path: '',\n    component: function component() {\n      return import('@/views/dashboard/index');\n    },\n    name: '首页',\n    meta: {\n      title: '首页',\n      icon: 'dashboard'\n    }\n  }]\n}, {\n  path: '/dashboard',\n  component: Layout,\n  children: [{\n    path: 'dashboard',\n    component: function component() {\n      return import('@/views/dashboard/index');\n    },\n    name: '首页',\n    meta: {\n      title: '首页',\n      icon: 'dashboard'\n    }\n  }]\n}, {\n  path: '/dataStrategy',\n  component: Layout,\n  children: [{\n    path: 'dataStrategy',\n    component: function component() {\n      return import('@/views/data_strategy/index');\n    },\n    name: '数据策略',\n    meta: {\n      title: '数据策略',\n      icon: 'chart'\n    }\n  }]\n}, {\n  path: \"/dealer\",\n  component: Layout,\n  name: 'dealerManager',\n  meta: {\n    title: '经销商管理',\n    icon: 'peoples',\n    roles: ['admin'] // you can set roles in root nav\n  },\n  children: [{\n    path: \"industry\",\n    component: function component() {\n      return import(\"@/views/dealer/industry/index\");\n    },\n    name: \"invite\",\n    meta: {\n      title: \"行业管理\",\n      icon: \"tree-table\"\n    }\n  }, {\n    path: \"invite\",\n    component: function component() {\n      return import(\"@/views/dealer/invite/index\");\n    },\n    name: \"invite\",\n    meta: {\n      title: \"经销商邀请\",\n      icon: \"guide\"\n    }\n  }, {\n    path: \"apply\",\n    component: function component() {\n      return import(\"@/views/dealer/apply/index\");\n    },\n    name: \"apply\",\n    meta: {\n      title: \"经销商申请\",\n      icon: \"documentation\"\n    }\n  }, {\n    path: \"list\",\n    component: function component() {\n      return import(\"@/views/dealer/list/index\");\n    },\n    name: \"list\",\n    meta: {\n      title: \"经销商列表\",\n      icon: \"user\"\n    }\n  }, {\n    path: \"complain\",\n    component: function component() {\n      return import(\"@/views/dealer/complain/index\");\n    },\n    name: \"complain\",\n    meta: {\n      title: \"投诉建议\",\n      icon: \"edit\"\n    }\n  }, {\n    path: \"schedule\",\n    component: function component() {\n      return import(\"@/views/dealer/schedule/index\");\n    },\n    name: \"schedule\",\n    meta: {\n      title: \"日程安排\",\n      icon: \"size\"\n    }\n  }]\n},\n// {\n//   path: '/dealer_list',\n//   component: Layout,\n//   children: [\n//     {\n//       path: 'dealer_lsit',\n//       component: () => import('@/views/dealer_list/index'),\n//       name: '经销商列表',\n//       meta: { \n//         title: '经销商列表',\n//         icon: 'user'\n//       }\n//     }\n//   ]\n// },\n{\n  path: '/dealer_platform_info',\n  component: Layout,\n  name: 'dealerPlatformInfo',\n  meta: {\n    title: '经销商平台信息',\n    icon: 'component'\n  },\n  children: [{\n    path: 'information',\n    component: function component() {\n      return import('@/views/information/index');\n    },\n    name: '信息中心',\n    meta: {\n      title: '信息中心',\n      icon: 'example'\n    }\n  }, {\n    path: 'comment',\n    component: function component() {\n      return import('@/views/comment/index');\n    },\n    name: '留言中心',\n    meta: {\n      title: '留言中心',\n      icon: 'guide'\n    }\n  }, {\n    path: 'bulletin',\n    component: function component() {\n      return import('@/views/bulletin/index');\n    },\n    name: '公告',\n    meta: {\n      title: '公告',\n      icon: 'message'\n    }\n  }]\n}, {\n  path: '/training',\n  component: Layout,\n  name: 'training',\n  meta: {\n    title: '培训',\n    icon: 'component'\n  },\n  children: [{\n    path: 'list',\n    component: function component() {\n      return import('@/views/training/index');\n    },\n    name: '培训课程管理',\n    meta: {\n      title: '培训课程管理',\n      icon: 'excel'\n    }\n  }, {\n    path: \"stage\",\n    component: function component() {\n      return import(\"@/views/training/stage/index\");\n    },\n    name: \"课程阶段\",\n    hidden: true,\n    meta: {\n      title: \"课程阶段\",\n      icon: \"excel\"\n    }\n  }, {\n    path: \"course\",\n    component: function component() {\n      return import(\"@/views/training/course/index\");\n    },\n    name: \"课程列表\",\n    hidden: true,\n    meta: {\n      title: \"课程列表\",\n      icon: \"excel\"\n    }\n  }, {\n    path: 'examination',\n    component: function component() {\n      return import('@/views/examination/index');\n    },\n    name: '考试管理',\n    meta: {\n      title: '考试管理',\n      icon: 'form'\n    }\n  }, {\n    path: \"subject\",\n    component: function component() {\n      return import(\"@/views/examination/subject/index\");\n    },\n    name: \"题目管理\",\n    hidden: true,\n    meta: {\n      title: \"题目管理\",\n      icon: \"excel\"\n    }\n  }]\n}, {\n  path: '/sales_opportunity',\n  component: Layout,\n  children: [{\n    path: 'sales_opportunity',\n    component: function component() {\n      return import('@/views/salesOpportunity/index');\n    },\n    name: '销售机会中心',\n    meta: {\n      title: '销售机会中心',\n      icon: 'international'\n    }\n  }]\n}, {\n  path: '/report',\n  component: Layout,\n  name: 'report',\n  meta: {\n    title: '报备',\n    icon: 'component'\n  },\n  children: [{\n    path: 'report_center',\n    component: function component() {\n      return import('@/views/report/index');\n    },\n    name: '报备中心',\n    meta: {\n      title: '报备中心',\n      icon: 'clipboard'\n    }\n  }, {\n    path: 'report_list',\n    component: function component() {\n      return import('@/views/report_list/index');\n    },\n    name: '报备列表',\n    meta: {\n      title: '报备列表',\n      icon: 'list'\n    }\n  }]\n}, {\n  path: '/assessment',\n  component: Layout,\n  name: 'assessment',\n  meta: {\n    title: '考评管理',\n    icon: 'component'\n  },\n  children: [{\n    path: 'list',\n    component: function component() {\n      return import('@/views/assessment/list/index');\n    },\n    name: '考评列表',\n    meta: {\n      title: '考评列表',\n      icon: 'list'\n    }\n  }, {\n    path: 'review',\n    component: function component() {\n      return import('@/views/assessment/review/index');\n    },\n    name: '考评审核',\n    meta: {\n      title: '考评审核',\n      icon: 'clipboard'\n    }\n  }]\n}, {\n  path: '/product',\n  component: Layout,\n  children: [{\n    path: 'product',\n    component: function component() {\n      return import('@/views/product/index');\n    },\n    name: '产品中心',\n    meta: {\n      title: '产品中心',\n      icon: 'theme'\n    }\n  }]\n}, {\n  path: '/order',\n  component: Layout,\n  children: [{\n    path: 'order',\n    component: function component() {\n      return import('@/views/order/index');\n    },\n    name: '订单中心',\n    meta: {\n      title: '订单中心',\n      icon: 'money'\n    }\n  }]\n}, {\n  path: \"/system\",\n  component: Layout,\n  name: 'systemManager',\n  meta: {\n    title: '系统设置',\n    icon: 'icon',\n    roles: ['admin'] // you can set roles in root nav\n  },\n  children: [{\n    path: \"menuList\",\n    component: function component() {\n      return import(\"@/views/system/menu/index\");\n    },\n    name: \"menuList\",\n    meta: {\n      title: \"菜单管理\",\n      icon: \"list\"\n    }\n  }, {\n    path: \"roleList\",\n    component: function component() {\n      return import(\"@/views/system/role/index\");\n    },\n    name: \"roleList\",\n    meta: {\n      title: \"角色管理\",\n      icon: \"peoples\"\n    }\n  }, {\n    path: \"organization\",\n    component: function component() {\n      return import(\"@/views/system/organization/index\");\n    },\n    name: \"organization\",\n    meta: {\n      title: \"组织架构\",\n      icon: \"tree\"\n    }\n  }, {\n    path: \"adminUserList\",\n    component: function component() {\n      return import(\"@/views/system/adminUser/index\");\n    },\n    name: \"adminUserList\",\n    meta: {\n      title: \"后台用户列表\",\n      icon: \"users\"\n    }\n  }, {\n    path: \"position\",\n    component: function component() {\n      return import(\"@/views/system/position/index\");\n    },\n    name: \"position\",\n    meta: {\n      title: \"职位\",\n      icon: \"nested\"\n    }\n  }, {\n    path: \"approval_flow\",\n    component: function component() {\n      return import(\"@/views/system/approval_flow/index\");\n    },\n    name: \"approval_flow\",\n    meta: {\n      title: \"审批流管理\",\n      icon: \"star\"\n    }\n  }, {\n    path: \"setting\",\n    component: function component() {\n      return import(\"@/views/system/setting/index\");\n    },\n    name: \"setting\",\n    meta: {\n      title: \"系统参数\",\n      icon: \"icon\"\n    }\n  }]\n}];\n\n/**\n * asyncRoutes\n * the routes that need to be dynamically loaded based on user roles\n */\nexport var asyncRoutes = [{\n  path: '*',\n  redirect: '/404',\n  hidden: true\n}];\nvar createRouter = function createRouter() {\n  return new Router({\n    // mode: 'history', // require service support\n    scrollBehavior: function scrollBehavior() {\n      return {\n        y: 0\n      };\n    },\n    routes: constantRoutes\n  });\n};\nvar router = createRouter();\n\n// Detail see: https://github.com/vuejs/vue-router/issues/1234#issuecomment-357941465\nexport function resetRouter() {\n  var newRouter = createRouter();\n  router.matcher = newRouter.matcher; // reset router\n}\nexport default router;",null]}