Commit ec2ddd8c authored by zhengke's avatar zhengke

修改跳转

parent e1a7239d
......@@ -117,7 +117,7 @@ export default {
}
},
mounted() {
if (!this.getLocalStorage() && document.URL.indexOf("SupplierLogin")==-1&& document.URL.indexOf("clientConfirm")==-1) {
if (!this.getLocalStorage() && document.URL.indexOf("SupplierLogin")==-1&& document.URL.indexOf("clientConfirm")==-1&& document.URL.indexOf("TravelContractConfirm")==-1) {
this.$router.push({
path: '/login'
})
......
......@@ -26,7 +26,9 @@
position: relative;
top: -3px;
}
.ContractManage .el-button+.el-button{
margin-left:0!important;
}
</style>
<template>
......
......@@ -113,9 +113,9 @@ export default {
let domainUrl = '';
//domainUrl = "http://192.168.0.125";
//domainUrl = "http://192.168.2.65:8025";
domainUrl = "http://192.168.2.16:8083"; // 吴春
//domainUrl = "http://192.168.2.16:8083"; // 吴春
//domainUrl = "http://192.168.2.214:8082"; // 吴春
//domainUrl = "http://192.168.0.125"; // 吴春
domainUrl = "http://192.168.0.125"; // 吴春
//domainUrl='http://reborn.oytour.com'
//domainUrl = "http://testapi.oytour.com";
let locationName = window.location.hostname;
......@@ -265,6 +265,11 @@ export default {
let TCID=this.$route.query.TCID;
let orderID=this.$route.query.orderID;
this.$router.push({ name: "clientConfirm",query: {TCID:TCID,orderID:orderID}})
}
else if (this.$route.path == "/TravelContractConfirm") {
let TCID=this.$route.query.TCID;
let orderID=this.$route.query.orderID;
this.$router.push({ name: "TravelContractConfirm",query: {TCID:TCID,orderID:orderID}})
} else {
if (!localStorage.userInfo && localStorage.userInfo != "" && this.$route.path.toLowerCase() != "/login") {
this.$router.push({
......
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