theo пре 3 година
родитељ
комит
3ff9bc48b2
1 измењених фајлова са 187 додато и 193 уклоњено
  1. 187 193
      backendEle/src/router/index.js

+ 187 - 193
backendEle/src/router/index.js

@@ -29,9 +29,9 @@ export const constantRouterMap = [
       component: _import('dashboard/index'),
       name: 'dashboard_index',
       meta: {
-        title: 'Dashboard',//控制台
+        title: 'Dashboard', // 控制台
         breadcrumb: [
-          {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
+          {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
         ],
       },
     }]
@@ -46,10 +46,10 @@ export const constantRouterMap = [
         component: _import('shop/dec-order-list'),
         name: 'shop_dec-order-list',
         meta: {
-          title: 'Welcome Pack Listing',//报单列表
+          title: 'Welcome Pack Listing', // 报单列表
           breadcrumb: [
-            {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-            {title: 'Products Management', path: '/shop/dec-order-list'},//商城管理
+            {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+            {title: 'Products Management', path: '/shop/dec-order-list'}, // 商城管理
           ],
         },
       },
@@ -58,10 +58,10 @@ export const constantRouterMap = [
         component: _import('shop/order-list'),
         name: 'shop_order-list',
         meta: {
-          title: 'order list',//订单列表
+          title: 'order list', // 订单列表
           breadcrumb: [
-            {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-            {title: 'Products Management', path: '/shop/dec-order-list'},//商城管理
+            {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+            {title: 'Products Management', path: '/shop/dec-order-list'}, // 商城管理
           ],
         },
 
@@ -71,92 +71,88 @@ export const constantRouterMap = [
         component: _import('shop/order-shop-list'),
         name: 'shop_order_shop-list',
         meta: {
-          title: 'External mall order list',//外部商城订单列表
+          title: 'External mall order list', // 外部商城订单列表
           breadcrumb: [
-            {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-            {title: 'Products Management', path: '/shop/dec-order-list'},//商城管理
+            {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+            {title: 'Products Management', path: '/shop/dec-order-list'}, // 商城管理
           ],
         },
 
       },
-        {
-            path: '/shop/order-dec-list',
-            component: _import('shop/order-dec-list'),
-            name: 'shop_order_dec-list',
-            meta: {
-                title: 'External mall entry list',//外部商城报单列表
-                breadcrumb: [
-                    {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-                    {title: 'Products Management', path: '/shop/dec-order-list'},//商城管理
-                ],
-            },
-
+      {
+        path: '/shop/order-dec-list',
+        component: _import('shop/order-dec-list'),
+        name: 'shop_order_dec-list',
+        meta: {
+          title: 'External mall entry list', // 外部商城报单列表
+          breadcrumb: [
+            {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+            {title: 'Products Management', path: '/shop/dec-order-list'}, // 商城管理
+          ],
         },
+      },
       {
         path: '/shop/order-standard-list',
         component: _import('shop/order-standard-list'),
         name: 'shop_order_standard-list',
         meta: {
-          title: 'List of qualified orders of external mall',//外部商城达标订单列表
+          title: 'List of qualified orders of external mall', // 外部商城达标订单列表
           breadcrumb: [
-            {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-            {title: 'Products Management', path: '/shop/dec-order-list'},//商城管理
+            {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+            {title: 'Products Management', path: '/shop/dec-order-list'}, // 商城管理
           ],
         },
-
       },
-        // {
-        //     path: '/shop/package',
-        //     component: _import('shop/package'),
-        //     name: 'shop_package',
-        //     meta: {
-        //         title: 'Kitting products list',//报单套餐列表
-        //         breadcrumb: [
-        //             {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-        //             {title: 'Shopping Mall', path: '/shop/dec-order-list'},//商城管理
-        //         ],
-        //     },
-        //
-        // },
-        // {
-        //     path: '/shop/package-add',
-        //     component: _import('shop/package-add'),
-        //     name: 'shop_package-add',
-        //     meta: {
-        //         title: 'Add Kitting products',//报单套餐添加
-        //         breadcrumb: [
-        //             {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-        //             {title: 'Shopping Mall', path: '/shop/dec-order-list'},//商城管理
-        //         ],
-        //     },
-        //
-        // },
-        {
-            path: '/shop/index',
-            component: _import('shop/index'),
-            name: 'shop_index',
-            meta: {
-                title: 'Products list',//商品列表
-                breadcrumb: [
-                    {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-                    {title: 'Shopping Mall', path: '/shop/dec-order-list'},//商城管理
-                ],
-            },
-
+      // {
+      //     path: '/shop/package',
+      //     component: _import('shop/package'),
+      //     name: 'shop_package',
+      //     meta: {
+      //         title: 'Kitting products list', // 报单套餐列表
+      //         breadcrumb: [
+      //             {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+      //             {title: 'Shopping Mall', path: '/shop/dec-order-list'}, // 商城管理
+      //         ],
+      //     },
+      //
+      // },
+      // {
+      //     path: '/shop/package-add',
+      //     component: _import('shop/package-add'),
+      //     name: 'shop_package-add',
+      //     meta: {
+      //         title: 'Add Kitting products', // 报单套餐添加
+      //         breadcrumb: [
+      //             {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+      //             {title: 'Shopping Mall', path: '/shop/dec-order-list'}, // 商城管理
+      //         ],
+      //     },
+      //
+      // },
+      {
+        path: '/shop/index',
+        component: _import('shop/index'),
+        name: 'shop_index',
+        meta: {
+          title: 'Products list', // 商品列表
+          breadcrumb: [
+            {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+            {title: 'Shopping Mall', path: '/shop/dec-order-list'}, // 商城管理
+          ],
         },
-        {
-            path: '/shop/goods-add',
-            component: _import('shop/goods-add'),
-            name: 'shop_goods-add',
-            meta: {
-                title: 'Products add',//商品添加
-                breadcrumb: [
-                    {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-                    {title: 'Shopping Mall', path: '/shop/dec-order-list'},//商城管理
-                ],
-            },
-
+      },
+      {
+        path: '/shop/goods-add',
+        component: _import('shop/goods-add'),
+        name: 'shop_goods-add',
+        meta: {
+          title: 'Products add', // 商品添加
+          breadcrumb: [
+            {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+            {title: 'Shopping Mall', path: '/shop/dec-order-list'}, // 商城管理
+          ],
         },
+      },
     ],
   },
   {
@@ -169,10 +165,10 @@ export const constantRouterMap = [
         component: _import('user/index'),
         name: 'user_index',
         meta: {
-          title: 'Member list',//会员列表
+          title: 'Member list', // 会员列表
           breadcrumb: [
-            {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-            {title: 'Member management', path: '/user/index'},//会员管理
+            {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+            {title: 'Member management', path: '/user/index'}, // 会员管理
           ],
         },
       },
@@ -181,25 +177,25 @@ export const constantRouterMap = [
         component: _import('user/user-add-opt'),
         name: 'user_user-add-opt',
         meta: {
-          title: 'Empty order operation',//空单操作
+          title: 'Empty order operation', // 空单操作
           breadcrumb: [
-            {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-            {title: 'Member management', path: '/user/index'},//会员管理
+            {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+            {title: 'Member management', path: '/user/index'}, // 会员管理
           ],
         },
       },
-        {
-            path: '/user/empty-list',
-            component: _import('user/empty-list'),
-            name: 'user_empty_list',
-            meta: {
-                title: 'Empty list',//空单列表
-                breadcrumb: [
-                    {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-                    {title: 'Member management', path: '/user/index'},//会员管理
-                ],
-            },
+      {
+        path: '/user/empty-list',
+        component: _import('user/empty-list'),
+        name: 'user_empty_list',
+        meta: {
+          title: 'Empty list', // 空单列表
+          breadcrumb: [
+            {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+            {title: 'Member management', path: '/user/index'}, // 会员管理
+          ],
         },
+      },
       {
         path: '/user/bind',
         component: _import('user/bind'),
@@ -337,10 +333,10 @@ export const constantRouterMap = [
         component: _import('user/move'),
         name: 'user_move',
         meta: {
-          title: 'Mobile network management',//移网管理
+          title: 'Mobile network management', // 移网管理
           breadcrumb: [
-            {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-            {title: 'Member management', path: '/user/index'},//会员管理
+            {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+            {title: 'Member management', path: '/user/index'}, // 会员管理
           ],
         },
       },
@@ -437,26 +433,26 @@ export const constantRouterMap = [
         },
       },
       {
-          path: '/user/dec-level-list',
-          component: _import('user/dec-level-list'),
-          name: 'user_dec-level-list',
-          meta: {
-              title: 'Member level adjustment list',//会员级别调整列表
-              breadcrumb: [
-                  {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-                  {title: 'Member management', path: '/user/index'},//会员管理
-              ],
-          },
+        path: '/user/dec-level-list',
+        component: _import('user/dec-level-list'),
+        name: 'user_dec-level-list',
+        meta: {
+          title: 'Member level adjustment list', // 会员级别调整列表
+          breadcrumb: [
+            {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+            {title: 'Member management', path: '/user/index'}, // 会员管理
+          ],
+        },
       },
       {
         path: '/user/change-user-dec-level',
         component: _import('user/change-user-dec-level'),
         name: 'user_change-user-dec-level',
         meta: {
-          title: 'Modify member level',//修改会员级别
+          title: 'Modify member level', // 修改会员级别
           breadcrumb: [
-            {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-            {title: 'Member management', path: '/user/index'},//会员管理
+            {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+            {title: 'Member management', path: '/user/index'}, // 会员管理
           ],
         },
       },
@@ -465,10 +461,10 @@ export const constantRouterMap = [
         component: _import('user/change-user-dec-role'),
         name: 'user_change-user-dec-role',
         meta: {
-          title: 'Modify entry center level',//修改报单中心级别
+          title: 'Modify entry center level', // 修改报单中心级别
           breadcrumb: [
-            {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-            {title: 'Member management', path: '/user/index'},//会员管理
+            {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+            {title: 'Member management', path: '/user/index'}, // 会员管理
           ],
         },
       },
@@ -563,8 +559,6 @@ export const constantRouterMap = [
       //     ],
       //   },
       // },
-
-
     ]
   },
   {
@@ -674,8 +668,8 @@ export const constantRouterMap = [
         meta: {
           title: 'Closure',
           breadcrumb: [
-            {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-            {title: 'Bonus management', path: '/bonus/period'},//奖金管理
+            {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+            {title: 'Bonus management', path: '/bonus/period'}, // 奖金管理
           ],
         },
       },
@@ -684,10 +678,10 @@ export const constantRouterMap = [
         component: _import('bonus/balance-list'),
         name: 'bonus_balance-list',
         meta: {
-          title: 'Member bonus balance',//会员奖金余额
+          title: 'Member bonus balance', // 会员奖金余额
           breadcrumb: [
-            {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-            {title: 'Bonus management', path: '/bonus/period'},//奖金管理
+            {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+            {title: 'Bonus management', path: '/bonus/period'}, // 奖金管理
           ],
         },
       },
@@ -711,10 +705,10 @@ export const constantRouterMap = [
         component: _import('bonus/new-period-bonus'),
         name: 'bonus_new-period-bonus',
         meta: {
-          title: 'Latest bonus',//最新奖金
+          title: 'Latest bonus', // 最新奖金
           breadcrumb: [
-            {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-            {title: 'Bonus management', path: '/bonus/period'},//奖金管理
+            {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+            {title: 'Bonus management', path: '/bonus/period'}, // 奖金管理
           ],
         },
       },
@@ -889,52 +883,52 @@ export const constantRouterMap = [
         },
       },
       {
-          path: '/bonus/trace-down-bd',
-          component: _import('bonus/trace-down-bd'),
-          name: 'bonus_trace-down-bd',
-          meta: {
-              title: '报单奖向下追溯',
-              breadcrumb: [
-                  {title: 'Dashboard', path: '/dashboard/index'},
-                  {title: '奖金管理', path: '/bonus/period'},
-              ],
-          },
-      },
-      {
-          path: '/bonus/trace-up-bd',
-          component: _import('bonus/trace-up-bd'),
-          name: 'bonus_trace-up-bd',
-          meta: {
-              title: '报单奖向上追溯',
-              breadcrumb: [
-                  {title: 'Dashboard', path: '/dashboard/index'},
-                  {title: '奖金管理', path: '/bonus/period'},
-              ],
-          },
-      },
-      {
-          path: '/bonus/trace-down-tg',
-          component: _import('bonus/trace-down-tg'),
-          name: 'bonus_trace-down-tg',
-          meta: {
-              title: '推广奖向下追溯',
-              breadcrumb: [
-                  {title: 'Dashboard', path: '/dashboard/index'},
-                  {title: '奖金管理', path: '/bonus/period'},
-              ],
-          },
-      },
-      {
-          path: '/bonus/trace-up-tg',
-          component: _import('bonus/trace-up-tg'),
-          name: 'bonus_trace-up-tg',
-          meta: {
-              title: '推广奖向上追溯',
-              breadcrumb: [
-                  {title: 'Dashboard', path: '/dashboard/index'},
-                  {title: '奖金管理', path: '/bonus/period'},
-              ],
-          },
+        path: '/bonus/trace-down-bd',
+        component: _import('bonus/trace-down-bd'),
+        name: 'bonus_trace-down-bd',
+        meta: {
+          title: '报单奖向下追溯',
+          breadcrumb: [
+            {title: 'Dashboard', path: '/dashboard/index'},
+            {title: '奖金管理', path: '/bonus/period'},
+          ],
+        },
+      },
+      {
+        path: '/bonus/trace-up-bd',
+        component: _import('bonus/trace-up-bd'),
+        name: 'bonus_trace-up-bd',
+        meta: {
+          title: '报单奖向上追溯',
+          breadcrumb: [
+            {title: 'Dashboard', path: '/dashboard/index'},
+            {title: '奖金管理', path: '/bonus/period'},
+          ],
+        },
+      },
+      {
+        path: '/bonus/trace-down-tg',
+        component: _import('bonus/trace-down-tg'),
+        name: 'bonus_trace-down-tg',
+        meta: {
+          title: '推广奖向下追溯',
+          breadcrumb: [
+            {title: 'Dashboard', path: '/dashboard/index'},
+            {title: '奖金管理', path: '/bonus/period'},
+          ],
+        },
+      },
+      {
+        path: '/bonus/trace-up-tg',
+        component: _import('bonus/trace-up-tg'),
+        name: 'bonus_trace-up-tg',
+        meta: {
+          title: '推广奖向上追溯',
+          breadcrumb: [
+            {title: 'Dashboard', path: '/dashboard/index'},
+            {title: '奖金管理', path: '/bonus/period'},
+          ],
+        },
       },
       {
         path: '/bonus/trace-down-xf',
@@ -1097,10 +1091,10 @@ export const constantRouterMap = [
         component: _import('bonus/perf-order'),
         name: 'bonus_perf-order',
         meta: {
-          title: 'Performance sheet',//业绩单
+          title: 'Performance sheet', // 业绩单
           breadcrumb: [
-            {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-            {title: 'Bonus management', path: '/bonus/period'},//奖金管理
+            {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+            {title: 'Bonus management', path: '/bonus/period'}, // 奖金管理
           ],
         },
       },
@@ -1145,10 +1139,10 @@ export const constantRouterMap = [
         component: _import('bonus/score-month'),
         name: 'bonus_score-month',
         meta: {
-          title: 'score-month',//月积分
+          title: 'score-month', // 月积分
           breadcrumb: [
-            {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-            {title: 'Bonus management', path: '/bonus/period'},//奖金管理
+            {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+            {title: 'Bonus management', path: '/bonus/period'}, // 奖金管理
           ],
         },
       },
@@ -1219,10 +1213,10 @@ export const constantRouterMap = [
         component: _import('finance/balance-audit-list'),
         name: 'finance_balance-audit-list',
         meta: {
-          title: 'Member Ecoin adjustment list',//会员余额调整列表
+          title: 'Member Ecoin adjustment list', // 会员余额调整列表
           breadcrumb: [
-            {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-            {title: 'Financial management', path: '/finance/balance-audit-list'},//财务管理
+            {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+            {title: 'Financial management', path: '/finance/balance-audit-list'}, // 财务管理
           ],
         },
       },
@@ -1258,10 +1252,10 @@ export const constantRouterMap = [
         component: _import('finance/transfer-list'),
         name: 'finance_transfer-list',
         meta: {
-          title: 'Transfer record list',//转账记录列表
+          title: 'Transfer record list', // 转账记录列表
           breadcrumb: [
-            {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-            {title: 'Financial management', path: '/finance/balance-audit-list'},//财务管理
+            {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+            {title: 'Financial management', path: '/finance/balance-audit-list'}, // 财务管理
           ],
         },
       },
@@ -1509,10 +1503,10 @@ export const constantRouterMap = [
         component: _import('file/export'),
         name: 'file_export',
         meta: {
-          title: 'Export file',//导出文件
+          title: 'Export file', // 导出文件
           breadcrumb: [
-            {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-            {title: 'File management', path: '/bonus/period'},//文件管理
+            {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+            {title: 'File management', path: '/bonus/period'}, // 文件管理
           ],
         },
       },
@@ -1528,10 +1522,10 @@ export const constantRouterMap = [
         component: _import('admin/edit'),
         name: 'admin_change-password',
         meta: {
-          title: 'reset password',//重置密码
+          title: 'reset password', // 重置密码
           breadcrumb: [
-            {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-            {title: 'Administrator', path: '/admin/index'},//管理员管理
+            {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+            {title: 'Administrator', path: '/admin/index'}, // 管理员管理
           ],
         },
       },
@@ -1724,10 +1718,10 @@ export const constantRouterMap = [
         component: _import('log/user-login'),
         name: 'log_user-login',
         meta: {
-          title: 'Member login log',//会员登录日志
+          title: 'Member login log', // 会员登录日志
           breadcrumb: [
-            {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-            {title: 'Log management', path: '/log/user-login'},//日志管理
+            {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+            {title: 'Log management', path: '/log/user-login'}, // 日志管理
           ],
         },
       },
@@ -1748,10 +1742,10 @@ export const constantRouterMap = [
         component: _import('log/user-handle'),
         name: 'log_user-handle',
         meta: {
-          title: 'Member operation log',//会员操作日志
+          title: 'Member operation log', // 会员操作日志
           breadcrumb: [
-            {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
-            {title: 'Log management', path: '/log/admin-login'},//日志管理
+            {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
+            {title: 'Log management', path: '/log/admin-login'}, // 日志管理
           ],
         },
       },