277 lines
6.5 KiB
TypeScript
277 lines
6.5 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 disciplinaryMain = () =>
|
|
import(
|
|
"@/modules/11_discipline/components/3_InvestigateDisciplinary/MainPage.vue"
|
|
);
|
|
const disciplinaryEdit = () =>
|
|
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 channelAdd = () =>
|
|
import(
|
|
"@/modules/11_discipline/components/6_BasicInformation/Channel/AddPage.vue"
|
|
);
|
|
const channelEdit = () =>
|
|
import(
|
|
"@/modules/11_discipline/components/6_BasicInformation/Channel/EditPage.vue"
|
|
);
|
|
const complaintAdd = () =>
|
|
import("@/modules/11_discipline/components/1_Complaint/AddComplaintPage.vue");
|
|
const complaintEdit = () =>
|
|
import("@/modules/11_discipline/components/1_Complaint/EditPage.vue");
|
|
const reportType = () =>
|
|
import("@/modules/11_discipline/components/5_Report/DetailPage.vue");
|
|
|
|
const InvestigateDisciplinaryAdd = () =>
|
|
import(
|
|
"@/modules/11_discipline/components/3_InvestigateDisciplinary/AddPage.vue"
|
|
);
|
|
// const orderPage = () =>
|
|
// import("@/modules/11_discipline/components/4_Order/OrderPage.vue");
|
|
// const oredrMain = () =>
|
|
// import("@/modules/11_discipline/components/4_Order/MainPage.vue");
|
|
|
|
/** หน้ารายการผลการพิจารณาทางวินัย */
|
|
const resultMainPage = () =>
|
|
import("@/modules/11_discipline/components/4_Result/MainPage.vue");
|
|
const resultEditPage = () =>
|
|
import("@/modules/11_discipline/components/4_Result/EditPage.vue");
|
|
|
|
export default [
|
|
{
|
|
path: "/discipline/complaints",
|
|
name: "disciplineComplaints",
|
|
component: complaintMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.1],
|
|
Role: "discipline",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/complaints/add",
|
|
name: "disciplineComplaintsAdd",
|
|
component: complaintAdd,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.1],
|
|
Role: "discipline",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/complaints/:id",
|
|
name: "disciplineComplaintsEdit",
|
|
component: complaintEdit,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.1],
|
|
Role: "discipline",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/investigatefacts",
|
|
name: "disciplineInvestigatefacts",
|
|
component: factsMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.2],
|
|
Role: "discipline",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/disciplinary",
|
|
name: "disciplineDisciplinary",
|
|
component: disciplinaryMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.3],
|
|
Role: "discipline",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/disciplinary/:id",
|
|
name: "disciplineDisciplinaryEdit",
|
|
component: disciplinaryEdit,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.3],
|
|
Role: "discipline",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline-result",
|
|
name: "disciplineResult",
|
|
component: resultMainPage,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.4],
|
|
Role: "discipline",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline-result/:id",
|
|
name: "disciplineEditResult",
|
|
component: resultEditPage,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.4],
|
|
Role: "discipline",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/report",
|
|
name: "disciplineReport",
|
|
component: report,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.5],
|
|
Role: "discipline",
|
|
},
|
|
},
|
|
{
|
|
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: [11.6],
|
|
Role: "discipline",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/director/add",
|
|
name: "disciplineDirectorAdd",
|
|
component: directorAdd,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.6],
|
|
Role: "discipline",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/director/:id",
|
|
name: "disciplineDirectorEdit",
|
|
component: directorEdit,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.6],
|
|
Role: "discipline",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/channel",
|
|
name: "disciplineChannel",
|
|
component: channelMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.6],
|
|
Role: "discipline",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/investigatefacts/add",
|
|
name: "disciplineInvestigatefactsAdd",
|
|
component: investigatefactsAdd,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.2],
|
|
Role: "discipline",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/investigatefacts/:id",
|
|
name: "disciplineInvestigatefactsEdit",
|
|
component: investigatefactsEdit,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.2],
|
|
Role: "discipline",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/investigate-disciplinary/add",
|
|
name: "disciplineInvestigateDisciplinaryAdd",
|
|
component: InvestigateDisciplinaryAdd,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.3],
|
|
Role: "discipline",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/channel/add",
|
|
name: "disciplineChannelAdd",
|
|
component: channelAdd,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.2],
|
|
Role: "discipline",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/channel/:id",
|
|
name: "disciplineChannelEdit",
|
|
component: channelEdit,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.2],
|
|
Role: "discipline",
|
|
},
|
|
},
|
|
// {
|
|
// path: "/discipline-order",
|
|
// name: "disciplineOrder",
|
|
// component: oredrMain,
|
|
// meta: {
|
|
// Auth: true,
|
|
// Key: [11.4],
|
|
// Role: "discipline",
|
|
// },
|
|
// },
|
|
// {
|
|
// path: "/discipline-order/add",
|
|
// name: "disciplineOrderAdd",
|
|
// component: orderPage,
|
|
// meta: {
|
|
// Auth: true,
|
|
// Key: [11.4],
|
|
// Role: "discipline",
|
|
// },
|
|
// },
|
|
];
|