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 @@