เพิ่ม route ใน ออกคำสั่งไปหน้า Detail เพิ่ม tap ข้างของทะเบียนประวัติลูกจ้าง
This commit is contained in:
parent
822d060923
commit
2c5450f66c
3 changed files with 16 additions and 16 deletions
|
|
@ -527,8 +527,8 @@ const OriginalDataFetch = async () => {
|
|||
|
||||
// ดูรายการหน้าต่อไป
|
||||
const redirectToPage = (id?: number) => {
|
||||
// router.push({ name: 'placementDetail'});
|
||||
// router.push(`/placement/order/detail`);
|
||||
router.push({ name: "placementDetail" });
|
||||
router.push(`/placement/order/detail`);
|
||||
};
|
||||
|
||||
const clickDelete = (id: string) => {
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
*/
|
||||
|
||||
const Main = () => import("@/modules/08_registryEmployee/views/Main.vue");
|
||||
const Detail = () =>
|
||||
import("@/modules/08_registryEmployee/components/Profile.vue");
|
||||
// const Detail = () =>
|
||||
// import("@/modules/08_registryEmployee/components/Profile.vue");
|
||||
|
||||
export default [
|
||||
{
|
||||
|
|
@ -17,14 +17,14 @@ export default [
|
|||
Role: "registryEmployee",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/registryEmployee/:id",
|
||||
name: "registryEmployeeDetail",
|
||||
component: Detail,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [9],
|
||||
Role: "registryEmployee",
|
||||
},
|
||||
},
|
||||
// {
|
||||
// path: "/registryEmployee/:id",
|
||||
// name: "registryEmployeeDetail",
|
||||
// component: Detail,
|
||||
// meta: {
|
||||
// Auth: true,
|
||||
// Key: [9],
|
||||
// Role: "registryEmployeeDetails",
|
||||
// },
|
||||
// },
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue