Commit bb150e8f authored by zhengke's avatar zhengke

增加酒店跳转

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