|
@@ -1,60 +1,60 @@
|
|
|
-// import { RouteRecordRaw } from 'vue-router';
|
|
|
-// // eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
|
-// // @ts-ignore
|
|
|
-// const router: RouteRecordRaw[] = [
|
|
|
-// {
|
|
|
-// path: '/charge',
|
|
|
-// component: () => import('@/layout/index.vue'),
|
|
|
-// meta: { title: '回传管理', icon: 'user' },
|
|
|
-// children: [
|
|
|
-// {
|
|
|
-// path: 'index',
|
|
|
-// name: 'user-account11',
|
|
|
-// meta: { title: '巨量2.0事件-微信小程序', icon: 'home' },
|
|
|
-// component: () => import('@/views/payBack/juliangPlus/index.vue')
|
|
|
-// },
|
|
|
-// {
|
|
|
-// path: 'index1',
|
|
|
-// name: 'user-account',
|
|
|
-// meta: { title: '被关注回复', icon: 'home' },
|
|
|
-// component: () =>
|
|
|
-// import('@/views/officialAccount/attentionReply/index.vue')
|
|
|
-// },
|
|
|
-// {
|
|
|
-// path: 'index3',
|
|
|
-// name: 'user-account33',
|
|
|
-// meta: { title: '关键字回复', icon: 'home' },
|
|
|
-// component: () =>
|
|
|
-// import('@/views/officialAccount/keywordReply/index.vue')
|
|
|
-// },
|
|
|
-// {
|
|
|
-// path: 'index4',
|
|
|
-// name: 'user-account44',
|
|
|
-// meta: { title: '公众号列表', icon: 'home' },
|
|
|
-// component: () =>
|
|
|
-// import('@/views/officialAccount/officialList/index.vue')
|
|
|
-// },
|
|
|
-// {
|
|
|
-// path: 'index5',
|
|
|
-// name: 'user-account55',
|
|
|
-// meta: { title: '客服消息', icon: 'home' },
|
|
|
-// component: () => import('@/views/officialAccount/newsService/index.vue')
|
|
|
-// },
|
|
|
-// {
|
|
|
-// path: 'index6',
|
|
|
-// name: 'user-account66',
|
|
|
-// meta: { title: '用户分群', icon: 'home' },
|
|
|
-// component: () => import('@/views/customer/segment/index.vue')
|
|
|
-// },
|
|
|
-// {
|
|
|
-// path: 'index2',
|
|
|
-// name: 'user-account123',
|
|
|
-// meta: { title: '菜单', icon: 'home', hidden: false },
|
|
|
-// component: () =>
|
|
|
-// import('@/views/officialAccount/publicCustomMenu/index.vue')
|
|
|
-// }
|
|
|
-// ]
|
|
|
-// }
|
|
|
-// ];
|
|
|
+import { RouteRecordRaw } from 'vue-router';
|
|
|
+// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
|
+// @ts-ignore
|
|
|
+const router: RouteRecordRaw[] = [
|
|
|
+ {
|
|
|
+ path: '/charge',
|
|
|
+ component: () => import('@/layout/index.vue'),
|
|
|
+ meta: { title: '回传管理', icon: 'user' },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'index',
|
|
|
+ name: 'user-account11',
|
|
|
+ meta: { title: '巨量2.0事件-微信小程序', icon: 'home' },
|
|
|
+ component: () => import('@/views/payBack/juliangPlus/index.vue')
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'index1',
|
|
|
+ name: 'user-account',
|
|
|
+ meta: { title: '被关注回复', icon: 'home' },
|
|
|
+ component: () =>
|
|
|
+ import('@/views/officialAccount/attentionReply/index.vue')
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'index3',
|
|
|
+ name: 'user-account33',
|
|
|
+ meta: { title: '关键字回复', icon: 'home' },
|
|
|
+ component: () =>
|
|
|
+ import('@/views/officialAccount/keywordReply/index.vue')
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'index4',
|
|
|
+ name: 'user-account44',
|
|
|
+ meta: { title: '公众号列表', icon: 'home' },
|
|
|
+ component: () =>
|
|
|
+ import('@/views/officialAccount/officialList/index.vue')
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'index5',
|
|
|
+ name: 'user-account55',
|
|
|
+ meta: { title: '客服消息', icon: 'home' },
|
|
|
+ component: () => import('@/views/officialAccount/newsService/index.vue')
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'index6',
|
|
|
+ name: 'user-account66',
|
|
|
+ meta: { title: '用户分群', icon: 'home' },
|
|
|
+ component: () => import('@/views/customer/segment/index.vue')
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'index2',
|
|
|
+ name: 'user-account123',
|
|
|
+ meta: { title: '菜单', icon: 'home', hidden: false },
|
|
|
+ component: () =>
|
|
|
+ import('@/views/officialAccount/publicCustomMenu/index.vue')
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+];
|
|
|
|
|
|
-// export default router;
|
|
|
+export default router;
|