|
@@ -246,16 +246,10 @@
|
|
},
|
|
},
|
|
|
|
|
|
getStatus() {
|
|
getStatus() {
|
|
- let buildingId = '';
|
|
|
|
- if (this.isEmpty(this.LDValue.id)) {
|
|
|
|
- buildingId = '';
|
|
|
|
- } else {
|
|
|
|
- buildingId = this.LDValue.id
|
|
|
|
- }
|
|
|
|
let param = {
|
|
let param = {
|
|
areaId: this.XQValue.id, // 小区id
|
|
areaId: this.XQValue.id, // 小区id
|
|
buildingId: buildingId, // 楼宇id
|
|
buildingId: buildingId, // 楼宇id
|
|
- unitId: this.DYValue.id,
|
|
|
|
|
|
+ unitId: this.isEmpty(this.DYValue.id)?'':this.DYValue.id,
|
|
enginCycle: this.projectValue.dictValue, // 工程周期
|
|
enginCycle: this.projectValue.dictValue, // 工程周期
|
|
enginType: this.objValue.enginType, //写死 上一页面传过来的
|
|
enginType: this.objValue.enginType, //写死 上一页面传过来的
|
|
enginClassification: this.objValue.enginClassification, //写死 上一页面传过来的 //室内 - 庭院 - 架空
|
|
enginClassification: this.objValue.enginClassification, //写死 上一页面传过来的 //室内 - 庭院 - 架空
|
|
@@ -303,18 +297,10 @@
|
|
this.$modal.msg("请选择楼栋")
|
|
this.$modal.msg("请选择楼栋")
|
|
return
|
|
return
|
|
}
|
|
}
|
|
-
|
|
|
|
- let unitId = '';
|
|
|
|
- if (this.isEmpty(this.DYValue.id)) {
|
|
|
|
- unitId = '';
|
|
|
|
- } else {
|
|
|
|
- unitId = this.DYValue.id
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
let param = {
|
|
let param = {
|
|
areaId: this.XQValue.id, // 小区id
|
|
areaId: this.XQValue.id, // 小区id
|
|
buildingId: this.LDValue.id, // 楼宇id
|
|
buildingId: this.LDValue.id, // 楼宇id
|
|
- unitId: unitId, // 单元id
|
|
|
|
|
|
+ unitId: this.isEmpty(this.DYValue.id)?'':this.DYValue.id, // 单元id
|
|
enginCycle: this.projectValue.dictValue, // 工程周期
|
|
enginCycle: this.projectValue.dictValue, // 工程周期
|
|
enginType: this.objValue.enginType, //写死 上一页面传过来的 新建/旧改
|
|
enginType: this.objValue.enginType, //写死 上一页面传过来的 新建/旧改
|
|
enginClassification: this.objValue.enginClassification, //写死 上一页面传过来的 //室内 - 庭院 - 架空
|
|
enginClassification: this.objValue.enginClassification, //写死 上一页面传过来的 //室内 - 庭院 - 架空
|
|
@@ -353,13 +339,12 @@
|
|
} else if (this.imgArr.length <= 0) {
|
|
} else if (this.imgArr.length <= 0) {
|
|
this.$modal.msg("请上传照片")
|
|
this.$modal.msg("请上传照片")
|
|
} else {
|
|
} else {
|
|
-
|
|
|
|
uni.showLoading()
|
|
uni.showLoading()
|
|
let param = {
|
|
let param = {
|
|
district: this.XZQValue.dictValue,
|
|
district: this.XZQValue.dictValue,
|
|
areaId: this.XQValue.id,
|
|
areaId: this.XQValue.id,
|
|
buildingId: this.LDValue.id,
|
|
buildingId: this.LDValue.id,
|
|
- unitId: this.DYValue.id,
|
|
|
|
|
|
+ unitId: this.isEmpty(this.DYValue.id)?'':this.DYValue.id,
|
|
enginType: this.objValue.enginType, //写死 上一页面传过来的
|
|
enginType: this.objValue.enginType, //写死 上一页面传过来的
|
|
enginClassification: this.objValue
|
|
enginClassification: this.objValue
|
|
.enginClassification, //写死 上一页面传过来的 //室内 - 庭院 - 架空
|
|
.enginClassification, //写死 上一页面传过来的 //室内 - 庭院 - 架空
|