Commit 5833ebc1 authored by youjie's avatar youjie

no message

parent 0a303de5
......@@ -119,7 +119,9 @@ export default {
let lxymallUrl = ''; //国内游api
let crmUrl = ""; //crm API
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 = "";
crmLocalFileStreamDownLoadUrl = locationName.indexOf('oytour') !== -1 ? "http://crm.oytour.com" : "http://testcrm.oytour.com";
......@@ -172,7 +174,7 @@ export default {
mallUrl: mallUrl,
lxymallUrl: lxymallUrl,
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;
},
......@@ -286,7 +288,7 @@ export default {
guestId: guestId,
}
})
}
}
else if (this.$route.path == "/clientConfirmRB") {
let TCID = this.$route.query.TCID;
let orderID = this.$route.query.orderID;
......@@ -299,7 +301,7 @@ export default {
guestId: guestId,
}
})
}
}
else if (this.$route.path == "/TravelContractConfirm") {
let ContractId = this.$route.query.ContractId;
this.$router.push({
......@@ -378,10 +380,12 @@ export default {
}
})
.then(res => {
//Token 10000 过期 10001 不合法
if (res.data.resultCode == 10000 || res.data.resultCode == 10001) {
if (this.getLocalStorage()) {
this.goToLogin(2);
}
// if (this.getLocalStorage()) {
// this.goToLogin(2);
// }
this.goToLogin(2);
} else if (res.resultCode == 10005) {
this.$router.go(-1);
} 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