fix issue #1217
This commit is contained in:
parent
e327e28bf6
commit
257411fe19
1 changed files with 6 additions and 2 deletions
|
|
@ -2806,7 +2806,9 @@ export class ProfileEmployeeController extends Controller {
|
|||
name: fullName,
|
||||
birthDate: item.birthDate,
|
||||
positionLevel: item.posLevelId,
|
||||
positionLevelName: item.posLevel?.posLevelName,
|
||||
positionLevelName: item.posLevel == null && item.posType == null
|
||||
? null
|
||||
: `${item.posType?.posTypeShortName} ${item.posLevel?.posLevelName}`,
|
||||
positionType: item.posTypeId,
|
||||
positionTypeName: item.posType?.posTypeName,
|
||||
posNo: shortName,
|
||||
|
|
@ -4625,7 +4627,9 @@ export class ProfileEmployeeController extends Controller {
|
|||
name: fullName,
|
||||
birthDate: item.birthDate,
|
||||
positionLevel: item.posLevelId,
|
||||
positionLevelName: item.posLevel?.posLevelName,
|
||||
positionLevelName: item.posLevel == null && item.posType == null
|
||||
? null
|
||||
: `${item.posType?.posTypeShortName} ${item.posLevel?.posLevelName}`,
|
||||
positionType: item.posTypeId,
|
||||
positionTypeName: item.posType?.posTypeName,
|
||||
posNo: shortName,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue