Bladeren bron

ao调整route

litong 2 jaren geleden
bovenliggende
commit
ddff756b0f
1 gewijzigde bestanden met toevoegingen van 110 en 95 verwijderingen
  1. 110 95
      purchase_ao/src/router/index.js

+ 110 - 95
purchase_ao/src/router/index.js

@@ -28,9 +28,9 @@ export const constantRoutes = [{
   path: '/productManagement',
   component: Layout,
   redirect: '/productManagement/',
-  name: '新产品管理',
+  name: '新-产品管理',
   meta: {
-    title: '新产品管理',
+    title: '新-产品管理',
     icon: 'el-icon-s-goods'
   },
   children: [{
@@ -74,13 +74,13 @@ export const constantRoutes = [{
 {
   path: '/channel',
   component: Layout,
-  name: '新渠道管理',
+  name: '新-渠道管理',
   children: [{
     path: '/channel',
     name: '渠道列表',
     component: () => import('@/views/schemeV2/channel'),
     meta: {
-      title: '新渠道管理',
+      title: '新-渠道管理',
       icon: 'el-icon-s-flag'
     }
   }]
@@ -119,17 +119,17 @@ export const constantRoutes = [{
   path: '/strategy',
   component: Layout,
   redirect: '/strategy/',
-  name: '新策略',
+  name: '新-策略管理',
   meta: {
-    title: '新策略',
+    title: '新-策略管理',
     icon: 'el-icon-s-tools'
   },
   children: [{
     path: '/strategy/index',
     component: () => import('@/views/strategy/index'),
-    name: '策略列表',
+    name: '策略列表',
     meta: {
-      title: '策略列表'
+      title: '策略列表'
     }
   }, {
     path: '/strategy/add',
@@ -146,7 +146,7 @@ export const constantRoutes = [{
   redirect: '/newSchemeProinfo/',
   name: '高级策略',
   meta: {
-    title: '新高级策略',
+    title: '新-高级策略',
     icon: 'el-icon-s-claim'
   },
   children:[
@@ -165,7 +165,7 @@ export const constantRoutes = [{
       meta: {
         title: '高级策略添加',
       },
-    },      
+    },
     // {
     //   path: '/newSchemeProinfo/schemType',
     //   name: '高级策略类型',
@@ -181,13 +181,13 @@ export const constantRoutes = [{
   path: '/schemeV2',
   component: Layout,
   redirect: '/schemeV2/',
-  name: '策略管理',
+  name: '旧-策略管理',
   children: [{
     path: '/schemeV2/index',
     name: '策略列表',
     component: () => import('@/views/schemeV2/index'),
     meta: {
-      title: '策略管理',
+      title: '旧-策略管理',
       icon: 'el-icon-s-management'
     }
   }]
@@ -205,42 +205,42 @@ export const constantRoutes = [{
 
 
 // 高级策略
-{
-  path: '/schemeProinfo',
-  component: Layout,
-  redirect: '/schemeProinfo/',
-  name: '高级策略',
-  meta: {
-    title: '高级策略',
-    icon: 'el-icon-star-on'
-  },
-  children: [
-    // {
-    //   path: '/schemeProinfo/index',
-    //   name: '高级策略',
-    //   component: () => import('@/views/schemeProinfo/index'),
-    //   meta: {
-    //     title: '高级策略管理-内测',
-    //   },
-    // },
-    {
-      path: '/schemeProinfo/number',
-      component: () => import('@/views/schemeProinfo/number'),
-      name: '认证方式管理',
-      meta: {
-        title: '认证方式管理'
-      }
-    },
-    {
-      path: '/schemeProinfo/numberIntercept',
-      component: () => import('@/views/schemeProinfo/numberIntercept'),
-      name: '虚商号码管理',
-      meta: {
-        title: '虚商号码管理'
-      }
-    }
-  ]
-},
+// {
+//   path: '/schemeProinfo',
+//   component: Layout,
+//   redirect: '/schemeProinfo/',
+//   name: '高级策略',
+//   meta: {
+//     title: '高级策略',
+//     icon: 'el-icon-star-on'
+//   },
+//   children: [
+//     // {
+//     //   path: '/schemeProinfo/index',
+//     //   name: '高级策略',
+//     //   component: () => import('@/views/schemeProinfo/index'),
+//     //   meta: {
+//     //     title: '高级策略管理-内测',
+//     //   },
+//     // },
+//     // {
+//     //   path: '/schemeProinfo/number',
+//     //   component: () => import('@/views/schemeProinfo/number'),
+//     //   name: '认证方式管理',
+//     //   meta: {
+//     //     title: '认证方式管理'
+//     //   }
+//     // },
+//     // {
+//     //   path: '/schemeProinfo/numberIntercept',
+//     //   component: () => import('@/views/schemeProinfo/numberIntercept'),
+//     //   name: '虚商号码管理',
+//     //   meta: {
+//     //     title: '虚商号码管理'
+//     //   }
+//     // }
+//   ]
+// },
 {
   path: '/ProinfoEdit',
   component: Close,
@@ -281,55 +281,70 @@ export const constantRoutes = [{
     path: '/schemeGlobal/itemEdit',
     name: '全局策略-管理项登记',
     component: () => import('@/views/schemeGlobal/itemEdit')
-  }]
-},
-{
-  path: '/ABtest',
-  component: Layout,
-  redirect: '/ABtest/',
-  name: 'A/B测试',
-  meta: {
-    // title: 'A/B测试',
-    title: 'A/B实验-内测',
-    icon: 'el-icon-s-opportunity'
-  },
-  children: [{
-    path: '/ABtest/index',
-    component: () => import('@/views/ABtest/index'),
-    name: '测试列表',
-    meta: {
-      title: '实验室'
-    }
-  },
-  {
-    path: '/ABtest/edit',
-    component: () => import('@/views/ABtest/edit'),
-    name: '编辑测试'
-  },
-  {
-    path: '/ABtest/ABclass/index',
-    component: () => import('@/views/ABtest/ABclass/list'),
-    name: '类型管理',
-    meta: {
-      title: '类型管理'
-    }
-  },
-  {
-    path: '/ABtest/ABclass/edit',
-    component: () => import('@/views/ABtest/ABclass/edit'),
-    name: '编辑类型'
-  },
-  {
-    path: '/ABtest/testData',
-    component: () => import('@/views/ABtest/testData'),
-    name: '测试数据',
-    meta: {
-      title: '测试数据'
-    }
+  },{
+      path: '/schemeProinfo/number',
+      component: () => import('@/views/schemeProinfo/number'),
+      name: '认证方式管理',
+      meta: {
+          title: '认证方式管理'
+      }
   },
-
-  ]
+      {
+          path: '/schemeProinfo/numberIntercept',
+          component: () => import('@/views/schemeProinfo/numberIntercept'),
+          name: '虚商号码管理',
+          meta: {
+              title: '虚商号码管理'
+          }
+      }]
 },
+// {
+//   path: '/ABtest',
+//   component: Layout,
+//   redirect: '/ABtest/',
+//   name: 'A/B测试',
+//   meta: {
+//     // title: 'A/B测试',
+//     title: 'A/B实验-内测',
+//     icon: 'el-icon-s-opportunity'
+//   },
+//   children: [{
+//     path: '/ABtest/index',
+//     component: () => import('@/views/ABtest/index'),
+//     name: '测试列表',
+//     meta: {
+//       title: '实验室'
+//     }
+//   },
+//   {
+//     path: '/ABtest/edit',
+//     component: () => import('@/views/ABtest/edit'),
+//     name: '编辑测试'
+//   },
+//   {
+//     path: '/ABtest/ABclass/index',
+//     component: () => import('@/views/ABtest/ABclass/list'),
+//     name: '类型管理',
+//     meta: {
+//       title: '类型管理'
+//     }
+//   },
+//   {
+//     path: '/ABtest/ABclass/edit',
+//     component: () => import('@/views/ABtest/ABclass/edit'),
+//     name: '编辑类型'
+//   },
+//   {
+//     path: '/ABtest/testData',
+//     component: () => import('@/views/ABtest/testData'),
+//     name: '测试数据',
+//     meta: {
+//       title: '测试数据'
+//     }
+//   },
+//
+//   ]
+// },
 {
   path: '/model',
   component: Layout,