企微助手 ,仓库名 短剧

allRouter.js 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  1. const INDEX = () => import('@/components/Index/index.vue')
  2. const Home = () => import('@/components/Home.vue')
  3. const homeData = () => import('@/components/HomeData.vue')
  4. const customManage = () => import(/* webpackChunkName: 'customManage' */ '@/components/customManage/manage.vue')
  5. const employee_bulk_messaging_log = () => import(/* webpackChunkName: 'employee_bulk_messaging_log' */ '@/components/customOperate/employee_bulk_messaging_log.vue')
  6. const createMassMsg = () => import(/* webpackChunkName: 'createMassMsg' */ '@/components/customOperate/createMassMsg.vue')
  7. const blackList = () => import(/* webpackChunkName: 'blackList' */ '@/components/customManage/blackList.vue')
  8. const welcomeMsg = () => import(/* webpackChunkName: 'welcomeMsg' */ '@/components/customOperate/welcomeMsg.vue')
  9. const welcom_message = () => import(/* webpackChunkName: 'welcom_message' */ '@/components/customOperate/welcom_message.vue')
  10. const lostCustomer = () => import(/* webpackChunkName: 'lostCustomer' */ '@/components/customManage/lostCustomer.vue')
  11. const customerTransfer = () => import(/* webpackChunkName: 'customerTransfer' */ '@/components/customManage/customerTransfer.vue')
  12. const transferRecord = () => import(/* webpackChunkName: 'transferRecord' */ '@/components/customManage/transferRecord.vue')
  13. const authorityManage = () => import(/* webpackChunkName: 'authorityManage' */ '@/components/manage/authorityManage.vue')
  14. const memberManage = () => import(/* webpackChunkName: 'memberManage' */ '@/components/manage/memberManage.vue')
  15. const tagManage = () => import(/* webpackChunkName: 'tagManage' */ '@/components/manage/tagManage.vue')
  16. const permissionManage = () => import(/* webpackChunkName: 'permissionManage' */ '@/components/manage/permissionManage.vue')
  17. const roleManage = () => import(/* webpackChunkName: 'roleManage' */ '@/components/manage/roleManage.vue')
  18. const menuManage = () => import(/* webpackChunkName: 'menuManage' */ '@/components/manage/menuManage.vue')
  19. const thePublic = () => import(/* webpackChunkName: 'thePublic' */ '@/components/dataBoard/thePublic.vue')
  20. const playletData = () => import(/* webpackChunkName: 'playletData' */ '@/components/dataBoard/playletData.vue')
  21. const operateDayRetrieve = () => import(/* webpackChunkName: 'operateDayRetrieve' */ '@/components/dataBoard/operateDayRetrieve.vue')
  22. const populariz = () => import(/* webpackChunkName: 'populariz' */ '@/components/dataBoard/populariz.vue')
  23. const throwPerson = () => import(/* webpackChunkName: 'throwPerson' */ '@/components/dataBoard/throwPerson.vue')
  24. const regRangeReport = () => import(/* webpackChunkName: 'regRangeReport' */ '@/components/dataBoard/regRangeReport.vue')
  25. const dramaManage = () => import(/* webpackChunkName: 'dramaManage' */ '@/components/dataBoard/dramaManage.vue')
  26. const charge = () => import(/* webpackChunkName: 'charge' */ '@/components/orderManage/charge.vue')
  27. const wxAccountList = () => import(/* webpackChunkName: 'wxAccountList' */ '@/components/dataBoard/wxAccount/list.vue')
  28. const thePublicTrend = () => import(/* webpackChunkName: 'thePublicTrend' */ '@/components/dataBoard/thePublicTrend.vue')
  29. const playletFansActTrend = () => import(/* webpackChunkName: 'playletFansActTrend' */ '@/components/dataBoard/playletFansActTrend.vue')
  30. // name与菜单配置的页面路由一致
  31. // meta下isData:true为数据看板,否则为助手
  32. export var allRouter = [
  33. {
  34. path: '/',
  35. redirect: '/home',
  36. component: INDEX,
  37. children: [
  38. {
  39. path: 'home',
  40. name: 'home',
  41. component: Home,
  42. meta: {
  43. keepAlive: false,
  44. isLogin: true,
  45. title: '助手首页',
  46. }
  47. },
  48. {
  49. path: 'homeData',
  50. name: 'homeData',
  51. component: homeData,
  52. meta: {
  53. keepAlive: false,
  54. isLogin: true,
  55. title: '数据看板首页',
  56. isData: true
  57. }
  58. },
  59. {
  60. path: 'customManage',
  61. name: 'customManage',
  62. component: customManage,
  63. meta: {
  64. keepAlive: false,
  65. isLogin: true,
  66. title: '客户管理'
  67. }
  68. },
  69. {
  70. path: 'charge',
  71. name: 'charge',
  72. component: charge,
  73. meta: {
  74. keepAlive: false,
  75. isLogin: true,
  76. title: '充值订单管理'
  77. }
  78. },
  79. {
  80. path: 'blackList',
  81. name: 'blackList',
  82. component: blackList,
  83. meta: {
  84. keepAlive: false,
  85. isLogin: true,
  86. title: '黑名单'
  87. }
  88. },
  89. {
  90. path: 'lostCustomer',
  91. name: 'lostCustomer',
  92. component: lostCustomer,
  93. meta: {
  94. keepAlive: false,
  95. isLogin: true,
  96. title: '客户流失'
  97. }
  98. },
  99. {
  100. path: 'customerTransfer',
  101. name: 'customerTransfer',
  102. component: customerTransfer,
  103. meta: {
  104. keepAlive: false,
  105. isLogin: true,
  106. title: '客户迁移'
  107. }
  108. },
  109. {
  110. path: 'transferRecord/:type',
  111. name: 'customerTransfer',
  112. component: transferRecord,
  113. meta: {
  114. keepAlive: false,
  115. isLogin: true,
  116. title: '迁移记录'
  117. }
  118. },
  119. {
  120. path: 'employee_bulk_messaging_log',
  121. name: 'employee_bulk_messaging_log',
  122. component: employee_bulk_messaging_log,
  123. meta: {
  124. keepAlive: false,
  125. isLogin: true,
  126. title: '员工群发记录'
  127. }
  128. },
  129. {
  130. path: 'welcomeMsg',
  131. name: 'welcomeMsg',
  132. component: welcomeMsg,
  133. meta: {
  134. keepAlive: false,
  135. isLogin: true,
  136. title: '客户欢迎语'
  137. }
  138. },
  139. {
  140. path: 'memberManage',
  141. name: 'memberManage',
  142. component: memberManage,
  143. meta: {
  144. keepAlive: false,
  145. isLogin: true,
  146. title: '成员管理'
  147. }
  148. },
  149. {
  150. path: 'welcom_message_create',
  151. name: 'welcomeMsg',
  152. component: welcom_message,
  153. meta: {
  154. keepAlive: false,
  155. isLogin: true,
  156. title: '创建欢迎语'
  157. }
  158. },
  159. {
  160. path: 'welcom_message_edit/:rule_id',
  161. name: 'welcomeMsg',
  162. component: welcom_message,
  163. meta: {
  164. keepAlive: false,
  165. isLogin: true,
  166. title: '编辑欢迎语'
  167. }
  168. },
  169. {
  170. path: 'createMassMsg',
  171. name: 'createMassMsg',
  172. component: createMassMsg,
  173. meta: {
  174. keepAlive: false,
  175. isLogin: true,
  176. title: '新建群发'
  177. }
  178. },
  179. {
  180. path: 'massMsg/:rule_id',
  181. name: 'createMassMsg',
  182. component: createMassMsg,
  183. meta: {
  184. keepAlive: false,
  185. isLogin: true,
  186. title: '群发详情'
  187. }
  188. },
  189. {
  190. path: 'authorityManage',
  191. name: 'authorityManage',
  192. component: authorityManage,
  193. meta: {
  194. keepAlive: false,
  195. isLogin: true,
  196. title: '授权管理'
  197. }
  198. },
  199. {
  200. path: 'tagManage',
  201. name: 'tagManage',
  202. component: tagManage,
  203. meta: {
  204. keepAlive: false,
  205. isLogin: true,
  206. title: '标签管理'
  207. }
  208. },
  209. {
  210. path: 'permissionManage',
  211. name: 'permissionManage',
  212. component: permissionManage,
  213. meta: {
  214. keepAlive: false,
  215. isLogin: true,
  216. title: '权限管理',
  217. // isData:true
  218. }
  219. },
  220. {
  221. path: 'roleManage',
  222. name: 'roleManage',
  223. component: roleManage,
  224. meta: {
  225. keepAlive: false,
  226. isLogin: true,
  227. title: '角色管理',
  228. // isData:true
  229. }
  230. },
  231. {
  232. path: 'menuManage',
  233. name: 'roleManage',
  234. component: menuManage,
  235. meta: {
  236. keepAlive: false,
  237. isLogin: true,
  238. title: '菜单管理',
  239. // isData:true
  240. }
  241. },
  242. {
  243. path: 'thePublic',
  244. name: 'thePublic',
  245. component: thePublic,
  246. meta: {
  247. keepAlive: false,
  248. isLogin: true,
  249. title: '公众号数据',
  250. isData: true
  251. }
  252. },
  253. {
  254. path: 'thePublicTrend',
  255. name: 'thePublicTrend',
  256. component: thePublicTrend,
  257. meta: {
  258. keepAlive: false,
  259. isLogin: true,
  260. title: '公众号数据趋势',
  261. isData: true
  262. }
  263. },
  264. {
  265. path: 'playletFansActTrend',
  266. name: 'playletFansActTrend',
  267. component: playletFansActTrend,
  268. meta: {
  269. keepAlive: false,
  270. isLogin: true,
  271. title: '短剧粉丝激活趋势',
  272. isData: true
  273. }
  274. },
  275. {
  276. path: 'playletData',
  277. name: 'playletData',
  278. component: playletData,
  279. meta: {
  280. keepAlive: false,
  281. isLogin: true,
  282. title: '短剧数据',
  283. isData: true
  284. }
  285. },
  286. {
  287. path: 'operateDayRetrieve',
  288. name: 'operateDayRetrieve',
  289. component: operateDayRetrieve,
  290. meta: {
  291. keepAlive: false,
  292. isLogin: true,
  293. title: '运营数据',
  294. isData: true
  295. }
  296. },
  297. {
  298. path: 'populariz',
  299. name: 'populariz',
  300. component: populariz,
  301. meta: {
  302. keepAlive: false,
  303. isLogin: true,
  304. title: '推广数据',
  305. isData: true
  306. }
  307. },
  308. {
  309. path: 'throwPerson',
  310. name: 'throwPerson',
  311. component: throwPerson,
  312. meta: {
  313. keepAlive: false,
  314. isLogin: true,
  315. title: '投手数据',
  316. isData: true
  317. }
  318. },
  319. {
  320. path: 'regRangeReport',
  321. name: 'regRangeReport',
  322. component: regRangeReport,
  323. meta: {
  324. keepAlive: false,
  325. isLogin: true,
  326. title: '数据循环统计',
  327. isData: true
  328. }
  329. },
  330. {
  331. path: 'dramaManage',
  332. name: 'dramaManage',
  333. component: dramaManage,
  334. meta: {
  335. keepAlive: false,
  336. isLogin: true,
  337. title: '剧集管理',
  338. isData: true
  339. }
  340. },
  341. {
  342. path: 'wxAccountList',
  343. name: 'wxAccountList',
  344. component: wxAccountList,
  345. meta: {
  346. keepAlive: false,
  347. isLogin: true,
  348. title: '公众号授权',
  349. isData: true
  350. }
  351. },
  352. ]
  353. }
  354. ]