Commit 254c435d by Nattana Chaiyamat

รอบการประเมิน แก้ไขการสร้าง

parent 4d595a4a
......@@ -128,7 +128,7 @@ export class ManagementCycleComponent {
}
setSyncfutionDataList() {
if (this.pmsMasfromEvaluation.dataList) {
if (this.pmsMasfromEvaluation.dataList) {
this.syncfutionDataList = this.pmsMasfromEvaluation.dataList.map(e => ({
pmsEvaluationRoundId: e.pmsEvaluationRoundId,
name: this.translateService.getCurrentLang() == 'th' ? e.tdesc : e.edesc,
......@@ -225,7 +225,8 @@ export class ManagementCycleComponent {
}
setData(data?: PmsMasfromEvaluationModel) {
this.pmsMasfromEvaluation.select = new MyPmsMasfromEvaluationModel(data)
const pmsMasfromEvaluation = this.pmsMasfromEvaluation.dataList.find(e => e.pmsEvaluationRoundId == data?.pmsEvaluationRoundId)
this.pmsMasfromEvaluation.select = new MyPmsMasfromEvaluationModel(pmsMasfromEvaluation)
}
addPmsMasfromEvaluation() {
......
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