222 lines
5.1 KiB
TypeScript
222 lines
5.1 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 oredrMain = () =>
|
|
import("@/modules/11_discipline/components/4_Order/MainPage.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 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");
|
|
export default [
|
|
{
|
|
path: "/discipline/complaints",
|
|
name: "/discipline-complaints",
|
|
component: complaintMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.1],
|
|
Role: "coin",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/complaints/add",
|
|
name: "/discipline-complaints-add",
|
|
component: complaintAdd,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.1],
|
|
Role: "coin",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/complaints/:id",
|
|
name: "/discipline-complaints-edit",
|
|
component: complaintEdit,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.1],
|
|
Role: "coin",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/investigatefacts",
|
|
name: "/discipline-investigatefacts",
|
|
component: factsMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.2],
|
|
Role: "coin",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/disciplinary",
|
|
name: "/discipline-disciplinary",
|
|
component: disciplinaryMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.3],
|
|
Role: "coin",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline-order",
|
|
name: "/disciplineorder",
|
|
component: oredrMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.4],
|
|
Role: "coin",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/report",
|
|
name: "/discipline-report",
|
|
component: report,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.5],
|
|
Role: "coin",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/report/:type",
|
|
name: "/discipline-reportType",
|
|
component: reportType,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.5],
|
|
Role: "coin",
|
|
},
|
|
},
|
|
// ข้อมูลพื้นฐาน กรรมการ
|
|
{
|
|
path: "/discipline/director",
|
|
name: "/discipline-director",
|
|
component: directorMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.6],
|
|
Role: "coin",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/director/add",
|
|
name: "discipline-director-add",
|
|
component: directorAdd,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.6],
|
|
Role: "coin",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/director/:id",
|
|
name: "discipline-director-edit",
|
|
component: directorEdit,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.6],
|
|
Role: "coin",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/channel",
|
|
name: "/discipline-channel",
|
|
component: channelMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.6],
|
|
Role: "coin",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/investigatefacts/add",
|
|
name: "/discipline-investigatefactsAdd",
|
|
component: investigatefactsAdd,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.2],
|
|
Role: "coin",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/investigatefacts/:id",
|
|
name: "/discipline-investigatefactsEdit",
|
|
component: investigatefactsEdit,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.2],
|
|
Role: "coin",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/InvestigateDisciplinary/add",
|
|
name: "/discipline-InvestigateDisciplinaryAdd",
|
|
component: InvestigateDisciplinaryAdd,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.3],
|
|
Role: "coin",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline/channel/add",
|
|
name: "/discipline-channelAdd",
|
|
component: channelAdd,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.2],
|
|
Role: "coin",
|
|
},
|
|
},
|
|
{
|
|
path: "/discipline-order/add",
|
|
name: "/disciplineorder-add",
|
|
component: orderPage,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [11.4],
|
|
Role: "coin",
|
|
},
|
|
},
|
|
];
|