| | |
| | | currView: "chart", |
| | | } |
| | | }, |
| | | mounted() {}, |
| | | mounted() { |
| | | this.$bus.$on('changeProject', name => { |
| | | if (name == '全国项目' || name == '全球项目') { |
| | | this.OpenProjectree() |
| | | } |
| | | }) |
| | | }, |
| | | methods: { |
| | | ReturnLast() { |
| | | this.$router.push("/Synthesis") |
| | |
| | | this.currView = "chart" |
| | | this.screen = true |
| | | this.$parent.$refs.mapleft.OpenLeftInit() |
| | | this.$parent.$refs.mapright.OpenLeftInit() |
| | | }, |
| | | |
| | | //打开工程树 |
| | | OpenProjectree() { |
| | | this.screen = false |
| | | |
| | | this.currView = "tree" |
| | | |
| | | this.$parent.$refs.mapleft.OpenLeftProjectTree() |
| | | this.$parent.$refs.mapright.OpenLeftProjectTree() |
| | | |
| | | }, |
| | | }, |
| | | } |
| | | </script> |
| | | <style lang="scss"> |
| | | <style lang="less"> |
| | | .top { |
| | | height: 100%; |
| | | width: 100%; |