diff --git a/src/views/modules/base/community/communityTable.vue b/src/views/modules/base/community/communityTable.vue index 9097217b5..1c326ec10 100644 --- a/src/views/modules/base/community/communityTable.vue +++ b/src/views/modules/base/community/communityTable.vue @@ -8,12 +8,6 @@ size="small" :loading="yhymLoading" @click="handleYhymInfo">补全一房一码信息 - 补全小程序小区码 导出一户一档 --> + 智能填报
@@ -220,6 +217,7 @@ +
@@ -231,6 +229,7 @@ import { requestPost } from "@/js/dai/request"; import { mapGetters } from 'vuex' import { Loading } from 'element-ui' // 引入Loading服务 import axios from 'axios' +import baobiao from "@/views/modules/cpts/baobiao"; let loading // 加载动画 export default { @@ -271,6 +270,7 @@ export default { } }, components: { + baobiao, CommunityForm }, async mounted () { @@ -285,7 +285,27 @@ export default { ...mapGetters(['clientHeight', 'iframeHeight']) }, methods: { - + reportForm(){ + let paramMap = { + pageSize: this.pageSize, + pageNo: this.pageNo, + level: this.agencyObj.level, + id: this.agencyObj.id, + ownerName: this.ownerName, + ownerPhone: this.ownerPhone, + rentFlag: this.rentFlag, + purpose: this.purpose, + remark: this.remark, + sortType: this.sortType, + updateStartDate: this.updateStartDate, + updateEndDate: this.updateEndDate, + }; + this.$refs.baobiao.init({ + elseParams: { + categoryKeys:['house_info'], categoryKey: 'house_info', paramMap + } + }) + }, async loadTable (fromTree, treeObj) { console.log(111, this.staffAgencyId) // 是否显示补全一房一码信息按钮 @@ -418,34 +438,6 @@ export default { } }, - // 补全小程序一户一码 - async createBatchNeiQrUrl () { - this.yhymLoading = true - const url = "/gov/org/neighborhood/createBatchNeiQrUrl" - - let params = {} - - const { data, code, msg } = await requestPost(url, params) - - if (code === 0) { - this.yhymLoading = false - this.$message({ - type: "success", - message: "批量生成成功" - }); - } else if (code > 8000) { - this.yhymLoading = false - this.$message({ - showClose: true, - message: msg, - duration: 0 - }) - } else { - this.yhymLoading = false - this.$message.error(msg) - } - }, - async handleEdit (row) { this.formTitle = '修改小区' this.formShow = true