From 8e12e0fdd4dd59dcbe99c64fb731fb6b8fdc567d Mon Sep 17 00:00:00 2001 From: jxj_yjl <1490736767@qq.com> Date: Mon, 15 May 2023 21:48:02 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=88=90=E6=B6=A6=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/js/http.js | 4 +- src/pages/index/index.js | 2 +- src/views/companyAdmin/docManage.vue | 42 +++++++++++++------ src/views/homeTwo/homeIntro.vue | 6 +-- src/views/projectAdmin/fileCenter.vue | 39 ++++++++--------- .../environmentalMonitor/alarmValueSet.vue | 2 +- .../laborManage/dormitoryMod/checkIn.vue | 3 +- 7 files changed, 60 insertions(+), 38 deletions(-) diff --git a/src/assets/js/http.js b/src/assets/js/http.js index 81f2997d..904b652e 100644 --- a/src/assets/js/http.js +++ b/src/assets/js/http.js @@ -87,7 +87,9 @@ if (process.env.NODE_ENV == 'development') { // axios.defaults.baseURL = 'http://121.196.214.246/api/'//金林湾线上新 // axios.defaults.baseURL = 'http://42.194.144.62:8088/'//中建四局线上(新)地址 // axios.defaults.baseURL = 'http://101.43.164.214:12350'//中建五局线上 - axios.defaults.baseURL = 'http://182.90.224.147:15551/'//港投(成润)项目线上 + // axios.defaults.baseURL = 'http://182.90.224.147:15551/'//港投(成润)项目线上 + axios.defaults.baseURL = 'http://182.90.224.147:30262/'//港投(成润)项目线上 + } else if (process.env.NODE_ENV == 'debug') { axios.defaults.baseURL = 'https://www.ceshi.com' } else if (process.env.NODE_ENV == 'production') { diff --git a/src/pages/index/index.js b/src/pages/index/index.js index b4f7b82c..26d05c8e 100644 --- a/src/pages/index/index.js +++ b/src/pages/index/index.js @@ -277,7 +277,7 @@ Vue.prototype.getViewFilePath = function(row) { //路由监听 router.beforeEach((to, form, next) => { - const whitepage = ["/authentication", "/test", "/videoLearning",'/pages/projectEnd/safetyEducation/authentication']; + const whitepage = ["/authentication", "/test", "/videoLearning",'/pages/projectEnd/safetyEducation/authentication','/companyAdmin/docManage']; console.log('白名单跳转生效了嘛==============11111111111 :',to); diff --git a/src/views/companyAdmin/docManage.vue b/src/views/companyAdmin/docManage.vue index bc852ea7..f794427c 100644 --- a/src/views/companyAdmin/docManage.vue +++ b/src/views/companyAdmin/docManage.vue @@ -92,14 +92,20 @@