ออกคำสั่ง
This commit is contained in:
parent
73c41d9b01
commit
671c7103ab
7 changed files with 86 additions and 61 deletions
|
|
@ -55,10 +55,7 @@ async function fetchDataCommand(type: string) {
|
|||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* ฟังชั่นกำหนดค่าของ PDF
|
||||
*
|
||||
*/
|
||||
/** ฟังชั่นกำหนดค่าของ PDF*/
|
||||
async function fetchPDF(data: any, type: string = "docx?folder=command") {
|
||||
isLoadView.value = false;
|
||||
await axios
|
||||
|
|
@ -94,13 +91,15 @@ async function downloadCover(type: string) {
|
|||
genReport(
|
||||
dataCover.value,
|
||||
"คำสั่ง คำสั่งบรรจุและแต่งตั้ง: สำหรับผู้สอบแข่งขันได้",
|
||||
type
|
||||
type,
|
||||
"?folder=command"
|
||||
);
|
||||
} else {
|
||||
genReportXLSX(
|
||||
dataAttachment.value,
|
||||
"เอกสารแนบท้าย คำสั่งบรรจุและแต่งตั้ง: สำหรับผู้สอบแข่งขันได้",
|
||||
type
|
||||
type,
|
||||
"?folder=command"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue