From 0c6c54662593f186395334d3d352c461abcd3380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Wed, 26 Apr 2023 13:27:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=A4=E6=B8=85=E4=B8=89=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/plotPremisesMobile/index.js | 17 ++++ src/views/plotPremisesMobile/index.vue | 131 +++++++++++++++++++------ 2 files changed, 117 insertions(+), 31 deletions(-) diff --git a/src/api/plotPremisesMobile/index.js b/src/api/plotPremisesMobile/index.js index 9c89d558..ab150c44 100644 --- a/src/api/plotPremisesMobile/index.js +++ b/src/api/plotPremisesMobile/index.js @@ -23,3 +23,20 @@ export function getDept(id) { method: 'get' }) } + +// 查询部门下拉树结构 +export function treeselect() { + return request({ + url: '/depositm/dept/treeselect', + method: 'get' + }) +} + +// 数据获取 +export function plotPremisesStatistics(query) { + return request({ + url: '/home/mobile/plotPremises/statistics', + method: 'get', + params: query + }) +} diff --git a/src/views/plotPremisesMobile/index.vue b/src/views/plotPremisesMobile/index.vue index ed269e66..eab033d9 100644 --- a/src/views/plotPremisesMobile/index.vue +++ b/src/views/plotPremisesMobile/index.vue @@ -4,16 +4,29 @@
羊亭
-/北上夼
+{{deptName}}
羊亭镇-北上夼村
+{{deptName}}
农房 (栋)
-352
+{{detail.zzs}}
可租 (栋)
-71
+{{detail.kzs}}
农地 (亩)
-352
+{{detail.landArea}}
可租 (亩)
-71
+{{detail.rentableArea}}
羊亭镇-北上夼村-107
+{{deptName}}-{{ndItem.id}}
羊亭镇-北上夼村-107
+{{deptName}}-{{nfItem.id}}
{{activeName=='nf'?'待租农房':'待租农地'}}
-