|
@@ -387,8 +387,12 @@
|
|
this.selectList = this.XQList;
|
|
this.selectList = this.XQList;
|
|
})
|
|
})
|
|
} else {
|
|
} else {
|
|
- this.open = true;
|
|
|
|
- this.selectList = this.XQList;
|
|
|
|
|
|
+ getAreaList(this.XZQValue.dictValue).then(res => {
|
|
|
|
+ this.XQList = res.data;
|
|
|
|
+ this.selectList = this.XQList;
|
|
|
|
+ this.open = true;
|
|
|
|
+ })
|
|
|
|
+
|
|
}
|
|
}
|
|
} else if (e == 'ld') { //楼栋
|
|
} else if (e == 'ld') { //楼栋
|
|
|
|
|
|
@@ -396,8 +400,11 @@
|
|
this.$modal.msg('请选择小区')
|
|
this.$modal.msg('请选择小区')
|
|
|
|
|
|
} else {
|
|
} else {
|
|
- this.open = true;
|
|
|
|
- this.selectList = this.LDList;
|
|
|
|
|
|
+ getBuildingList(this.XQValue.id).then(res => {
|
|
|
|
+ this.LDList = res.data
|
|
|
|
+ this.selectList = this.LDList;
|
|
|
|
+ this.open = true;
|
|
|
|
+ })
|
|
}
|
|
}
|
|
|
|
|
|
} else if (e == 'dy') { //单元
|
|
} else if (e == 'dy') { //单元
|
|
@@ -405,16 +412,23 @@
|
|
this.$modal.msg('请选择楼栋')
|
|
this.$modal.msg('请选择楼栋')
|
|
|
|
|
|
} else {
|
|
} else {
|
|
- this.open = true;
|
|
|
|
- this.selectList = this.DYList;
|
|
|
|
|
|
+ getUnitList(this.LDValue.id).then(res => {
|
|
|
|
+ this.DYList = res.data
|
|
|
|
+ this.selectList = this.DYList;
|
|
|
|
+ this.open = true;
|
|
|
|
+ })
|
|
}
|
|
}
|
|
} else if (e == 'fj') { //房间
|
|
} else if (e == 'fj') { //房间
|
|
if (this.isEmpty(this.DYValue.id)) {
|
|
if (this.isEmpty(this.DYValue.id)) {
|
|
this.$modal.msg('请选择单元')
|
|
this.$modal.msg('请选择单元')
|
|
|
|
|
|
} else {
|
|
} else {
|
|
- this.open = true;
|
|
|
|
- this.selectList = this.FJList;
|
|
|
|
|
|
+ getHousesList(this.DYValue.id).then(res => {
|
|
|
|
+ this.FJList = res.data
|
|
|
|
+ this.selectList = this.FJList;
|
|
|
|
+ this.open = true;
|
|
|
|
+
|
|
|
|
+ })
|
|
}
|
|
}
|
|
} else if (e == 'reason') {
|
|
} else if (e == 'reason') {
|
|
this.openDict = true;
|
|
this.openDict = true;
|
|
@@ -434,9 +448,7 @@
|
|
this.LDValue = ''; //重置楼栋数据
|
|
this.LDValue = ''; //重置楼栋数据
|
|
this.DYValue = ''; //重置单元数据
|
|
this.DYValue = ''; //重置单元数据
|
|
this.FJValue = '';
|
|
this.FJValue = '';
|
|
- getAreaList(item.dictValue).then(res => {
|
|
|
|
- this.XQList = res.data;
|
|
|
|
- })
|
|
|
|
|
|
+
|
|
} else if (this.type == 'reason') {
|
|
} else if (this.type == 'reason') {
|
|
this.reasonValue = item;
|
|
this.reasonValue = item;
|
|
}
|
|
}
|
|
@@ -456,17 +468,13 @@
|
|
this.DYValue = ''; //重置单元数据
|
|
this.DYValue = ''; //重置单元数据
|
|
this.FJValue = '';
|
|
this.FJValue = '';
|
|
this.administrative = item.administrative;
|
|
this.administrative = item.administrative;
|
|
- getBuildingList(item.id).then(res => {
|
|
|
|
- this.LDList = res.data
|
|
|
|
- })
|
|
|
|
|
|
+
|
|
} else if (this.type == 'ld') {
|
|
} else if (this.type == 'ld') {
|
|
this.LDValue = item;
|
|
this.LDValue = item;
|
|
//根据楼栋ID 获取单元数据
|
|
//根据楼栋ID 获取单元数据
|
|
this.DYValue = ''; //重置单元数据
|
|
this.DYValue = ''; //重置单元数据
|
|
this.FJValue = '';
|
|
this.FJValue = '';
|
|
- getUnitList(item.id).then(res => {
|
|
|
|
- this.DYList = res.data
|
|
|
|
- })
|
|
|
|
|
|
+
|
|
} else if (this.type == 'dy') {
|
|
} else if (this.type == 'dy') {
|
|
this.DYValue = item;
|
|
this.DYValue = item;
|
|
this.FJValue = ''; //重置房间数据
|
|
this.FJValue = ''; //重置房间数据
|
|
@@ -474,9 +482,7 @@
|
|
this.houseHeadName = "";
|
|
this.houseHeadName = "";
|
|
this.houseHeadPhone = "";
|
|
this.houseHeadPhone = "";
|
|
this.houseHeadIDcardNumber = "";
|
|
this.houseHeadIDcardNumber = "";
|
|
- getHousesList(item.id).then(res => {
|
|
|
|
- this.FJList = res.data
|
|
|
|
- })
|
|
|
|
|
|
+
|
|
} else if (this.type == 'fj') {
|
|
} else if (this.type == 'fj') {
|
|
this.FJValue = item;
|
|
this.FJValue = item;
|
|
this.houseHeadName = item.houseUserName;
|
|
this.houseHeadName = item.houseUserName;
|