From 4b8943bd66fc721f8381b74eff259a2f7ffef513 Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期一, 27 二月 2023 17:34:19 +0800
Subject: [PATCH] 地形压平添加参数;坡度分析 添加图例,数据上传,元数据管理,资料馆添加元数据查询,综合展示图片更换

---
 src/views/datamanage/SpatialData.vue |  100 +++++++++++++++++++++++++++++++------------------
 1 files changed, 63 insertions(+), 37 deletions(-)

diff --git a/src/views/datamanage/SpatialData.vue b/src/views/datamanage/SpatialData.vue
index c8d6ed6..027a684 100644
--- a/src/views/datamanage/SpatialData.vue
+++ b/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();
     },
 
     //鍊煎煙瀛楁鍖归厤

--
Gitblit v1.9.3