瀏覽代碼

路由文件

DESKTOP-O04BTUJ\muzen 2 年之前
父節點
當前提交
5eb8684bd5
共有 1 個文件被更改,包括 49 次插入0 次删除
  1. 49 0
      src/router/index.js

+ 49 - 0
src/router/index.js

@@ -487,6 +487,55 @@ export const dynamicRoutes = [{
         activeMenu: '/service/flowPackage'
       }
     }]
+  },
+  // 签到管理
+  // 抽奖配置
+  {
+    path: '/registration',
+    component: Layout,
+    hidden: true,
+    permissions: ['registration:lotteryConfig:list'],
+    children: [{
+      path: 'lotteryConfig/detail',
+      component: () => import('@/views/registration/lottery/detail'),
+      name: 'lotteryConfigDetail',
+      meta: {
+        title: '配置详情',
+        activeMenu: '/registration/lotteryConfig'
+      }
+    }]
+  },
+  // 内容配置
+  {
+    path: '/registration',
+    component: Layout,
+    hidden: true,
+    permissions: ['registration:contentConfig:list'],
+    children: [{
+      path: 'contentConfig/detail',
+      component: () => import('@/views/registration/content/detail'),
+      name: 'contentConfigDetail',
+      meta: {
+        title: '配置详情',
+        activeMenu: '/registration/contentConfig'
+      }
+    }]
+  },
+  // 兑换配置
+  {
+    path: '/registration',
+    component: Layout,
+    hidden: true,
+    permissions: ['registration:exchangeConfig:list'],
+    children: [{
+      path: 'exchangeConfig/detail',
+      component: () => import('@/views/registration/exchange/detail'),
+      name: 'exchangeConfigDetail',
+      meta: {
+        title: '配置详情',
+        activeMenu: '/registration/exchangeConfig'
+      }
+    }]
   }
 ]