370 lines
9.4 KiB
TypeScript
370 lines
9.4 KiB
TypeScript
const complaintMain = () =>
|
|
import("@/modules/11_discipline/components/1_Complaint/MainPage.vue");
|
|
const factsMain = () =>
|
|
import("@/modules/11_discipline/components/2_InvestigateFacts/MainPage.vue");
|
|
// const investigatefactsAdd = () =>
|
|
// import("@/modules/11_discipline/components/2_InvestigateFacts/AddPage.vue");
|
|
const investigatefactsEdit = () =>
|
|
import("@/modules/11_discipline/components/2_InvestigateFacts/EditPage.vue");
|
|
const investigatefactsDetail = () =>
|
|
import("@/modules/11_discipline/components/2_InvestigateFacts/EditPage.vue");
|
|
const disciplinaryMain = () =>
|
|
import(
|
|
"@/modules/11_discipline/components/3_InvestigateDisciplinary/MainPage.vue"
|
|
);
|
|
const disciplinaryEdit = () =>
|
|
import(
|
|
"@/modules/11_discipline/components/3_InvestigateDisciplinary/EditPage.vue"
|
|
);
|
|
const disciplinaryDetail = () =>
|
|
import(
|
|
"@/modules/11_discipline/components/3_InvestigateDisciplinary/EditPage.vue"
|
|
);
|
|
// const report = () =>
|
|
// import("@/modules/11_discipline/components/5_Report/MainPage.vue");
|
|
const directorMain = () =>
|
|
import(
|
|
"@/modules/11_discipline/components/6_BasicInformation/Director/MainPage.vue"
|
|
);
|
|
const directorAdd = () =>
|
|
import(
|
|
"@/modules/11_discipline/components/6_BasicInformation/Director/AddPage.vue"
|
|
);
|
|
const directorEdit = () =>
|
|
import(
|
|
"@/modules/11_discipline/components/6_BasicInformation/Director/EditPage.vue"
|
|
);
|
|
const channelMain = () =>
|
|
import(
|
|
"@/modules/11_discipline/components/6_BasicInformation/Channel/MainPage.vue"
|
|
);
|
|
const complaintAdd = () =>
|
|
import("@/modules/11_discipline/components/1_Complaint/AddComplaintPage.vue");
|
|
const complaintEdit = () =>
|
|
import("@/modules/11_discipline/components/1_Complaint/EditPage.vue");
|
|
const complaintDetail = () =>
|
|
import("@/modules/11_discipline/components/1_Complaint/EditPage.vue");
|
|
const reportType = () =>
|
|
import("@/modules/11_discipline/components/5_Report/DetailPage.vue");
|
|
|
|
/** หน้ารายการสรุปผลการพิจารณาทางวินัย */
|
|
const resultMainPage = () =>
|
|
import("@/modules/11_discipline/components/4_Result/MainPage.vue");
|
|
const resultEditPage = () =>
|
|
import("@/modules/11_discipline/components/4_Result/EditPage.vue");
|
|
const resultDetailPage = () =>
|
|
import("@/modules/11_discipline/components/4_Result/EditPage.vue");
|
|
|
|
// รายชื่อผู้ถูกพักราชการ
|
|
const listSuspendMainPage = () =>
|
|
import("@/modules/11_discipline/components/7_ListSuspend/ListsPage.vue");
|
|
const suspendEditPage = () =>
|
|
import("@/modules/11_discipline/components/7_ListSuspend/DetailPage.vue");
|
|
const suspendDetailPage = () =>
|
|
import("@/modules/11_discipline/components/7_ListSuspend/DetailPage.vue");
|
|
|
|
const appealComplain = () =>
|
|
import("@/modules/11_discipline/components/8_AppealComplain/MainPage.vue");
|
|
const appealComplainAdd = () =>
|
|
import("@/modules/11_discipline/components/8_AppealComplain/AddPage.vue");
|
|
const appealComplainEdit = () =>
|
|
import("@/modules/11_discipline/components/8_AppealComplain/EditPage.vue");
|
|
const appealComplainDetail = () =>
|
|
import("@/modules/11_discipline/components/8_AppealComplain/EditPage.vue");
|
|
const disciplineReport = () =>
|
|
import("@/modules/11_discipline/components/9_DisciplineReport/Main.vue");
|
|
|
|
export default [
|
|
{
|
|
path: "/discipline/complaints",
|
|
name: "disciplineComplaints",
|
|
component: complaintMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_DISCIPLINE_COMPLAIN",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/complaints/add",
|
|
name: "disciplineComplaintsAdd",
|
|
component: complaintAdd,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_DISCIPLINE_COMPLAIN",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/complaints/:id",
|
|
name: "disciplineComplaintsEdit",
|
|
component: complaintEdit,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_DISCIPLINE_COMPLAIN",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/complaints-detail/:id",
|
|
name: "disciplineComplaintsDetail",
|
|
component: complaintDetail,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_DISCIPLINE_COMPLAIN",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
|
|
{
|
|
path: "/discipline/investigatefacts",
|
|
name: "disciplineInvestigatefacts",
|
|
component: factsMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_DISCIPLINE_INVESTIGATE",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
// {
|
|
// path: "/discipline/investigatefacts/add",
|
|
// name: "disciplineInvestigatefactsAdd",
|
|
// component: investigatefactsAdd,
|
|
// meta: {
|
|
// Auth: true,
|
|
// Key: "SYS_DISCIPLINE_INVESTIGATE",
|
|
// Role: "STAFF",
|
|
// },
|
|
// },
|
|
{
|
|
path: "/discipline/investigatefacts/:id",
|
|
name: "disciplineInvestigatefactsEdit",
|
|
component: investigatefactsEdit,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_DISCIPLINE_INVESTIGATE",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline-detail/investigatefacts/:id",
|
|
name: "disciplineInvestigatefactsDetail",
|
|
component: investigatefactsDetail,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_DISCIPLINE_INVESTIGATE",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/disciplinary",
|
|
name: "disciplineDisciplinary",
|
|
component: disciplinaryMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_DISCIPLINE_INTERROGATE",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/disciplinary/:id",
|
|
name: "disciplineDisciplinaryEdit",
|
|
component: disciplinaryEdit,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_DISCIPLINE_INTERROGATE",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline-detail/disciplinary/:id",
|
|
name: "disciplineDisciplinaryDetail",
|
|
component: disciplinaryDetail,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_DISCIPLINE_INTERROGATE",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
// {
|
|
// path: "/discipline/disciplinary/add",
|
|
// name: "disciplineInvestigateDisciplinaryAdd",
|
|
// component: InvestigateDisciplinaryAdd,
|
|
// meta: {
|
|
// Auth: true,
|
|
// Key: "SYS_DISCIPLINE_INTERROGATE",
|
|
// Role: "STAFF",
|
|
// },
|
|
// },
|
|
{
|
|
path: "/discipline-result",
|
|
name: "disciplineResult",
|
|
component: resultMainPage,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_DISCIPLINE_RESULT",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline-result/:id",
|
|
name: "disciplineEditResult",
|
|
component: resultEditPage,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_DISCIPLINE_RESULT",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline-result-detail/:id",
|
|
name: "disciplineResultDetail",
|
|
component: resultDetailPage,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_DISCIPLINE_RESULT",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
// {
|
|
// path: "/discipline/report",
|
|
// name: "disciplineReport",
|
|
// component: report,
|
|
// meta: {
|
|
// Auth: true,
|
|
// Key: "",
|
|
// Role: "STAFF",
|
|
// },
|
|
// },
|
|
// {
|
|
// path: "/discipline/report/:type",
|
|
// name: "disciplineReportType",
|
|
// component: reportType,
|
|
// meta: {
|
|
// Auth: true,
|
|
// Key: [11.5],
|
|
// Role: "discipline",
|
|
// },
|
|
// },
|
|
// ข้อมูลพื้นฐาน กรรมการ
|
|
{
|
|
path: "/discipline/director",
|
|
name: "disciplineDirector",
|
|
component: directorMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_DISCIPLINE_INFO",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/director/add",
|
|
name: "disciplineDirectorAdd",
|
|
component: directorAdd,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_DISCIPLINE_INFO",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/director/:id",
|
|
name: "disciplineDirectorEdit",
|
|
component: directorEdit,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_DISCIPLINE_INFO",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/channel",
|
|
name: "disciplineChannel",
|
|
component: channelMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_DISCIPLINE_INFO",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline-suspend",
|
|
name: "disciplineListSuspend",
|
|
component: listSuspendMainPage,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_DISCIPLINE_SUSPENDED",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline-suspend/:id",
|
|
name: "disciplineEditSuspend",
|
|
component: suspendEditPage,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_DISCIPLINE_SUSPENDED",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline-suspend-detail/:id",
|
|
name: "disciplineDetailSuspend",
|
|
component: suspendDetailPage,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_DISCIPLINE_SUSPENDED",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline-appealcomplain",
|
|
name: "appealComplain",
|
|
component: appealComplain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_DISCIPLINE_APPEAL",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline-appealcomplain/add",
|
|
name: "appealComplainAdd",
|
|
component: appealComplainAdd,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_DISCIPLINE_APPEAL",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline-appealcomplain/:id",
|
|
name: "appealComplainEdit",
|
|
component: appealComplainEdit,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_DISCIPLINE_APPEAL",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline-appealcomplain-detail/:id",
|
|
name: "appealComplainDetail",
|
|
component: appealComplainDetail,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_DISCIPLINE_APPEAL",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/disciplineReport",
|
|
name: "disciplineReport",
|
|
component: disciplineReport,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_DISCIPLINE_REPORT",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
];
|