管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2023-01-16 3c0bcd367dbc9aff25202d1a8ec2eb143f3e8261
src/views/datamanage/SpatialData.vue
@@ -7,15 +7,17 @@
    <el-divider />
    <div class="spatialContent">
      <div class="spatial_leftTree">
        <el-tree
          ref="treeDay"
          :data="tree"
          :props="defaultProps"
          :default-expanded-keys="[1]"
          node-key="id"
          :current-node-key="10"
          @node-click="handleNodeClick"
        ></el-tree>
        <div style="width:300px">
          <el-tree
            ref="treeDay"
            :data="tree"
            :props="defaultProps"
            :default-expanded-keys="[1]"
            node-key="id"
            :current-node-key="10"
            @node-click="handleNodeClick"
          ></el-tree>
        </div>
      </div>
      <div class="spatial_rightContent">
        <el-form
@@ -33,13 +35,14 @@
              :rows="2"
              resize='none'
              disabled
              style="width: 650px;"
              style="width: 545px;"
            ></el-input>
          </el-form-item>
          <el-form-item>
            <el-button
              @click="conditionVisible = true"
              class="primaries"
              size="small"
              icon="el-icon-plus"
            >{{$t('common.append')}}</el-button>
          </el-form-item>
@@ -47,18 +50,21 @@
            <el-button
              @click="submitForm"
              class="primaries"
              size="small"
              icon="el-icon-search"
            >{{$t('common.iquery')}}</el-button>
          </el-form-item>
          <el-form-item>
            <el-button
              @click="resetForm"
              size="small"
              icon="el-icon-refresh"
            >{{$t('common.reset')}}</el-button>
          </el-form-item>
          <el-form-item>
            <el-button
              @click="getSpaceMapVisibale"
              size="small"
              class="primaries"
            >{{
              $t('synthesis.rangequery')
@@ -66,13 +72,12 @@
          </el-form-item>
        </el-form>
        <el-divider class="eldivider" />
        <div style="height=500px">
        <div>
          <el-table
            ref="filterTable"
            :data="tableData"
            height="500px"
            border
            style="width: 100%"
            style="width: 100% "
            @selection-change="handleSelectionChange"
          >
            <el-table-column
@@ -245,10 +250,12 @@
            >
              <el-button
                class="primary"
                size="small"
                @click="dialogFormVisible = false"
              >确认</el-button>
              <el-button
                type="info"
                size="small"
                @click="dialogFormVisible = false"
              >取消</el-button>
            </el-col>
@@ -311,9 +318,13 @@
        slot="footer"
        class="dialog-footer"
      >
        <el-button @click="startFiledAndcondition">取 消</el-button>
        <el-button
          size="small"
          @click="startFiledAndcondition"
        >取 消</el-button>
        <el-button
          class="primaries"
          size="small"
          @click="appendQueryFilter"
        >确 定</el-button>
      </span>
@@ -1049,29 +1060,26 @@
<style lang="less" scoped>
//@import url(); 引入公共css类
.Spatialbox {
  height: 81%;
  width: 97%;
  position: absolute;
  height: 98%;
  width: 98%;
  box-sizing: border-box;
  padding: 1%;
  .spatialContent {
    width: 100%;
    height: 92%;
    display: flex;
    justify-content: space-between;
    .spatial_leftTree {
      width: 15%;
      height: 95%;
      width: calc(15% - 0px);
      height: 91%;
      border: 1px solid white;
      border-radius: 5px;
      padding: 1%;
      max-height: 670px;
      overflow: auto;
    }
    .spatial_rightContent {
      width: 80%;
      height: 95%;
      height: 91%;
      border: 1px solid white;
      border-radius: 5px;
      padding: 1%;
@@ -1130,13 +1138,13 @@
    // 滚动条宽高
    .el-table__body-wrapper::-webkit-scrollbar {
      width: 5px;
      height: 5px;
      height: 10px;
    }
    .el-table__body-wrapper::-webkit-scrollbar {
      width: 5px;
      /*滚动条宽度*/
      height: 5px;
      height: 10px;
      /*滚动条高度*/
    }
    /*定义滚动条轨道 内阴影+圆角*/