fix report ==> รายการเลื่อนเงินเดือนข้าราชการฯ
This commit is contained in:
parent
beb2535660
commit
04e3bac013
2 changed files with 24 additions and 3 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue