-
+
新增楼宇
+ @click="handleAdd">新增楼栋
下载楼宇模板
+ @click="handleExportModule('building')">下载楼栋模板
导入楼宇数据
+ class="diy-button--delete">导入楼栋数据
0) {
- this.$confirm("确认删除选择的楼宇?", "提示", {
+ this.$confirm("确认删除选择的楼栋?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
@@ -362,7 +316,7 @@ export default {
});
} else {
- this.$message.warning('请先选择要删除的楼宇')
+ this.$message.warning('请先选择要删除的楼栋')
}
},
selectAll (selection) {
@@ -460,8 +414,7 @@ export default {
const url = "/gov/org/building/exportbuildinginfo"
let params = {
- ownerName: this.ownerName,
- ownerPhone: this.ownerPhone,
+
neighborHoodId: this.agencyObj.id
}
@@ -510,7 +463,7 @@ export default {
let title = ''
let url = ""
if (type === 'building') {
- title = '楼宇导入模板'
+ title = '楼栋导入模板'
url = '/gov/org/building/exporttemplate'
} else if (type === 'room') {
diff --git a/src/views/modules/base/community/community copy.vue b/src/views/modules/base/community/community copy.vue
new file mode 100644
index 000000000..2812b0d7c
--- /dev/null
+++ b/src/views/modules/base/community/community copy.vue
@@ -0,0 +1,341 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/base/community/community.vue b/src/views/modules/base/community/community.vue
index ece5784a9..91dd20834 100644
--- a/src/views/modules/base/community/community.vue
+++ b/src/views/modules/base/community/community.vue
@@ -26,19 +26,77 @@
-
-
+
+
+
+
+ 查询
+ 重置
+
+
+
-
- {
+ this.$refs['ref_buildingTable'].loadTable(false, this.selTreeObj, this.ownerName, this.ownerPhone, this.rentState)
+ })
+ } else {
+ this.$message.warning('请输入查询条件')
+ }
+
+
+ },
+
+ //重置搜索条件
+ resetSearch () {
+ this.ownerName = ''
+ this.ownerPhone = ''
+ this.rentState = ''
+
+ this.pageSize = 10
+ this.pageNo = 1
+ this.handleNodeClick(this.selObj)
+ // this.loadTable()
+ },
+
async loadTree (isRefresh) {
const url = "/gov/org/building/treelist"
let params = {}
@@ -157,14 +260,15 @@ export default {
},
handleNodeClick (obj) {
- this.getTreeObj(obj)
-
+ this.ownerName = ''
+ this.ownerPhone = ''
+ this.rentState = ''
+ this.showRoomTable = false
+ this.selObj = JSON.parse(JSON.stringify(obj))
+ this.getTreeObj(obj)
this.$nextTick(() => {
-
-
-
if (obj.level === 'building') {//点击楼栋
this.$refs['ref_buildingTable'].loadTable(true, this.selTreeObj)
@@ -343,3 +447,7 @@ export default {
}
}
+
+
diff --git a/src/views/modules/base/community/communityForm.vue b/src/views/modules/base/community/communityForm.vue
index f9aec1523..9dd8aef98 100644
--- a/src/views/modules/base/community/communityForm.vue
+++ b/src/views/modules/base/community/communityForm.vue
@@ -74,18 +74,6 @@
-
-
-
+
+
+
+
diff --git a/src/views/modules/base/community/communityTable copy.vue b/src/views/modules/base/community/communityTable copy.vue
new file mode 100644
index 000000000..7edd74bff
--- /dev/null
+++ b/src/views/modules/base/community/communityTable copy.vue
@@ -0,0 +1,793 @@
+
+
+
+
+
新增小区
+
+
+ 下载小区模板
+
+
+ 导入小区数据
+
+
+ 下载楼栋模板
+
+
+ 导入楼栋数据
+
+ 下载房屋模板
+
+
+ 导入房屋数据
+
+
+
导出
+
社区二维码
+
批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查看
+ 修改
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/base/community/communityTable.vue b/src/views/modules/base/community/communityTable.vue
index 3d4785f98..2b2cd15f1 100644
--- a/src/views/modules/base/community/communityTable.vue
+++ b/src/views/modules/base/community/communityTable.vue
@@ -1,43 +1,6 @@
-
+
下载楼宇模板
+ @click="handleExportModule('building')">下载楼栋模板
导入楼宇数据
+ class="diy-button--delete">导入楼栋数据
-
-
+
-
- 是
- 否
+ 出租
+ 闲置
+ 自住
@@ -147,7 +148,7 @@ export default {
doorName: '',//门牌号
houseType: '',//房屋类型【楼房,平房,别墅】
purpose: '',//房屋用途【住宅,商业,办公,工业,仓储,商住混用,其他】
- rentFlag: 1,//是否出租【是:1,否:0】
+ rentFlag: 0,//房屋状态【是:1,否:0】 出租1、闲置2、自住 0
ownerPhone: '', //房主电话
ownerName: '', //房主名字
ownerIdCard: '' //房主身份证
@@ -285,7 +286,7 @@ export default {
this.houseId = '' //房屋ID
this.houseType = '1'
this.purpose = '1'
- this.rentFlag = 1
+ this.rentFlag = 0
this.dataForm = {
neighborHoodId: '', // 所属小区ID
buildingId: '',//所属楼栋ID
@@ -293,7 +294,7 @@ export default {
doorName: '',//门牌号
houseType: '1',//房屋类型【楼房,平房,别墅】
purpose: '1',//房屋用途【住宅,商业,办公,工业,仓储,商住混用,其他】
- rentFlag: 1,//是否出租【是:1,否:0】
+ rentFlag: 0,//是否出租【是:1,否:0】
ownerPhone: '', //房主电话
ownerName: '', //房主名字
ownerIdCard: '' //房主身份证
diff --git a/src/views/modules/base/community/roomTable copy.vue b/src/views/modules/base/community/roomTable copy.vue
new file mode 100644
index 000000000..4420c9118
--- /dev/null
+++ b/src/views/modules/base/community/roomTable copy.vue
@@ -0,0 +1,712 @@
+
+
+
+
+
+
新增房屋
+
+ 下载房屋模板
+
+ 导入房屋数据
+
+
+
导出
+
批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查看
+ 修改
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/base/community/roomTable.vue b/src/views/modules/base/community/roomTable.vue
index bd612699b..d5cb99111 100644
--- a/src/views/modules/base/community/roomTable.vue
+++ b/src/views/modules/base/community/roomTable.vue
@@ -1,39 +1,5 @@
-
+
+
+
+
+
+
+
+
+
+
@@ -222,6 +244,7 @@
@closed="detailClosed">
@@ -247,6 +270,7 @@ export default {
pageNo: 0,
tableLoading: false,
agencyId: '',
+ gridList: [],//所属网格
unitList: [],//单位list
serviceList: [
{
@@ -279,9 +303,11 @@ export default {
title: '',
serviceMatter: '',
startTime: '',
- endTime: ''
+ endTime: '',
+ gridId: ''
},
+
tableData: [],
//form相关
@@ -309,15 +335,33 @@ export default {
this.agencyId = user.agencyId
//获取建联单位
- await this.loadUnit()
+ this.loadUnit()
+ this.loadGrid()
//获取网格下拉框数据
- await this.loadTable()
+ this.loadTable()
},
methods: {
handleSearch () {
this.loadTable()
},
+ async loadGrid () {
+ const url = "/gov/org/customergrid/gridoption"
+
+ let params = {
+ agencyId: this.agencyId
+ }
+
+ const { data, code, msg } = await requestPost(url, params)
+
+ if (code === 0) {
+ this.gridList = data
+
+ } else {
+ this.$message.error(msg)
+ }
+
+ },
async loadUnit () {
const url = "/heart/icpartyunit/option"
diff --git a/src/views/modules/communityParty/regionalParty/activitysDetail.vue b/src/views/modules/communityParty/regionalParty/activitysDetail.vue
index 8e9796692..70efa7af3 100644
--- a/src/views/modules/communityParty/regionalParty/activitysDetail.vue
+++ b/src/views/modules/communityParty/regionalParty/activitysDetail.vue
@@ -6,7 +6,21 @@
:inline="true"
:model="formData"
class="form">
+
+
+
+
+
+
@@ -136,6 +150,8 @@ export default {
async initForm (row) {
this.startLoading()
+ const { user } = this.$store.state
+ this.agencyId = user.agencyId
for (let item of this.serviceList) {
if (row.serviceMatter === item.value) {
@@ -283,6 +299,10 @@ export default {
type: Array,
default: []
},
+ gridList: {
+ type: Array,
+ default: []
+ },
}
}
diff --git a/src/views/modules/communityParty/regionalParty/activitysForm.vue b/src/views/modules/communityParty/regionalParty/activitysForm.vue
index b67083433..8bc70b9f8 100644
--- a/src/views/modules/communityParty/regionalParty/activitysForm.vue
+++ b/src/views/modules/communityParty/regionalParty/activitysForm.vue
@@ -8,6 +8,21 @@
:rules="dataRule"
:disabled="formType === 'detail'"
class="form">
+
+
+
+
+
+
+
-
diff --git a/src/views/modules/communityParty/regionalParty/unitsForm.vue b/src/views/modules/communityParty/regionalParty/unitsForm.vue
index 5c3f0b4cb..47d2a0a91 100644
--- a/src/views/modules/communityParty/regionalParty/unitsForm.vue
+++ b/src/views/modules/communityParty/regionalParty/unitsForm.vue
@@ -73,9 +73,10 @@
style="display: block"
prop="memberCount"
label-width="150px">
-
{
diff --git a/src/views/pages/caiji.vue b/src/views/pages/caiji.vue
index 170cb01d8..e5ed312f9 100644
--- a/src/views/pages/caiji.vue
+++ b/src/views/pages/caiji.vue
@@ -25,7 +25,7 @@
-
{{selBuild.label}}
@@ -402,7 +402,7 @@ export default {
});
}
},
- //获取楼宇列表
+ //获取楼栋列表
async loadBuild () {
const url = "/gov/org/icbuilding/buildingoption"
let params = {
@@ -521,7 +521,7 @@ export default {
if (selType === 'unit') {
if (!this.selBuild) {
Toast({
- message: '请先选择楼宇',
+ message: '请先选择楼栋',
duration: 3000
});
return false