Commit 1e7f274a authored by zhangrui123's avatar zhangrui123

修改小区总数,房屋总面积,总门牌数,总分户数

parent 8afdc5c1
...@@ -235,5 +235,6 @@ export default { ...@@ -235,5 +235,6 @@ export default {
//日志管理 //日志管理
GET_RIZHI: '/service-log/operateRecord', //日志列表 GET_RIZHI: '/service-log/operateRecord', //日志列表
GET_RIZHI_INFO: '/service-log/operateRecord/{id}', //日志详情 GET_RIZHI_INFO: '/service-log/operateRecord/{id}', //日志详情
GET_XIAOQUTOTAL: '/service-basicdatasync-ddd/summary/community/totare', //查询小区住宅面积,总楼栋数,总户数信息
} }
...@@ -404,6 +404,7 @@ export default { ...@@ -404,6 +404,7 @@ export default {
// setTimeout(() => { // setTimeout(() => {
this.getConfig(), this.getConfig(),
this.getSearchParams() this.getSearchParams()
this.getXiaoqu()
// }, 0) // }, 0)
}) })
} }
...@@ -419,6 +420,19 @@ export default { ...@@ -419,6 +420,19 @@ export default {
} }
}) })
}, },
getXiaoqu(){
this.$ajax.get({
url: this.$api.GET_XIAOQUTOTAL,
}).then(res => {
if (res.code == '200') {
const contentTotal = res.data.content
this.pagination.total= contentTotal.sectCount
this.pagination.totStCnstArea= contentTotal.stCnstArea
this.pagination.totUnits= contentTotal.totUnits
this.pagination.totHous= contentTotal.totHous
}
})
},
closeMoreSearch() { closeMoreSearch() {
this.simpleSearchForm = true this.simpleSearchForm = true
}, },
...@@ -584,10 +598,6 @@ export default { ...@@ -584,10 +598,6 @@ export default {
if(this.$store.state.userInfos.orgType == 2){ if(this.$store.state.userInfos.orgType == 2){
this.showCom = false this.showCom = false
} }
this.pagination.total= this.$com.confirm(res, 'data.totalRows', 0)
this.pagination.totStCnstArea= this.$com.confirm(res, 'data.totStCnstArea', 0)
this.pagination.totUnits= this.$com.confirm(res, 'data.totUnits', 0)
this.pagination.totHous= this.$com.confirm(res, 'data.totHous', 0)
this.tableData = this.$com.confirm(res, 'data.content', []) this.tableData = this.$com.confirm(res, 'data.content', [])
// 处理显示的字段 // 处理显示的字段
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment