ปรับโครงสร้างเมนู, เพิ่มเมนูในทะเบียนประวัติ
This commit is contained in:
parent
6fbc73300c
commit
054802c8b7
26 changed files with 1337 additions and 250 deletions
40
src/modules/10_order/router.ts
Normal file
40
src/modules/10_order/router.ts
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
/**
|
||||
* Router บรรจุ แต่งตั้ง ย้าย โอน (Placement)
|
||||
*/
|
||||
|
||||
const AddPage = () =>
|
||||
import("@/modules/10_order/components/Add.vue");
|
||||
const MainOrder = () => import("@/modules/10_order/components/Main.vue");
|
||||
const DetailPage = () =>
|
||||
import("@/modules/10_order/components/Detail.vue");
|
||||
|
||||
export default [
|
||||
{
|
||||
path: "/order",
|
||||
name: "order",
|
||||
component: MainOrder,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [10],
|
||||
Role: "placement",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/order/add",
|
||||
name: "OrderAdd",
|
||||
component: AddPage,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Role: "placement",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/order/detail/:orderid",
|
||||
name: "OrderDetail",
|
||||
component: DetailPage,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Role: "placement",
|
||||
},
|
||||
},
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue