Commit ec2ddd8c authored by zhengke's avatar zhengke

修改跳转

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