管道基础大数据平台系统开发-【前端】-新系統界面
xing
2023-02-25 8da51a6ce862d351a9458f1998decb42ed3efa4f
src/views/datamanage/SpatialData.vue
@@ -6,14 +6,12 @@
      ]"></My-bread>
    <el-divider />
    <div class="spatialContent ">
      <div class="spatial_leftTree subpage_Div">
        <el-input v-model="filterText" style="width: 200px;"></el-input>
      <div class="spatial_leftTree subpage_Div " style="border: 1px solid #dcdfe6;">
        <el-input v-model="filterText" style="width:220px;"  :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueone')" suffix-icon="el-icon-search" ></el-input>
        <div style="width:300px">
          <el-tree
            :data="tree"
            :props="defaultProps"
            :default-expanded-keys="[1]"
            node-key="id"
            :current-node-key="10"
            @node-click="handleNodeClick"
@@ -31,15 +29,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;"
              style="width: 220px;"
              :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueone')"
              suffix-icon="el-icon-plus"
            ></el-input>
          </el-form-item>
          <el-form-item style="float: right">
@@ -51,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"
@@ -70,12 +78,15 @@
          </el-form-item>
        </el-form>
        </div>
        <div class="table_box" style="height:calc(100% - 89px)">
        <div class="dividing-line"></div>
        <div class="table_box2" style="height:calc(100% - 89px)">
          <el-table
            border
            ref="filterTable"
            :data="tableData"
            style="width: 100%"
            height="calc(100% - 57px)"
            :header-cell-style="{background:'#e6eaee',color:'#181818', 'text-align': 'center'}  "
          >
          <el-table-column
              type="selection"
@@ -96,19 +107,22 @@
              align="center"
            ></el-table-column>
            <el-table-column
            min-width="180"
              :label="$t('common.operate')"
            >
              <template slot-scope="scope">
                <el-link
                  class="elLink"
                <el-button
                   type="primary"
                  plain
                  size="small"
                  @click="showDetail(scope.$index, scope.row)"
                >{{$t('common.details')}}</el-link>
                <el-link
                  class="elLink"
                >{{$t('common.details')}}</el-button>
                <el-button
                  plain
                  size="small"
                  @click="getAttachTable(scope.$index, scope.row)"
                  style="margin-left: 20px;  "
                >{{$t('common.enclosure')}}</el-link>
                >{{$t('common.enclosure')}}</el-button>
              </template>
            </el-table-column>
          </el-table>
@@ -130,9 +144,10 @@
      </div>
      
    </div>
    <div
     <div class="infoBox_box" v-show="showinfoBox">
      <div
      class="infoBox box_div"
      v-show="showinfoBox"
    >
      <div
@@ -161,15 +176,18 @@
        </ul>
      </div>
    </div>
      </div>
     </div>
    <el-dialog
      :title="$t('common.attachinform')"
      width="30%"
      top="2vh"
      :visible.sync="dialogFormVisible"
    >
    <div style="height: 500px; overflow: auto">
      <el-form
        :model="formInline"
        class="demo-form-inline"
        label-position="top"
      >
        <el-form-item>
          <el-input
@@ -199,7 +217,7 @@
                class="elLink"
                :underline="false"
                @click="setAttachInsert"
              >{{$t('common.append')}}</i></el-link>
              >{{$t('common.append')}}</el-link>
            </el-col>
            <el-col :span="3">
              <el-link
@@ -207,7 +225,7 @@
                class="elLink"
                :underline="false"
                @click="setAttachDel"
              >{{$t('common.delete')}}</i></el-link>
              >{{$t('common.delete')}}</el-link>
            </el-col>
            <!-- <el-col :span="3">  <el-link  class="elLink" :underline="false" >{{$t('common.reset')}}</i></el-link></el-col> -->
          </el-row>
@@ -263,19 +281,22 @@
          </el-row>
        </el-form-item> -->
      </el-form>
    </div>
    </el-dialog>
    <el-dialog
      width="37%"
       top="2vh"
      :visible.sync="conditionVisible"
      title="查询条件"
      :before-close="handleconditionClose"
    >
      <el-form
        :inline="true"
        :model="formSql"
        class="demo-form-inline"
        label-position="top"
      >
        <el-form-item>
          <el-select
            @change="fieldChange($event)"
@@ -317,7 +338,9 @@
          >
          </el-date-picker>
        </el-form-item>
      </el-form>
      <span
        slot="footer"
        class="dialog-footer"
@@ -1103,11 +1126,11 @@
.Spatialbox {
  height: 98%;
  width: 98%;
  padding: 1%;
  .spatialContent {
    width: 100%;
    height: calc(100% - 75px);
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    .spatial_leftTree {
@@ -1122,19 +1145,24 @@
      width: 75%;
      height: 100%;
      border-radius: 5px;
      padding: 10px;
      padding: 0px;
      box-sizing: border-box;
      border: 1px solid #dcdfe6;
    }
  }
}
.table_box2 {
  border-radius: 5px;
  padding: 10px;
  box-sizing: border-box;
}
.contentshujutou {
  padding: 8px;
  // margin-top: 10px;
  border-radius: 5px;
  border: 1px solid #dcdfe6;
  margin-bottom: 20px;
  .el-form-item {
    margin: 5px;
  }