Merge branch 'nice' into develop

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-12-16 09:26:16 +07:00
commit fa9953a677

View file

@ -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<string>("");
/**
* function ตรวจสอบไฟลแกไข
*/
/** function ตรวจสอบไฟล์แก้ไข*/
async function checkDocEdit() {
showLoader();
await http
@ -305,9 +297,7 @@ const author = ref<string>(""); //เจ้าของผลงาน
const subject = ref<string>(""); //
const assignedPosition = ref<string>(""); //
/**
* 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;
}
})