diff --git a/src/api/KPI/api.kpis.ts b/src/api/KPI/api.kpis.ts index 27c47d2..fc00ea6 100644 --- a/src/api/KPI/api.kpis.ts +++ b/src/api/KPI/api.kpis.ts @@ -13,6 +13,7 @@ const Kpiorg = `${env.API_URI}/org/profile/commander`; const KpiUser = `${env.API_URI}/kpi/user`; const kpiAchievement = `${env.API_URI}/kpi/user/achievement`; +const kpiReason = `${env.API_URI}/kpi/reason`; export default { kpiPeriod, kpiEvaluation, @@ -38,4 +39,6 @@ export default { kpiReqEdit: (id: string) => `${kpiEvaluation}/edit/${id}`, /**ประเมิน*/ kpiAchievementDevelop: `${kpiAchievement}/development`, + + kpiCommentP:(typP:string,type:string,role:string,id:string)=>`${kpiReason}/${typP}/${type}/${role}/${id}` }; diff --git a/src/modules/08_KPI/components/Tab/Dialog/DialogCommentProblem.vue b/src/modules/08_KPI/components/Tab/Dialog/DialogCommentProblem.vue new file mode 100644 index 0000000..9184b6f --- /dev/null +++ b/src/modules/08_KPI/components/Tab/Dialog/DialogCommentProblem.vue @@ -0,0 +1,511 @@ + + + + + {{ type }} + + + + + + + + { + modalAdd = true; + } + " + > + เพิ่มหัวข้อรายงานปัญหา + + + + + + หัวข้อปัญหา + + + + + + + + + + + + {{ item.topic }} + + + + + + + + + ไม่พบข้อมูล + + + + + + + + + + + + กรุณาเลือกหัวข้อความก้าวหน้า + + + + + + + หัวข้อความก้าวหน้า + {{ formDataView.topic }} + + + รายละเอียดความก้าวหน้า + {{ formDataView.reason }} + + + + + + + + + + ความคิดเห็นของผู้ประเมิน + + + + + + + บันทึกและส่งให้ผู้บังคับ + + + + + + + + + ความคิดเห็นของผู้บังคับบัญชาเหนือขึ้นไป + (ถ้ามีผู้บังคับบัญชาเหนือขึ้นไป) + + + + + + + บันทึก + + + + + + + + ความคิดเห็นของผู้บังคับบัญชาเหนือขึ้นไปอีกขั้นหนึ่ง + (ถ้ามีผู้บังคับบัญชาเหนือขึ้นไปอีกขั้นหนึ่ง) + + + + + + + บันทึก + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { + sendType = ''; + } + " + >บันทึกแบบร่าง + { + sendType = 'send'; + } + " + >ส่งไปยังผู้ประเมิน + + + + + + diff --git a/src/modules/08_KPI/components/Tab/Dialog/DialogCommentProgress.vue b/src/modules/08_KPI/components/Tab/Dialog/DialogCommentProgress.vue new file mode 100644 index 0000000..cb20116 --- /dev/null +++ b/src/modules/08_KPI/components/Tab/Dialog/DialogCommentProgress.vue @@ -0,0 +1,491 @@ + + + + + + + + + + + + { + modalAdd = true; + } + " + > + เพิ่มความก้าวหน้า + + + + + + ความก้าวหน้า + + + + + + + + + + + + {{ item.topic }} + + + + + + + + + ไม่พบข้อมูล + + + + + + + + + + + + กรุณาเลือกหัวข้อความก้าวหน้า + + + + + + + หัวข้อความก้าวหน้า + {{ formDataView.topic }} + + + รายละเอียดความก้าวหน้า + {{ formDataView.reason }} + + + + + + + + + + ความคิดเห็นของผู้ประเมิน + + + + + + + บันทึกและส่งให้ผู้บังคับ + + + + + + + + + ความคิดเห็นของผู้บังคับบัญชาเหนือขึ้นไป + (ถ้ามีผู้บังคับบัญชาเหนือขึ้นไป) + + + + + + + บันทึก + + + + + + + + ความคิดเห็นของผู้บังคับบัญชาเหนือขึ้นไปอีกขั้นหนึ่ง + (ถ้ามีผู้บังคับบัญชาเหนือขึ้นไปอีกขั้นหนึ่ง) + + + + + + + บันทึก + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + บันทึกข้อมูล + + + + + + diff --git a/src/modules/08_KPI/interface/request/index.ts b/src/modules/08_KPI/interface/request/index.ts index c8eb73b..2ae2e39 100644 --- a/src/modules/08_KPI/interface/request/index.ts +++ b/src/modules/08_KPI/interface/request/index.ts @@ -53,6 +53,16 @@ interface FormComment { reason: string; } +interface FormCommentByRole { + id: string; + topic: string; + reason: string; + + reasonEvaluator: string; + reasonCommander: string; + reasonCommanderHigh: string; +} + export type { FormProfile, FormDataAssigned, @@ -60,4 +70,5 @@ export type { ListCriteria, ListCapacity, FormComment, + FormCommentByRole, };
+ กรุณาเลือกหัวข้อความก้าวหน้า +