From 2e8f8fd1966ba3e3b6d06aa1b7ef7807b61753b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E4=B9=85=E5=93=A5?= <787952492@qq.com> Date: Thu, 21 Apr 2022 17:02:24 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E7=AE=A1=E7=90=86=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/farm/project.js | 9 +++++ src/views/farm/project/index.vue | 56 +++++++++++++++++++++++--------- 2 files changed, 49 insertions(+), 16 deletions(-) diff --git a/src/api/farm/project.js b/src/api/farm/project.js index 3c87b49..3f7f494 100644 --- a/src/api/farm/project.js +++ b/src/api/farm/project.js @@ -43,6 +43,15 @@ export function getProjectPage(query) { }) } +// 搜索条件获得农场项目分页 +export function getProjectSearchPage(query) { + return request({ + url: '/farm/project/pageSearch', + method: 'get', + params: query + }) +} + // 导出农场项目 Excel export function exportProjectExcel(query) { return request({ diff --git a/src/views/farm/project/index.vue b/src/views/farm/project/index.vue index 5d3870c..1f5f180 100644 --- a/src/views/farm/project/index.vue +++ b/src/views/farm/project/index.vue @@ -10,14 +10,15 @@ - + + + + + + @@ -26,9 +27,6 @@ - - - @@ -57,9 +55,7 @@ - - -