Skip to content

Commit

Permalink
ISI-915 Bauvorhaben umgestellt
Browse files Browse the repository at this point in the history
  • Loading branch information
albrecht.schaenzel committed Oct 17, 2023
1 parent 9f28d9a commit 8bae809
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions frontend/src/views/Bauvorhaben.vue
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ import SaveLeaveMixin from "@/mixins/SaveLeaveMixin";
import InformationListMixin from "@/mixins/requests/InformationListMixin";
import BauvorhabenForm from "@/components/bauvorhaben/BauvorhabenForm.vue";
import BauvorhabenDataTransferDialog from "@/components/bauvorhaben/BauvorhabenDataTransferDialog.vue";
import { InfrastrukturabfrageDto } from "@/api/api-client/isi-backend";
import { BauleitplanverfahrenDto } from "@/api/api-client/isi-backend";
import { containsNotAllowedDokument } from "@/utils/DokumenteUtil";
import SecurityMixin from "@/mixins/security/SecurityMixin";
import Kommentare from "@/components/common/kommentar/Kommentare.vue";
Expand Down Expand Up @@ -284,11 +284,10 @@ export default class Bauvorhaben extends Mixins(
return (this.$refs.form as Vue & { validate: () => boolean }).validate();
}
private abfrageUebernehmen(abfrage: InfrastrukturabfrageDto): void {
this.bauvorhaben.adresse = _.isNil(abfrage.abfrage.adresse) ? createAdresseDto() : abfrage.abfrage.adresse;
this.bauvorhaben.allgemeineOrtsangabe = abfrage.abfrage.allgemeineOrtsangabe;
this.bauvorhaben.standVorhaben = abfrage.abfrage.standVorhaben;
this.bauvorhaben.bebauungsplannummer = abfrage.abfrage.bebauungsplannummer;
private abfrageUebernehmen(abfrage: BauleitplanverfahrenDto): void {
this.bauvorhaben.adresse = _.isNil(abfrage.adresse) ? createAdresseDto() : abfrage.adresse;
this.bauvorhaben.standVerfahren = abfrage.standVerfahren;
this.bauvorhaben.bebauungsplannummer = abfrage.bebauungsplannummer;
this.bauvorhaben.sobonRelevant = abfrage.sobonRelevant;
this.bauvorhaben.sobonJahr = abfrage.sobonJahr;
this.datenuebernahmeAbfrageId = abfrage.id;
Expand Down

0 comments on commit 8bae809

Please sign in to comment.