171 lines
3.7 KiB
TypeScript
171 lines
3.7 KiB
TypeScript
/**
|
|
* Router เครื่องราชอิสริยาภรณ์ (insignia)
|
|
*/
|
|
|
|
const Main = () => import("@/modules/07_insignia/views/Main.vue");
|
|
const ReportView = () =>
|
|
import("../07_insignia/components/report/ReportView.vue");
|
|
const report_01 = () =>
|
|
import("../07_insignia/components/report/Report_01.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/components/1_Proposals/listProposals.vue");
|
|
const roundAdd = () =>
|
|
import("@/modules/07_insignia/components/1_Proposals/addProposals.vue");
|
|
const listMange = () =>
|
|
import("@/modules/07_insignia/components/2_Manage/listManage.vue");
|
|
const listAllocate = () =>
|
|
import("@/modules/07_insignia/components/4_Allocate/listAllocate.vue");
|
|
const allocateAdd = () =>
|
|
import("@/modules/07_insignia/components/4_Allocate/allocateAdd.vue");
|
|
const allocateDetail = () =>
|
|
import("@/modules/07_insignia/components/4_Allocate/detail.vue");
|
|
const allocateDetailAdd = () =>
|
|
import("@/modules/07_insignia/components/4_Allocate/addDetail.vue");
|
|
const VatInsignia = () =>
|
|
import("@/modules/07_insignia/components/VatInsignia.vue");
|
|
export default [
|
|
{
|
|
path: "/insignia",
|
|
name: "insignia",
|
|
component: Main,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [8],
|
|
Role: "insignia",
|
|
},
|
|
},
|
|
{
|
|
path: "/insignia/round-proposals",
|
|
name: "insigniaProposals",
|
|
component: insigniaProposals,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [8.1],
|
|
Role: "insignia",
|
|
},
|
|
},
|
|
{
|
|
path: "/insignia/round-add/:id",
|
|
name: "roundAddEdit",
|
|
component: roundAdd,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [8.1],
|
|
Role: "insignia",
|
|
},
|
|
},
|
|
{
|
|
path: "/insignia/round-add",
|
|
name: "roundAdd",
|
|
component: roundAdd,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [8.1],
|
|
Role: "insignia",
|
|
},
|
|
},
|
|
|
|
{
|
|
path: "/insignia/record",
|
|
name: "insigniaRecord",
|
|
component: RecordInsignia,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [8.4],
|
|
Role: "insignia",
|
|
},
|
|
},
|
|
{
|
|
path: "/insignia/coin",
|
|
name: "coin",
|
|
component: Coin,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [8],
|
|
Role: "insignia",
|
|
},
|
|
},
|
|
{
|
|
path: "/insignia/report",
|
|
name: "insigniaReport",
|
|
component: ReportView,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [8.5],
|
|
Role: "insignia",
|
|
},
|
|
},
|
|
{
|
|
path: "/insignia/report/report-01",
|
|
name: "report-report-01",
|
|
component: report_01,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [8.5],
|
|
Role: "insignia",
|
|
},
|
|
},
|
|
{
|
|
path: "/insignia/manage/list-manage",
|
|
name: "insigniaManage",
|
|
component: listMange,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [8.6],
|
|
Role: "insignia",
|
|
},
|
|
},
|
|
{
|
|
path: "/insignia/allocate/list-allocate",
|
|
name: "insigniaAllocate",
|
|
component: listAllocate,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [8.7],
|
|
Role: "insignia",
|
|
},
|
|
},
|
|
{
|
|
path: "/insignia/allocate/allocate-add",
|
|
name: "allocateAdd",
|
|
component: allocateAdd,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [8.8],
|
|
Role: "insignia",
|
|
},
|
|
},
|
|
{
|
|
path: "/insignia/allocate/detail",
|
|
name: "allocateDetail",
|
|
component: allocateDetail,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [8.9],
|
|
Role: "insignia",
|
|
},
|
|
},
|
|
{
|
|
path: "/insignia/allocate/detail-add",
|
|
name: "allocateDetailAdd",
|
|
component: allocateDetailAdd,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [8.9],
|
|
Role: "insignia",
|
|
},
|
|
},
|
|
{
|
|
path: "/insignia/vat",
|
|
name: "VatInsignia",
|
|
component: VatInsignia,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [8.9],
|
|
Role: "insignia",
|
|
},
|
|
},
|
|
];
|