test
This commit is contained in:
parent
8155565186
commit
9a149a8d7e
1 changed files with 17 additions and 17 deletions
|
|
@ -1328,23 +1328,23 @@ export class KpiUserEvaluationController extends Controller {
|
||||||
"ไม่พบข้อมูลรายการประเมินผลการปฏิบัติราชการระดับบุคคลนี้",
|
"ไม่พบข้อมูลรายการประเมินผลการปฏิบัติราชการระดับบุคคลนี้",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
await new CallAPI()
|
// await new CallAPI()
|
||||||
.PostData(request, "/placement/noti/profiles", {
|
// .PostData(request, "/placement/noti/profiles", {
|
||||||
subject: `${kpiUserEvaluation.prefix}${kpiUserEvaluation.firstName} ${kpiUserEvaluation.lastName} มีความเห็นต่างเนื่องจาก: ${requestBody.reason}`,
|
// subject: `${kpiUserEvaluation.prefix}${kpiUserEvaluation.firstName} ${kpiUserEvaluation.lastName} มีความเห็นต่างเนื่องจาก: ${requestBody.reason}`,
|
||||||
body: `${kpiUserEvaluation.prefix}${kpiUserEvaluation.firstName} ${kpiUserEvaluation.lastName} มีความเห็นต่างเนื่องจาก: ${requestBody.reason}`,
|
// body: `${kpiUserEvaluation.prefix}${kpiUserEvaluation.firstName} ${kpiUserEvaluation.lastName} มีความเห็นต่างเนื่องจาก: ${requestBody.reason}`,
|
||||||
receiverUserIds: [
|
// receiverUserIds: [
|
||||||
{
|
// {
|
||||||
receiverUserId: kpiUserEvaluation.evaluatorId,
|
// receiverUserId: kpiUserEvaluation.evaluatorId,
|
||||||
notiLink: `${process.env.VITE_URL_USER}/KPI-evaluator/${kpiUserEvaluation.id}`,
|
// notiLink: `${process.env.VITE_URL_USER}/KPI-evaluator/${kpiUserEvaluation.id}`,
|
||||||
},
|
// },
|
||||||
],
|
// ],
|
||||||
payload: "",
|
// payload: "",
|
||||||
isSendMail: true,
|
// isSendMail: true,
|
||||||
isSendInbox: true,
|
// isSendInbox: true,
|
||||||
isSendNotification: true,
|
// isSendNotification: true,
|
||||||
})
|
// })
|
||||||
.then(() => {})
|
// .then(() => {})
|
||||||
.catch(() => {});
|
// .catch(() => {});
|
||||||
const before = structuredClone(kpiUserEvaluation);
|
const before = structuredClone(kpiUserEvaluation);
|
||||||
let _null: any = null;
|
let _null: any = null;
|
||||||
kpiUserEvaluation.evaluationStatus = "EVALUATING_EVALUATOR";
|
kpiUserEvaluation.evaluationStatus = "EVALUATING_EVALUATOR";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue