roose 4 سال پیش
والد
کامیت
15ab0e4ba6
2فایلهای تغییر یافته به همراه8 افزوده شده و 1 حذف شده
  1. 1 1
      src/pages/Home.vue
  2. 7 0
      src/router/index.js

+ 1 - 1
src/pages/Home.vue

@@ -113,7 +113,7 @@
             <!-- 右一 -->
             <div class="p4 bj">
                 <div class="p4title bj">
-                    <router-link to="/home/LoanStatistics">
+                    <router-link to="/home/Ranking">
                         <p>当月探访数据排行榜</p>
                     </router-link>
                     <span :class="isTure ? 'kaung1': 'kaung2' " style="margin-left: 10px" @click="right1">个人探访数据</span>

+ 7 - 0
src/router/index.js

@@ -3,6 +3,7 @@ import VueRouter from 'vue-router'
 import Home from '../pages/Home.vue'
 import oldStatistics from '../pages/oldStatistics.vue'
 import PatrolmanStatistics from '../pages/PatrolmanStatistics.vue'
+import Ranking from '../pages/Ranking.vue'
 Vue.use(VueRouter)
 const routes = [
   {
@@ -19,10 +20,16 @@ const routes = [
     path: '/home/PatrolmanStatistics',
     name: 'oldStatistics',
     component: PatrolmanStatistics
+  },
+  {
+    path: '/home/Ranking',
+    name: 'oldStatistics',
+    component: Ranking
   }
 
 
 
+
 ]
 const router = new VueRouter({
   routes