เพิ่ม posTypeId, posLeveId
This commit is contained in:
parent
6dc30ecf14
commit
08bbeff5a7
1 changed files with 4 additions and 0 deletions
|
|
@ -211,7 +211,9 @@ export class EmployeePositionController extends Controller {
|
|||
const mapData = {
|
||||
id: empPosDict.id,
|
||||
posDictName: empPosDict.posDictName, //ชื่อตำแหน่ง
|
||||
posTypeId: empPosType.id,
|
||||
posTypeName: empPosType.posTypeName, //กลุ่มงาน
|
||||
posLeveId: empPosLevel.id,
|
||||
posLevelName: empPosLevel.posLevelName, //ระดับขั้นงาน
|
||||
};
|
||||
return new HttpSuccess(mapData);
|
||||
|
|
@ -283,7 +285,9 @@ export class EmployeePositionController extends Controller {
|
|||
return {
|
||||
id: item.id,
|
||||
posDictName: item.posDictName,
|
||||
posTypeId: item.posTypeId,
|
||||
posTypeName: posTypeName,
|
||||
posLevelId: item.posLevelId,
|
||||
posLevelName: posLevelName,
|
||||
};
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue