|
|
|
|
@ -1,4 +1,5 @@
|
|
|
|
|
<template>
|
|
|
|
|
|
|
|
|
|
<div :class="classObj" class="app-wrapper">
|
|
|
|
|
<div class="top-head-bar">
|
|
|
|
|
<div class="top-head-bar__logo">
|
|
|
|
|
@ -69,7 +70,7 @@
|
|
|
|
|
<div
|
|
|
|
|
style="width: 100%; height: 100%; padding-top: 50px; overflow-x: hidden"
|
|
|
|
|
>
|
|
|
|
|
<iframe ref="oldIframe">你的浏览器不支持该iframe</iframe>
|
|
|
|
|
<iframe ref="oldIframe" :src="oldUrl">你的浏览器不支持该iframe</iframe>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-else>
|
|
|
|
|
@ -106,7 +107,7 @@ export default {
|
|
|
|
|
active: 0,
|
|
|
|
|
bookUrl: process.env.VUE_APP_OUT_Book,
|
|
|
|
|
gdzcUrl: `${process.env.VUE_APP_OUT_GDZC}?id=${this.$store.state.user.userId}&username=${this.$store.state.user.username}`,
|
|
|
|
|
oldUrl: ``,
|
|
|
|
|
oldUrl: `${process.env.VUE_APP_OUT_OLD}/login/oss_login?id=${this.$store.state.user.userId}&username=${this.$store.state.user.username}`,
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
computed: {
|
|
|
|
|
@ -159,23 +160,27 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
"*"
|
|
|
|
|
);
|
|
|
|
|
});
|
|
|
|
|
},800);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (url === "/old") {
|
|
|
|
|
axios
|
|
|
|
|
.get('/old', {
|
|
|
|
|
url:'/index.php',
|
|
|
|
|
params: {
|
|
|
|
|
s: "/login/oss_login",
|
|
|
|
|
id: this.$store.state.user.userId,
|
|
|
|
|
username: this.$store.state.user.username,
|
|
|
|
|
},
|
|
|
|
|
})
|
|
|
|
|
.then((res) => {
|
|
|
|
|
this.oldUrl = `${process.env.VUE_APP_OUT_OLD}${res.data.data}`
|
|
|
|
|
this.$refs['oldIframe'].src = this.oldUrl
|
|
|
|
|
});
|
|
|
|
|
return false;
|
|
|
|
|
this.gdzcUrl = `${process.env.VUE_APP_OUT_OLD}/login/oss_login?id=`+this.$store.state.user.userId+`&username=`+this.$store.state.user.username;
|
|
|
|
|
//this.$refs['oldIframe'].src = this.oldUrl;
|
|
|
|
|
|
|
|
|
|
// axios
|
|
|
|
|
// .get('/old', {
|
|
|
|
|
// url:'/index.php',
|
|
|
|
|
// params: {
|
|
|
|
|
// s: "/login/oss_login",
|
|
|
|
|
// id: this.$store.state.user.userId,
|
|
|
|
|
// username: this.$store.state.user.username,
|
|
|
|
|
// },
|
|
|
|
|
// })
|
|
|
|
|
// .then((res) => {
|
|
|
|
|
// this.oldUrl = `${process.env.VUE_APP_OUT_OLD}${res.data.data}`
|
|
|
|
|
// this.$refs['oldIframe'].src = this.oldUrl
|
|
|
|
|
// });
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
immediate: true,
|
|
|
|
|
|