Commit 2e5e0bd6 authored by xinzhedeai's avatar xinzhedeai

url 替换

parent cc7526da
NODE_ENV = 'env' NODE_ENV = 'env'
#VUE_APP_BASE_API = 'http://192.168.100.226:8080/env' #VUE_APP_BASE_API = 'http://192.168.100.226:8080/env'
VUE_APP_BASE_API = 'http://192.168.3.188:8000/env' VUE_APP_BASE_API = 'http://192.168.3.166:8000/env'
APP_BASE_API = 'http://192.168.3.188:8000/ APP_BASE_API = 'http://192.168.3.166:8000/
BASE_URL = 'http://192.168.3.188:8000/ BASE_URL = 'http://192.168.3.166:8000/
outputDir = 'env' outputDir = 'env'
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<script type="text/javascript" src="./js/liveplayer-lib.min.js"></script> <script type="text/javascript" src="./js/liveplayer-lib.min.js"></script>
<!-- 直接复制 放在<head>标签里面 没写会报错 videojs is not defined --> <!-- 直接复制 放在<head>标签里面 没写会报错 videojs is not defined -->
<script src="https://webapi.amap.com/maps?v=1.4.15&key=bfa930cbec820fc1c16f8f54348f98e3&plugin=Map3D,AMap.DistrictSearch,AMap.Geocoder,AMap.MouseTool,AMap.Autocomplete,AMap.PlaceSearch"></script> <script src="https://webapi.amap.com/maps?v=2.0&key=9e86fc7efe0d330b538fbbcad0d15943&plugin=Map3D,AMap.DistrictSearch,AMap.Geocoder,AMap.MouseTool,AMap.Autocomplete,AMap.PlaceSearch"></script>
<link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/animate.css/4.1.1/animate.css" /> <link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/animate.css/4.1.1/animate.css" />
......
...@@ -227,23 +227,23 @@ export default { ...@@ -227,23 +227,23 @@ export default {
if (event.button == 2) { if (event.button == 2) {
if (title == '锡林矿业') { if (title == '锡林矿业') {
window.open('http://dwqdp.jingkongyun.com/three/?id=5', '_blank'); window.open('http://60.31.138.166:8002/three/?id=5', '_blank');
} }
if (title == '融冠矿业') { if (title == '融冠矿业') {
window.open('http://dwqdp.jingkongyun.com/three/?id=4', '_blank'); window.open('http://60.31.138.166:8002/three/?id=4', '_blank');
} }
if (title == '钨矿') { if (title == '钨矿') {
window.open('http://dwqdp.jingkongyun.com/three/?id=3', '_blank'); window.open('http://60.31.138.166:8002/three/?id=3', '_blank');
} }
if (title == '山金阿尔哈达') { if (title == '山金阿尔哈达') {
window.open('http://dwqdp.jingkongyun.com/three/?id=2', '_blank'); window.open('http://60.31.138.166:8002/three/?id=2', '_blank');
} }
if (title == '山金白音呼布') { if (title == '山金白音呼布') {
window.open('http://dwqdp.jingkongyun.com/three/?id=1', '_blank'); window.open('http://60.31.138.166:8002/three/?id=1', '_blank');
} }
} else { } else {
......
...@@ -11,34 +11,34 @@ export default { ...@@ -11,34 +11,34 @@ export default {
let title = this.$store.state.compony_info.name; let title = this.$store.state.compony_info.name;
if (title == '锡林矿业') { if (title == '锡林矿业') {
window.open('http://dwqdp.jingkongyun.com/xilin/', '_blank'); window.open('http://60.31.138.166:8002/xilin/', '_blank');
} else if (title == '融冠矿业') { } else if (title == '融冠矿业') {
//window.open('http://ndwqu3.jingkongyun.com/3DRongGuan/', '_blank'); //window.open('http://ndwqu3.jingkongyun.com/3DRongGuan/', '_blank');
window.open('http://dwqdp.jingkongyun.com/3DRongGuan/index.html', '_blank'); window.open('http://60.31.138.166:8002/3DRongGuan/index.html', '_blank');
} else if (title == '钨矿') { } else if (title == '钨矿') {
window.open('http://dwqdp.jingkongyun.com/wukuang/', '_blank'); window.open('http://60.31.138.166:8002/wukuang/', '_blank');
} else if (title == '山金阿尔哈达') { } else if (title == '山金阿尔哈达') {
//window.open('http://dwqdp.jingkongyun.com/three/?id=2', '_blank'); //window.open('http://60.31.138.166:8002/three/?id=2', '_blank');
window.open('http://dwqdp.jingkongyun.com/aerhada/', '_blank'); window.open('http://60.31.138.166:8002/aerhada/', '_blank');
} else if (title == '山金白音呼布') { } else if (title == '山金白音呼布') {
//window.open('http://dwqdp.jingkongyun.com/three/?id=1', '_blank'); //window.open('http://60.31.138.166:8002/three/?id=1', '_blank');
window.open('http://dwqdp.jingkongyun.com/baiyinhubu/', '_blank'); window.open('http://60.31.138.166:8002/baiyinhubu/', '_blank');
} else if (title == '宝力格') { } else if (title == '宝力格') {
window.open('http://dwqdp.jingkongyun.com/baolige/', '_blank'); window.open('http://60.31.138.166:8002/baolige/', '_blank');
} else if (title == '雅斯作业区') { } else if (title == '雅斯作业区') {
window.open('http://dwqdp.jingkongyun.com/yasi/', '_blank'); window.open('http://60.31.138.166:8002/yasi/', '_blank');
} else if (title == '阿尔作业区') { } else if (title == '阿尔作业区') {
window.open('http://dwqdp.jingkongyun.com/aer/', '_blank'); window.open('http://60.31.138.166:8002/aer/', '_blank');
} else if (title == '沈铁物流') { } else if (title == '沈铁物流') {
window.open('http://dwqdp.jingkongyun.com/shentiewuliu/', '_blank'); window.open('http://60.31.138.166:8002/shentiewuliu/', '_blank');
} else if (title == '延长宏博') { } else if (title == '延长宏博') {
window.open('http://dwqdp.jingkongyun.com/yanchanghongbo/', '_blank'); window.open('http://60.31.138.166:8002/yanchanghongbo/', '_blank');
} else if (title == '中康石油') { } else if (title == '中康石油') {
window.open('http://dwqdp.jingkongyun.com/zhongkangshiyou/', '_blank'); window.open('http://60.31.138.166:8002/zhongkangshiyou/', '_blank');
} else if (title == '天地煤矿') { } else if (title == '天地煤矿') {
window.open('http://dwqdp.jingkongyun.com/tiandimeikuang/', '_blank'); window.open('http://60.31.138.166:8002/tiandimeikuang/', '_blank');
} else if (title == '乌尼特煤矿') { } else if (title == '乌尼特煤矿') {
window.open('http://dwqdp.jingkongyun.com/wunite/', '_blank'); window.open('http://60.31.138.166:8002/wunite/', '_blank');
} else { } else {
this.$notify.error({ this.$notify.error({
title: '错误', title: '错误',
......
...@@ -6,7 +6,7 @@ const service = axios.create({ ...@@ -6,7 +6,7 @@ const service = axios.create({
// baseURL: 'http://39.98.150.124:8888/', // baseURL: 'http://39.98.150.124:8888/',
// baseURL: 'http://39.98.150.124:8000/', // baseURL: 'http://39.98.150.124:8000/',
// baseURL: 'http://192.168.1.123:8000/', // baseURL: 'http://192.168.1.123:8000/',
//baseURL: 'http://192.168.3.188:8000/', //baseURL: 'http://192.168.3.166:8000/',
// baseURL: 'http://120.224.103.84:9111/', // baseURL: 'http://120.224.103.84:9111/',
baseURL: 'http://60.31.138.166:8000/', baseURL: 'http://60.31.138.166:8000/',
timeout: 30000, timeout: 30000,
......
...@@ -145,6 +145,8 @@ export default { ...@@ -145,6 +145,8 @@ export default {
console.log('AsD'+localStorage.getItem('token4dp')+'sVsf') console.log('AsD'+localStorage.getItem('token4dp')+'sVsf')
axios({ axios({
url: 'http://60.31.138.166:8000/auth/info', url: 'http://60.31.138.166:8000/auth/info',
// url: 'http://192.168.3.166:8000/auth/info',
method: 'get', method: 'get',
headers: { headers: {
Authorization: localStorage.getItem('token4dp'), Authorization: localStorage.getItem('token4dp'),
...@@ -160,6 +162,8 @@ export default { ...@@ -160,6 +162,8 @@ export default {
.catch(err => { .catch(err => {
// console.log('用户信息错误',err) // console.log('用户信息错误',err)
location.href = 'http://60.31.138.166:8001/login?from=daping' location.href = 'http://60.31.138.166:8001/login?from=daping'
// location.href = 'http://192.168.3.38:8013/login?from=daping'
}) })
}, },
onRightImg() { onRightImg() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment