update signal model
This commit is contained in:
@@ -115,10 +115,10 @@ export class SignalFormComponent {
|
|||||||
|
|
||||||
const postRequest: SignalRequest = {
|
const postRequest: SignalRequest = {
|
||||||
genomforandeReferens: +genomforandeReferens,
|
genomforandeReferens: +genomforandeReferens,
|
||||||
typ: type,
|
type,
|
||||||
omfattning,
|
omfattning,
|
||||||
omfattning_procent: omfattning === 'deltid' ? percent : null,
|
omfattningPercent: omfattning === 'deltid' ? percent : null,
|
||||||
startdatum: formatDate(startDate),
|
startDate: formatDate(startDate),
|
||||||
};
|
};
|
||||||
|
|
||||||
this.signalFormService
|
this.signalFormService
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
export interface SignalRequest {
|
export interface SignalRequest {
|
||||||
genomforandeReferens: number;
|
genomforandeReferens: number;
|
||||||
typ: 'arbete' | 'utbildning';
|
type: 'arbete' | 'utbildning';
|
||||||
omfattning: 'heltid' | 'deltid';
|
omfattning: 'heltid' | 'deltid';
|
||||||
omfattning_procent: number;
|
omfattningPercent: number;
|
||||||
startdatum: string;
|
startDate: string;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user