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}}

@@ -22,12 +35,12 @@

农房 (栋)

-

352

+

{{detail.zzs}}

可租 (栋)

-

71

+

{{detail.kzs}}

@@ -36,12 +49,12 @@

农地 (亩)

-

352

+

{{detail.landArea}}

可租 (亩)

-

71

+

{{detail.rentableArea}}

@@ -50,12 +63,13 @@
+
-

羊亭镇-北上夼村-107

+

{{deptName}}-{{ndItem.id}}

@@ -64,15 +78,15 @@
租地位置: - 北上夼村 + {{deptName}} 租地编号: - 310 + {{ndItem.id}} 租地面积: - 12亩 + {{ndItem.scmjm}}亩 咨询代表: @@ -89,12 +103,13 @@
+
-

羊亭镇-北上夼村-107

+

{{deptName}}-{{nfItem.id}}

@@ -103,15 +118,15 @@
租房位置: - 北上夼村 + {{deptName}} 租房编号: - 310 + {{nfItem.id}} 租房面积: - 12亩 + {{nfItem.zdmj}}㎡ 咨询代表: @@ -128,23 +143,43 @@
+

{{activeName=='nf'?'待租农房':'待租农地'}}

-
+
+ + 编号 + 面积(㎡) + + + + {{item.id}} + {{item.zdmj}} + +
+ +
- 编号 - 面积 + 编号 + 面积(亩) - + - 101 - 3亩 + {{item.id}} + {{item.scmjm}}
@@ -157,9 +192,9 @@
- - - + + +
@@ -167,8 +202,7 @@