From 4d794173d160a0f5b550845b942cdb22c37b4db0 Mon Sep 17 00:00:00 2001 From: bibi <541660090@qq.com> Date: Thu, 10 Feb 2022 11:46:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=8F=E6=88=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/basic/estate/index.js | 8 + src/api/basic/resident/index.js | 24 ++ src/views/Basic/Authority/index.vue | 3 - .../EstateInfo/_houseHoldAudit/index.vue | 1 - .../_houseHoldInfo/depend/addForm.vue | 235 +++++++++++++++--- .../_houseHoldInfo/depend/config.js | 8 +- .../EstateInfo/_houseHoldInfo/depend/form.js | 81 ++++++ .../Basic/EstateInfo/_houseHoldInfo/index.vue | 88 +++---- 8 files changed, 362 insertions(+), 86 deletions(-) create mode 100644 src/views/Basic/EstateInfo/_houseHoldInfo/depend/form.js diff --git a/src/api/basic/estate/index.js b/src/api/basic/estate/index.js index 5a13639..3e90d3f 100644 --- a/src/api/basic/estate/index.js +++ b/src/api/basic/estate/index.js @@ -162,4 +162,12 @@ export function estateTypeDel(params) { method: 'post', data: params, }) +} +// +export function estate(params) { + return httpService({ + url: `/user/estate/findEstateCascade`, + method: 'get', + params: params, + }) } \ No newline at end of file diff --git a/src/api/basic/resident/index.js b/src/api/basic/resident/index.js index df29526..02f22c5 100644 --- a/src/api/basic/resident/index.js +++ b/src/api/basic/resident/index.js @@ -15,6 +15,30 @@ export function residentList(params) { params: params, }) } +// 新增住户 +export function residentInsert(params) { + return httpService({ + url: `/user/resident/insert`, + method: 'post', + data: params, + }) +} +// 修改住户 +export function residentUpdate(params) { + return httpService({ + url: `/user/resident/update`, + method: 'post', + data: params, + }) +} +export function residentInfo(params) { + return httpService({ + url: `/user/resident/findById`, + method: 'get', + params: params, + }) +} +// 住户审核 // 审核列表 export function reviewList(params) { return httpService({ diff --git a/src/views/Basic/Authority/index.vue b/src/views/Basic/Authority/index.vue index 76e01e8..e75678f 100644 --- a/src/views/Basic/Authority/index.vue +++ b/src/views/Basic/Authority/index.vue @@ -199,9 +199,6 @@ export default { }, deep: true, }, - "tree.checkedKeys"(val) { - // console.log('onCheck', val); - }, }, mounted() { this.getData(); diff --git a/src/views/Basic/EstateInfo/_houseHoldAudit/index.vue b/src/views/Basic/EstateInfo/_houseHoldAudit/index.vue index 6b8c733..a49724d 100644 --- a/src/views/Basic/EstateInfo/_houseHoldAudit/index.vue +++ b/src/views/Basic/EstateInfo/_houseHoldAudit/index.vue @@ -137,7 +137,6 @@ export default { loading: false, // 选择的index selectedRowKeys: [], - tableChoosed: [], tableData: [], ActionsList: [], activeName:'1', diff --git a/src/views/Basic/EstateInfo/_houseHoldInfo/depend/addForm.vue b/src/views/Basic/EstateInfo/_houseHoldInfo/depend/addForm.vue index 4abe215..8c770c8 100644 --- a/src/views/Basic/EstateInfo/_houseHoldInfo/depend/addForm.vue +++ b/src/views/Basic/EstateInfo/_houseHoldInfo/depend/addForm.vue @@ -2,9 +2,9 @@
@@ -18,58 +18,65 @@ layout="vertical" > - + - - + + - + - + + {{item.name}} + - + - + - + + {{item.name}} + - + - + - + @@ -115,24 +122,24 @@
- + - +
- + - +
@@ -140,7 +147,7 @@ - + @@ -151,6 +158,7 @@
@@ -158,42 +166,65 @@ - + + {{item.name}} + - + - + + {{item.name}} + - + + {{item.name}} + - + - + - + + + 住户照片 + +
+ +
+ 上传照片 +
+
+
+
- +
@@ -202,21 +233,163 @@