管道基础大数据平台系统开发-【前端】-新系統界面
liupengpeng
2023-02-15 00d4bfaa6e75c41837bb70c349500388d18f7de7
src/views/datamanage/dictionaryManage.vue
@@ -5,8 +5,23 @@
        `${$t('dataManage.dictionaryManage')}`,
      ]"></My-bread>
    <el-divider />
    <div>
      <el-form
    <div class="mainBox">
      <div class="dictionaryContent">
        <div class="dictionary_leftTree subpage_Div">
        <ul>
          <li
            @click="getTableDesc(item)"
            v-for="item in optionCount"
            :class="{ active: activeName == item.tab }"
          >
            {{ item.tabDesc }}
          </li>
        </ul>
      </div>
      </div>
      <div class="right subpage_Div">
        <div class="inquire">
          <el-form
        :inline="true"
        :model="formInline"
        class="demo-form-inline"
@@ -49,25 +64,13 @@
          >{{ $t('common.reset') }}</el-button>
        </el-form-item>
      </el-form>
    </div>
    <div class="dictionaryContent">
      <div class="dictionary_leftTree subpage_Div">
        <ul>
          <li
            @click="getTableDesc(item)"
            v-for="item in optionCount"
            :class="{ active: activeName == item.tab }"
          >
            {{ item.tabDesc }}
          </li>
        </ul>
      </div>
      <div class="dictionary_rightContent subpage_Div">
        <el-table
        </div>
        <div class="table_box">
          <el-table
          :data="tableData"
          style="width: 100%"
          @selection-change="handleSelectionChange"
          height="93%"
          height="100%"
        >
          <el-table-column
            type="selection"
@@ -154,7 +157,7 @@
        </el-table>
        <div
          class="pagination_box"
          style="margin-top: 10px"
          style="margin-top: 20px"
        >
          <el-pagination
            @size-change="handleSizeChange"
@@ -166,6 +169,7 @@
            :total="count"
          >
          </el-pagination>
        </div>
        </div>
      </div>
    </div>
@@ -700,13 +704,14 @@
  width: 98%;
  padding: 1%;
  .dictionaryContent {
    width: 100%;
    width: 16.5%;
    height: 92%;
    display: flex;
    justify-content: space-between;
    // display: flex;
    // justify-content: space-between;
    .dictionary_leftTree {
      width: 15%;
      width: 100%;
      height: 80%;
      min-height: 700px;
      border-radius: 5px;
      padding: 1%;
@@ -745,4 +750,57 @@
    margin-bottom: 10px;
  }
}
.mainBox {
    width: 100%;
    height: 92%;
    display: flex;
    justify-content: space-between;
    .leftTree {
      width: 15%;
      height: 91%;
      border-radius: 5px;
      padding: 1%;
      max-height: 670px;
      overflow-y: auto;
    }
    .right {
      width: 80%;
      height: 91%;
      border-radius: 5px;
      padding: 1%;
      max-height: 670px;
      // overflow-y: auto;
      .inquire {
        // margin-bottom: 10px;
        padding: 1%;
        border-radius: 5px;
        border: 1px solid #dcdfe6;
        .el-form-item {
          margin: 5px;
        }
      }
      .table_box {
        width: 100%;
        height: 80%;
        margin: 0 auto;
        // overflow: auto;
        margin-top: 10px;
        .el-table /deep/ th.el-table__cell > .cell {
          padding: 15px !important;
        }
        .el-table--border::after,
        .el-table--group::after {
          width: 0;
        }
        .el-table::before {
          height: 0;
        }
      }
    }
  }
</style>