修改 政策法规库——问题项管控 事业部、产品规划部 历史记录返回功能调整

This commit is contained in:
baoyu
2024-05-13 16:16:48 +08:00
parent 4f2ee3f622
commit bb4d94b347
3 changed files with 10 additions and 10 deletions
@@ -48,6 +48,10 @@ export default {
// this.getActiveName() // this.getActiveName()
}, },
mounted () { mounted () {
if (this.$route.query.keynoteActiveName) {
this.keynoteActiveName = this.$route.query.keynoteActiveName
this.$router.replace({ query: null })
}
var list = []; var list = [];
const menuList = this.$store.getters.getMenuList; const menuList = this.$store.getters.getMenuList;
let menuData = []; let menuData = [];
@@ -381,11 +381,8 @@ export default {
this.searchSarAccess() this.searchSarAccess()
}, },
back() { back() {
this.$router.push({ this.$router.replace({
name: 'NonConfomity', name: 'ProblemControl'
query:{
activeName:'keynote'
}
}) })
}, },
// 清空 查询条件 // 清空 查询条件
@@ -567,11 +567,10 @@ export default {
this.getTableBtn() this.getTableBtn()
}, },
back () { back () {
this.$router.push({ this.$router.replace({
name: 'NonConfomity', name: 'ProblemControl',
query:{ query: {
activeName:'keynote', keynoteActiveName: 'product'
keynoteActiveName:'product'
} }
}) })
}, },