wangting
2024-05-09 4e778d7f61e2508455e3a69815f7a17c455d81da
Source/ProjectWeb/src/components/dynamic-components/dynamic-tree.vue
@@ -4,6 +4,7 @@
                    :key="areasName+'buttons-'+componentVO.oid"
                    :butttonList="componentVO.buttons" :dataStore="checkDatas"
                    @afterMethod="handleRefresh"
                    @refresh="initData"
                    :sourceData="sourceData" type="tree" style="margin-bottom: 5px;"></dynamic-button>
    <el-input
      placeholder="输入关键字进行过滤"
@@ -155,10 +156,6 @@
    }
  },
  created() {
    this.getParams();
    if (!this.lazy) {
      this.initData();
    }
  },
  mounted() {
    if(this.componentVO.buttons && this.componentVO.buttons.length>0){
@@ -223,6 +220,7 @@
      this.params = Object.assign({}, treeParams, sourceDataMapList);
    },
    initData() {
      this.data=[];
      if (Object.keys(this.sourceData).length > 0 && this.isShow) {
        getTree(null, null, Object.assign({
          queryRoot: true