| | |
| | | <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"> |
| | |
| | | // height: 800px; |
| | | // } |
| | | .standard-library-main{ |
| | | width: 100%; |
| | | width: 100vh; |
| | | height: 100%; |
| | | // 页面中心内容区域 |
| | | .content-main{ |
| | |
| | | background: #fff; |
| | | } |
| | | .library-bom{ |
| | | flex: 2; |
| | | // width: 20%; |
| | | // padding-right: 10px; |
| | | width: 300px; |
| | | // height: 100%; |
| | | max-height: 100%; |
| | | margin-right: 12px; |
| | | overflow-y: scroll; |
| | | // 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; |
| | |
| | | } |
| | | .library-table{ |
| | | // height: 100%; |
| | | flex: 8; |
| | | width: 170vh; |
| | | max-height: 100%; |
| | | // flex: 8; |
| | | margin-left: 12px; |