diff --git a/src/views/modules/base/community/buildForm.vue b/src/views/modules/base/community/buildForm.vue
index 034182cf..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">
+
+
+
-
-
+
@@ -139,7 +141,7 @@ export default {
neighborHoodId: '',//所属小区id
buildingName: '',//房屋名称
// sort: 0,//排序
- totalUnitNum: 0,//单元数
+ totalUnitNum: 1,//单元数
totalFloorNum: 0,//层数
totalHouseNum: 0,//户数
type: '',//房屋类型
@@ -317,7 +319,7 @@ export default {
neighborHoodId: '',//所属小区id
buildingName: '',//房屋名称
// sort: 0,//排序
- totalUnitNum: 0,//单元数
+ totalUnitNum: 1,//单元数
totalFloorNum: 0,//层数
totalHouseNum: 0,//户数
type: '',//房屋类型
@@ -349,8 +351,8 @@ export default {
{ required: true, message: '楼栋名称不能为空', trigger: 'blur' },
{
min: 1,
- max: 50,
- message: '小区名称长度在 1 到 50个字符',
+ max: 10,
+ message: '小区名称长度在 1 到 10个字符',
trigger: 'blur'
}
],
@@ -360,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' }
+ // ],
}
},
@@ -376,7 +378,7 @@ export default {
props: {}
}
-
+
+
\ No newline at end of file
diff --git a/src/views/modules/base/community/communityForm.vue b/src/views/modules/base/community/communityForm.vue
index 7651d1ef..c6875c5e 100644
--- a/src/views/modules/base/community/communityForm.vue
+++ b/src/views/modules/base/community/communityForm.vue
@@ -535,3 +535,9 @@ export default {
margin-top: 30px;
}
+
+
diff --git a/src/views/modules/base/community/roomForm.vue b/src/views/modules/base/community/roomForm.vue
index eb055e29..9b595dc5 100644
--- a/src/views/modules/base/community/roomForm.vue
+++ b/src/views/modules/base/community/roomForm.vue
@@ -74,8 +74,8 @@
style="display: block">
- 否
是
+ 否
@@ -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: '' //房主身份证
@@ -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,7 +290,7 @@ export default {
doorName: '',//门牌号
houseType: '1',//房屋类型【楼房,平房,别墅】
purpose: '1',//房屋用途【住宅,商业,办公,工业,仓储,商住混用,其他】
- rentFlag: 0,//是否出租【是:1,否:0】
+ rentFlag: 1,//是否出租【是:1,否:0】
ownerPhone: '', //房主电话
ownerName: '', //房主名字
ownerIdCard: '' //房主身份证
@@ -347,7 +347,7 @@ export default {
props: {}
}
-
+
\ No newline at end of file