เพิ่มหน่วยงาน
This commit is contained in:
parent
25fa65b3b5
commit
07ffb60d34
3 changed files with 120 additions and 0 deletions
|
|
@ -300,6 +300,15 @@ export class KpiUserEvaluationController extends Controller {
|
|||
kpiUserEvaluation.posTypeName = x.posTypeName;
|
||||
kpiUserEvaluation.posExecutiveName = x.posExecutiveName;
|
||||
kpiUserEvaluation.org = x.root;
|
||||
kpiUserEvaluation.orgId = x.rootId;
|
||||
kpiUserEvaluation.child1 = x.child1;
|
||||
kpiUserEvaluation.child1Id = x.child1Id;
|
||||
kpiUserEvaluation.child2 = x.child2;
|
||||
kpiUserEvaluation.child2Id = x.child2Id;
|
||||
kpiUserEvaluation.child3 = x.child3;
|
||||
kpiUserEvaluation.child3Id = x.child3Id;
|
||||
kpiUserEvaluation.child4 = x.child4;
|
||||
kpiUserEvaluation.child4Id = x.child4Id;
|
||||
})
|
||||
.catch((x) => {
|
||||
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลในทะเบียนประวัติ");
|
||||
|
|
@ -317,6 +326,15 @@ export class KpiUserEvaluationController extends Controller {
|
|||
kpiUserEvaluation.posTypeName = x.posTypeName;
|
||||
kpiUserEvaluation.posExecutiveName = x.posExecutiveName;
|
||||
kpiUserEvaluation.org = x.root;
|
||||
kpiUserEvaluation.orgId = x.rootId;
|
||||
kpiUserEvaluation.child1 = x.child1;
|
||||
kpiUserEvaluation.child1Id = x.child1Id;
|
||||
kpiUserEvaluation.child2 = x.child2;
|
||||
kpiUserEvaluation.child2Id = x.child2Id;
|
||||
kpiUserEvaluation.child3 = x.child3;
|
||||
kpiUserEvaluation.child3Id = x.child3Id;
|
||||
kpiUserEvaluation.child4 = x.child4;
|
||||
kpiUserEvaluation.child4Id = x.child4Id;
|
||||
})
|
||||
.catch((x) => {
|
||||
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลในทะเบียนประวัติ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue