企微助手 ,仓库名 短剧

allRouter.js 14KB

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