Commit 57e7f8f7 authored by zhengke's avatar zhengke

修改合同

parent 4ab42b01
......@@ -10,7 +10,7 @@
float:left;
width: 150px;
height: 100%;
margin-left: 30px;
/* margin-left: 30px; */
position: fixed;
margin-top:100px;
}
......
......@@ -785,7 +785,7 @@
methods: {
//获取数据
getList(){
this.apiJavaPost("/api/contract/getContractInfoForCode",this.msg,res => {
this.apiJavaPost("/api/contract/getContractInfo",this.msg,res => {
console.log(res,'resss');
if (res.data.resultCode === 1) {
this.dataList = res.data.data;
......
......@@ -202,11 +202,28 @@
})
},
goUrl(path) {
this.$router.push({
path: path
})
},
},
if(path=='/JapanHotel'){
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>
......
......@@ -118,9 +118,10 @@ export default {
Vue.prototype.domainManager = function() {
let domainUrl = '';
let locationName = window.location.hostname;
domainUrl = "http://192.168.2.214:8082";
domainUrl = "http://192.168.2.65:8025";
domainUrl = "http://192.168.2.16:8083";
//domainUrl = "http://192.168.2.214:8082";
domainUrl = "http://192.168.2.65:8025";
//domainUrl = "http://192.168.2.16:8083";
//domainUrl = "http://192.168.0.110";
if (locationName.indexOf('oytour') !== -1) {
domainUrl = "http://reborn.oytour.com";
......@@ -354,7 +355,7 @@ export default {
},
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 = {
path: this.$route.name,
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