diff --git a/src/assets/js/http.js b/src/assets/js/http.js index 1eb16f4a..7f603ff5 100644 --- a/src/assets/js/http.js +++ b/src/assets/js/http.js @@ -73,7 +73,8 @@ if (process.env.NODE_ENV == 'development') { // axios.defaults.baseURL = 'http://101.43.164.214:12350/'//中建五局线上 // axios.defaults.baseURL = 'http://182.90.224.147:15551/'//港投(成润)项目线上(1) // axios.defaults.baseURL = 'http://118.121.198.147:23232/'//港投(成润)正式 - // axios.defaults.baseURL ='http://jxj.zhgdyun.com:100/' //演示平台/· + axios.defaults.baseURL ='http://jxj.zhgdyun.com:100/' //演示平台/· + // axios.defaults.baseURL ='http://jxj.zhgdyun.com:15551/' //星纵项目演示平台/· // axios.defaults.baseURL ='http://192.168.34.221:8188/' //郭圣雄本地 // axios.defaults.baseURL ='http://192.168.34.221:30001/' //郭圣雄本地 // axios.defaults.baseURL ='http://192.168.34.221:12350/' //金林湾本地 @@ -92,7 +93,7 @@ if (process.env.NODE_ENV == 'development') { // axios.defaults.baseURL ='http://101.43.164.214:11111/' // 百色三标段项目 // axios.defaults.baseURL = 'http://125.88.207.86:8088/'//中建四局线上(最新)地址 // axios.defaults.baseURL = 'http://125.88.207.86:8099/'//中建四局(沙湖)线上(最新)地址 - axios.defaults.baseURL = 'http://47.93.215.234:9809/'//鞍钢集团线上(最新)地址 + // axios.defaults.baseURL = 'http://47.93.215.234:9809/'//鞍钢集团线上(最新)地址 diff --git a/src/store/index.js b/src/store/index.js index 4d1c708a..b4d81501 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -48,8 +48,8 @@ export default new Vuex.Store({ // FILEURL:' http://101.43.164.214:11111/image/',// 百色 // UPLOADURL:'http://192.168.34.221:9111/upload/image/',// 郭圣雄 // FILEURL:'http://192.168.34.221:9111/image/',//郭圣雄 - UPLOADURL:'http://192.168.34.221:28888/upload/image/',// 郭圣雄 - FILEURL:'http://192.168.34.221:28888/image/',//郭圣雄 + // UPLOADURL:'http://192.168.34.221:28888/upload/image/',// 郭圣雄 + // FILEURL:'http://192.168.34.221:28888/image/',//郭圣雄 // UPLOADURL:'http://jxj.zhgdyun.com:100/upload/image/',// 演示平台 // FILEURL:'http://jxj.zhgdyun.com:100/image/',// 演示平台 // UPLOADURL:'http://angang.xingzong.tech:9809/image/',// 鞍钢集团 @@ -57,15 +57,15 @@ export default new Vuex.Store({ // UPLOADURL:'http://10.0.1.43:6023/upload/image',//测试 // FILEURL:'http://10.0.1.43:6023/image/',//测试 - // BASEURL: baseUrl - // ? baseUrl - // : window.location.protocol + "//" + window.location.host + "/", //正式环境 - // UPLOADURL: - // window.location.protocol + - // "//" + - // window.location.host + - // "/upload/image", //正式环境 - // FILEURL: window.location.protocol + "//" + window.location.host + "/image/", //正式环境 + BASEURL: baseUrl + ? baseUrl + : window.location.protocol + "//" + window.location.host + "/", //正式环境 + UPLOADURL: + window.location.protocol + + "//" + + window.location.host + + "/upload/image", //正式环境 + FILEURL: window.location.protocol + "//" + window.location.host + "/image/", //正式环境 //--------------------------------------------------------------------------------------------- // BASEURL: baseUrl // ? baseUrl