lilei před 2 roky
rodič
revize
4115372526
2 změnil soubory, kde provedl 5 přidání a 5 odebrání
  1. 3 3
      src/config/router.config.js
  2. 2 2
      vue.config.js

+ 3 - 3
src/config/router.config.js

@@ -2234,7 +2234,7 @@ export const asyncRouterMap = [
         meta: {
           title: '产品返利表',
           icon: 'profile',
-          permission: 'M_dataExport'
+          permission: 'M_productRebateReport'
         },
         children:[
           {
@@ -2245,7 +2245,7 @@ export const asyncRouterMap = [
             meta: {
               title: '产品返利明细表',
               icon: 'profile',
-              // permission: 'M_productRebateReportList'
+              permission: 'M_productRebateReportList'
             },
             hideChildrenInMenu: true,
             children: [
@@ -2257,7 +2257,7 @@ export const asyncRouterMap = [
                   title: '产品返利明细表',
                   icon: 'profile',
                   hidden: true,
-                  // permission: 'M_productRebateReportList'
+                  permission: 'M_productRebateReportList'
                 }
               }
             ]

+ 2 - 2
vue.config.js

@@ -107,9 +107,9 @@ const vueConfig = {
     // If you want to turn on the proxy, please remove the mockjs /src/main.jsL11
     proxy: {
       '/api': {
-        target: 'http://192.168.0.216:8602/ocs-admin',
+        // target: 'http://192.168.0.216:8602/ocs-admin',
         // target: 'https://t.ocs.360arrow.com/ocs-admin', //  练习
-        // target: 'http://p.ocs.360arrow.com/ocs-admin', //  预发布
+        target: 'http://p.ocs.360arrow.com/ocs-admin', //  预发布
         ws: false,
         changeOrigin: true,
         pathRewrite: {