Ver Fonte

隐藏构型管理和数据字典菜单

YIRAN\lyr20 há 2 semanas atrás
pai
commit
b7095c44d5
2 ficheiros alterados com 21 adições e 20 exclusões
  1. 18 18
      src/router/modules/system.js
  2. 3 2
      vue.config.js

+ 18 - 18
src/router/modules/system.js

@@ -75,15 +75,15 @@ export default [
           title: '机型管理'
         }
       },
-      {
-        name: 'AirConfiguration',
-        path: '/dataManage/airConfiguration',
-        component: () => import('@/views/als/airConfiguration/index.vue'),
-        meta: {
-          parent: 'BasicData',
-          title: '构型管理'
-        }
-      },
+      // {
+      //   name: 'AirConfiguration',
+      //   path: '/dataManage/airConfiguration',
+      //   component: () => import('@/views/als/airConfiguration/index.vue'),
+      //   meta: {
+      //     parent: 'BasicData',
+      //     title: '构型管理'
+      //   }
+      // },
       {
         name: 'DataAircraftCataloging',
         path: '/basicData/dataAircraftCataloging',
@@ -344,15 +344,15 @@ export default [
       /**
        * ----------------------------基础数据(数据字典)-----------------------------
        */
-      {
-        name: 'SystemDataDictionary',
-        path: '/system/systemDataDictionary',
-        component: () => import('@/views/system/systemDataDictionary/index.vue'),
-        meta: {
-          parent: 'BasicData',
-          title: '数据字典'
-        }
-      },
+      // {
+      //   name: 'SystemDataDictionary',
+      //   path: '/system/systemDataDictionary',
+      //   component: () => import('@/views/system/systemDataDictionary/index.vue'),
+      //   meta: {
+      //     parent: 'BasicData',
+      //     title: '数据字典'
+      //   }
+      // },
       {
         name: 'SystemDataDictionary',
         path: '/system/systemDataDictionary/:dictId',

+ 3 - 2
vue.config.js

@@ -17,7 +17,7 @@ module.exports = defineConfig({
       },
       ['/api/kgqa']: {
         // target: 'http://192.168.0.107:7073',
-        target: 'http://192.168.0.103:7074',
+        target: 'http://localhost:7074',
         ws: false,
         changeOrigin: true,
         pathRewrite: {
@@ -25,7 +25,8 @@ module.exports = defineConfig({
         }
       },
       ['/api/knowledge_base']: {
-        target: 'http://192.168.0.103:7861',
+        // target: 'http://192.168.0.103:7861',
+        target: 'http://localhost:7861',
         ws: false,
         changeOrigin: true,
         pathRewrite: {