report ข้อมูลทะเบียนประวัติ
This commit is contained in:
parent
7a3ffc432d
commit
5b80750489
2 changed files with 7 additions and 5 deletions
|
|
@ -42,8 +42,8 @@ async function onClickDownloadKp7(type: string) {
|
|||
showLoader();
|
||||
const url =
|
||||
type === "FULL"
|
||||
? config.API.profileReportId(store.profileId)
|
||||
: config.API.profileKp7ShortId(store.profileId);
|
||||
? config.API.profileReportId(store.profileId, dataStore.officerType == "OFFICER" ? 'profile':'profile-employee')
|
||||
: config.API.profileKp7ShortId(store.profileId, dataStore.officerType == "OFFICER" ? 'profile':'profile-employee');
|
||||
const fileName = type === "FULL" ? "ก.พ.7/ก.ก.1" : "ประวัติแบบย่อ";
|
||||
await http
|
||||
.get(url)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue