From 43b98b6b79ea1eeb4683db3944809d51d3bb5d40 Mon Sep 17 00:00:00 2001
From: xiebin <123456>
Date: Wed, 20 Jul 2022 16:27:14 +0800
Subject: [PATCH] 修复农事操作记录地块条件查询不生效问题
---
src/views/farm/farmingrecord.vue | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/views/farm/farmingrecord.vue b/src/views/farm/farmingrecord.vue
index cfc22eb..d7ee2cb 100644
--- a/src/views/farm/farmingrecord.vue
+++ b/src/views/farm/farmingrecord.vue
@@ -60,6 +60,7 @@
total: 0,
},
selectionList: [],
+ landId:0,
landList: [],
option: {
tip: false,
@@ -110,6 +111,9 @@
props: {
label: "landName",
value: "id",
+ },
+ change: (val) => {
+ this.landId = val.value
},
labelWidth: 110,
rules: [
@@ -425,6 +429,9 @@
params.landId=datas;
params['tenantId'] = this.userInfo.tenant_id;
params['deptId'] = this.userInfo.dept_id;
+ if (this.landId) {
+ params['landId'] = this.landId
+ }
getList(
page.currentPage,
page.pageSize,
--
Gitblit v1.9.3