ソースを参照

转列表按钮位置调整

maxiaoxiao 14 時間 前
コミット
cb1979c6f7

+ 5 - 1
src/views/pageCode/checkLand/config.js

@@ -24,12 +24,16 @@ export const FormConfig = [
     {
       label: '图斑面积',
       prop: 'tbmj',
-      span: 6,
+      span: 5,
 
     },
     {
       prop: 'action',
       span: 4
+    },
+    {
+      prop: 'tolist',
+      span: 1
     }
   ]
 ]

+ 4 - 3
src/views/pageCode/checkLand/index.vue

@@ -41,7 +41,7 @@
         </el-select>
         <el-input
           v-model="queryParams.dkmj"
-          style="width: calc(100% - 120px)"
+          style="width: calc(100% - 110px)"
           placeholder="数据"
         />
       </template>
@@ -51,8 +51,10 @@
         >
         <el-button icon="Refresh" @click="resetQuery">重置</el-button>
       </template>
+      <template #tolist>
+        <div class="pointlist" @click="handleBrowse({})"></div>
+      </template>
     </customForm>
-    <div class="pointlist" @click="handleBrowse({})"></div>
     <numCard
       :sddata="countData"
       :sdlist="sdlist[route.query.type]"
@@ -366,7 +368,6 @@ getList();
 .pointlist {
   width: 32px;
   height: 32px;
-  margin-left: auto;
   background: url("@/assets/images/pointlist.png") no-repeat center;
   background-size: 100% 100%;
   cursor: pointer;