企微助手 ,仓库名 短剧

allRouter.js 16KB

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