diff --git a/.env.prod b/.env.prod index b9c2ff83..922ccff9 100644 --- a/.env.prod +++ b/.env.prod @@ -15,12 +15,11 @@ VUE_APP_TITLE = MES系统 VUE_APP_BASE_API = '/prod-api' # 积木报表指向地址 -VUE_APP_JIMU_API = 'http://192.168.0.33:8889/' +VUE_APP_JIMU_API = 'http://10.70.2.2:8080' # 根据服务器或域名修改 -PUBLIC_PATH = 'http://192.168.0.33:8889/' -# PUBLIC_PATH = 'http://10.70.2.32/' +PUBLIC_PATH = 'http://10.70.2.32' # 二级部署路径 # VUE_APP_APP_NAME ='yudao-admin' diff --git a/.env.stage b/.env.stage index b25d7a96..c609d811 100644 --- a/.env.stage +++ b/.env.stage @@ -1,16 +1,21 @@ -NODE_ENV = production +# 生产环境配置 +ENV = 'production' # 页面标题 -VUE_APP_TITLE = 产线监控系统 +VUE_APP_TITLE = MES系统 -# 测试环境配置 -ENV = 'staging' +# 芋道管理系统/生产环境 +VUE_APP_BASE_API = '/prod-api' -# 芋道管理系统/测试环境 -VUE_APP_BASE_API = 'http://api-dashboard.yudao.iocoder.cn' +# 积木报表指向地址 +VUE_APP_JIMU_API = 'http://192.168.0.33:48082' -# 静态资源地址 -PUBLIC_PATH = 'http://static.yudao.iocoder.cn/' + +# 根据服务器或域名修改 +PUBLIC_PATH = 'http://192.168.0.33:8889/' + +# 二级部署路径 +# VUE_APP_APP_NAME ='yudao-admin' # 多租户的开关 VUE_APP_TENANT_ENABLE = true @@ -23,4 +28,3 @@ VUE_APP_DOC_ENABLE = false # 百度统计 VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab - diff --git a/src/router/index.js b/src/router/index.js index 40189532..0686616c 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -104,7 +104,7 @@ export const constantRoutes = [ // this generates a separate chunk (about.[hash].js) for this route // which is lazy-loaded when the route is visited. component: () => import(/* webpackChunkName: "about" */ '@/views/OperationalOverview/coldBoard.vue') - }, + }, { path: '/processingBoard', name: 'processingBoard',