企微助手 ,仓库名 短剧

allRouter.js 16KB

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