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) => {

View file

@ -75,7 +75,13 @@ export const useSalaryListSDataStore = defineStore("salaryListStore", () => {
},
{
id: "gov-04",
name: "แบบ 1 กท รอบเมษายน",
name: "แบบ 1 กท รอบเมษายน (0.5 ขั้น)",
typeName: "HAFT",
},
{
id: "gov-04",
name: "แบบ 1 กท รอบเมษายน (1 ขั้น)",
typeName: "FULL",
},
{
id: "gov-05",
@ -121,7 +127,18 @@ export const useSalaryListSDataStore = defineStore("salaryListStore", () => {
},
{
id: "gov-04",
name: "แบบ 1 กท รอบตุลาคม",
name: "แบบ 1 กท รอบตุลาคม (0.5 ขั้น)",
typeName: "HAFT",
},
{
id: "gov-04",
name: "แบบ 1 กท รอบตุลาคม (1 ขั้น)",
typeName: "FULL",
},
{
id: "gov-04",
name: "แบบ 1 กท รอบตุลาคม (1.5 ขั้น)",
typeName: "FULLHAFT",
},
{
id: "gov-04-01",