管道基础大数据平台系统开发-【前端】-新系統界面
src/views/datamanage/SpatialData.vue
@@ -10,7 +10,8 @@
        class="spatial_leftTree subpage_Div "
        style="border: 1px solid #dcdfe6;"
      >
        <el-input size="small"
        <el-input
          size="small"
          v-model="filterText"
          style="width:220px;"
          :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueone')"
@@ -37,33 +38,45 @@
            :inline="true"
          >
            <el-form-item size="small">
            <el-form-item>
              <!-- type="textarea" disabled-->
              <el-input
                v-model="ruleForm.fileName"
                class="nm-skin-pretty"
                show-word-limit
                size="small"
                :rows="2"
                resize='none'
                style="width: 220px;"
                style="width: 300px;"
                disabled
                :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueone')"
              ><i slot="suffix" class="el-icon-search"  @click="submitForm" style="padding-right: 8px"></i>
                :placeholder="$t('shuJuGuanLi.shuJuJianSuo.label')"
              >
                <!-- <i
                  slot="suffix"
                  class="el-icon-search"
                  @click="submitForm"
                  style="padding-right: 8px"
                ></i> -->
              </el-input>
              <el-button plain @click="conditionVisible = true" size="small" style="color: rgba(212,213,215,0.8)">高级查询条件</el-button>
            </el-form-item>
            <el-form-item>
              <el-button
                @click="conditionVisible = true"
                size="small"
                type="success"
                icon="el-icon-plus"
              >{{$t('common.append')}}</el-button>
            </el-form-item>
            <el-form-item style="float: right">
              <el-button
                  @click="resetForm"
                  type="info"
                  size="small"
                  icon="el-icon-refresh"
                @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-form-item style="float: right">
              <el-button
                  @click="submitForm"
                  type="primary"
@@ -73,7 +86,7 @@
            </el-form-item>-->
            <!--         去掉   -->
<!--            <el-form-item style="float: right">
            <!--            <el-form-item style="float: right">
              <el-button
                  v-if="btnStatus.insert"
                  @click="conditionVisible = true"
@@ -85,10 +98,10 @@
            <el-form-item style="float: right">
              <el-button
                  @click="getSpaceMapVisibale"
                  size="small"
                  type="primary"
                  icon="el-icon-search"
                @click="getSpaceMapVisibale"
                size="small"
                type="primary"
                icon="el-icon-search"
              >{{
                  $t('synthesis.rangequery')
                }}</el-button>
@@ -99,7 +112,7 @@
        <div class="dividing-line"></div>
        <div
          class="table_box"
          style="height:calc(100% - 60px)"
          style="height:calc(100% - 130px)"
        >
          <!--          border-->
          <!--          ref="filterTable"-->
@@ -108,22 +121,24 @@
          <!--          height="calc(100% - 57px)"-->
          <!--          :header-cell-style="{background:'#e6eaee',color:'#181818', 'text-align': 'center'}  "-->
          <el-table
            ref="refTableData"
            :data="tableData"
            style="width: 100% ;height: auto"
            height="calc(100% - 50px)"
            style="width: 100% ;"
            height="100% "
          >
            <el-table-column
              type="selection"
              width="20"
              align="center"
            />
<!--            <el-table-column
            <!--            <el-table-column
              width="60"
              align="center"
              type="index"
              :label="$t('common.index')"
            />-->
            <el-table-column
                min-width="135"
              min-width="135"
              v-for="(item, index) in attributeData"
              :key="index"
              :label="item.alias"
@@ -151,19 +166,25 @@
              </template>
            </el-table-column>
          </el-table>
          <div class="pagination_box" style="margin-top: 15px">
            <el-pagination
              @size-change="handleSizeChange"
              @current-change="handleCurrentChange"
              :current-page="listData.pageIndex"
              :page-sizes="[10, 20, 50, 100]"
              :page-size="listData.pageSize"
              layout="total, sizes, prev, pager, next, jumper"
              :total="count"
            >
            </el-pagination>
          </div>
        </div>
        <div
          class="pagination_box"
          style="margin-top: 15px"
        >
          <el-pagination
            @size-change="handleSizeChange"
            @current-change="handleCurrentChange"
            :current-page="listData.pageIndex"
            :page-sizes="[10, 20, 50, 100]"
            :page-size="listData.pageSize"
            layout="total, sizes, prev, pager, next, jumper"
            :total="count"
          >
          </el-pagination>
        </div>
      </div>
    </div>
@@ -728,6 +749,7 @@
        this.$message.error("调用列表失败,请联系工作人员!");
        return;
      }
      this.tableData = []
      var res_val = this.attributeData;
      this.count = data.count;
      for (var i in data.result) {
@@ -741,7 +763,10 @@
      }
      this.tableData = data.result;
      this.$refs.filterTable.doLayout();
      this.$nextTick(() => {
        this.$refs.refTableData.doLayout();
      });
    },
    //获取每个表字段名称及阈值
    async getCollapseDomFiled() {
@@ -868,6 +893,7 @@
        this.formSql.field + " " + this.formSql.condition + " " + val;
      this.startFiledAndcondition();
      this.submitForm();
    },
    //值域字段匹配