Commit 5833ebc1 authored by youjie's avatar youjie

no message

parent 0a303de5
...@@ -119,7 +119,9 @@ export default { ...@@ -119,7 +119,9 @@ export default {
let lxymallUrl = ''; //国内游api let lxymallUrl = ''; //国内游api
let crmUrl = ""; //crm API let crmUrl = ""; //crm API
let locationName = window.location.hostname; let locationName = window.location.hostname;
domainUrl = "http://192.168.10.128"; // 刘东电脑 domainUrl = "http://192.168.10.25:8083"; // 刘东电脑
domainUrl = "http://192.168.10.226:8015";
// domainUrl = "http://reborn.oytour.com";
let crmLocalFileStreamDownLoadUrl = ""; let crmLocalFileStreamDownLoadUrl = "";
crmLocalFileStreamDownLoadUrl = locationName.indexOf('oytour') !== -1 ? "http://crm.oytour.com" : "http://testcrm.oytour.com"; crmLocalFileStreamDownLoadUrl = locationName.indexOf('oytour') !== -1 ? "http://crm.oytour.com" : "http://testcrm.oytour.com";
...@@ -172,7 +174,7 @@ export default { ...@@ -172,7 +174,7 @@ export default {
mallUrl: mallUrl, mallUrl: mallUrl,
lxymallUrl: lxymallUrl, lxymallUrl: lxymallUrl,
crmUrl: crmUrl, crmUrl: crmUrl,
crmRoutingUrl: locationName.indexOf('oytour') !== -1 || locationName.indexOf('viitto') !== -1 ? "http://fcrmyx.oytour.com/#/" : "http://localhost:8080/#/", crmRoutingUrl: locationName.indexOf('oytour') !== -1 || locationName.indexOf('viitto') !== -1 ? "http://fcrmyx.oytour.com/#/" : "http://localhost:8081/#/",
}; };
return obj; return obj;
}, },
...@@ -286,7 +288,7 @@ export default { ...@@ -286,7 +288,7 @@ export default {
guestId: guestId, guestId: guestId,
} }
}) })
} }
else if (this.$route.path == "/clientConfirmRB") { else if (this.$route.path == "/clientConfirmRB") {
let TCID = this.$route.query.TCID; let TCID = this.$route.query.TCID;
let orderID = this.$route.query.orderID; let orderID = this.$route.query.orderID;
...@@ -299,7 +301,7 @@ export default { ...@@ -299,7 +301,7 @@ export default {
guestId: guestId, guestId: guestId,
} }
}) })
} }
else if (this.$route.path == "/TravelContractConfirm") { else if (this.$route.path == "/TravelContractConfirm") {
let ContractId = this.$route.query.ContractId; let ContractId = this.$route.query.ContractId;
this.$router.push({ this.$router.push({
...@@ -378,10 +380,12 @@ export default { ...@@ -378,10 +380,12 @@ export default {
} }
}) })
.then(res => { .then(res => {
//Token 10000 过期 10001 不合法
if (res.data.resultCode == 10000 || res.data.resultCode == 10001) { if (res.data.resultCode == 10000 || res.data.resultCode == 10001) {
if (this.getLocalStorage()) { // if (this.getLocalStorage()) {
this.goToLogin(2); // this.goToLogin(2);
} // }
this.goToLogin(2);
} else if (res.resultCode == 10005) { } else if (res.resultCode == 10005) {
this.$router.go(-1); this.$router.go(-1);
} else { } else {
......
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