zhaowei
2025-06-25 872362acd0e306bb2150d72cce1b556d272e6ba5
src/views/tms/modules/baseTools/BaseToolsListLeft.vue
@@ -3,7 +3,6 @@
    :loading="cardLoading"
    :bordered="false"
    title="工具信息"
    style="height: 100%;"
  >
    <a-spin :spinning="loading">
      <a-alert
@@ -20,7 +19,7 @@
          >取消</a>
        </div>
      </a-alert>
      <div class="drawer-bootom-button">
      <!-- <div class="drawer-bootom-button">
        <a-dropdown
          :trigger="['click']"
          placement="bottomCenter"
@@ -43,7 +42,7 @@
            <a-icon type="bars" />
          </a-button>
        </a-dropdown>
      </div>
      </div> -->
      <a-input-search
        @search="handleSearch"
@@ -55,13 +54,12 @@
      />
      <!-- showLine -->
      <a-tree
      <div style="flex: 1;overflow:auto;margin-top: 10px;max-height: 400px; min-height: 400px">
          <a-tree
        :checkStrictly="checkStrictly"
        :expandedKeys.sync="expandedKeys"
        :selectedKeys="selectedKeys"
        :dropdownStyle="{maxHeight:'200px',overflow:'auto'}"
        :treeData="treeDataSource"
        :autoExpandParent="autoExpandParent"
        :defaultExpandAll="true"
        @select="onSelect"
        @expand="onExpand"
      >
@@ -89,6 +87,8 @@
      
        </template>
      </a-tree>
      </div>
    </a-spin>
  </a-card>
</template>
@@ -227,7 +227,7 @@
      this.expandedKeys = this.allTreeKeys;
    },
    closeAll() {
      this.expandedKeys = this.allSiteIds;
      this.expandedKeys = [];
    },
    refreshTree() {
      this.queryTreeData();