no message

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-12-22 17:03:21 +07:00
parent f2d1893dfc
commit c02d221395
2 changed files with 3 additions and 24 deletions

View file

@ -119,8 +119,8 @@ async function saveEvaluation(formSpec: any, detail: any) {
posNo: detail.posNo,
birthDate: detail.birthDate,
govAge: detail.govAge,
type: "",
step: "",
type: store.tabMenu === "1" ? "EXPERT" : "SPECIAL_EXPERT",
step: "PREPARE_DOC_V1",
isEducationalQft: formSpec.isEducationalQft,
isGovermantServiceHtr: formSpec.isGovermantServiceHtr,
isOperatingExp: formSpec.isOperatingExp,
@ -163,22 +163,7 @@ async function nextPrapare(type: string, body: any) {
})
.finally(() => {
hideLoader();
fetchCheckStep(store?.evaluateId);
});
}
async function peviousPrapare(type: string) {
showLoader();
await http
.put(config.API.evaluationPreparedoc(store.evaluateId, type))
.then((res) => {
console.log(res);
})
.catch((err) => {
messageError($q, err);
})
.finally(() => {
hideLoader();
fetchCheckStatus();
});
}
@ -232,7 +217,6 @@ export default {
fetchCheckStatus,
saveEvaluation,
nextPrapare,
peviousPrapare,
nextCheckDoc,
nextCheckDoc2,
nextPrepareDoc2,