Commit 57e7f8f7 authored by zhengke's avatar zhengke

修改合同

parent 4ab42b01
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
float:left; float:left;
width: 150px; width: 150px;
height: 100%; height: 100%;
margin-left: 30px; /* margin-left: 30px; */
position: fixed; position: fixed;
margin-top:100px; margin-top:100px;
} }
......
...@@ -785,7 +785,7 @@ ...@@ -785,7 +785,7 @@
methods: { methods: {
//获取数据 //获取数据
getList(){ getList(){
this.apiJavaPost("/api/contract/getContractInfoForCode",this.msg,res => { this.apiJavaPost("/api/contract/getContractInfo",this.msg,res => {
console.log(res,'resss'); console.log(res,'resss');
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.dataList = res.data.data; this.dataList = res.data.data;
......
...@@ -202,11 +202,28 @@ ...@@ -202,11 +202,28 @@
}) })
}, },
goUrl(path) { goUrl(path) {
this.$router.push({ if(path=='/JapanHotel'){
path: path let userInfo = this.getLocalStorage();
}) let msg = {
}, id:userInfo.EmployeeId
}, }
this.apipost("sellorder_post_GetDesEncrypt",msg,res => {
if (res.data.resultCode == 1) {
this.EnCodeWord=res.data.data;
window.open("http://www.oytour.com/#/hotelHome?uid="+encodeURIComponent(this.EnCodeWord), "_blank");
} else {
this.Error(res.data.message);
}
},
err => {}
);
}else{
this.$router.push({
path: path
})
}
}
}
} }
</script> </script>
......
...@@ -118,9 +118,10 @@ export default { ...@@ -118,9 +118,10 @@ export default {
Vue.prototype.domainManager = function() { Vue.prototype.domainManager = function() {
let domainUrl = ''; let domainUrl = '';
let locationName = window.location.hostname; let locationName = window.location.hostname;
domainUrl = "http://192.168.2.214:8082"; //domainUrl = "http://192.168.2.214:8082";
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.0.110";
if (locationName.indexOf('oytour') !== -1) { if (locationName.indexOf('oytour') !== -1) {
domainUrl = "http://reborn.oytour.com"; domainUrl = "http://reborn.oytour.com";
...@@ -354,7 +355,7 @@ export default { ...@@ -354,7 +355,7 @@ export default {
}, },
Vue.prototype.apiJavaPost = function(cmd, msg, successCall, faildCall) { Vue.prototype.apiJavaPost = function(cmd, msg, successCall, faildCall) {
if (this.$route.name.indexOf('login') === -1 && this.$route.name.indexOf('confirmationOrderDownLoad') === -1 && this.$route.name.indexOf('PrintPage') === -1) { if (this.$route.name.indexOf('login') === -1 && this.$route.name.indexOf('confirmationOrderDownLoad') === -1 && this.$route.name.indexOf('PrintPage') === -1 && this.$route.name.indexOf('clientConfirm') === -1) {
let previousPathInfo = { let previousPathInfo = {
path: this.$route.name, path: this.$route.name,
query: this.$route.query query: this.$route.query
......
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