clone code
This commit is contained in:
parent
c9597d1e38
commit
d57bcd1719
362 changed files with 104804 additions and 0 deletions
42
src/modules/01_metadata/router.ts
Normal file
42
src/modules/01_metadata/router.ts
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
/**
|
||||
* Router ระบบข้อมูลหลัก (Metadata)
|
||||
*/
|
||||
|
||||
const Main = () => import("@/modules/01_metadata/views/Main.vue");
|
||||
const ManageDistrict = () =>
|
||||
import("@/modules/01_metadata/components/person/District.vue");
|
||||
const ManageSubDistrict = () =>
|
||||
import("@/modules/01_metadata/components/person/SubDistrict.vue");
|
||||
|
||||
export default [
|
||||
{
|
||||
path: "/metadata",
|
||||
name: "metadata",
|
||||
component: Main,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [7],
|
||||
Role: "metadata",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/metadata/province/:province",
|
||||
name: "manageDistrict",
|
||||
component: ManageDistrict,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [7],
|
||||
Role: "metadata",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/metadata/province/:province/:district",
|
||||
name: "manageSubDistrict",
|
||||
component: ManageSubDistrict,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [7],
|
||||
Role: "metadata",
|
||||
},
|
||||
},
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue