118 lines
2.7 KiB
TypeScript
118 lines
2.7 KiB
TypeScript
const salaryChart = () => import("@/modules/13_salary/views/salaryChart.vue");
|
|
const salaryEmployeeChart = () =>
|
|
import("@/modules/13_salary/views/salaryEmployeeChart.vue");
|
|
const salaryEmployeeRate = () =>
|
|
import("@/modules/13_salary/views/salaryEmployeeRate.vue");
|
|
const salaryRate = () => import("@/modules/13_salary/views/salaryRate.vue");
|
|
const salaryRound = () => import("@/modules/13_salary/views/salaryRound.vue");
|
|
const salaryLists = () => import("@/modules/13_salary/views/salaryLists.vue");
|
|
const salaryEmployeeLists = () =>
|
|
import("@/modules/13_salary/views/salaryEmployeeLists.vue");
|
|
const commandSalary = () =>
|
|
import("@/modules/13_salary/views/commandSalary.vue");
|
|
|
|
const commandSalaryAdd = () => import("@/modules/13_salary/components/Command/detail.vue");
|
|
// const commandSalary = () => import("@/modules/13_salary/views/commandSalary.vue");
|
|
// const commandSalary = () => import("@/modules/13_salary/views/commandSalary.vue");
|
|
export default [
|
|
{
|
|
path: "/salary",
|
|
name: "salaryChart",
|
|
component: salaryChart,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [1.1],
|
|
Role: "salary",
|
|
},
|
|
},
|
|
{
|
|
path: "/salary-employee",
|
|
name: "salaryEmployeeChart",
|
|
component: salaryEmployeeChart,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [1.1],
|
|
Role: "salary",
|
|
},
|
|
},
|
|
{
|
|
path: "/salary-employee/rate/:id",
|
|
name: "salaryEmployeeRate",
|
|
component: salaryEmployeeRate,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [1.1],
|
|
Role: "salary",
|
|
},
|
|
},
|
|
{
|
|
path: "/salary/rate/:id",
|
|
name: "salaryRate",
|
|
component: salaryRate,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [1.2],
|
|
Role: "salary",
|
|
},
|
|
},
|
|
{
|
|
path: "/salary/round",
|
|
name: "salaryRound",
|
|
component: salaryRound,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [1.3],
|
|
Role: "salary",
|
|
},
|
|
},
|
|
{
|
|
path: "/salary/lists",
|
|
name: "salaryLists",
|
|
component: salaryLists,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [1.4],
|
|
Role: "salary",
|
|
},
|
|
},
|
|
{
|
|
path: "/salary-employee/lists",
|
|
name: "salaryEmployeeLists",
|
|
component: salaryEmployeeLists,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [1.4],
|
|
Role: "salary",
|
|
},
|
|
},
|
|
{
|
|
path: "/salary/command",
|
|
name: "commandSalary",
|
|
component: commandSalary,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [1.5],
|
|
Role: "salary",
|
|
},
|
|
},
|
|
{
|
|
path: "/salary/command/add",
|
|
name: "commandSalaryAdd",
|
|
component: commandSalaryAdd,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [1.5],
|
|
Role: "salary",
|
|
},
|
|
},
|
|
{
|
|
path: "/salary/command/detail/:id",
|
|
name: "commandSalaryDatail",
|
|
component: commandSalaryAdd,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [1.5],
|
|
Role: "salary",
|
|
},
|
|
},
|
|
];
|