wangting
2024-03-27 353efff194122e281925a390be5d576c2f4fff6d
Source/ProjectWeb/src/components/dynamic-components/dynamic-TreeTable.vue
@@ -367,6 +367,12 @@
          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() {
@@ -377,12 +383,16 @@
  },
  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
      });
    },
  }
}