Pinia Store data positionEmployee
This commit is contained in:
parent
7fe5ba7bf5
commit
c1b7b25981
8 changed files with 862 additions and 191 deletions
|
|
@ -14,6 +14,7 @@ export default {
|
|||
/**
|
||||
* api ตำแหน่ง
|
||||
*/
|
||||
positionEmployeePosition,
|
||||
listPositionEmployeePositionHistory: `${positionEmployeePosition}history`,
|
||||
listPositionEmployeePositionHistoryId: (id: string) =>
|
||||
`${positionEmployeePosition}history/${id}`,
|
||||
|
|
@ -23,6 +24,7 @@ export default {
|
|||
/**
|
||||
* api ด้านของตำแหน่ง
|
||||
*/
|
||||
positionEmployeePositionSide,
|
||||
listPositionEmployeePositionSideHistory: `${positionEmployeePositionSide}history`,
|
||||
listPositionEmployeePositionSideHistoryId: (id: string) =>
|
||||
`${positionEmployeePositionSide}history/${id}`,
|
||||
|
|
@ -32,6 +34,7 @@ export default {
|
|||
/**
|
||||
* api กลุ่มงาน
|
||||
*/
|
||||
positionEmployeeGroup,
|
||||
listPositionEmployeeGroupHistory: `${positionEmployeeGroup}history`,
|
||||
listPositionEmployeeGroupHistoryId: (id: string) =>
|
||||
`${positionEmployeeGroup}history/${id}`,
|
||||
|
|
@ -41,6 +44,7 @@ export default {
|
|||
/**
|
||||
* api สายงาน
|
||||
*/
|
||||
positionEmployeeLine,
|
||||
listPositionEmployeeLineHistory: `${positionEmployeeLine}history`,
|
||||
listPositionEmployeeLineHistoryId: (id: string) =>
|
||||
`${positionEmployeeLine}history/${id}`,
|
||||
|
|
@ -50,6 +54,7 @@ export default {
|
|||
/**
|
||||
* api ระดับชั้นงาน
|
||||
*/
|
||||
positionEmployeeLevel,
|
||||
listPositionEmployeeLevelHistory: `${positionEmployeeLevel}history`,
|
||||
listPositionEmployeeLevelHistoryId: (id: string) =>
|
||||
`${positionEmployeeLevel}history/${id}`,
|
||||
|
|
@ -59,6 +64,7 @@ export default {
|
|||
/**
|
||||
* api สถานะของตำแหน่ง
|
||||
*/
|
||||
positionEmployeeStatus,
|
||||
listPositionEmployeeStatusHistory: `${positionEmployeeStatus}history`,
|
||||
listPositionEmployeeStatusHistoryId: (id: string) =>
|
||||
`${positionEmployeeStatus}history/${id}`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue