diff --git a/src/modules/12_evaluatePersonal/components/Detail/step/step8.vue b/src/modules/12_evaluatePersonal/components/Detail/step/step8.vue index f031b2405..72cbfaab4 100644 --- a/src/modules/12_evaluatePersonal/components/Detail/step/step8.vue +++ b/src/modules/12_evaluatePersonal/components/Detail/step/step8.vue @@ -14,8 +14,6 @@ import genReport from "@/plugins/genreport"; /** importType*/ import type { FileEvaluationRefRef } from "@/modules/12_evaluatePersonal/interface/index/evalute"; -/** importStore*/ - /** uer*/ const store = useEvaluateDetailStore(); const $q = useQuasar(); @@ -50,9 +48,7 @@ const fileEvaluationRef: FileEvaluationRefRef = { fileEvaluation86: fileEvaluation86Ref, }; -/** - * function ดาวน์โหลดไฟล์ต้นแบบ - */ +/** function ดาวน์โหลดไฟล์ต้นแบบ*/ async function onClickDowloadFile( tp: string, templateName: string, @@ -69,12 +65,13 @@ async function onClickDowloadFile( data: data, }; await genReport(body, fileName); - hideLoader(); }) .catch((e) => { messageError($q, e); }) - .finally(() => {}); + .finally(() => { + hideLoader(); + }); } /** @@ -136,9 +133,7 @@ function fileUpLoad(url: string, file: any) { }); } -/** - * function ยืนยันผลการพิจารณา - */ +/** function ยืนยันผลการพิจารณา */ async function confirmApprove() { const fileEvaluationValues = [ fileEvaluation81, @@ -213,9 +208,7 @@ async function confirmApprove() { }, 100); } -/** - * function ยืนยันผลการพิจารณา - */ +/** function ยืนยันผลการพิจารณา*/ function nextStep() { showLoader(); http @@ -234,9 +227,8 @@ function nextStep() { } const downloadDocEditUrl = ref(""); -/** - * function ตรวจสอบไฟล์แก้ไข - */ + +/** function ตรวจสอบไฟล์แก้ไข*/ async function checkDocEdit() { showLoader(); await http @@ -305,9 +297,7 @@ const author = ref(""); //เจ้าของผลงาน const subject = ref(""); //ชื่อผลงาน const assignedPosition = ref(""); //ตำแหน่ง -/** - * function เรียกข้อมูลผลงาน - */ +/** function เรียกข้อมูลผลงาน*/ async function fetchDataSigner() { showLoader(); await http @@ -319,8 +309,8 @@ async function fetchDataSigner() { subject.value = data.subjectDoc2; assignedPosition.value = data.assignedPosition; - nameOfWork.value = data.authorDoc2; - nameOfOwner.value = data.subjectDoc2; + nameOfWork.value = data.subjectDoc2; + nameOfOwner.value = data.authorDoc2; position.value = data.assignedPosition; } })