diff --git a/txw-mhzc-web/src/pages/index/views/glxtSy/glxtSy.vue b/txw-mhzc-web/src/pages/index/views/glxtSy/glxtSy.vue index 0a0d60d..8daecc9 100644 --- a/txw-mhzc-web/src/pages/index/views/glxtSy/glxtSy.vue +++ b/txw-mhzc-web/src/pages/index/views/glxtSy/glxtSy.vue @@ -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) { diff --git a/txw-mhzc-web/src/pages/index/views/main.vue b/txw-mhzc-web/src/pages/index/views/main.vue index 8257464..8036047 100644 --- a/txw-mhzc-web/src/pages/index/views/main.vue +++ b/txw-mhzc-web/src/pages/index/views/main.vue @@ -1,7 +1,7 @@