2023-10-17 16:51:49 +07:00
|
|
|
const complaintMain = () =>
|
|
|
|
|
import("@/modules/11_discipline/components/1_Complaint/MainPage.vue");
|
|
|
|
|
const factsMain = () =>
|
|
|
|
|
import("@/modules/11_discipline/components/2_InvestigateFacts/MainPage.vue");
|
|
|
|
|
const investigatefactsAdd = () =>
|
2023-10-18 16:02:45 +07:00
|
|
|
import("@/modules/11_discipline/components/2_InvestigateFacts/AddPage.vue");
|
2023-11-06 15:13:36 +07:00
|
|
|
const investigatefactsEdit = () =>
|
|
|
|
|
import("@/modules/11_discipline/components/2_InvestigateFacts/EditPage.vue");
|
2023-10-17 16:51:49 +07:00
|
|
|
const disciplinaryMain = () =>
|
|
|
|
|
import(
|
2023-11-10 16:24:59 +07:00
|
|
|
"@/modules/11_discipline/components/3_InvestigateDisciplinary/MainPage.vue"
|
2023-10-17 16:51:49 +07:00
|
|
|
);
|
2023-11-07 09:52:03 +07:00
|
|
|
const disciplinaryEdit = () =>
|
|
|
|
|
import(
|
2023-11-10 16:24:59 +07:00
|
|
|
"@/modules/11_discipline/components/3_InvestigateDisciplinary/EditPage.vue"
|
2023-11-07 09:52:03 +07:00
|
|
|
);
|
2023-10-17 16:51:49 +07:00
|
|
|
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(
|
2023-10-18 09:35:16 +07:00
|
|
|
"@/modules/11_discipline/components/6_BasicInformation/Director/MainPage.vue"
|
2023-10-17 16:51:49 +07:00
|
|
|
);
|
2023-11-07 09:52:03 +07:00
|
|
|
const directorAdd = () =>
|
2023-10-18 17:39:08 +07:00
|
|
|
import(
|
|
|
|
|
"@/modules/11_discipline/components/6_BasicInformation/Director/AddPage.vue"
|
|
|
|
|
);
|
2023-11-07 09:52:03 +07:00
|
|
|
const directorEdit = () =>
|
2023-10-18 17:39:08 +07:00
|
|
|
import(
|
|
|
|
|
"@/modules/11_discipline/components/6_BasicInformation/Director/EditPage.vue"
|
|
|
|
|
);
|
2023-10-17 16:51:49 +07:00
|
|
|
const channelMain = () =>
|
|
|
|
|
import(
|
2023-10-18 09:35:16 +07:00
|
|
|
"@/modules/11_discipline/components/6_BasicInformation/Channel/MainPage.vue"
|
2023-10-17 16:51:49 +07:00
|
|
|
);
|
2023-10-18 17:39:08 +07:00
|
|
|
const channelAdd = () =>
|
2023-10-18 09:35:16 +07:00
|
|
|
import(
|
2023-10-18 11:06:48 +07:00
|
|
|
"@/modules/11_discipline/components/6_BasicInformation/Channel/AddPage.vue"
|
2023-10-18 17:39:08 +07:00
|
|
|
);
|
2023-10-17 16:51:49 +07:00
|
|
|
const complaintAdd = () =>
|
|
|
|
|
import("@/modules/11_discipline/components/1_Complaint/AddComplaintPage.vue");
|
2023-11-06 17:50:19 +07:00
|
|
|
const complaintEdit = () =>
|
|
|
|
|
import("@/modules/11_discipline/components/1_Complaint/EditPage.vue");
|
2023-10-17 16:51:49 +07:00
|
|
|
const reportType = () =>
|
2023-10-18 12:13:55 +07:00
|
|
|
import("@/modules/11_discipline/components/5_Report/DetailPage.vue");
|
2023-10-16 13:28:48 +07:00
|
|
|
|
2023-10-17 11:34:59 +07:00
|
|
|
const InvestigateDisciplinaryAdd = () =>
|
|
|
|
|
import(
|
2023-11-10 17:00:46 +07:00
|
|
|
"@/modules/11_discipline/components/3_InvestigateDisciplinary/AddPage.vue"
|
2023-10-17 11:34:59 +07:00
|
|
|
);
|
2023-10-18 17:39:08 +07:00
|
|
|
const orderPage = () =>
|
|
|
|
|
import("@/modules/11_discipline/components/4_Order/OrderPage.vue");
|
2023-10-16 13:28:48 +07:00
|
|
|
export default [
|
2023-10-17 11:34:59 +07:00
|
|
|
{
|
|
|
|
|
path: "/discipline/complaints",
|
|
|
|
|
name: "/discipline-complaints",
|
|
|
|
|
component: complaintMain,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
|
|
|
|
Key: [11.1],
|
|
|
|
|
Role: "coin",
|
2023-10-16 13:28:48 +07:00
|
|
|
},
|
2023-10-17 11:34:59 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "/discipline/complaints/add",
|
|
|
|
|
name: "/discipline-complaints-add",
|
|
|
|
|
component: complaintAdd,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
|
|
|
|
Key: [11.1],
|
|
|
|
|
Role: "coin",
|
2023-10-16 18:07:42 +07:00
|
|
|
},
|
2023-10-17 11:34:59 +07:00
|
|
|
},
|
2023-11-06 17:50:19 +07:00
|
|
|
{
|
|
|
|
|
path: "/discipline/complaints/:id",
|
|
|
|
|
name: "/discipline-complaints-edit",
|
|
|
|
|
component: complaintEdit,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
|
|
|
|
Key: [11.1],
|
|
|
|
|
Role: "coin",
|
|
|
|
|
},
|
|
|
|
|
},
|
2023-10-17 11:34:59 +07:00
|
|
|
{
|
|
|
|
|
path: "/discipline/investigatefacts",
|
|
|
|
|
name: "/discipline-investigatefacts",
|
|
|
|
|
component: factsMain,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
|
|
|
|
Key: [11.2],
|
|
|
|
|
Role: "coin",
|
2023-10-16 13:28:48 +07:00
|
|
|
},
|
2023-10-17 11:34:59 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "/discipline/disciplinary",
|
|
|
|
|
name: "/discipline-disciplinary",
|
|
|
|
|
component: disciplinaryMain,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
|
|
|
|
Key: [11.3],
|
|
|
|
|
Role: "coin",
|
2023-10-16 18:07:42 +07:00
|
|
|
},
|
2023-10-17 11:34:59 +07:00
|
|
|
},
|
2023-11-07 09:52:03 +07:00
|
|
|
{
|
|
|
|
|
path: "/discipline/disciplinary/:id",
|
|
|
|
|
name: "/discipline-disciplinaryEdit",
|
|
|
|
|
component: disciplinaryEdit,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
|
|
|
|
Key: [11.3],
|
|
|
|
|
Role: "coin",
|
|
|
|
|
},
|
|
|
|
|
},
|
2023-10-17 11:34:59 +07:00
|
|
|
{
|
2023-10-17 17:49:31 +07:00
|
|
|
path: "/discipline-order",
|
|
|
|
|
name: "/disciplineorder",
|
2023-10-17 11:34:59 +07:00
|
|
|
component: oredrMain,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
|
|
|
|
Key: [11.4],
|
|
|
|
|
Role: "coin",
|
2023-10-16 13:28:48 +07:00
|
|
|
},
|
2023-10-17 11:34:59 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "/discipline/report",
|
|
|
|
|
name: "/discipline-report",
|
|
|
|
|
component: report,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
|
|
|
|
Key: [11.5],
|
|
|
|
|
Role: "coin",
|
2023-10-16 18:07:42 +07:00
|
|
|
},
|
2023-10-17 14:27:26 +07:00
|
|
|
},
|
2023-10-17 16:51:49 +07:00
|
|
|
{
|
|
|
|
|
path: "/discipline/report/:type",
|
|
|
|
|
name: "/discipline-reportType",
|
|
|
|
|
component: reportType,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
|
|
|
|
Key: [11.5],
|
|
|
|
|
Role: "coin",
|
2023-10-16 13:28:48 +07:00
|
|
|
},
|
2023-10-17 16:51:49 +07:00
|
|
|
},
|
2023-10-18 17:39:08 +07:00
|
|
|
// ข้อมูลพื้นฐาน กรรมการ
|
2023-10-17 16:51:49 +07:00
|
|
|
{
|
|
|
|
|
path: "/discipline/director",
|
|
|
|
|
name: "/discipline-director",
|
|
|
|
|
component: directorMain,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
|
|
|
|
Key: [11.6],
|
|
|
|
|
Role: "coin",
|
2023-10-16 18:07:42 +07:00
|
|
|
},
|
2023-10-17 11:34:59 +07:00
|
|
|
},
|
|
|
|
|
{
|
2023-10-18 17:39:08 +07:00
|
|
|
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,
|
2023-10-17 11:34:59 +07:00
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
|
|
|
|
Key: [11.6],
|
|
|
|
|
Role: "coin",
|
2023-10-16 18:07:42 +07:00
|
|
|
},
|
2023-10-17 11:34:59 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "/discipline/channel",
|
|
|
|
|
name: "/discipline-channel",
|
|
|
|
|
component: channelMain,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
|
|
|
|
Key: [11.6],
|
|
|
|
|
Role: "coin",
|
2023-10-16 18:07:42 +07:00
|
|
|
},
|
2023-10-17 11:34:59 +07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "/discipline/investigatefacts/add",
|
|
|
|
|
name: "/discipline-investigatefactsAdd",
|
|
|
|
|
component: investigatefactsAdd,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
|
|
|
|
Key: [11.2],
|
|
|
|
|
Role: "coin",
|
2023-10-16 18:07:42 +07:00
|
|
|
},
|
2023-10-17 11:34:59 +07:00
|
|
|
},
|
2023-11-06 15:13:36 +07:00
|
|
|
{
|
|
|
|
|
path: "/discipline/investigatefacts/:id",
|
|
|
|
|
name: "/discipline-investigatefactsEdit",
|
|
|
|
|
component: investigatefactsEdit,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
|
|
|
|
Key: [11.2],
|
|
|
|
|
Role: "coin",
|
|
|
|
|
},
|
|
|
|
|
},
|
2023-10-17 11:34:59 +07:00
|
|
|
{
|
2023-11-10 11:27:03 +07:00
|
|
|
path: "/discipline/investigate-disciplinary/add",
|
|
|
|
|
name: "discipline_investigate_disciplinary_add",
|
2023-10-17 11:34:59 +07:00
|
|
|
component: InvestigateDisciplinaryAdd,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
|
|
|
|
Key: [11.3],
|
|
|
|
|
Role: "coin",
|
2023-10-16 13:28:48 +07:00
|
|
|
},
|
2023-10-17 11:34:59 +07:00
|
|
|
},
|
2023-10-17 16:51:49 +07:00
|
|
|
{
|
|
|
|
|
path: "/discipline/channel/add",
|
|
|
|
|
name: "/discipline-channelAdd",
|
|
|
|
|
component: channelAdd,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
|
|
|
|
Key: [11.2],
|
|
|
|
|
Role: "coin",
|
2023-10-16 18:13:03 +07:00
|
|
|
},
|
2023-10-17 16:51:49 +07:00
|
|
|
},
|
2023-10-17 17:49:31 +07:00
|
|
|
{
|
|
|
|
|
path: "/discipline-order/add",
|
|
|
|
|
name: "/disciplineorder-add",
|
|
|
|
|
component: orderPage,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
|
|
|
|
Key: [11.4],
|
|
|
|
|
Role: "coin",
|
2023-10-17 17:43:38 +07:00
|
|
|
},
|
2023-10-17 17:49:31 +07:00
|
|
|
},
|
2023-10-17 11:34:59 +07:00
|
|
|
];
|