|
|
|
@ -71,6 +71,9 @@ export class OilStationInfoComponent implements OnInit {
|
|
|
|
|
} |
|
|
|
|
}).subscribe((data: any) => { |
|
|
|
|
|
|
|
|
|
this.httpBody.locationName ? null : this.httpBody.locationName = this.httpBody.proposalAreaName |
|
|
|
|
this.httpBody.companyName ? null : this.httpBody.companyName = this.httpBody.proposalCompanyName |
|
|
|
|
|
|
|
|
|
if (new Date(data.result.openTime).getTime() == -62135625943000) { |
|
|
|
|
data.result.openTime = null |
|
|
|
|
} |
|
|
|
@ -153,6 +156,8 @@ export class OilStationInfoComponent implements OnInit {
|
|
|
|
|
locationName: '', |
|
|
|
|
companyName: '', |
|
|
|
|
leaderName: '', |
|
|
|
|
proposalAreaName: '', |
|
|
|
|
proposalCompanyName: '', |
|
|
|
|
leaderContact: '', |
|
|
|
|
stationLevel: '', |
|
|
|
|
sellVariety: '', |
|
|
|
@ -297,7 +302,7 @@ export class OilStationInfoComponent implements OnInit {
|
|
|
|
|
if (!body.hasBuildingInfo) { |
|
|
|
|
body.otherData = JSON.stringify(this.otherInfoData) |
|
|
|
|
} |
|
|
|
|
// console.log(body)
|
|
|
|
|
|
|
|
|
|
body.licenses.forEach(item => { |
|
|
|
|
delete item.isPerpetual |
|
|
|
|
}) |
|
|
|
|