จัดหน้า router

This commit is contained in:
Thanit Konmek 2023-07-17 17:00:50 +07:00
parent 9fbc60e8b4
commit afa42c0133
13 changed files with 633 additions and 25 deletions

View file

@ -7,13 +7,13 @@ const ReportView = () =>
import("../07_insignia/components/report/ReportView.vue");
const report_01 = () =>
import("../07_insignia/components/report/Report_01.vue");
const ResultInsignia = () =>
import("@/modules/07_insignia/components/ResultInsignia.vue");
const RecordInsignia = () =>
import("@/modules/07_insignia/components/RecordInsignia.vue");
const Coin = () => import("@/modules/07_insignia/components/Coin.vue");
const insigniaProposals = () =>
import("@/modules/07_insignia/views/1_Proposals/listProposals.vue");
import("@/modules/07_insignia/components/1_Proposals/listProposals.vue");
const roundAdd = () =>
import("@/modules/07_insignia/views/1_Proposals/addProposals.vue");
import("@/modules/07_insignia/components/1_Proposals/addProposals.vue");
export default [
{
@ -22,7 +22,7 @@ export default [
component: Main,
meta: {
Auth: true,
Key: [7],
Key: [8],
Role: "insignia",
},
},
@ -32,7 +32,7 @@ export default [
component: insigniaProposals,
meta: {
Auth: true,
Key: [7.1],
Key: [8.1],
Role: "insignia",
},
},
@ -42,26 +42,18 @@ export default [
component: roundAdd,
meta: {
Auth: true,
Key: [7.1],
Key: [8.1],
Role: "insignia",
},
},
{
path: "/insignia/report",
name: "insignia-report",
component: ReportView,
path: "/insignia/record",
name: "insigniaRecord",
component: RecordInsignia,
meta: {
Auth: true,
Key: [7.1],
},
},
{
path: "/insignia/result-insignia",
name: "result-insignia",
component: ResultInsignia,
meta: {
Auth: true,
Key: [7],
Key: [8.4],
Role: "insignia",
},
},
@ -71,17 +63,17 @@ export default [
component: Coin,
meta: {
Auth: true,
Key: [7],
Key: [8],
Role: "insignia",
},
},
{
path: "/insignia/report",
name: "insignia-report",
name: "insigniaReport",
component: ReportView,
meta: {
Auth: true,
Key: [7],
Key: [8.5],
Role: "insignia",
},
},
@ -91,7 +83,7 @@ export default [
component: report_01,
meta: {
Auth: true,
Key: [7],
Key: [8.5],
Role: "insignia",
},
},