ทะเบียนประวัติ => ข้อมูลผลงานและเครื่องราชฯ
This commit is contained in:
parent
0e290d0c94
commit
a268461792
6 changed files with 232 additions and 137 deletions
|
|
@ -285,10 +285,14 @@ async function fetchDataPersonal() {
|
|||
}
|
||||
|
||||
function onClickDownloadKp7(type: string) {
|
||||
console.log(empType.value);
|
||||
|
||||
showLoader();
|
||||
const url =
|
||||
type === "FULL"
|
||||
? config.API.profileReportId(profileId.value)
|
||||
? empType.value
|
||||
? config.API.profileReportEmpId(profileId.value)
|
||||
: config.API.profileReportId(profileId.value)
|
||||
: config.API.profileKp7ShortId(profileId.value);
|
||||
const fileName = type === "FULL" ? "ก.พ.7/ก.ก.1" : "ประวัติแบบย่อ";
|
||||
http
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue