From 638408f564b291c5253c99e42f1118f4cbb56dc5 Mon Sep 17 00:00:00 2001 From: wanglei Date: Thu, 28 Mar 2024 13:58:30 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=B0=8F=E5=8C=BA=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E3=80=81=E6=A5=BC=E6=A0=8B=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E8=81=94=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/szxc/ldinfo/index.vue | 378 ++++++++++++++++++----- ruoyi-ui/src/views/szxc/xqinfo/index.vue | 268 +++++++++++----- 2 files changed, 481 insertions(+), 165 deletions(-) diff --git a/ruoyi-ui/src/views/szxc/ldinfo/index.vue b/ruoyi-ui/src/views/szxc/ldinfo/index.vue index b230a10..95b73b6 100644 --- a/ruoyi-ui/src/views/szxc/ldinfo/index.vue +++ b/ruoyi-ui/src/views/szxc/ldinfo/index.vue @@ -1,9 +1,13 @@ @@ -1079,6 +1120,7 @@ import { listJmtag, addAllJmtag } from "@/api/szxc/jmtag"; import { listTag } from "@/api/szxc/tag"; import { listBankinfo, editDefault, addBankinfo, updateBankinfo, delBankinfo } from "@/api/szxc/bankinfo"; import { listCarinfo, delCarinfo, addCarinfo, updateCarinfo } from "@/api/szxc/carinfo"; +import { listHouseinfo } from "@/api/szxc/houseinfo"; import { addRecard } from "@/api/szxc/recard"; import { addOffrecard } from "@/api/szxc/offrecard"; import { deptTreeSelect } from "@/api/system/user"; @@ -1089,7 +1131,8 @@ export default { name: "Jminfo", components: { Treeselect }, dicts: ['szxc_hjxz', 'szxc_gj', 'szxc_head', 'szxc_hzgx', 'szxc_yes_no', 'szxc_off', 'szxc_gj', 'sys_user_sex', - 'szxc_brqk', 'szxc_hyzk', 'szxc_xueli', 'szxc_zjxy', 'szxc_jkzk', 'szxc_zzmm', 'szxc_hkbg_reason', 'szxc_cartype'], + 'szxc_brqk', 'szxc_hyzk', 'szxc_xueli', 'szxc_zjxy', 'szxc_jkzk', 'szxc_zzmm', 'szxc_hkbg_reason', + 'szxc_cartype', 'szxc_qnfs', 'szxc_fw_xz', 'szxc_xq_type', 'szxc_wy_type', 'szxc_cs_type', 'szxc_xqfwlx'], data() { return { queryMore: false, @@ -1409,6 +1452,16 @@ export default { ], }, }, + // 房屋信息 + fwxx: { + visible: false, + // 遮罩层 + loading: false, + // 查询列表 + list: [], + // 居民信息 + jminRow: null, + }, }; }, created() { @@ -1579,6 +1632,9 @@ export default { case "handleClxx": this.handleClxx(row); break; + case "handleFwxx": + this.handleFwxx(row); + break; default: break; } @@ -1818,7 +1874,7 @@ export default { this.clxx.visible = true; this.getlistClxx(); }, - /** 查询银行卡信息列表 */ + /** 查询车辆信息列表 */ getlistClxx() { listCarinfo({ pageNum: 1, @@ -1828,7 +1884,7 @@ export default { this.clxx.list = response.rows }); }, - // 添加银行卡 + // 添加车辆 clxxAdd(){ this.resetForm("clxxForm"); this.clxx.form = { @@ -1868,7 +1924,7 @@ export default { this.$modal.msgSuccess("删除成功"); }).catch(() => {}); }, - // 添加提交银行卡 + // 添加车辆银行卡 clxxSubmit(){ this.$refs["clxxForm"].validate(valid => { if (valid) { @@ -1888,6 +1944,22 @@ export default { } }); }, + // 房屋信息 + handleFwxx(row){ + this.fwxx.jminRow = row; + this.fwxx.visible = true; + this.getlistHouseinfo(); + }, + /** 查询房屋信息列表 */ + getlistHouseinfo() { + listHouseinfo({ + pageNum: 1, + pageSize: 100000000, + ownerId: this.fwxx.jminRow.id + }).then(response => { + this.fwxx.list = response.rows + }); + }, } }; diff --git a/ruoyi-ui/src/views/szxc/ldinfo/index.vue b/ruoyi-ui/src/views/szxc/ldinfo/index.vue index 95b73b6..9fc12ea 100644 --- a/ruoyi-ui/src/views/szxc/ldinfo/index.vue +++ b/ruoyi-ui/src/views/szxc/ldinfo/index.vue @@ -310,7 +310,7 @@ - + - + -