ปรับ api path period active
This commit is contained in:
parent
2c75ca60cc
commit
53b9b37d0a
3 changed files with 6 additions and 4 deletions
|
|
@ -20,6 +20,7 @@ export default {
|
||||||
salaryRateListByid: (id: string) => `${salaryRate}/${id}`,
|
salaryRateListByid: (id: string) => `${salaryRate}/${id}`,
|
||||||
salaryReportByid: (id: string) => `${salary}/report/${id}`,
|
salaryReportByid: (id: string) => `${salary}/report/${id}`,
|
||||||
salaryPeriod: () => `${salary}/period`,
|
salaryPeriod: () => `${salary}/period`,
|
||||||
|
salaryPeriodActive: () => `${salary}/period/active`,
|
||||||
|
|
||||||
/** รายการเงินเดือน*/
|
/** รายการเงินเดือน*/
|
||||||
keycloakPositionByid: (id: string) =>
|
keycloakPositionByid: (id: string) =>
|
||||||
|
|
@ -44,6 +45,7 @@ export default {
|
||||||
salaryEmployeeRateList: `${salaryRate}/employee`,
|
salaryEmployeeRateList: `${salaryRate}/employee`,
|
||||||
salaryEmployeeRateListByid: (id: string) => `${salaryRate}/employee/${id}`,
|
salaryEmployeeRateListByid: (id: string) => `${salaryRate}/employee/${id}`,
|
||||||
|
|
||||||
salaryEmployeePosType:()=>`${salaryOrg}/pos/type`,
|
salaryEmployeePosType: () => `${salaryOrg}/pos/type`,
|
||||||
salaryEmployeePositionType:(key:string)=>`${salaryOrg}/pos/position?keyword=${key}&type=positionType`
|
salaryEmployeePositionType: (key: string) =>
|
||||||
|
`${salaryOrg}/pos/position?keyword=${key}&type=positionType`,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ function getRound() {
|
||||||
showLoader();
|
showLoader();
|
||||||
http
|
http
|
||||||
.get(
|
.get(
|
||||||
config.API.salaryPeriod() +
|
config.API.salaryPeriodActive() +
|
||||||
`?page=${page.value}&pageSize=${pageSize.value}&keyword=&year=0`
|
`?page=${page.value}&pageSize=${pageSize.value}&keyword=&year=0`
|
||||||
)
|
)
|
||||||
.then(async (res) => {
|
.then(async (res) => {
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ function getRound() {
|
||||||
showLoader();
|
showLoader();
|
||||||
http
|
http
|
||||||
.get(
|
.get(
|
||||||
config.API.salaryPeriod() +
|
config.API.salaryPeriodActive() +
|
||||||
`?page=${page.value}&pageSize=${pageSize.value}&keyword=&year=0`
|
`?page=${page.value}&pageSize=${pageSize.value}&keyword=&year=0`
|
||||||
)
|
)
|
||||||
.then(async (res) => {
|
.then(async (res) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue