file step 2

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-12-20 15:16:49 +07:00
parent a3787f976a
commit 6d88cbb772
6 changed files with 122 additions and 24 deletions

View file

@ -73,7 +73,17 @@ async function fetchCheckStep(id: string) {
}
async function saveEvaluation(body: any) {
console.log(body);
const data = {
IsEducationalQft: body.isEducationalQft,
IsGovermantServiceHtr: body.isGovermantServiceHtr,
IsOperatingExp: body.isOperatingExp,
IsMinPeriodOfTenure: body.isMinPeriodOfTenure,
IsHaveSpecificQft: body.isHaveSpecificQft,
IsHaveProLicense: body.isHaveProLicense,
IsHaveMinPeriodOrHoldPos: body.isHaveMinPeriodOrHoldPos,
};
console.log(data);
// const form = {
// UserId: "08dbca3a-8b6a-4a4e-8b23-1f62e4f30ef6",
// CitizenId: "1540200054020",
@ -170,7 +180,7 @@ async function saveEvaluation(body: any) {
showLoader();
await http
.post(config.API.evaluationCheckspec(), body)
.post(config.API.evaluationCheckspec(), data)
.then((res) => {
console.log(res);
})