|
@@ -762,7 +762,7 @@
|
|
houseId: this.roomItem.roomId,
|
|
houseId: this.roomItem.roomId,
|
|
enginCycle: this.projectValue2.dictValue, // 工程周期
|
|
enginCycle: this.projectValue2.dictValue, // 工程周期
|
|
enginType: this.roomItem.enginCycle,
|
|
enginType: this.roomItem.enginCycle,
|
|
- enginClassification: 'indoor_engin', //写死 室内
|
|
|
|
|
|
+ enginClassification: 'indoor_engin', //写死 室内
|
|
}
|
|
}
|
|
getRoomProjectId(param).then(res => {
|
|
getRoomProjectId(param).then(res => {
|
|
|
|
|
|
@@ -972,13 +972,21 @@
|
|
});
|
|
});
|
|
}
|
|
}
|
|
} else if (e == 'xq') {
|
|
} else if (e == 'xq') {
|
|
- if (this.isEmpty(this.XZQValue.dictValue)) {
|
|
|
|
- this.$modal.msg('请选择行政区')
|
|
|
|
-
|
|
|
|
- } else {
|
|
|
|
- this.open = true;
|
|
|
|
- this.selectList = this.XQList;
|
|
|
|
- }
|
|
|
|
|
|
+ // if (this.isEmpty(this.XZQValue.dictValue)) {
|
|
|
|
+ // this.$modal.msg('请选择行政区')
|
|
|
|
+ //
|
|
|
|
+ // } else {
|
|
|
|
+ this.XQValue = '';
|
|
|
|
+ this.LDValue = '';
|
|
|
|
+ this.DYValue = '';
|
|
|
|
+ this.FJValue = '';
|
|
|
|
+ getAreaList('').then(res => {
|
|
|
|
+ this.XQList = res.data;
|
|
|
|
+ this.open = true;
|
|
|
|
+ this.selectList = this.XQList;
|
|
|
|
+ })
|
|
|
|
+
|
|
|
|
+ // }
|
|
} else if (e == 'ld') {
|
|
} else if (e == 'ld') {
|
|
|
|
|
|
if (this.isEmpty(this.XQValue.id)) {
|
|
if (this.isEmpty(this.XQValue.id)) {
|
|
@@ -1013,13 +1021,20 @@
|
|
});
|
|
});
|
|
}
|
|
}
|
|
} else if (e == 'xq2') {
|
|
} else if (e == 'xq2') {
|
|
- if (this.isEmpty(this.XZQValue2.dictValue)) {
|
|
|
|
- this.$modal.msg('请选择行政区')
|
|
|
|
-
|
|
|
|
- } else {
|
|
|
|
- this.open = true;
|
|
|
|
- this.selectList = this.XQList2;
|
|
|
|
- }
|
|
|
|
|
|
+ // if (this.isEmpty(this.XZQValue2.dictValue)) {
|
|
|
|
+ // this.$modal.msg('请选择行政区')
|
|
|
|
+ //
|
|
|
|
+ // } else {
|
|
|
|
+ this.XQValue2 = '';
|
|
|
|
+ this.LDValue2 = '';
|
|
|
|
+ this.DYValue2 = '';
|
|
|
|
+ this.FJValue2 = '';
|
|
|
|
+ getAreaList('').then(res => {
|
|
|
|
+ this.XQList2 = res.data;
|
|
|
|
+ this.open = true;
|
|
|
|
+ this.selectList = this.XQList2;
|
|
|
|
+ })
|
|
|
|
+ // }
|
|
} else if (e == 'ld2') {
|
|
} else if (e == 'ld2') {
|
|
|
|
|
|
if (this.isEmpty(this.XQValue2.id)) {
|
|
if (this.isEmpty(this.XQValue2.id)) {
|
|
@@ -1039,13 +1054,20 @@
|
|
this.selectList = this.DYList2;
|
|
this.selectList = this.DYList2;
|
|
}
|
|
}
|
|
} else if (e == 'xq3') {
|
|
} else if (e == 'xq3') {
|
|
- if (this.isEmpty(this.XZQValue3.dictValue)) {
|
|
|
|
- this.$modal.msg('请选择行政区')
|
|
|
|
-
|
|
|
|
- } else {
|
|
|
|
- this.open = true;
|
|
|
|
- this.selectList = this.XQList3;
|
|
|
|
- }
|
|
|
|
|
|
+ // if (this.isEmpty(this.XZQValue3.dictValue)) {
|
|
|
|
+ // this.$modal.msg('请选择行政区')
|
|
|
|
+ //
|
|
|
|
+ // } else {
|
|
|
|
+ this.XQValue3 = '';
|
|
|
|
+ this.LDValue3 = '';
|
|
|
|
+ this.DYValue3 = '';
|
|
|
|
+ this.FJValue3 = '';
|
|
|
|
+ getAreaList('').then(res => {
|
|
|
|
+ this.XQList3 = res.data;
|
|
|
|
+ this.open = true;
|
|
|
|
+ this.selectList = this.XQList3;
|
|
|
|
+ })
|
|
|
|
+ // }
|
|
} else if (e == 'ld3') {
|
|
} else if (e == 'ld3') {
|
|
|
|
|
|
if (this.isEmpty(this.XQValue3.id)) {
|
|
if (this.isEmpty(this.XQValue3.id)) {
|
|
@@ -1057,7 +1079,7 @@
|
|
}
|
|
}
|
|
|
|
|
|
} else if (e == 'dy3') {
|
|
} else if (e == 'dy3') {
|
|
- if (this.isEmpty(this.LDValue2.id)) {
|
|
|
|
|
|
+ if (this.isEmpty(this.LDValue3.id)) {
|
|
this.$modal.msg('请选择楼栋')
|
|
this.$modal.msg('请选择楼栋')
|
|
|
|
|
|
} else {
|
|
} else {
|
|
@@ -1065,8 +1087,8 @@
|
|
this.selectList = this.DYList3;
|
|
this.selectList = this.DYList3;
|
|
}
|
|
}
|
|
} else if (e == 'fj3') {
|
|
} else if (e == 'fj3') {
|
|
- if (this.isEmpty(this.LDValue3.id)) {
|
|
|
|
- this.$modal.msg('请选择楼栋')
|
|
|
|
|
|
+ if (this.isEmpty(this.DYValue3.id)) {
|
|
|
|
+ this.$modal.msg('请选择单元')
|
|
|
|
|
|
} else {
|
|
} else {
|
|
this.open = true;
|
|
this.open = true;
|
|
@@ -1197,6 +1219,7 @@
|
|
this.XQList3 = res.data;
|
|
this.XQList3 = res.data;
|
|
})
|
|
})
|
|
} else if (this.type == 'xq2') {
|
|
} else if (this.type == 'xq2') {
|
|
|
|
+ this.XZQValue2 = {dictValue:item.district,dictLabel:item.districtName};
|
|
this.XQValue2 = item;
|
|
this.XQValue2 = item;
|
|
|
|
|
|
this.LDValue2 = '';
|
|
this.LDValue2 = '';
|
|
@@ -1206,6 +1229,7 @@
|
|
this.LDList2 = res.data
|
|
this.LDList2 = res.data
|
|
})
|
|
})
|
|
} else if (this.type == 'xq3') {
|
|
} else if (this.type == 'xq3') {
|
|
|
|
+ this.XZQValue3 = {dictValue:item.district,dictLabel:item.districtName};
|
|
this.XQValue3 = item;
|
|
this.XQValue3 = item;
|
|
|
|
|
|
this.LDValue3 = '';
|
|
this.LDValue3 = '';
|
|
@@ -1239,6 +1263,8 @@
|
|
this.FJList3 = res.data
|
|
this.FJList3 = res.data
|
|
})
|
|
})
|
|
|
|
|
|
|
|
+ } else if (this.type == 'fj3') {
|
|
|
|
+ this.FJValue3 = item;
|
|
} else if (this.type == 'dy2') {
|
|
} else if (this.type == 'dy2') {
|
|
this.DYValue2 = item;
|
|
this.DYValue2 = item;
|
|
this.queryProjectStatisticsList();
|
|
this.queryProjectStatisticsList();
|
|
@@ -1277,6 +1303,7 @@
|
|
realityQuality: this.materialValue.id,
|
|
realityQuality: this.materialValue.id,
|
|
realitySpecifications: this.specificationValue.id,
|
|
realitySpecifications: this.specificationValue.id,
|
|
};
|
|
};
|
|
|
|
+ this.XZQValue = {dictValue:this.XQValue.district,dictLabel:this.XQValue.districtName};
|
|
getMunicipalStatisticsData(param).then(res => {
|
|
getMunicipalStatisticsData(param).then(res => {
|
|
this.materialUsageList = res.data;
|
|
this.materialUsageList = res.data;
|
|
})
|
|
})
|
|
@@ -1901,4 +1928,4 @@
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|
|
-</style>
|
|
|
|
|
|
+</style>
|