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