Ver código fonte

feat: 解决,签到管理,抽奖统计,翻页面,回到之前界面数据不刷新

332777428@qq.com 2 meses atrás
pai
commit
18b8e0f3c2

+ 22 - 17
src/router/index.js

@@ -667,6 +667,27 @@ export const dynamicRoutes = [
   },
 
 
+    //****************** 签到管理 *******************//
+
+  // 抽奖配置
+  {
+    name: 'registrationLottery',
+    path: '/registration',
+    component: Layout,
+    hidden: true,
+    permissions: ['registration:lottery:list'],
+    children: [{
+      name: 'registrationLotteryDetail',
+      path: 'lottery/detail',
+      component: () => import('@/views/registration/lottery/detail'),
+      meta: {
+        title: '配置详情',
+        activeMenu: '/registration/lottery'
+      }
+    }]
+  },
+
+
 
 
 
@@ -865,23 +886,7 @@ export const dynamicRoutes = [
     }]
   },
 
-  // 签到管理
-  // 抽奖配置
-  {
-    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',

+ 1 - 0
src/views/registration/lottery/index.vue

@@ -82,6 +82,7 @@ import { change, list, remove } from "@/api/registration/lottery";
 import { currentMixin, disabledMixin } from "@/mixin/index";
 import { dialogCallBack } from "@/utils/DialogUtil";
 export default {
+  name:"RegistrationLottery",
   mixins: [disabledMixin, currentMixin],
   data() {
     return {

+ 1 - 1
src/views/registration/lotteryStat/index.vue

@@ -1,4 +1,4 @@
-  <!-- 签到管理 抽奖配置 -->
+  <!-- 签到管理 抽奖统计 -->
 
 <template>
   <div class="app-container">