| | |
| | | this.parentHeight = this.$el.clientHeight - this.$children[0].$children[1].$children[0].$el.clientHeight - this.$children[0].$children[2].$el.clientHeight - 5; |
| | | } |
| | | } |
| | | }, |
| | | sourceData:{ |
| | | handler(newval) { |
| | | console.log(this.areasName); |
| | | console.log(newval); |
| | | } |
| | | } |
| | | }, |
| | | mounted() { |
| | |
| | | }, |
| | | computed: { |
| | | pageType() { |
| | | return this.areasName === 'westArea' ? this.simplePage : this.page; |
| | | return this.areasName.indexOf('westArea') == 0 ? this.simplePage : this.page; |
| | | } |
| | | }, |
| | | methods: { |
| | | TreeSelectChange(row) { |
| | | this.TreeSelectList = row; |
| | | this.$emit("setDataStore", { |
| | | area: this.areasName, |
| | | dataStore:row |
| | | }); |
| | | }, |
| | | } |
| | | } |