no message
This commit is contained in:
parent
f2d1893dfc
commit
c02d221395
2 changed files with 3 additions and 24 deletions
|
|
@ -124,7 +124,6 @@ async function onCilckNextStep() {
|
|||
$q,
|
||||
() => {
|
||||
functionCreateDoc?.();
|
||||
// store.step++;
|
||||
},
|
||||
"ยืนยันการดำเนินการ",
|
||||
"ต้องการยืนยันการดำเนินการต่อใช่หรือไม่?"
|
||||
|
|
@ -173,8 +172,6 @@ async function saveStep2() {
|
|||
}
|
||||
|
||||
function updateformCommand(val: any, ref: any) {
|
||||
console.log(ref);
|
||||
|
||||
formCommand.commanderFullname = val.commanderFullname;
|
||||
formCommand.commanderPosition = val.commanderPosition;
|
||||
formCommand.commanderAboveFullname = val.commanderAboveFullname;
|
||||
|
|
@ -216,7 +213,6 @@ async function saveStep3() {
|
|||
}
|
||||
async function updateFilePDF(url: any) {
|
||||
pdfSrc.value = url;
|
||||
console.log(url);
|
||||
}
|
||||
|
||||
async function saveStep4() {
|
||||
|
|
@ -229,7 +225,6 @@ async function saveStep6() {
|
|||
nextCheckDoc2(formCommand);
|
||||
}
|
||||
async function saveStep7() {
|
||||
console.log("777777");
|
||||
nextPrepareDoc2();
|
||||
}
|
||||
async function saveStep8() {
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue