| | |
| | | <template> |
| | | <div class="standard-library-main"> |
| | | <div class="content-main"> |
| | | <div class="library-bom"> |
| | | <div class="library-bom" style="width: 300px;"> |
| | | <el-input |
| | | v-model="filterText" |
| | | placeholder="输入关键字进行过滤" |
| | |
| | | <el-button type="text">全部</el-button> |
| | | <el-tree |
| | | ref="tree" |
| | | style="width: 100%;" |
| | | class="filter-tree" |
| | | :data="standardTree" |
| | | :props="defaultProps" |
| | |
| | | @node-click="nodeClick" |
| | | /> |
| | | </div> |
| | | <div class="library-table"> |
| | | <div class="library-table" style="width: 80%;"> |
| | | <div class="table-header"> |
| | | <div class="search-bar"> |
| | | <el-form ref="form" :inline="true" :model="searchData"> |
| | |
| | | background: #fff; |
| | | } |
| | | .library-bom{ |
| | | padding-right: 10px; |
| | | width: 40vh; |
| | | // padding-right: 10px; |
| | | width: 300px; |
| | | // height: 100%; |
| | | max-height: 100%; |
| | | margin-right: 12px; |
| | | // margin-right: 12px; |
| | | // overflow-y: scroll; |
| | | .el-tree { |
| | | // margin-top: 12px; |
| | | // margin-top: |
| | | width: 100%; |
| | | ::v-deep .el-tree-node__content{ |
| | | height: 24px !important; |
| | | font-size: 18px; |