From ad94ed89ac3933aad9b9ea8a0b54751e135f34fd Mon Sep 17 00:00:00 2001 From: dai <851733175@qq.com> Date: Fri, 6 Jan 2023 19:36:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E6=8C=89=E9=92=AE=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/resiInfo.vue | 1729 +++++++++++++++++++++++++++++ src/views/modules/base/resi.vue | 79 +- 2 files changed, 1777 insertions(+), 31 deletions(-) create mode 100644 src/views/components/resiInfo.vue diff --git a/src/views/components/resiInfo.vue b/src/views/components/resiInfo.vue new file mode 100644 index 000000000..a4df68c01 --- /dev/null +++ b/src/views/components/resiInfo.vue @@ -0,0 +1,1729 @@ + + + + + diff --git a/src/views/modules/base/resi.vue b/src/views/modules/base/resi.vue index 03657baa3..2798b580c 100644 --- a/src/views/modules/base/resi.vue +++ b/src/views/modules/base/resi.vue @@ -322,7 +322,11 @@
- 重置 + +
+ +
+ +
+ 关闭 +
+
+ - - @@ -497,13 +521,13 @@ import nextTick from "dai-js/tools/nextTick"; import resiSearch from "../../components/resiSearch.vue"; import resiForm from "../../components/resiForm.vue"; +import resiInfo from "../../components/resiInfo.vue"; import editResi from "../../components/editResi.vue"; import axios from "axios"; import { mapGetters } from "vuex"; import resiTransfer from "../../components/resiTransfer.vue"; import resiChangeRecord from "../../components/resiChangeRecord.vue"; -import peopleMore from "@/views/modules/shequ/cpts/people-more"; import baobiao from "@/views/modules/cpts/baobiao"; import diyInfo from "./diyInfo.vue"; import { requestPost } from "@/js/dai/request"; @@ -516,10 +540,10 @@ export default { baobiao, resiSearch, resiForm, + resiInfo, editResi, resiTransfer, resiChangeRecord, - peopleMore, diyInfo, resiChangeTransfer, @@ -545,7 +569,9 @@ export default { dialogEditVisible: false, dialogVisible: false, // 显示人员详情 - showedPeopleMoreInfo: false, + dialogVisible2: false, + lookResiId: "", + uploadUlr: window.SITE_CONFIG["apiURL"] + "/epmetuser/icresiuser/importExcel", currentPage: 1, @@ -1050,40 +1076,31 @@ export default { handleClick(tab, event) { console.log(tab, event); }, + + // 查看 async handleLook(row) { - this.formName = "居民详情"; console.log(row); - this.lookInfo.userId = row.icResiUserId; - this.lookInfo.gridName = row.GRID_ID; - this.showedPeopleMoreInfo = true; - // this.disabled = true - // this.editAgencyId = row.ORG_ID - // await this.getFormList('edit') - // this.getrowInfo(row.icResiUserId) - }, - handleCancleLook() { - this.lookInfo.userId = ""; - this.lookInfo.gridName = ""; - this.showedPeopleMoreInfo = false; + this.lookResiId = row.resiId; + this.dialogVisible2 = true; }, + + // 编辑 async handleEdit(row) { - // this.disabled = false; - // this.editAgencyId = row.ORG_ID; this.editUserId = row.resiId; this.formName = "编辑居民"; this.dialogVisible = true; - // await this.getFormList("edit"); - // await this.getrowInfo(row.icResiUserId); }, + handlerReset() { this.$refs.baseForm.resetForm(); }, + async handleAdd() { this.formName = "新增居民"; - // await this.getFormList(); this.editUserId = ""; this.dialogVisible = true; }, + async handleChangeGroup(val) { console.log("changeguoprrrrr----", val); let { childGroup, value, partyInfo } = val;