yuyu
2023-08-18 c5864725606384e1172bac4eb856ed645c55ce21
src/views/standardLibrary/index.vue
@@ -1,7 +1,7 @@
<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="输入关键字进行过滤"
@@ -9,6 +9,7 @@
        <el-button type="text">全部</el-button>
        <el-tree
          ref="tree"
          style="width: 100%;"
          class="filter-tree"
          :data="standardTree"
          :props="defaultProps"
@@ -20,7 +21,7 @@
          @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">
@@ -384,7 +385,7 @@
//   height: 800px;
// }
.standard-library-main{
  width: 100%;
  width: 100vh;
  height: 100%;
// 页面中心内容区域
  .content-main{
@@ -398,14 +399,15 @@
      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;
@@ -453,7 +455,7 @@
    }
    .library-table{
      // height: 100%;
      flex: 8;
      width: 170vh;
      max-height: 100%;
      // flex: 8;
      margin-left: 12px;