Browse Source

[完善]修改消防设施putBody报错

master
邵佳豪 2 years ago
parent
commit
748e932959
  1. 2
      src/app/key-unit/fire-fighting-device/fire-fighting-device.component.ts

2
src/app/key-unit/fire-fighting-device/fire-fighting-device.component.ts

@ -532,7 +532,7 @@ export class FireFightingDeviceComponent implements OnInit {
data.push(msg) data.push(msg)
if (index == item.facilityItems.length - 1) { if (index == item.facilityItems.length - 1) {
this.http.post('/api/BuildingFacilityItems/Batch', data, { params: header }).subscribe(data => { this.http.post('/api/BuildingFacilityItems/Batch', data, { params: header }).subscribe(data => {
let putBody let putBody = []
if (item.name == '消防水源') { if (item.name == '消防水源') {
putBody = returnBody(this.fireWaterSupply, '消防水源') putBody = returnBody(this.fireWaterSupply, '消防水源')
} else if (item.name == '消防水系统') { } else if (item.name == '消防水系统') {

Loading…
Cancel
Save