diff --git a/src/views/modules/base/collect.vue b/src/views/modules/base/collect.vue index 7a394a0c..30fdeb7d 100644 --- a/src/views/modules/base/collect.vue +++ b/src/views/modules/base/collect.vue @@ -130,7 +130,7 @@ align="center" label="单位或学校 " /> - +
- +
+ + + +
{{ dataForm.houseHolderName }}
+
+ + +
{{ dataForm.address }}
+
+
+ + +
{{ dataForm.houseType }}
+
+ + +
{{ dataForm.totalResi }}
+
+
+ +
+ + + + + + + + + + + + + + +
@@ -221,6 +282,7 @@ export default { endTime: "", address: '' }, + dataForm: {}, communityList: [], spanIndex: [], // 合并的行 importBtnTitle: "导入", @@ -330,10 +392,23 @@ export default { this.handleSearch() }, - async handleWatch (rowIndex) { - this.formShow = true; + async handleWatch (row) { + // this.formShow = true; await nextTick(); - this.$refs.eleEditForm.initForm("detail", this.tableData[rowIndex]); + const url = "/epmetuser/icresicollect/detail"; + + const { data, code, msg } = await requestPost(url, { + id: row.id, + }); + + if (code === 0) { + console.log('data----de', data) + this.dataForm = { ...data, houseType: data.houseType == '1' ? '自有' : '租住' } + // this.getTableData(); + this.formShow = true; + } else { + this.$message.success("操作失败!"); + } }, async handleEdit (rowIndex) { @@ -466,4 +541,7 @@ export default { position: relative; overflow: visible; } +.wd50 { + min-width: 200px; +} diff --git a/src/views/modules/visual/basicinfo/basicInfoCommunity.vue b/src/views/modules/visual/basicinfo/basicInfoCommunity.vue index 12bcfd1f..959397b4 100644 --- a/src/views/modules/visual/basicinfo/basicInfoCommunity.vue +++ b/src/views/modules/visual/basicinfo/basicInfoCommunity.vue @@ -557,7 +557,9 @@ export default { min-width: 50px !important; margin-top: 5px !important; padding: 3px !important; - background-color: rgb(247, 250, 253); + background-color: #06186d; + color: #1a64cc; + border-color: #1a64cc; text-align: center; }