updated route complete
This commit is contained in:
parent
d92952637b
commit
265c0bdbe0
7 changed files with 275 additions and 288 deletions
|
|
@ -2,8 +2,8 @@ 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 investigatefactsAdd = () =>
|
||||
// import("@/modules/11_discipline/components/2_InvestigateFacts/AddPage.vue");
|
||||
const investigatefactsEdit = () =>
|
||||
import("@/modules/11_discipline/components/2_InvestigateFacts/EditPage.vue");
|
||||
const disciplinaryMain = () =>
|
||||
|
|
@ -14,8 +14,8 @@ const disciplinaryEdit = () =>
|
|||
import(
|
||||
"@/modules/11_discipline/components/3_InvestigateDisciplinary/EditPage.vue"
|
||||
);
|
||||
const report = () =>
|
||||
import("@/modules/11_discipline/components/5_Report/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"
|
||||
|
|
@ -46,10 +46,10 @@ 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 InvestigateDisciplinaryAdd = () =>
|
||||
// import(
|
||||
// "@/modules/11_discipline/components/3_InvestigateDisciplinary/AddPage.vue"
|
||||
// );
|
||||
const oredrMain = () =>
|
||||
import("@/modules/11_discipline/components/9_Order/MainPage.vue");
|
||||
|
||||
|
|
@ -80,8 +80,8 @@ export default [
|
|||
component: complaintMain,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [11.1],
|
||||
Role: "discipline",
|
||||
Key: "SYS_DISCIPLINE_COMPLAIN",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -90,8 +90,8 @@ export default [
|
|||
component: complaintAdd,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [11.1],
|
||||
Role: "discipline",
|
||||
Key: "SYS_DISCIPLINE_COMPLAIN",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -100,8 +100,8 @@ export default [
|
|||
component: complaintEdit,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [11.1],
|
||||
Role: "discipline",
|
||||
Key: "SYS_DISCIPLINE_COMPLAIN",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -110,8 +110,28 @@ export default [
|
|||
component: factsMain,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [11.2],
|
||||
Role: "discipline",
|
||||
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",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -120,8 +140,8 @@ export default [
|
|||
component: disciplinaryMain,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [11.3],
|
||||
Role: "discipline",
|
||||
Key: "SYS_DISCIPLINE_INTERROGATE",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -130,18 +150,28 @@ export default [
|
|||
component: disciplinaryEdit,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [11.3],
|
||||
Role: "discipline",
|
||||
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: [11.4],
|
||||
Role: "discipline",
|
||||
Key: "SYS_DISCIPLINE_RESULT",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -150,30 +180,30 @@ export default [
|
|||
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",
|
||||
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",
|
||||
|
|
@ -181,8 +211,8 @@ export default [
|
|||
component: directorMain,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [11.6],
|
||||
Role: "discipline",
|
||||
Key: "SYS_DISCIPLINE_INFO",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -191,8 +221,8 @@ export default [
|
|||
component: directorAdd,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [11.6],
|
||||
Role: "discipline",
|
||||
Key: "SYS_DISCIPLINE_INFO",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -201,8 +231,8 @@ export default [
|
|||
component: directorEdit,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [11.6],
|
||||
Role: "discipline",
|
||||
Key: "SYS_DISCIPLINE_INFO",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -211,38 +241,8 @@ export default [
|
|||
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",
|
||||
Key: "SYS_DISCIPLINE_INFO",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -251,8 +251,8 @@ export default [
|
|||
component: channelAdd,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [11.2],
|
||||
Role: "discipline",
|
||||
Key: "SYS_DISCIPLINE_INFO",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -261,8 +261,8 @@ export default [
|
|||
component: channelEdit,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [11.2],
|
||||
Role: "discipline",
|
||||
Key: "SYS_DISCIPLINE_INFO",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -271,8 +271,8 @@ export default [
|
|||
component: listSuspendMainPage,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [11.4],
|
||||
Role: "discipline",
|
||||
Key: "SYS_DISCIPLINE_SUSPENDED",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -281,8 +281,8 @@ export default [
|
|||
component: suspendEditPage,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [11.4],
|
||||
Role: "discipline",
|
||||
Key: "SYS_DISCIPLINE_SUSPENDED",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -291,8 +291,8 @@ export default [
|
|||
component: appealComplain,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [11.4],
|
||||
Role: "discipline",
|
||||
Key: "SYS_DISCIPLINE_APPEAL",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -301,8 +301,8 @@ export default [
|
|||
component: appealComplainAdd,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [11.4],
|
||||
Role: "discipline",
|
||||
Key: "SYS_DISCIPLINE_APPEAL",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -311,8 +311,8 @@ export default [
|
|||
component: appealComplainEdit,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [11.4],
|
||||
Role: "discipline",
|
||||
Key: "SYS_DISCIPLINE_APPEAL",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
|
||||
|
|
@ -322,8 +322,8 @@ export default [
|
|||
component: oredrMain,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [11.4],
|
||||
Role: "discipline",
|
||||
Key: "SYS_DISCIPLINE_SENTENCE",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -332,8 +332,8 @@ export default [
|
|||
component: DetailPage,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [11.4],
|
||||
Role: "discipline",
|
||||
Key: "SYS_DISCIPLINE_SENTENCE",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -342,8 +342,8 @@ export default [
|
|||
component: DetailPage,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [11.4],
|
||||
Role: "discipline",
|
||||
Key: "SYS_DISCIPLINE_SENTENCE",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue