natasha 3 yıl önce
ebeveyn
işleme
4b4eb0d167
1 değiştirilmiş dosya ile 9 ekleme ve 1 silme
  1. 9 1
      src/router/index.js

+ 9 - 1
src/router/index.js

@@ -134,7 +134,7 @@ export const constantRoutes = [{
                     if (configObj.sys_type == 'GCLS') {
                         next(path);
                     } else {
-                        if (configObj.sys_type == 'NPC' || configObj.sys_type == 'NNPE') {
+                        if (configObj.sys_type == 'NPC' || configObj.sys_type == 'NNPE' || configObj.sys_type == 'RLC') {
                             if (path.indexOf('/curGoodsDetail') > -1) {
                                 next(path);
                             } else {
@@ -243,6 +243,14 @@ export function handleSysType(sys_type, path_type) {
                 path = '/curGoodsDetail?' + cs
             }
             break;
+        case 'RLC':
+            if (path_type == 'home') {
+                path = '/GCLS-Book-Component-RLC/#/EnterSys';
+            } else if (path_type == 'goods') {
+                //path = '/GCLS-Book-Component-NNPE/#/GoodsDetail?' + cs;
+                path = '/curGoodsDetail?' + cs
+            }
+            break;
         case 'AILP':
             console.log('课后三点半')
             if (path_type == 'home') {