re-structure folder & route ในส่วนของบรรจุ
This commit is contained in:
parent
c05505071f
commit
1295a7f7fb
18 changed files with 66 additions and 497 deletions
|
|
@ -2,14 +2,12 @@
|
|||
* Router บรรจุ แต่งตั้ง ย้าย โอน (Placement)
|
||||
*/
|
||||
|
||||
const MainSorkorcho = () =>
|
||||
import("@/modules/05_placement/components/exams_sorkorcho/Main.vue");
|
||||
const PlacementMain = () =>
|
||||
import("@/modules/05_placement/components/Main.vue");
|
||||
const PlacementDetail = () =>
|
||||
import("@/modules/05_placement/components/pass/Detail.vue");
|
||||
const MainOther = () =>
|
||||
import("@/modules/05_placement/components/exams_other/Main.vue");
|
||||
const Placement2Detail = () =>
|
||||
import("@/modules/05_placement/components/exams_other/Detail.vue");
|
||||
const PlacementPersonalDetail = () =>
|
||||
import("@/modules/05_placement/components/PersonalDetail/Detail.vue");
|
||||
const addOrderPlacement = () =>
|
||||
import(
|
||||
"@/modules/05_placement/components/OrderPlacement/addOrderPlacement.vue"
|
||||
|
|
@ -25,9 +23,29 @@ const detailOrderReplace = () =>
|
|||
|
||||
export default [
|
||||
{
|
||||
path: "/placement/Sorkorcho",
|
||||
path: "/placement",
|
||||
name: "placement",
|
||||
component: MainSorkorcho,
|
||||
component: PlacementMain,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [7],
|
||||
Role: "placement",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/placement/detail",
|
||||
name: "placement-detail",
|
||||
component: PlacementDetail,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [7],
|
||||
Role: "placement",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/placement/detail/:personalId",
|
||||
name: "placement-personal-detail",
|
||||
component: PlacementPersonalDetail,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [7],
|
||||
|
|
@ -54,36 +72,6 @@ export default [
|
|||
Role: "placement",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/placement/detail",
|
||||
name: "placementDetail",
|
||||
component: PlacementDetail,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [7],
|
||||
Role: "placement",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/placement2",
|
||||
name: "placement2",
|
||||
component: MainOther,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [7],
|
||||
Role: "placement",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/placement2/detail",
|
||||
name: "placement2Detail",
|
||||
component: Placement2Detail,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [7],
|
||||
Role: "placement",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/placement/addOrderPlacement",
|
||||
name: "addOrderPlacement",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue