Commit 56fbcd85 by Nattana Chaiyamat

รอบการประเมิน

parent cd0ddd12
......@@ -144,7 +144,6 @@ export class EvaluationCycleComponent {
this.evaluation_cycle = new MyEvaluationCycleModel(data)
}
addevaluation_cycle() {
this.evaluation_cycle.personalLevel.pop()
const body = new MyEvaluationCycleModel(this.evaluation_cycle)
this.dataLoading = true
this.evaluationCycleService.post(body).subscribe({
......@@ -168,7 +167,6 @@ export class EvaluationCycleComponent {
deleteevaluation_cycle() {
let body: EvaluationCycleModel | EvaluationCycleModel[] = []
if (this.evaluation_cycle.evaluationRoundId) {
this.evaluation_cycle.personalLevel.pop()
body = new MyEvaluationCycleModel(this.evaluation_cycle)
} else {
body = this.evaluation_cyclelist.filter(x => x.check).map(x => new MyEvaluationCycleModel(x.data))
......
......@@ -146,7 +146,6 @@ export class ManagementCycleComponent {
this.pmsMasfromEvaluation = new MyPmsMasfromEvaluationModel(data)
}
addPmsMasfromEvaluation() {
this.pmsMasfromEvaluation.personalLevel.pop()
const body = new MyPmsMasfromEvaluationModel(this.pmsMasfromEvaluation)
this.dataLoading = true
this.pmsMasfromEvaluationCycleService.post(body).subscribe({
......@@ -170,7 +169,6 @@ export class ManagementCycleComponent {
deletePmsMasfromEvaluation() {
let body: PmsMasfromEvaluationModel[] = []
if (this.pmsMasfromEvaluation.pmsEvaluationRoundId) {
this.pmsMasfromEvaluation.personalLevel.pop()
body = [new MyPmsMasfromEvaluationModel(this.pmsMasfromEvaluation)]
} else {
body = this.pmsMasfromEvaluationlist.filter(x => x.check).map(x => new MyPmsMasfromEvaluationModel(x.data))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment