เพิ่ม route ใน ออกคำสั่งไปหน้า Detail เพิ่ม tap ข้างของทะเบียนประวัติลูกจ้าง

This commit is contained in:
AnandaTon 2023-07-04 11:00:54 +07:00
parent 822d060923
commit 2c5450f66c
3 changed files with 16 additions and 16 deletions

View file

@ -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) => {

View file

@ -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",
// },
// },
];