ปรับ api path period active

This commit is contained in:
Warunee Tamkoo 2024-03-15 10:12:13 +07:00
parent 2c75ca60cc
commit 53b9b37d0a
3 changed files with 6 additions and 4 deletions

View file

@ -20,6 +20,7 @@ export default {
salaryRateListByid: (id: string) => `${salaryRate}/${id}`,
salaryReportByid: (id: string) => `${salary}/report/${id}`,
salaryPeriod: () => `${salary}/period`,
salaryPeriodActive: () => `${salary}/period/active`,
/** รายการเงินเดือน*/
keycloakPositionByid: (id: string) =>
@ -44,6 +45,7 @@ export default {
salaryEmployeeRateList: `${salaryRate}/employee`,
salaryEmployeeRateListByid: (id: string) => `${salaryRate}/employee/${id}`,
salaryEmployeePosType:()=>`${salaryOrg}/pos/type`,
salaryEmployeePositionType:(key:string)=>`${salaryOrg}/pos/position?keyword=${key}&type=positionType`
salaryEmployeePosType: () => `${salaryOrg}/pos/type`,
salaryEmployeePositionType: (key: string) =>
`${salaryOrg}/pos/position?keyword=${key}&type=positionType`,
};

View file

@ -52,7 +52,7 @@ function getRound() {
showLoader();
http
.get(
config.API.salaryPeriod() +
config.API.salaryPeriodActive() +
`?page=${page.value}&pageSize=${pageSize.value}&keyword=&year=0`
)
.then(async (res) => {

View file

@ -51,7 +51,7 @@ function getRound() {
showLoader();
http
.get(
config.API.salaryPeriod() +
config.API.salaryPeriodActive() +
`?page=${page.value}&pageSize=${pageSize.value}&keyword=&year=0`
)
.then(async (res) => {