diff --git a/src/views/modules/base/community/buildForm.vue b/src/views/modules/base/community/buildForm.vue
index 96a222c0..7ae2ff1c 100644
--- a/src/views/modules/base/community/buildForm.vue
+++ b/src/views/modules/base/community/buildForm.vue
@@ -58,7 +58,7 @@
label-width="150px">
@@ -75,31 +75,35 @@
prop="longitude"
label-width="150px"
style="display: block">
-
-
- 查询
-
-
-
经度
-
-
-
纬度
-
+
+ placeholder="请输入关键字"
+ v-model="keyWords">
+ 查询
+
+
+ 经度
+
+
+ 纬度
+
+
+
+
@@ -137,7 +141,7 @@ export default {
neighborHoodId: '',//所属小区id
buildingName: '',//房屋名称
// sort: 0,//排序
- totalUnitNum: 0,//单元数
+ totalUnitNum: 1,//单元数
totalFloorNum: 0,//层数
totalHouseNum: 0,//户数
type: '',//房屋类型
@@ -158,7 +162,7 @@ export default {
methods: {
async initForm (type, row, agencyObj) {
-
+ this.$refs.ref_form.resetFields();
this.agencyObj = agencyObj
this.dataForm.agencyId = agencyObj.agencyId
this.dataForm.gridId = agencyObj.gridId
@@ -315,7 +319,7 @@ export default {
neighborHoodId: '',//所属小区id
buildingName: '',//房屋名称
// sort: 0,//排序
- totalUnitNum: 0,//单元数
+ totalUnitNum: 1,//单元数
totalFloorNum: 0,//层数
totalHouseNum: 0,//户数
type: '',//房屋类型
@@ -347,8 +351,8 @@ export default {
{ required: true, message: '楼栋名称不能为空', trigger: 'blur' },
{
min: 1,
- max: 50,
- message: '小区名称长度在 1 到 50个字符',
+ max: 10,
+ message: '小区名称长度在 1 到 10个字符',
trigger: 'blur'
}
],
@@ -358,15 +362,15 @@ export default {
totalUnitNum: [
{ required: true, message: '单元数不能为空', trigger: 'blur' }
],
- totalFloorNum: [
- { required: true, message: '层数不能为空', trigger: 'blur' }
- ],
- totalHouseNum: [
- { required: true, message: '户数不能为空', trigger: 'blur' }
- ],
- longitude: [
- { required: true, message: '坐标不能为空', trigger: 'blur' }
- ],
+ // totalFloorNum: [
+ // { required: true, message: '层数不能为空', trigger: 'blur' }
+ // ],
+ // totalHouseNum: [
+ // { required: true, message: '户数不能为空', trigger: 'blur' }
+ // ],
+ // longitude: [
+ // { required: true, message: '坐标不能为空', trigger: 'blur' }
+ // ],
}
},
@@ -374,7 +378,7 @@ export default {
props: {}
}
-
+
+
\ No newline at end of file
diff --git a/src/views/modules/base/community/buildTable.vue b/src/views/modules/base/community/buildTable.vue
index 3ca4fdd4..afe06e31 100644
--- a/src/views/modules/base/community/buildTable.vue
+++ b/src/views/modules/base/community/buildTable.vue
@@ -60,6 +60,7 @@
- 进入
+ @click="handleToNextLevel(scope.row)">进入 -->
-
-
- 查询
-
-
-
经度
-
+
-
- 纬度
-
+ placeholder="请输入关键字"
+ v-model="keyWords">
+ 查询
+
+
+ 经度
+
+
+ 纬度
+
+
+
@@ -273,7 +275,7 @@ export default {
},
async initForm (type, row, agencyObj) {
-
+ this.$refs.ref_form.resetFields();
this.agencyObj = agencyObj
// debugger
map.setCenter(new TMap.LatLng(agencyObj.latitude, agencyObj.longitude))
@@ -445,6 +447,7 @@ export default {
longitude: '', //经度
latitude: '' //纬度
}
+ this.propertyFormShow = false
},
// 开启加载动画
startLoading () {
@@ -532,3 +535,9 @@ export default {
margin-top: 30px;
}
+
+
diff --git a/src/views/modules/base/community/communityTable.vue b/src/views/modules/base/community/communityTable.vue
index f5e5266c..8c6f0936 100644
--- a/src/views/modules/base/community/communityTable.vue
+++ b/src/views/modules/base/community/communityTable.vue
@@ -65,37 +65,40 @@
border
:height="tableHeight"
v-loading="tableLoading"
+ :header-cell-style="{background:'#2195FE',color:'#FFFFFF'}"
style="width: 100%">
+ min-width="100">
+ min-width="100">
+ min-width="120">
+ label="详细地址"
+ min-width="180">
+ label="备注"
+ min-width="50">
- 进入
+ @click="handleToNextLevel(scope.row)">进入 -->
- 否
是
+ 否
@@ -137,7 +137,7 @@ export default {
houseId: '', //房屋ID
houseType: '1',
purpose: '1',
- rentFlag: 0,
+ rentFlag: 1,
dataForm: {
neighborHoodId: '', // 所属小区ID
buildingId: '',//所属楼栋ID
@@ -145,7 +145,7 @@ export default {
doorName: '',//门牌号
houseType: '',//房屋类型【楼房,平房,别墅】
purpose: '',//房屋用途【住宅,商业,办公,工业,仓储,商住混用,其他】
- rentFlag: 0,//是否出租【是:1,否:0】
+ rentFlag: 1,//是否出租【是:1,否:0】
ownerPhone: '', //房主电话
ownerName: '', //房主名字
ownerIdCard: '' //房主身份证
@@ -163,7 +163,7 @@ export default {
methods: {
async initForm (type, row, agencyObj) {
-
+ this.$refs.ref_form.resetFields();
this.agencyObj = agencyObj
this.dataForm.neighborHoodId = agencyObj.communityId
this.dataForm.buildingId = agencyObj.id
@@ -282,7 +282,7 @@ export default {
this.houseId = '' //房屋ID
this.houseType = '1'
this.purpose = '1'
- this.rentFlag = 0
+ this.rentFlag = 1
this.dataForm = {
neighborHoodId: '', // 所属小区ID
buildingId: '',//所属楼栋ID
@@ -290,11 +290,12 @@ export default {
doorName: '',//门牌号
houseType: '1',//房屋类型【楼房,平房,别墅】
purpose: '1',//房屋用途【住宅,商业,办公,工业,仓储,商住混用,其他】
- rentFlag: 0,//是否出租【是:1,否:0】
+ rentFlag: 1,//是否出租【是:1,否:0】
ownerPhone: '', //房主电话
ownerName: '', //房主名字
ownerIdCard: '' //房主身份证
}
+
},
// 开启加载动画
startLoading () {
@@ -346,7 +347,7 @@ export default {
props: {}
}
-
+
\ No newline at end of file
diff --git a/src/views/modules/base/community/roomTable.vue b/src/views/modules/base/community/roomTable.vue
index c4a8319e..7fb5197f 100644
--- a/src/views/modules/base/community/roomTable.vue
+++ b/src/views/modules/base/community/roomTable.vue
@@ -60,6 +60,7 @@
@@ -98,7 +99,7 @@
+ width="170">