Procházet zdrojové kódy

将所有/dashboard/analysis都改成/interLock/summary

yuhan před 4 měsíci
rodič
revize
af89f0aabf

+ 2 - 1
src/components/tools/Breadcrumb.vue

@@ -26,7 +26,8 @@ export default {
       console.log('this.$route.matched', this.$route.matched)
 
       this.breadList = []
-      this.breadList.push({ name: 'dashboard-analysis', path: '/dashboard/analysis', meta: { title: '首页' } })
+      this.breadList.push({ name: 'dashboard-analysis', path: '/interLock/summary', meta: { title: '联锁总表' } })
+      // this.breadList.push({ name: 'dashboard-analysis', path: '/dashboard/analysis', meta: { title: '首页' } })
 
       this.name = this.$route.name
       this.$route.matched.forEach((item) => {

+ 4 - 2
src/config/router.config.js

@@ -10,8 +10,10 @@ export const asyncRouterMap = [
     path: '/',
     name: 'dashboard',
     component: TabLayout,
-    meta: { title: '首页' },
-    redirect: '/dashboard/analysis',
+    meta: { title: '联锁总表' },
+    redirect: '/interLock/summary',
+    // meta: { title: '首页' },
+    // redirect: '/dashboard/analysis',
     children: [
 
       // // dashboard

+ 2 - 1
src/store/mutation-types.js

@@ -16,7 +16,8 @@ export const SYS_BUTTON_AUTH = 'SYS_BUTTON_AUTH'
 export const ENCRYPTED_STRING = 'ENCRYPTED_STRING'
 export const ENHANCE_PRE = 'enhance_'
 export const UI_CACHE_DB_DICT_DATA = 'UI_CACHE_DB_DICT_DATA'
-export const INDEX_MAIN_PAGE_PATH = '/dashboard/analysis'
+export const INDEX_MAIN_PAGE_PATH = '/interLock/summary'
+// export const INDEX_MAIN_PAGE_PATH = '/dashboard/analysis'
 export const OAUTH2_LOGIN_PAGE_PATH = '/oauth2-app/login'
 export const TENANT_ID = 'TENANT_ID'
 export const ONL_AUTH_FIELDS = 'ONL_AUTH_FIELDS'

+ 2 - 1
src/views/user/Login.vue

@@ -130,7 +130,8 @@ export default {
       },
       //登录成功
       loginSuccess () {
-        this.$router.push({ path: "/dashboard/analysis" }).catch(()=>{
+        this.$router.push({ path: "/interLock/summary" }).catch(()=>{
+        // this.$router.push({ path: "/dashboard/analysis" }).catch(()=>{
           console.log('登录跳转首页出错,这个错误从哪里来的')
         })
         this.$notification.success({

+ 2 - 1
src/views/user/third/JeecgThirdLoginMixin.js

@@ -183,7 +183,8 @@ export const JeecgThirdLoginMixin = {
       // update-begin- author:sunjianlei --- date:20190812 --- for: 登录成功后不解除禁用按钮,防止多次点击
       // this.loginBtn = false
       // update-end- author:sunjianlei --- date:20190812 --- for: 登录成功后不解除禁用按钮,防止多次点击
-      this.$router.push({ path: "/dashboard/analysis" }).catch(()=>{
+      this.$router.push({ path: "/interLock/summary" }).catch(()=>{
+      // this.$router.push({ path: "/dashboard/analysis" }).catch(()=>{
         console.log('登录跳转首页出错,这个错误从哪里来的')
       })
       this.$notification.success({