管道基础大数据平台系统开发-【前端】-新系統界面
王旭
2023-02-20 198b83ce825fbbf912cb26d592e3c7b0b586ca92
src/views/datamanage/SpatialData.vue
@@ -22,8 +22,8 @@
          ></el-tree>
        </div>
      </div>
      <div style="width: 80%;">
        <div>
      <div class="contentshuju">
        <div class="contentshujutou">
          <el-form
          ref="ruleForm"
          :model="ruleForm"
@@ -31,51 +31,16 @@
        >
          <el-form-item>
            <!-- type="textarea" -->
            <!-- type="textarea" disabled-->
            <el-input
              v-model="ruleForm.fileName"
              class="nm-skin-pretty"
              show-word-limit
              :rows="2"
              resize='none'
              disabled
              style="width: 200px;"
            ></el-input>
          </el-form-item>
          <!-- <el-form-item style="float: right">
            <el-button
              v-if="btnStatus.insert"
              @click="conditionVisible = true"
              size="small"
              icon="el-icon-plus"
              type="success"
            >{{$t('common.append')}}</el-button>
          </el-form-item>
          <el-form-item style="float: right">
            <el-button
              @click="submitForm"
              type="primary"
              size="small"
              icon="el-icon-search"
            >{{$t('common.iquery')}}</el-button>
          </el-form-item>
          <el-form-item style="float: right">
            <el-button
              @click="resetForm"
              size="small"
              icon="el-icon-refresh"
              type="info"
            >{{$t('common.reset')}}</el-button>
          </el-form-item>
          <el-form-item style="float: right">
            <el-button
              @click="getSpaceMapVisibale"
              size="small"
              type="primary"
            >{{
              $t('synthesis.rangequery')
            }}</el-button>
          </el-form-item> -->
          <el-form-item style="float: right">
            <el-button
              @click="getSpaceMapVisibale"
@@ -85,6 +50,15 @@
              $t('synthesis.rangequery')
            }}</el-button>
          </el-form-item>
            <el-form-item style="float: right">
              <el-button
                @click="resetForm"
                type="info"
                size="small"
                icon="el-icon-refresh"
              >{{$t('common.reset')}}</el-button>
            </el-form-item>
          <el-form-item style="float: right">
            <el-button
              @click="submitForm"
@@ -103,76 +77,13 @@
            >{{$t('common.append')}}</el-button>
          </el-form-item>
        </el-form>
        <!-- <el-divider class="eldivider" /> -->
      </div>
      <!-- <div class="spatial_rightContent subpage_Div">
        <div>
          <el-table
            ref="filterTable"
            :data="tableData"
            border
            style="width: 100%;max-height: 593px;overflow: auto;"
            @selection-change="handleSelectionChange"
          >
            <el-table-column
              type="selection"
              width="55"
            />
            <el-table-column
              width="60"
              align="center"
              type="index"
              :label="$t('common.index')"
            />
            <el-table-column
              v-for="(item, index) in attributeData"
              :key="index"
              :label="item.alias"
              :prop="item.field"
              show-overflow-tooltip
              align="center"
            ></el-table-column>
            <el-table-column
              min-width="120"
              :label="$t('common.operate')"
            >
              <template slot-scope="scope">
                <el-link
                  class="elLink"
                  @click="showDetail(scope.$index, scope.row)"
                >{{$t('common.details')}}</el-link>
                <el-link
                  class="elLink"
                  @click="getAttachTable(scope.$index, scope.row)"
                  style="margin-left: 20px;  "
                >{{$t('common.enclosure')}}</el-link>
              </template>
            </el-table-column>
          </el-table>
          <div
            style="margin-top: 20px"
            class="pagination_box"
          >
            <el-pagination
              v-if="changePag"
              @size-change="handleSizeChange"
              @current-change="handleCurrentChange"
              :current-page="this.listData.pageIndex"
              :page-sizes="[10, 20, 50, 100]"
              :page-size="this.listData.pageSize"
              layout="total, sizes, prev, pager, next, jumper"
              :total="count"
            >
            </el-pagination>
          </div>
        </div>
      </div> -->
      <div style="height: 73%">
        <div class="table_box" style="height:calc(100% - 89px)">
          <el-table
            ref="filterTable"
            :data="tableData"
            style="width: 100%"
            height="99%"
            height="calc(100% - 57px)"
          >
          <el-table-column
              type="selection"
@@ -193,7 +104,7 @@
              align="center"
            ></el-table-column>
            <el-table-column
              min-width="120"
              :label="$t('common.operate')"
            >
              <template slot-scope="scope">
@@ -210,7 +121,6 @@
            </el-table-column>
          </el-table>
          <div
            style="margin-top: 20px; "
            class="pagination_box"
          >
            <el-pagination
@@ -1205,26 +1115,36 @@
  padding: 1%;
  .spatialContent {
    width: 100%;
    height: 92%;
    height: calc(100% - 75px);
    display: flex;
    justify-content: space-between;
    .spatial_leftTree {
      width: calc(15% - 0px);
      height: 91%;
      width: calc(23% - 0px);
      height: 100%;
      padding: 10px;
      border-radius: 5px;
      padding: 1%;
      max-height: 670px;
      box-sizing: border-box;
      overflow-y: auto;
    }
    .spatial_rightContent {
      // width: 80%;
      // height: 91%;
    .contentshuju {
      width: 75%;
      height: 100%;
      border-radius: 5px;
      padding: 1%;
      overflow-y: auto;
      padding: 10px;
      box-sizing: border-box;
      border: 1px solid #dcdfe6;
    }
  }
}
.contentshujutou {
  padding: 8px;
  // margin-top: 10px;
  border-radius: 5px;
  border: 1px solid #dcdfe6;
  margin-bottom: 20px;
  .el-form-item {
    margin: 5px;
  }
}
</style>