From eb7ced97c1a12d49a09ec4a876082644fcc357a6 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Fri, 12 Aug 2022 17:58:07 +0800
Subject: [PATCH] 农事记录、农资使用记录、采收记录、任务记录、农事操作的地块筛选,有列表显示的随农场变化,

---
 src/views/wel/farming.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/views/wel/farming.vue b/src/views/wel/farming.vue
index 983ba94..0a449a4 100644
--- a/src/views/wel/farming.vue
+++ b/src/views/wel/farming.vue
@@ -227,6 +227,7 @@
   computed: {
     ...mapState({
       userInfo: (state) => state.user.userInfo,
+      $farmId: state => state.user.$farmId,
     }),
   },
   watch: {
@@ -291,7 +292,7 @@
       this.visible = true;
       var that = this;
       //获取农地数据
-      getLandList(this.userInfo.dept_id).then((res) => {
+      getLandList(this.$farmId).then((res) => {
         if (res.data.code == 200) {
           var landIdcolumn = that.findObject(that.option.column, "landId");
           that.landList = res.data.data;

--
Gitblit v1.9.3