From 7d84e735e24be70b8ca39356add87c0b93d2243a Mon Sep 17 00:00:00 2001 From: xiaohuo <14141624+dsgfhrh@user.noreply.gitee.com> Date: Tue, 23 Sep 2025 22:17:29 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E5=89=8D=E7=AB=AF=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=EF=BC=8C=E7=94=A8=E4=BA=8E=E8=AE=BF=E9=97=AE=E6=9C=AC=E5=9C=B0?= =?UTF-8?q?=E5=90=8E=E7=AB=AF=EF=BC=8C=E4=B8=8D=E6=8E=A8=E9=80=81=E8=BF=9C?= =?UTF-8?q?=E7=A8=8B=E4=BD=BF=E7=94=A8"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 4299c13122bf66becc3eab7ca03b545338f9c8b8. --- ALOps_sys_fe/alops-ui/.env.development | 2 +- ALOps_sys_fe/alops-ui/package.json | 1 - ALOps_sys_fe/alops-ui/src/router/index.js | 15 +-------------- ALOps_sys_fe/alops-ui/vue.config.js | 2 +- 4 files changed, 3 insertions(+), 17 deletions(-) diff --git a/ALOps_sys_fe/alops-ui/.env.development b/ALOps_sys_fe/alops-ui/.env.development index cc67cd89..fb5fbac8 100644 --- a/ALOps_sys_fe/alops-ui/.env.development +++ b/ALOps_sys_fe/alops-ui/.env.development @@ -5,7 +5,7 @@ VUE_APP_TITLE = 中国烟草 ENV = 'development' # 若依管理系统/开发环境 -VUE_APP_BASE_API = '/dev-api' +VUE_APP_BASE_API = 'http://39.102.212.161:8080' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/ALOps_sys_fe/alops-ui/package.json b/ALOps_sys_fe/alops-ui/package.json index 9d2ddabc..7a122d05 100644 --- a/ALOps_sys_fe/alops-ui/package.json +++ b/ALOps_sys_fe/alops-ui/package.json @@ -7,7 +7,6 @@ "scripts": { "dev": "vue-cli-service serve", "build:prod": "vue-cli-service build", - "build:dev": "vue-cli-service build --mode development", "build:stage": "vue-cli-service build --mode staging", "preview": "node build/index.js --preview" }, diff --git a/ALOps_sys_fe/alops-ui/src/router/index.js b/ALOps_sys_fe/alops-ui/src/router/index.js index 0ffadc7e..175e7e6c 100644 --- a/ALOps_sys_fe/alops-ui/src/router/index.js +++ b/ALOps_sys_fe/alops-ui/src/router/index.js @@ -134,20 +134,7 @@ export const dynamicRoutes = [ } ] }, - { - path: '/system/dict-data', - component: Layout, - hidden: true, - permissions: ['system:dict:list'], - children: [ - { - path: 'index/:dictId(\\d+)', - component: () => import('@/views/system/dict/data'), - name: 'Data', - meta: { title: '字典数据', activeMenu: '/system/dict' } - } - ] - }, + { path: '/monitor/job-log', component: Layout, diff --git a/ALOps_sys_fe/alops-ui/vue.config.js b/ALOps_sys_fe/alops-ui/vue.config.js index e56f1f3d..65cd2195 100644 --- a/ALOps_sys_fe/alops-ui/vue.config.js +++ b/ALOps_sys_fe/alops-ui/vue.config.js @@ -8,7 +8,7 @@ function resolve(dir) { const CompressionPlugin = require('compression-webpack-plugin') const name = process.env.VUE_APP_TITLE || '中国烟草运维管理系统' // 网页标题 -// http://39.102.212.161:8080 + const baseUrl = 'http://39.102.212.161:8080' // 后端接口 const port = process.env.port || process.env.npm_config_port || 80 // 端口