เพิ่ม link noti
This commit is contained in:
parent
0bca27a633
commit
2bfb36fd8a
2 changed files with 108 additions and 103 deletions
|
|
@ -213,9 +213,9 @@ export function editLogSequence(req: RequestWithUser, index: number, data: LogSe
|
|||
export function commandTypePath(commandCode: string): string | null {
|
||||
switch (commandCode) {
|
||||
case "C-PM-01":
|
||||
return "/placement/recruit/report";
|
||||
return "/placement/recruit/report"; //
|
||||
case "C-PM-02":
|
||||
return "/placement/candidate/report";
|
||||
return "/placement/candidate/report"; //
|
||||
case "C-PM-03":
|
||||
return "/placement/appoint/report";
|
||||
case "C-PM-04":
|
||||
|
|
@ -223,7 +223,7 @@ export function commandTypePath(commandCode: string): string | null {
|
|||
case "C-PM-05":
|
||||
return "/placement/appointment/appoint/report";
|
||||
case "C-PM-06":
|
||||
return "/placement/appointment/slip/report";
|
||||
return "/placement/slip/report";
|
||||
case "C-PM-07":
|
||||
return "/placement/appointment/move/report";
|
||||
case "C-PM-08":
|
||||
|
|
@ -231,7 +231,7 @@ export function commandTypePath(commandCode: string): string | null {
|
|||
case "C-PM-09":
|
||||
return "/retirement/other/out/report";
|
||||
case "C-PM-10":
|
||||
return "/xxxxxx";
|
||||
return "/probation/report/command10/officer/report";
|
||||
case "C-PM-11":
|
||||
return "/probation/report/command11/officer/report";
|
||||
case "C-PM-12":
|
||||
|
|
@ -239,7 +239,7 @@ export function commandTypePath(commandCode: string): string | null {
|
|||
case "C-PM-13":
|
||||
return "/placement/transfer/command/report";
|
||||
case "C-PM-14":
|
||||
return "/placement/Receive/command/report";
|
||||
return "/placement/receive/command/report";
|
||||
case "C-PM-15":
|
||||
return "/placement/officer/command/report";
|
||||
case "C-PM-16":
|
||||
|
|
@ -289,7 +289,7 @@ export function commandTypePath(commandCode: string): string | null {
|
|||
case "C-PM-38":
|
||||
return "/org/command/command38/officer/report";
|
||||
case "C-PM-39":
|
||||
return "/placement/slip/report";
|
||||
return "/placement/appointment/slip/report";
|
||||
case "C-PM-40":
|
||||
return "/org/command/command40/officer/report";
|
||||
case "C-PM-41":
|
||||
|
|
@ -299,3 +299,91 @@ export function commandTypePath(commandCode: string): string | null {
|
|||
}
|
||||
}
|
||||
|
||||
export function commandTypePathLink(commandCode: string): string | null {
|
||||
switch (commandCode) {
|
||||
case "C-PM-01":
|
||||
return "/placement/personal-detail";
|
||||
case "C-PM-02":
|
||||
return "/placement/personal-detail";
|
||||
case "C-PM-03":
|
||||
return "/placement/personal-detail";
|
||||
case "C-PM-04":
|
||||
return "/placement/personal-detail";
|
||||
case "C-PM-05":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-06":
|
||||
return "/placement/personal-detail";
|
||||
case "C-PM-07":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-08":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-09":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-10":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-11":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-12":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-13":
|
||||
return "/placement/transfer";
|
||||
case "C-PM-14":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-15":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-16":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-17":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-18":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-19":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-20":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-21":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-22":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-23":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-24":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-25":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-26":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-27":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-28":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-29":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-30":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-31":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-32":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-33":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-34":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-35":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-36":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-37":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-38":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-39":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-40":
|
||||
return "/xxxxxx";
|
||||
case "C-PM-41":
|
||||
return "/xxxxxx";
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue