fix report ==> รายการเลื่อนเงินเดือนข้าราชการฯ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-06-25 17:14:39 +07:00
parent beb2535660
commit 04e3bac013
2 changed files with 24 additions and 3 deletions

View file

@ -364,7 +364,11 @@ function onClickDownload(data: DataOption, type: string = "xlsx") {
data.id === "gov-08" ||
data.id === "gov-10";
const finalUrl = isGovernmentId ? `${url}/${store.tabGroup}` : url;
const finalUrl = isGovernmentId
? `${url}/${store.tabGroup} ${
data.id === "gov-04" ? `/${data.typeName}` : ""
}`
: url;
http
.get(finalUrl)
.then(async (res) => {