管道基础大数据平台系统开发-【前端】-新系統界面
1
Surpriseplus
2023-02-13 b0a47d6a7303b8510aca6593f4c59720eab9206e
src/views/datamanage/SpatialData.vue
@@ -225,7 +225,7 @@
          <el-table
            :data="tableAttach"
            ref="filterTable"
            height="99%"
            height="100%"
            border
            style="width: 100%"
            @selection-change="handleAttatchChange"
@@ -251,7 +251,7 @@
          </el-table>
        </el-form-item>
        <el-form-item>
        <!-- <el-form-item>
          <el-row :gutter="20">
            <el-col
@@ -259,7 +259,7 @@
              :offset="8"
            >
              <el-button
                class="primary"
                type="primary"
                size="small"
                @click="dialogFormVisible = false"
              >确认</el-button>
@@ -270,14 +270,13 @@
              >取消</el-button>
            </el-col>
          </el-row>
        </el-form-item>
        </el-form-item> -->
      </el-form>
    </el-dialog>
    <el-dialog
      width="37%"
      :visible.sync="conditionVisible"
      append-to-body
      title="查询条件"
      :before-close="handleconditionClose"
    >
@@ -290,6 +289,7 @@
          <el-select
            @change="fieldChange($event)"
            v-model="formSql.field"
            :popper-append-to-body="false"
          >
            <el-option
              v-for="item in filedsOption"
@@ -301,7 +301,10 @@
          </el-select>
        </el-form-item>
        <el-form-item>
          <el-select v-model="formSql.condition">
          <el-select
            :popper-append-to-body="false"
            v-model="formSql.condition"
          >
            <el-option
              v-for="item in condOption"
              :key="item.value"
@@ -343,6 +346,7 @@
      :title=" $t('synthesis.rangequery')"
      :visible.sync="dialogMapVisible"
      width="90%"
      top="10vh"
      :before-close="handleMapClose"
    >
      <div style="height:700px">
@@ -392,6 +396,7 @@
          tabDesc: '基础数据',
          label: '基础数据',
          value: 'BD',
          ns: 'bd',
          id: 1,
          children: [],
        },
@@ -400,6 +405,14 @@
          tabDesc: '业务数据',
          label: '业务数据',
          value: 'BS',
          ns: 'bs',
          children: [],
        }, {
          id: 3,
          tabDesc: '源数据管理',
          label: '源数据管理',
          value: 'MD',
          ns: 'md',
          children: [],
        },
      ],
@@ -608,12 +621,17 @@
        // val_Data.label = val_Data.tabDesc + "(" + val_Data.tab + ")"
        val_Data.label = val_Data.tabDesc
        option[i].id = parseInt(option[i].id)
        if (option[i].ns == 'bd') {
          this.tree[0].children.push(val_Data);
        } else {
          this.tree[1].children.push(val_Data);
        for (var j in this.tree) {
          if (this.tree[j].ns == option[i].ns) {
            this.tree[j].children.push(val_Data);
          }
        }
        // if (option[i].ns == 'bd') {
        //   this.tree[0].children.push(val_Data);
        // } else {
        //   this.tree[1].children.push(val_Data);
        // }
      }
      this.handleNodeClick(this.tree[0].children[0])
    },
@@ -776,7 +794,6 @@
      var val;
      if (this.formSql.type == "long" || this.formSql.type == "integer") {
        val = parseInt(this.formSql.value);
      } else if (this.formSql.type == 'double') {
@@ -1111,6 +1128,5 @@
      overflow-y: auto;
    }
  }
}
</style>