From 80743848ee038cebf3fcfb40cc6b2d68fe0fc90f Mon Sep 17 00:00:00 2001
From: zhongrj <123456>
Date: Tue, 19 Jul 2022 12:18:19 +0800
Subject: [PATCH] 地块地图模式页面新增,完善

---
 src/views/land/cs.vue |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/views/land/cs.vue b/src/views/land/cs.vue
index 088b63e..88e80b8 100644
--- a/src/views/land/cs.vue
+++ b/src/views/land/cs.vue
@@ -42,7 +42,7 @@
             </div>
             <div>
                 <el-button size="small">
-                    <span style="color: #5abf78" @click="out(row)">进入地图模式</span>
+                    <span style="color: #5abf78" @click="goToMapModel(row)">进入地图模式</span>
                 </el-button>
                 <el-button
                     type="success"
@@ -176,6 +176,13 @@
 
                 this.farmPlanList = data.records
             })
+        },
+        //进入地图模式
+        goToMapModel(row){
+            this.$router.push({
+                path: `/mapPattern`,
+                query: row,
+            })
         }
     },
 };

--
Gitblit v1.9.3