188 lines
4.1 KiB
TypeScript
188 lines
4.1 KiB
TypeScript
/**
|
|
* Router พ้นจากราชการ (Retirement)
|
|
*/
|
|
|
|
const Main = () => import("@/modules/06_retirement/views/Main.vue");
|
|
const Listretirement = () =>
|
|
import("@/modules/06_retirement/components/ListRetirement/TableList.vue");
|
|
const resignOrder = () =>
|
|
import("@/modules/06_retirement/components/resign/ResignOrder.vue");
|
|
const resign = () =>
|
|
import("@/modules/06_retirement/components/resign/Resign.vue");
|
|
const resignByid = () =>
|
|
import("@/modules/06_retirement/components/resign/ResignByid.vue");
|
|
const deceased = () =>
|
|
import("@/modules/06_retirement/components/resign/Deceased.vue");
|
|
const detaildeceased = () =>
|
|
import("@/modules/06_retirement/components/resign/DetailDeceased.vue");
|
|
const dismissOrder = () =>
|
|
import("@/modules/06_retirement/components/DismissOrder/DismissOrder.vue");
|
|
const outDetail = () =>
|
|
import("@/modules/06_retirement/components/DismissOrder/outRegistry.vue");
|
|
const dischargedMain = () =>
|
|
import("@/modules/06_retirement/components/Discharged/dischargedMain.vue");
|
|
const dischargedDetails = () =>
|
|
import(
|
|
"@/modules/06_retirement/components/Discharged/dischargedRegistry.vue"
|
|
);
|
|
const expulsionMain = () =>
|
|
import("@/modules/06_retirement/components/Expulsion/expulsionMain.vue");
|
|
|
|
const expulsionDetails = () =>
|
|
import("@/modules/06_retirement/components/Expulsion/expulsionRegistry.vue");
|
|
|
|
const ExitInterviewMain = () =>
|
|
import("@/modules/06_retirement/components/ExitInterview/exitMain.vue");
|
|
|
|
export default [
|
|
{
|
|
path: "/retirement",
|
|
name: "retirement",
|
|
component: Main,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [7],
|
|
Role: "retirement",
|
|
},
|
|
},
|
|
{
|
|
path: "/exit-Interview",
|
|
name: "exit-Interview",
|
|
component: ExitInterviewMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [7.3],
|
|
Role: "ExitInterviewMain",
|
|
},
|
|
},
|
|
{
|
|
path: "/retirement/:retirementId",
|
|
name: "retirementid",
|
|
component: Listretirement,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [7.1],
|
|
Role: "retirement",
|
|
},
|
|
},
|
|
{
|
|
path: "/retirement/listretire/:id/:type",
|
|
name: "retirement/list/id/type",
|
|
component: Listretirement,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [7.1],
|
|
Role: "retirement",
|
|
},
|
|
},
|
|
{
|
|
path: "/retirement/resign",
|
|
name: "resign",
|
|
component: resign,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [7.2],
|
|
Role: "retirement",
|
|
},
|
|
},
|
|
{
|
|
path: "/retirement/resign/:id",
|
|
name: "resignbyid",
|
|
component: resignByid,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [7.3],
|
|
Role: "retirement",
|
|
},
|
|
},
|
|
{
|
|
path: "/retirement/resign-order",
|
|
name: "resign-order",
|
|
component: resignOrder,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [7.4],
|
|
Role: "retirement",
|
|
},
|
|
},
|
|
{
|
|
path: "/deceased",
|
|
name: "deceased",
|
|
component: deceased,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [7.5],
|
|
Role: "retirement",
|
|
},
|
|
},
|
|
{
|
|
path: "/deceased/:id",
|
|
name: "deceased-detail",
|
|
component: detaildeceased,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [7.8],
|
|
Role: "retirement",
|
|
},
|
|
},
|
|
{
|
|
path: "/dismiss-order",
|
|
name: "dismiss-order",
|
|
component: dismissOrder,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [7.5],
|
|
Role: "retirement",
|
|
},
|
|
},
|
|
{
|
|
path: "/retirement/out/:id",
|
|
name: "outDetail",
|
|
component: outDetail,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [7.5],
|
|
Role: "retirement",
|
|
},
|
|
},
|
|
{
|
|
path: "/discharged",
|
|
name: "discharged",
|
|
component: dischargedMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [7.6],
|
|
Role: "retirement",
|
|
},
|
|
},
|
|
{
|
|
path: "/retirement/discharged/:id",
|
|
name: "dischargedDetails",
|
|
component: dischargedDetails,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [7.6],
|
|
Role: "retirement",
|
|
},
|
|
},
|
|
{
|
|
path: "/expulsion",
|
|
name: "expulsion",
|
|
component: expulsionMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [7.7],
|
|
Role: "retirement",
|
|
},
|
|
},
|
|
{
|
|
path: "/retirement/expulsion/:id",
|
|
name: "expulsionDetails",
|
|
component: expulsionDetails,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [7.7],
|
|
Role: "retirement",
|
|
},
|
|
},
|
|
];
|