update #805
This commit is contained in:
parent
859c61aa99
commit
542df70eb7
3 changed files with 22 additions and 4 deletions
|
|
@ -103,7 +103,9 @@ export class ProfileGovernmentEmployeeController extends Controller {
|
|||
const data = {
|
||||
org: org, //สังกัด
|
||||
position: record.position, //ตำแหน่ง
|
||||
posLevel: record.posLevel == null ? null : record.posLevel.posLevelName, //ระดับ
|
||||
posLevel: record.posType == null && record.posLevel == null
|
||||
? null
|
||||
: `${record.posType.posTypeShortName}${record.posLevel.posLevelName}`, //ระดับ
|
||||
posMasterNo: posMaster == null ? null : `${orgShortName} ${posMaster.posMasterNo}`, //เลขที่ตำแหน่ง
|
||||
posType: record.posType == null ? null : record.posType.posTypeName, //ประเภท
|
||||
dateLeave: record.birthDate == null ? null : calculateRetireDate(record.birthDate),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue