fix:ifream链接调整
This commit is contained in:
parent
f4a83c8f9a
commit
b5dbf326cb
@ -115,7 +115,7 @@ export default {
|
||||
title: '绿色交易',
|
||||
icon: 'user',
|
||||
name: 'lsjy',
|
||||
},{
|
||||
}, {
|
||||
id: 'zzjggl',
|
||||
title: '质证结果管理',
|
||||
icon: 'user',
|
||||
@ -152,14 +152,19 @@ export default {
|
||||
};
|
||||
},
|
||||
created() {
|
||||
|
||||
|
||||
},
|
||||
activated() {
|
||||
console.log("glxtSy.vue,created==>", this.$route)
|
||||
// this.initView();
|
||||
// const activeCompo = this.$route.query.activeCompo;
|
||||
// if (activeCompo) {
|
||||
// this.changeHandler(activeCompo);
|
||||
// }
|
||||
|
||||
this.gotoPage(this.cdList[0].id);
|
||||
|
||||
let cdId = this.cdList[0].id;
|
||||
const activeCompo = this.$route.query.activeCompo;
|
||||
if (activeCompo) {
|
||||
// this.changeHandler(activeCompo);
|
||||
cdId = activeCompo;
|
||||
}
|
||||
this.gotoPage(cdId);
|
||||
},
|
||||
methods: {
|
||||
gotoPage(menuId) {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div>
|
||||
<Nav @gotoIfreamPage="gotoIfreamPage" @gotoPage="gotoPage" />
|
||||
<div :style="{ 'height': documentClientHeight-64 + 'px' ,'margin-top':'64px'}">
|
||||
<div :style="{ 'height': documentClientHeight-65 + 'px' ,'margin-top':'64px' ,'overflow':'auto'}">
|
||||
<iframe v-if="iframeUrl" :src="iframeUrl" width="100%" height="100%" frameborder="0" scrolling="yes">
|
||||
</iframe>
|
||||
<keep-alive v-else>
|
||||
@ -49,9 +49,13 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
gotoPage(name) {
|
||||
this.$router.push({
|
||||
path: "/" + name
|
||||
})
|
||||
this.iframeUrl = "";
|
||||
this.$nextTick(() => {
|
||||
this.$router.push({
|
||||
path: "/" + name
|
||||
})
|
||||
});
|
||||
|
||||
|
||||
// // this.$router.replace({ name: name, force: true })
|
||||
// alert(name)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user