Merge branch 'develop' into adiDev
This commit is contained in:
commit
d46c4cc0a8
1 changed files with 5 additions and 5 deletions
|
|
@ -549,8 +549,8 @@ export class WorkflowController extends Controller {
|
||||||
}));
|
}));
|
||||||
await new CallAPI()
|
await new CallAPI()
|
||||||
.PostData(req, "/placement/noti/profiles", {
|
.PostData(req, "/placement/noti/profiles", {
|
||||||
subject: `ได้รับรายการ`,
|
subject: `ได้รับรายการ ${workflow.name}`,
|
||||||
body: `ได้รับรายการ`,
|
body: `ได้รับรายการ ${workflow.name}`,
|
||||||
receiverUserIds: profileNext,
|
receiverUserIds: profileNext,
|
||||||
payload: "", //แนบไฟล์
|
payload: "", //แนบไฟล์
|
||||||
isSendMail: true,
|
isSendMail: true,
|
||||||
|
|
@ -653,12 +653,12 @@ export class WorkflowController extends Controller {
|
||||||
if (!assign) throw new HttpError(HttpStatus.NOT_FOUND, "ไม่พบข้อมูลขั้นตอนการอนุมัติ");
|
if (!assign) throw new HttpError(HttpStatus.NOT_FOUND, "ไม่พบข้อมูลขั้นตอนการอนุมัติ");
|
||||||
await new CallAPI()
|
await new CallAPI()
|
||||||
.PostData(req, "/placement/noti/profiles", {
|
.PostData(req, "/placement/noti/profiles", {
|
||||||
subject: `ได้รับรายการ`,
|
subject: `ได้รับรายการ ${state.workflow.name}`,
|
||||||
body: `ได้รับรายการ`,
|
body: `ได้รับรายการ ${state.workflow.name}`,
|
||||||
receiverUserIds: [
|
receiverUserIds: [
|
||||||
{
|
{
|
||||||
receiverUserId: body.profileId,
|
receiverUserId: body.profileId,
|
||||||
notiLink: `${assign.path}/${state.workflow.refId}`,
|
notiLink: `${process.env.VITE_URL_SSO}/${assign.path}/${state.workflow.refId}`,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
payload: "", //แนบไฟล์
|
payload: "", //แนบไฟล์
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue