offer Interface hinzugefügt
This commit is contained in:
parent
367ff90517
commit
c0f4bdf0d0
82
src/app/offer.model.ts
Normal file
82
src/app/offer.model.ts
Normal file
@ -0,0 +1,82 @@
|
|||||||
|
export interface Offer {
|
||||||
|
adr_anfahrt: string;
|
||||||
|
adr_hausnr: string;
|
||||||
|
adr_ort: string;
|
||||||
|
adr_plz: string;
|
||||||
|
adr_strasse: string;
|
||||||
|
con_fax: string;
|
||||||
|
con_mobile: string;
|
||||||
|
con_tel: string;
|
||||||
|
descr_einrichtung: string;
|
||||||
|
descr_long: string;
|
||||||
|
descr_short: string;
|
||||||
|
descr_titel: string;
|
||||||
|
descr_zusatz: string;
|
||||||
|
descr_date: Date;
|
||||||
|
detail_anmeldung: string;
|
||||||
|
detail_gender: string;
|
||||||
|
detail_cost: string;
|
||||||
|
details_teilnehmer: string;
|
||||||
|
details_zeit: string;
|
||||||
|
details_ziel: string;
|
||||||
|
detail_methods: string;
|
||||||
|
categories: {
|
||||||
|
Elternbildung: boolean;
|
||||||
|
"Soziale Teilhabe": boolean;
|
||||||
|
Beratung: boolean;
|
||||||
|
"Erährung und Bewegung": boolean;
|
||||||
|
"Familienfreundliche Angebote": boolean;
|
||||||
|
"Förderung der allgem. Lebenskompetenz": boolean;
|
||||||
|
"Frühe Hilfen": boolean;
|
||||||
|
"Körperliche Gesundheit": boolean;
|
||||||
|
"Seelische Gesundheit": boolean;
|
||||||
|
Inklusion: boolean;
|
||||||
|
"Medienpädagogik/-kompetenz": boolean;
|
||||||
|
"Migration und Integration": boolean;
|
||||||
|
"Offene Familientreffs": boolean;
|
||||||
|
"Partnerschaft und Sexualität": boolean;
|
||||||
|
"Planung, Unterstützung, Material": boolean;
|
||||||
|
"Prävention von Gewalt und Rechtsextremismus": boolean;
|
||||||
|
"Prävention von sexueller Gewalt": boolean;
|
||||||
|
"Prävention von Sucht": boolean;
|
||||||
|
Sontiges: boolean;
|
||||||
|
"Übergang in Kita/Schule/Beruf": boolean;
|
||||||
|
};
|
||||||
|
region: {
|
||||||
|
"Batzenberg, Schönberg, Hexental": boolean;
|
||||||
|
"Dreisamtal, Gundelfingen": boolean;
|
||||||
|
Glottertal: boolean;
|
||||||
|
Hochschwarzwald: boolean;
|
||||||
|
"Kaiserstuhl, Tuniberg": boolean;
|
||||||
|
"Markgräflerland Nord": boolean;
|
||||||
|
"Markgräflerland Süd": boolean;
|
||||||
|
"Stadt Freiburg": boolean;
|
||||||
|
};
|
||||||
|
zielgruppe: {
|
||||||
|
"Einrichtungen und Vereine": boolean;
|
||||||
|
Eltern: boolean;
|
||||||
|
Erwachsene: boolean;
|
||||||
|
Gemeinden: boolean;
|
||||||
|
"Kinder und Jugendliche": boolean;
|
||||||
|
"Medizinische Fachkräfte": boolean;
|
||||||
|
"Pädagogische Fachkräfte": boolean;
|
||||||
|
"allgemeine Bevölkerung": boolean;
|
||||||
|
};
|
||||||
|
|
||||||
|
altergruppe: {
|
||||||
|
"0-3 Jahre": boolean;
|
||||||
|
"3-6 Jahre": boolean;
|
||||||
|
"6-10 Jahre": boolean;
|
||||||
|
"10-16 Jahre": boolean;
|
||||||
|
"16-18 Jahre": boolean;
|
||||||
|
"18-27 Jahre": boolean;
|
||||||
|
Erwachsene: boolean;
|
||||||
|
Familienphase: boolean;
|
||||||
|
"Senioren und Familien": boolean;
|
||||||
|
};
|
||||||
|
|
||||||
|
geo_lat: number;
|
||||||
|
geo_lon: number;
|
||||||
|
link_title: string;
|
||||||
|
link_url: string;
|
||||||
|
}
|
@ -1,10 +1,13 @@
|
|||||||
<ion-header>
|
<ion-header>
|
||||||
<ion-toolbar>
|
<ion-toolbar>
|
||||||
<ion-back-button></ion-back-button>
|
<ion-buttons slot=start><ion-back-button></ion-back-button></ion-buttons>
|
||||||
<ion-title>Suchergebnisse</ion-title>
|
<ion-title>Suchergebnisse</ion-title>
|
||||||
</ion-toolbar>
|
</ion-toolbar>
|
||||||
</ion-header>
|
</ion-header>
|
||||||
|
|
||||||
<ion-content>
|
<ion-content>
|
||||||
|
<ion-list>
|
||||||
|
|
||||||
|
</ion-list>
|
||||||
|
|
||||||
</ion-content>
|
</ion-content>
|
||||||
|
@ -1,99 +1,15 @@
|
|||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit } from "@angular/core";
|
||||||
|
import { Offer } from "src/app/offer.model";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-offer',
|
selector: "app-offer",
|
||||||
templateUrl: './offer.component.html',
|
templateUrl: "./offer.component.html",
|
||||||
styleUrls: ['./offer.component.scss'],
|
styleUrls: ["./offer.component.scss"],
|
||||||
})
|
})
|
||||||
export class OfferComponent implements OnInit {
|
export class OfferComponent implements OnInit {
|
||||||
adr_anfahrt: string;
|
private static instance: Offer;
|
||||||
adr_hausnr: string;
|
|
||||||
adr_ort: string;
|
|
||||||
adr_plz: string;
|
|
||||||
adr_strasse: string;
|
|
||||||
con_fax: string;
|
|
||||||
con_mobile: string;
|
|
||||||
con_tel: string;
|
|
||||||
descr_einrichtung: string;
|
|
||||||
descr_long: string;
|
|
||||||
descr_short: string;
|
|
||||||
descr_titel: string;
|
|
||||||
descr_zusatz: string;
|
|
||||||
descr_date: Date;
|
|
||||||
detail_anmeldung: string;
|
|
||||||
detail_gender: string;
|
|
||||||
detail_cost: string;
|
|
||||||
details_teilnehmer: string;
|
|
||||||
details_zeit: string;
|
|
||||||
details_ziel: string;
|
|
||||||
detail_methods: string;
|
|
||||||
categories: {
|
|
||||||
"Elternbildung": boolean,
|
|
||||||
"Soziale Teilhabe": boolean,
|
|
||||||
"Beratung": boolean,
|
|
||||||
"Erährung und Bewegung": boolean,
|
|
||||||
"Familienfreundliche Angebote": boolean,
|
|
||||||
"Förderung der allgem. Lebenskompetenz": boolean,
|
|
||||||
"Frühe Hilfen": boolean,
|
|
||||||
"Körperliche Gesundheit": boolean,
|
|
||||||
"Seelische Gesundheit": boolean,
|
|
||||||
"Inklusion": boolean,
|
|
||||||
"Medienpädagogik/-kompetenz": boolean,
|
|
||||||
"Migration und Integration": boolean,
|
|
||||||
"Offene Familientreffs": boolean,
|
|
||||||
"Partnerschaft und Sexualität": boolean,
|
|
||||||
"Planung, Unterstützung, Material": boolean,
|
|
||||||
"Prävention von Gewalt und Rechtsextremismus": boolean,
|
|
||||||
"Prävention von sexueller Gewalt": boolean,
|
|
||||||
"Prävention von Sucht": boolean,
|
|
||||||
"Sontiges": boolean,
|
|
||||||
"Übergang in Kita/Schule/Beruf": boolean,
|
|
||||||
}
|
|
||||||
region: {
|
|
||||||
"Batzenberg, Schönberg, Hexental": boolean;
|
|
||||||
"Dreisamtal, Gundelfingen": boolean;
|
|
||||||
"Glottertal": boolean;
|
|
||||||
"Hochschwarzwald": boolean;
|
|
||||||
"Kaiserstuhl, Tuniberg": boolean;
|
|
||||||
"Markgräflerland Nord": boolean;
|
|
||||||
"Markgräflerland Süd": boolean;
|
|
||||||
"Stadt Freiburg": boolean;
|
|
||||||
}
|
|
||||||
zielgruppe: {
|
|
||||||
"Einrichtungen und Vereine" : boolean;
|
|
||||||
"Eltern" : boolean;
|
|
||||||
"Erwachsene" : boolean;
|
|
||||||
"Gemeinden" : boolean;
|
|
||||||
"Kinder und Jugendliche" : boolean;
|
|
||||||
"Medizinische Fachkräfte" : boolean;
|
|
||||||
"Pädagogische Fachkräfte" : boolean;
|
|
||||||
"allgemeine Bevölkerung" : boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
altergruppe: {
|
private constructor() {}
|
||||||
"0-3 Jahre": boolean;
|
|
||||||
"3-6 Jahre": boolean;
|
|
||||||
"6-10 Jahre": boolean;
|
|
||||||
"10-16 Jahre": boolean;
|
|
||||||
"16-18 Jahre": boolean;
|
|
||||||
"18-27 Jahre": boolean;
|
|
||||||
"Erwachsene": boolean;
|
|
||||||
"Familienphase": boolean;
|
|
||||||
"Senioren und Familien": boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
geo_lat: number;
|
|
||||||
geo_lon: number;
|
|
||||||
link_title: string;
|
|
||||||
link_url: string;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
constructor() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
ngOnInit() {}
|
ngOnInit() {}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user