| | |
| | | this.$store.state.themeflag = false; |
| | | $("#app").removeClass("Black_theme"); |
| | | this.getMenuTree(); |
| | | if (sessionStorage.getItem('changeliSelect')) { |
| | | this.$set(this, 'changeliSelect', sessionStorage.getItem('changeliSelect')) |
| | | // this.changeliSelect = sessionStorage.getItem('changeliSelect') |
| | | } |
| | | }, |
| | | computed: {}, |
| | | methods: { |
| | |
| | | |
| | | //鼠标移入菜单事件 |
| | | setMenuMove(index, item) { |
| | | |
| | | if (item.perms != null) { |
| | | this.$router.push(item.url); |
| | | if (this.showFlag != null) { |
| | |
| | | } else { |
| | | this.showFlag = null; |
| | | } |
| | | } |
| | | // debugger |
| | | if (index === 4 || index === 5 || index === 6) { |
| | | sessionStorage.removeItem('changeliSelect') |
| | | this.$set(this, 'changeliSelect', null) |
| | | } |
| | | sessionStorage.setItem('changeSelectStyle', index) |
| | | this.changeSelectStyle = index; |
| | |
| | | }, |
| | | setLiClick(res, index) { |
| | | setTimeout(() => { |
| | | // debu |
| | | |
| | | this.changeliSelect = res.cnName; |
| | | sessionStorage.setItem('changeliSelect', res.cnName) |
| | | if (res.url.indexOf('http') != -1) { |
| | | this.$store.reporturl = res.url; |
| | | sessionStorage.setItem('iframehttpurl', this.$store.reporturl) |
| | |
| | | } else { |
| | | this.$store.reporturl = null; |
| | | sessionStorage.setItem('iframehttpurl', null) |
| | | // sessionStorage.setItem('changeliSelect', null) |
| | | this.$router.push(res.url); |
| | | this.$store.commit('currentPerms', res.perms); |
| | | } |