Commit bb150e8f authored by zhengke's avatar zhengke

增加酒店跳转

parent fe773c32
...@@ -80,6 +80,7 @@ ...@@ -80,6 +80,7 @@
import routerConfig from '../router/config'; import routerConfig from '../router/config';
import analogIFrame from './analogIFrame'; import analogIFrame from './analogIFrame';
import MsgBus from '../assets/utils/msgBus.js'; import MsgBus from '../assets/utils/msgBus.js';
import { ALPN_ENABLED } from 'constants';
export default { export default {
data() { data() {
return { return {
...@@ -107,6 +108,8 @@ export default { ...@@ -107,6 +108,8 @@ export default {
openMode:0, openMode:0,
blankUrl:'', blankUrl:'',
navWidth:0, navWidth:0,
//加密id
EnCodeWord:''
}; };
}, },
components:{ components:{
...@@ -849,7 +852,24 @@ export default { ...@@ -849,7 +852,24 @@ export default {
}, },
filterRouter(){ filterRouter(){
let that=this let that=this
let userInfo = this.getLocalStorage();
this.$router.beforeEach((to, from, next) => { this.$router.beforeEach((to, from, next) => {
if(to.path=='/JapanHotel'){
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="+this.EnCodeWord, "_blank");
} else {
this.Error(res.data.message);
}
},
err => {}
);
return;
}
document.title = to.meta.title ? to.meta.title+'-四川和平国际旅行社' : '四川和平国际旅行社' document.title = to.meta.title ? to.meta.title+'-四川和平国际旅行社' : '四川和平国际旅行社'
// console.log("to.query.blank && to.query.blank=='y'",to.query,"666") // console.log("to.query.blank && to.query.blank=='y'",to.query,"666")
if(to.path=="/ModifyVisaProduct"){ if(to.path=="/ModifyVisaProduct"){
......
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