up dashboard all
This commit is contained in:
parent
f4d11d6686
commit
4b297cd8e1
8 changed files with 300 additions and 1 deletions
85
src/router/dashboard.ts
Normal file
85
src/router/dashboard.ts
Normal file
|
|
@ -0,0 +1,85 @@
|
|||
const DashboardAll = () => import("@/views/DashboardAll.vue");
|
||||
|
||||
export default [
|
||||
{
|
||||
path: "/dashboard/org",
|
||||
name: "dashboardOrg",
|
||||
component: DashboardAll,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: "DASHBOARD_ORG",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/dashboard/registry",
|
||||
name: "dashboardRegistry",
|
||||
component: DashboardAll,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: "DASHBOARD_REGISTRY",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/dashboard/leave",
|
||||
name: "dashboardLeave",
|
||||
component: DashboardAll,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: "DASHBOARD_LEAVE",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/dashboard/placement",
|
||||
name: "dashboardPlacement",
|
||||
component: DashboardAll,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: "DASHBOARD_PLACEMENT",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/dashboard/retire",
|
||||
name: "dashboardRetire",
|
||||
component: DashboardAll,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: "DASHBOARD_RETIRE",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/dashboard/discipline",
|
||||
name: "dashboardDiscipline",
|
||||
component: DashboardAll,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: "DASHBOARD_DISCIPLINE",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/dashboard/develop",
|
||||
name: "dashboardDevelop",
|
||||
component: DashboardAll,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: "DASHBOARD_DEVELOP",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/dashboard/salary",
|
||||
name: "dashboardSalary",
|
||||
component: DashboardAll,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: "DASHBOARD_SALARY",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/dashboard/kpi",
|
||||
name: "dashboardKpi",
|
||||
component: DashboardAll,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: "DASHBOARD_KPI",
|
||||
},
|
||||
},
|
||||
];
|
||||
|
|
@ -6,6 +6,7 @@ const Error404NotFound = () => import("@/views/Error404NotFound.vue");
|
|||
const loginView = () => import("@/views/login.vue");
|
||||
const ErrorPermission = () => import("@/views/ErrorPermission.vue");
|
||||
|
||||
import DashboardAll from "@/router/dashboard";
|
||||
import ModuleMetadataNew from "@/modules/01_masterdata/router";
|
||||
import ModuleOrganizationalNew from "@/modules/02_organization/router";
|
||||
import ModulePositionEmployee from "@/modules/16_positionEmployee/router";
|
||||
|
|
@ -52,6 +53,7 @@ const router = createRouter({
|
|||
name: "errorPermission",
|
||||
component: ErrorPermission,
|
||||
},
|
||||
...DashboardAll,
|
||||
// ...ModuleMetadata,
|
||||
...ModuleMetadataNew,
|
||||
// ...ModuleOrganizational,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue