แก้ไขเมนูทะเบียนประวัติ
This commit is contained in:
parent
00e74f9e77
commit
f0a6b8d71e
14 changed files with 50 additions and 28 deletions
|
|
@ -251,7 +251,7 @@ function onClickDelete(id: string) {
|
|||
}
|
||||
|
||||
function redirectToPageDetail(id: string) {
|
||||
router.push(`/registry-employee/${id}`);
|
||||
router.push(`/registry-temp/${id}`);
|
||||
}
|
||||
|
||||
/** เพิ่มข้อมูลลูกจ้างชั่วคราว*/
|
||||
|
|
|
|||
|
|
@ -275,13 +275,13 @@ const resetFilter = () => {
|
|||
|
||||
// เพิ่มข้อมูลลูกจ้าง
|
||||
const clickAdd = () => {
|
||||
router.push(`/registry-employee/add`);
|
||||
router.push(`/registry-temp/add`);
|
||||
};
|
||||
|
||||
// ดูรายการแก้ไขรายชื่อ
|
||||
const redirectToPage = (id?: string, status?: string) => {
|
||||
if (!(status == "REPORT" || status == "DONE")) {
|
||||
router.push(`/registry-employee/edit/${id}`);
|
||||
router.push(`/registry-temp/edit/${id}`);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue