เพิ่ม งาน/ฝ่าย/กลุ่ม, กอง/ศูนย์/ส่วน
This commit is contained in:
parent
436bcb002b
commit
c6f1db8670
1 changed files with 7 additions and 1 deletions
|
|
@ -344,7 +344,13 @@ export class ReoportController {
|
||||||
oc: evaluation.oc ? evaluation.oc.replace(/\n/g, " ") : "-",
|
oc: evaluation.oc ? evaluation.oc.replace(/\n/g, " ") : "-",
|
||||||
org: org ? org : "-", //สังกัด
|
org: org ? org : "-", //สังกัด
|
||||||
orgNoNewLine: _orgNoNewLine ? _orgNoNewLine : "-", //สังกัดแบบไม่เว้นวรรค
|
orgNoNewLine: _orgNoNewLine ? _orgNoNewLine : "-", //สังกัดแบบไม่เว้นวรรค
|
||||||
root: root ? root : "-", //หน่วยงาน
|
root: evaluation.salaries.length > 0 ? evaluation.salaries[0].orgRoot : "-", //หน่วยงาน
|
||||||
|
child1: evaluation.salaries.length > 0 // กอง / ศูนย์ / ส่วน
|
||||||
|
? evaluation.salaries[0].orgChild1
|
||||||
|
: "-",
|
||||||
|
child432: evaluation.salaries.length > 0 // งาน / ฝ่าย / กลุ่ม
|
||||||
|
? `${evaluation.salaries[0].orgChild4 ?? ""} ${evaluation.salaries[0].orgChild3 ?? ""} ${evaluation.salaries[0].orgChild2 ?? ""}`.trim()
|
||||||
|
: "-",
|
||||||
salary: evaluation.salary ? Extension.ToThaiNumber(Number(evaluation.salary).toLocaleString()) : "-",
|
salary: evaluation.salary ? Extension.ToThaiNumber(Number(evaluation.salary).toLocaleString()) : "-",
|
||||||
salaryWithPrefix: evaluation.salary ? "อัตราเงินเดือนปัจจุบัน" +" "+ Extension.ToThaiNumber(Number(evaluation.salary).toLocaleString()) : "-",
|
salaryWithPrefix: evaluation.salary ? "อัตราเงินเดือนปัจจุบัน" +" "+ Extension.ToThaiNumber(Number(evaluation.salary).toLocaleString()) : "-",
|
||||||
positionLevel: evaluation.positionLevel ? evaluation.positionLevel : "",
|
positionLevel: evaluation.positionLevel ? evaluation.positionLevel : "",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue