企微助手 ,仓库名 短剧

allRouter.js 15KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503
  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 customerFriendsCircle = () => import(/* webpackChunkName: 'customerFriendsCircle' */ '@/components/customOperate/friendsCircle/index.vue')
  7. const sideTool = () => import(/* webpackChunkName: 'sideTool' */ '@/components/customOperate/sideTool/index.vue')
  8. // const createMassMsg = () => import(/* webpackChunkName: 'createMassMsg' */ '@/components/customOperate/createMassMsg.vue')
  9. const blackList = () => import(/* webpackChunkName: 'blackList' */ '@/components/customManage/blackList.vue')
  10. const welcomeMsg = () => import(/* webpackChunkName: 'welcomeMsg' */ '@/components/customOperate/welcomeMsg.vue')
  11. const welcom_message = () => import(/* webpackChunkName: 'welcom_message' */ '@/components/customOperate/welcom_message.vue')
  12. const lostCustomer = () => import(/* webpackChunkName: 'lostCustomer' */ '@/components/customManage/lostCustomer.vue')
  13. const customerTransfer = () => import(/* webpackChunkName: 'customerTransfer' */ '@/components/customManage/customerTransfer.vue')
  14. const transferRecord = () => import(/* webpackChunkName: 'transferRecord' */ '@/components/customManage/transferRecord.vue')
  15. const authorityManage = () => import(/* webpackChunkName: 'authorityManage' */ '@/components/manage/authorityManage.vue')
  16. const memberManage = () => import(/* webpackChunkName: 'memberManage' */ '@/components/manage/memberManage.vue')
  17. const tagManage = () => import(/* webpackChunkName: 'tagManage' */ '@/components/manage/tagManage.vue')
  18. const customerWarning = () => import(/* webpackChunkName: 'customerWarning' */ '@/components/warningManage/customerWarning.vue')
  19. const warningListInstall = () => import(/* webpackChunkName: 'warningListInstall' */ '@/components/warningManage/warningListInstall.vue')
  20. const permissionManage = () => import(/* webpackChunkName: 'permissionManage' */ '@/components/manage/permissionManage.vue')
  21. const roleManage = () => import(/* webpackChunkName: 'roleManage' */ '@/components/manage/roleManage.vue')
  22. const menuManage = () => import(/* webpackChunkName: 'menuManage' */ '@/components/manage/menuManage.vue')
  23. const thePublic = () => import(/* webpackChunkName: 'thePublic' */ '@/components/dataBoard/thePublic.vue')
  24. const playletData = () => import(/* webpackChunkName: 'playletData' */ '@/components/dataBoard/playletData.vue')
  25. const operateDayRetrieve = () => import(/* webpackChunkName: 'operateDayRetrieve' */ '@/components/dataBoard/operateDayRetrieve.vue')
  26. const populariz = () => import(/* webpackChunkName: 'populariz' */ '@/components/dataBoard/populariz/index.vue')
  27. const throwPerson = () => import(/* webpackChunkName: 'throwPerson' */ '@/components/dataBoard/throwPerson/index.vue')
  28. const regRangeReport = () => import(/* webpackChunkName: 'regRangeReport' */ '@/components/dataBoard/regRangeReport.vue')
  29. const dramaManage = () => import(/* webpackChunkName: 'dramaManage' */ '@/components/dataBoard/dramaManage.vue')
  30. const charge = () => import(/* webpackChunkName: 'charge' */ '@/components/orderManage/charge.vue')
  31. const wxAccountList = () => import(/* webpackChunkName: 'wxAccountList' */ '@/components/dataBoard/wxAccount/list.vue')
  32. const thePublicTrend = () => import(/* webpackChunkName: 'thePublicTrend' */ '@/components/dataBoard/thePublicTrend.vue')
  33. const playletFansActTrend = () => import(/* webpackChunkName: 'playletFansActTrend' */ '@/components/dataBoard/playletFansActTrend.vue')
  34. const batchAddFriend = () => import(/* webpackChunkName: 'batchAddFriend' */ '@/components/marketingGuest/batchAddFriend/index.vue')
  35. const importRecord = () => import(/* webpackChunkName: 'importRecord' */ '@/components/marketingGuest/batchAddFriend/addFriend/importRecord.vue')
  36. const importRecordDetial = () => import(/* webpackChunkName: 'importRecordDetial' */ '@/components/marketingGuest/batchAddFriend/addFriend/importRecordDetial.vue')
  37. // const putOnwarning = () => import(/* webpackChunkName: 'putOnwarning' */ '@/components/dataBoard/putOnwarning/warningManage.vue')
  38. // const massMsgDetail = () => import(/* webpackChunkName: 'massMsgDetail' */ '@/components/customOperate/massMsgDetail/index.vue')
  39. const codeIndex = () => import(/* webpackChunkName: 'codeIndex' */ '@/components/channelCode/codeIndex.vue')
  40. const code_dataAnalyse = () => import(/* webpackChunkName: 'dataAnalyse' */ '@/components/channelCode/dataAnalyse.vue')
  41. const createChannelCode = () => import(/* webpackChunkName: 'createChannelCode' */ '@/components/channelCode/createChannelCode.vue')
  42. const radarIndex = () => import(/* webpackChunkName: 'radarIndex' */ '@/components/customOperate/sideTool/smartRadar/index.vue')
  43. // name与菜单配置的页面路由一致
  44. // meta下isData:true为数据看板,否则为助手
  45. export var allRouter = [
  46. {
  47. path: '/',
  48. redirect: '/home',
  49. component: INDEX,
  50. children: [
  51. {
  52. path: 'home',
  53. name: 'home',
  54. component: Home,
  55. meta: {
  56. keepAlive: false,
  57. isLogin: true,
  58. title: '助手首页',
  59. }
  60. },
  61. {
  62. path: 'homeData',
  63. name: 'homeData',
  64. component: homeData,
  65. meta: {
  66. keepAlive: false,
  67. isLogin: true,
  68. title: '数据看板首页',
  69. isData: true
  70. }
  71. },
  72. {
  73. path: 'customManage',
  74. name: 'customManage',
  75. component: customManage,
  76. meta: {
  77. keepAlive: false,
  78. isLogin: true,
  79. title: '客户管理'
  80. }
  81. },
  82. {
  83. path: 'charge',
  84. name: 'charge',
  85. component: charge,
  86. meta: {
  87. keepAlive: false,
  88. isLogin: true,
  89. title: '充值订单管理'
  90. }
  91. },
  92. {
  93. path: 'batchAddFriend',
  94. name: 'batchAddFriend',
  95. component: batchAddFriend,
  96. meta: {
  97. keepAlive: false,
  98. isLogin: true,
  99. title: '批量加好友'
  100. }
  101. },
  102. {
  103. path: 'radarIndex',
  104. name: 'sideTool',
  105. component: radarIndex,
  106. meta: {
  107. keepAlive: false,
  108. isLogin: true,
  109. title: '智能雷达'
  110. }
  111. },
  112. {
  113. path: 'codeIndex',
  114. name: 'codeIndex',
  115. component: codeIndex,
  116. meta: {
  117. keepAlive: false,
  118. isLogin: true,
  119. title: '渠道活码'
  120. }
  121. },
  122. {
  123. path: 'dataAnalyse/:id',
  124. name: 'codeIndex',
  125. component: code_dataAnalyse,
  126. meta: {
  127. keepAlive: false,
  128. isLogin: true,
  129. title: '数据分析'
  130. }
  131. },
  132. {
  133. path: 'createChannelCode',
  134. name: 'codeIndex',
  135. component: createChannelCode,
  136. meta: {
  137. keepAlive: false,
  138. isLogin: true,
  139. title: '新建渠道活码'
  140. }
  141. },
  142. {
  143. path: 'importRecord',
  144. name: 'batchAddFriend',
  145. component: importRecord,
  146. meta: {
  147. keepAlive: false,
  148. isLogin: true,
  149. title: '导入记录'
  150. }
  151. },
  152. {
  153. path: 'importRecordDetial/:id',
  154. name: 'batchAddFriend',
  155. component: importRecordDetial,
  156. meta: {
  157. keepAlive: false,
  158. isLogin: true,
  159. title: '导入记录详情'
  160. }
  161. },
  162. //
  163. {
  164. path: 'blackList',
  165. name: 'blackList',
  166. component: blackList,
  167. meta: {
  168. keepAlive: false,
  169. isLogin: true,
  170. title: '黑名单'
  171. }
  172. },
  173. {
  174. path: 'lostCustomer',
  175. name: 'lostCustomer',
  176. component: lostCustomer,
  177. meta: {
  178. keepAlive: false,
  179. isLogin: true,
  180. title: '客户流失'
  181. }
  182. },
  183. {
  184. path: 'customerTransfer',
  185. name: 'customerTransfer',
  186. component: customerTransfer,
  187. meta: {
  188. keepAlive: false,
  189. isLogin: true,
  190. title: '客户迁移'
  191. }
  192. },
  193. {
  194. path: 'transferRecord/:type',
  195. name: 'customerTransfer',
  196. component: transferRecord,
  197. meta: {
  198. keepAlive: false,
  199. isLogin: true,
  200. title: '迁移记录'
  201. }
  202. },
  203. {
  204. path: 'customerFriendsCircle',
  205. name: 'customerFriendsCircle',
  206. component: customerFriendsCircle,
  207. meta: {
  208. keepAlive: false,
  209. isLogin: true,
  210. title: '客户朋友圈'
  211. }
  212. },
  213. {
  214. path: 'sideTool',
  215. name: 'sideTool',
  216. component: sideTool,
  217. meta: {
  218. keepAlive: false,
  219. isLogin: true,
  220. title: '侧边栏工具'
  221. }
  222. },
  223. {
  224. path: 'employee_bulk_messaging_log',
  225. name: 'employee_bulk_messaging_log',
  226. component: employee_bulk_messaging_log,
  227. meta: {
  228. keepAlive: false,
  229. isLogin: true,
  230. title: '员工群发记录'
  231. }
  232. },
  233. // {
  234. // path: 'massMsgDetail/:rule_id',
  235. // name: 'employee_bulk_messaging_log',
  236. // component: massMsgDetail,
  237. // meta: {
  238. // keepAlive: false,
  239. // isLogin: true,
  240. // title: '群发详情'
  241. // }
  242. // },
  243. {
  244. path: 'welcomeMsg',
  245. name: 'welcomeMsg',
  246. component: welcomeMsg,
  247. meta: {
  248. keepAlive: false,
  249. isLogin: true,
  250. title: '客户欢迎语'
  251. }
  252. },
  253. {
  254. path: 'memberManage',
  255. name: 'memberManage',
  256. component: memberManage,
  257. meta: {
  258. keepAlive: false,
  259. isLogin: true,
  260. title: '成员管理'
  261. }
  262. },
  263. {
  264. path: 'welcom_message_create',
  265. name: 'welcomeMsg',
  266. component: welcom_message,
  267. meta: {
  268. keepAlive: false,
  269. isLogin: true,
  270. title: '创建欢迎语'
  271. }
  272. },
  273. {
  274. path: 'welcom_message_edit/:rule_id',
  275. name: 'welcomeMsg',
  276. component: welcom_message,
  277. meta: {
  278. keepAlive: false,
  279. isLogin: true,
  280. title: '编辑欢迎语'
  281. }
  282. },
  283. // {
  284. // path: 'createMassMsg',
  285. // name: 'createMassMsg',
  286. // component: createMassMsg,
  287. // meta: {
  288. // keepAlive: false,
  289. // isLogin: true,
  290. // title: '新建群发'
  291. // }
  292. // },
  293. // {
  294. // path: 'massMsg/:rule_id',
  295. // name: 'createMassMsg',
  296. // component: createMassMsg,
  297. // meta: {
  298. // keepAlive: false,
  299. // isLogin: true,
  300. // title: '群发详情'
  301. // }
  302. // },
  303. {
  304. path: 'authorityManage',
  305. name: 'authorityManage',
  306. component: authorityManage,
  307. meta: {
  308. keepAlive: false,
  309. isLogin: true,
  310. title: '授权管理'
  311. }
  312. },
  313. {
  314. path: 'tagManage',
  315. name: 'tagManage',
  316. component: tagManage,
  317. meta: {
  318. keepAlive: false,
  319. isLogin: true,
  320. title: '标签管理'
  321. }
  322. },
  323. {
  324. path: 'customerWarning',
  325. name: 'customerWarning',
  326. component: customerWarning,
  327. meta: {
  328. keepAlive: false,
  329. isLogin: true,
  330. title: '企微客服预警'
  331. }
  332. },
  333. {
  334. path: 'warningListInstall',
  335. name: 'warningListInstall',
  336. component: warningListInstall,
  337. meta: {
  338. keepAlive: false,
  339. isLogin: true,
  340. title: '预警名单设置'
  341. }
  342. },
  343. {
  344. path: 'permissionManage',
  345. name: 'permissionManage',
  346. component: permissionManage,
  347. meta: {
  348. keepAlive: false,
  349. isLogin: true,
  350. title: '权限管理',
  351. // isData:true
  352. }
  353. },
  354. {
  355. path: 'roleManage',
  356. name: 'roleManage',
  357. component: roleManage,
  358. meta: {
  359. keepAlive: false,
  360. isLogin: true,
  361. title: '角色管理',
  362. // isData:true
  363. }
  364. },
  365. {
  366. path: 'menuManage',
  367. name: 'roleManage',
  368. component: menuManage,
  369. meta: {
  370. keepAlive: false,
  371. isLogin: true,
  372. title: '菜单管理',
  373. // isData:true
  374. }
  375. },
  376. {
  377. path: 'thePublic',
  378. name: 'thePublic',
  379. component: thePublic,
  380. meta: {
  381. keepAlive: false,
  382. isLogin: true,
  383. title: '公众号数据',
  384. isData: true
  385. }
  386. },
  387. {
  388. path: 'thePublicTrend',
  389. name: 'thePublicTrend',
  390. component: thePublicTrend,
  391. meta: {
  392. keepAlive: false,
  393. isLogin: true,
  394. title: '公众号数据趋势',
  395. isData: true
  396. }
  397. },
  398. {
  399. path: 'playletFansActTrend',
  400. name: 'playletFansActTrend',
  401. component: playletFansActTrend,
  402. meta: {
  403. keepAlive: false,
  404. isLogin: true,
  405. title: '短剧粉丝激活趋势',
  406. isData: true
  407. }
  408. },
  409. // {
  410. // path: 'putOnwarning',
  411. // name: 'putOnwarning',
  412. // component: putOnwarning,
  413. // meta: {
  414. // keepAlive: false,
  415. // isLogin: true,
  416. // title: '预警设置',
  417. // isData: true
  418. // }
  419. // },
  420. {
  421. path: 'playletData',
  422. name: 'playletData',
  423. component: playletData,
  424. meta: {
  425. keepAlive: false,
  426. isLogin: true,
  427. title: '短剧数据',
  428. isData: true
  429. }
  430. },
  431. {
  432. path: 'operateDayRetrieve',
  433. name: 'operateDayRetrieve',
  434. component: operateDayRetrieve,
  435. meta: {
  436. keepAlive: false,
  437. isLogin: true,
  438. title: '运营数据',
  439. isData: true
  440. }
  441. },
  442. {
  443. path: 'populariz',
  444. name: 'populariz',
  445. component: populariz,
  446. meta: {
  447. keepAlive: false,
  448. isLogin: true,
  449. title: '推广数据',
  450. isData: true
  451. }
  452. },
  453. {
  454. path: 'throwPerson',
  455. name: 'throwPerson',
  456. component: throwPerson,
  457. meta: {
  458. keepAlive: false,
  459. isLogin: true,
  460. title: '投手数据',
  461. isData: true
  462. }
  463. },
  464. {
  465. path: 'regRangeReport',
  466. name: 'regRangeReport',
  467. component: regRangeReport,
  468. meta: {
  469. keepAlive: false,
  470. isLogin: true,
  471. title: '数据循环统计',
  472. isData: true
  473. }
  474. },
  475. {
  476. path: 'dramaManage',
  477. name: 'dramaManage',
  478. component: dramaManage,
  479. meta: {
  480. keepAlive: false,
  481. isLogin: true,
  482. title: '剧集管理',
  483. isData: true
  484. }
  485. },
  486. {
  487. path: 'wxAccountList',
  488. name: 'wxAccountList',
  489. component: wxAccountList,
  490. meta: {
  491. keepAlive: false,
  492. isLogin: true,
  493. title: '公众号授权',
  494. isData: true
  495. }
  496. },
  497. ]
  498. }
  499. ]