signal view
This commit is contained in:
@@ -8,4 +8,5 @@ export enum ReportType {
|
||||
Slutredovisning = 'Slutredovisning',
|
||||
InformativRapport = 'Informativ rapport',
|
||||
InformativRedovisning = 'Informativ rapport',
|
||||
Signal = 'Signal om arbete eller studier',
|
||||
}
|
||||
|
||||
@@ -7,6 +7,7 @@ import { GemensamPlaneringResponse } from '@msfa-models/api/gemensam-planering.r
|
||||
import { InformativRapportResponse } from '@msfa-models/api/informativ-rapport.response.model';
|
||||
import { SlutredovisningResponse } from '@msfa-models/api/slutredovisning.response.model';
|
||||
import { Observable } from 'rxjs';
|
||||
import { SignalResponse } from '@msfa-models/api/signal.response.model';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
@@ -27,6 +28,9 @@ export class HandlingarApiService {
|
||||
`${this._apiBaseUrl}/informativ-rapport/${handlingId}`
|
||||
);
|
||||
}
|
||||
public fetchSignal$(handlingId: string): Observable<{ data: SignalResponse }> {
|
||||
return this.httpClient.get<{ data: SignalResponse }>(`${this._apiBaseUrl}/signal/${handlingId}`);
|
||||
}
|
||||
|
||||
public fetchFranvaroReport$(handlingId: string): Observable<{ data: FranvaroReportResponse }> {
|
||||
return this.httpClient.get<{ data: FranvaroReportResponse }>(`${this._apiBaseUrl}/franvaro/${handlingId}`);
|
||||
|
||||
Reference in New Issue
Block a user