Browse Source

恢复页面4

dev-用户反馈
dai 3 years ago
parent
commit
fbcbf8aebc
  1. 62
      src/views/modules/base/community/communityTable.vue

62
src/views/modules/base/community/communityTable.vue

@ -8,12 +8,6 @@
size="small"
:loading="yhymLoading"
@click="handleYhymInfo">补全一房一码信息</el-button>
<el-button v-if="showYhymInfo"
style=""
class="diy-button--export"
size="small"
:loading="yhymLoading"
@click="createBatchNeiQrUrl">补全小程序小区码</el-button>
<el-button style=""
class="diy-button--add"
size="small"
@ -94,6 +88,9 @@
:disabled="yihuyidangDisabled"
@click="handleExportYihuyidang()">导出一户一档</el-button> -->
<el-button size="small"
class="diy-button--add"
@click="reportForm">智能填报</el-button>
</div>
<div class="div_table_item">
@ -220,6 +217,7 @@
</span>
</el-dialog>
<baobiao ref="baobiao" />
</div>
</template>
@ -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

Loading…
Cancel
Save