แก้ไข route registryEmployeeEdit
This commit is contained in:
parent
b389e8878b
commit
aa786793ac
2 changed files with 2 additions and 2 deletions
|
|
@ -47,7 +47,7 @@ export default [
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "/registryEmployee/Edit/:Id",
|
path: "/registryEmployee/edit/:Id",
|
||||||
name: "registryEmployeeEdit",
|
name: "registryEmployeeEdit",
|
||||||
component: EditDetail,
|
component: EditDetail,
|
||||||
meta: {
|
meta: {
|
||||||
|
|
|
||||||
|
|
@ -1355,7 +1355,7 @@ const clickAdd = () => {
|
||||||
|
|
||||||
// ดูรายการแก้ไขรายชื่อ
|
// ดูรายการแก้ไขรายชื่อ
|
||||||
const redirectToPage = (profileId?: string) => {
|
const redirectToPage = (profileId?: string) => {
|
||||||
router.push(`/registryEmployee/Edit/${profileId}`);
|
router.push(`/registryEmployee/edit/${profileId}`);
|
||||||
};
|
};
|
||||||
const editDetail = async (row: any) => {
|
const editDetail = async (row: any) => {
|
||||||
await getPosition(row.id);
|
await getPosition(row.id);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue