2024-02-15 11:46:25 +07:00
|
|
|
const salaryChart = () => import("@/modules/13_salary/views/salaryChart.vue");
|
2024-03-11 17:42:27 +07:00
|
|
|
const salaryEmployeeChart = () =>
|
|
|
|
|
import("@/modules/13_salary/views/salaryEmployeeChart.vue");
|
2024-03-12 16:23:23 +07:00
|
|
|
const salaryEmployeeRate = () =>
|
|
|
|
|
import("@/modules/13_salary/views/salaryEmployeeRate.vue");
|
2024-02-15 11:46:25 +07:00
|
|
|
const salaryRate = () => import("@/modules/13_salary/views/salaryRate.vue");
|
2024-02-21 16:24:27 +07:00
|
|
|
const salaryRound = () => import("@/modules/13_salary/views/salaryRound.vue");
|
|
|
|
|
const salaryLists = () => import("@/modules/13_salary/views/salaryLists.vue");
|
2024-03-11 17:42:27 +07:00
|
|
|
const salaryEmployeeLists = () =>
|
|
|
|
|
import("@/modules/13_salary/views/salaryEmployeeLists.vue");
|
2024-03-20 11:59:07 +07:00
|
|
|
const commandSalary = () =>
|
|
|
|
|
import("@/modules/13_salary/views/commandSalary.vue");
|
2024-02-15 11:46:25 +07:00
|
|
|
|
2024-08-01 15:25:48 +07:00
|
|
|
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");
|
2024-02-15 11:46:25 +07:00
|
|
|
export default [
|
|
|
|
|
{
|
|
|
|
|
path: "/salary",
|
|
|
|
|
name: "salaryChart",
|
|
|
|
|
component: salaryChart,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
2024-08-01 15:25:48 +07:00
|
|
|
Key: "SYS_SALARY_CHART_OFFICER",
|
|
|
|
|
Role: "STAFF",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "/salary/rate/:id",
|
|
|
|
|
name: "salaryRate",
|
|
|
|
|
component: salaryRate,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
|
|
|
|
Key: "SYS_SALARY_CHART_OFFICER",
|
|
|
|
|
Role: "STAFF",
|
2024-02-15 11:46:25 +07:00
|
|
|
},
|
|
|
|
|
},
|
2024-03-11 17:42:27 +07:00
|
|
|
{
|
|
|
|
|
path: "/salary-employee",
|
|
|
|
|
name: "salaryEmployeeChart",
|
|
|
|
|
component: salaryEmployeeChart,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
2024-08-01 15:25:48 +07:00
|
|
|
Key: "SYS_WAGE_CHART_EMP",
|
|
|
|
|
Role: "STAFF",
|
2024-03-11 17:42:27 +07:00
|
|
|
},
|
|
|
|
|
},
|
2024-03-12 16:23:23 +07:00
|
|
|
{
|
|
|
|
|
path: "/salary-employee/rate/:id",
|
|
|
|
|
name: "salaryEmployeeRate",
|
|
|
|
|
component: salaryEmployeeRate,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
2024-08-01 15:25:48 +07:00
|
|
|
Key: "SYS_WAGE_CHART_EMP",
|
|
|
|
|
Role: "STAFF",
|
2024-02-15 11:46:25 +07:00
|
|
|
},
|
|
|
|
|
},
|
2024-02-21 16:24:27 +07:00
|
|
|
{
|
|
|
|
|
path: "/salary/round",
|
|
|
|
|
name: "salaryRound",
|
|
|
|
|
component: salaryRound,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
2024-08-01 15:25:48 +07:00
|
|
|
Key: "SYS_SALARY_ROUND",
|
|
|
|
|
Role: "STAFF",
|
2024-02-21 16:24:27 +07:00
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "/salary/lists",
|
|
|
|
|
name: "salaryLists",
|
|
|
|
|
component: salaryLists,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
2024-08-01 15:25:48 +07:00
|
|
|
Key: "SYS_SALARY_OFFICER",
|
|
|
|
|
Role: "STAFF",
|
2024-02-21 16:24:27 +07:00
|
|
|
},
|
|
|
|
|
},
|
2024-03-11 17:42:27 +07:00
|
|
|
{
|
|
|
|
|
path: "/salary-employee/lists",
|
|
|
|
|
name: "salaryEmployeeLists",
|
|
|
|
|
component: salaryEmployeeLists,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
2024-08-01 15:25:48 +07:00
|
|
|
Key: "SYS_WAGE",
|
|
|
|
|
Role: "STAFF",
|
2024-03-11 17:42:27 +07:00
|
|
|
},
|
|
|
|
|
},
|
2024-03-20 11:59:07 +07:00
|
|
|
{
|
|
|
|
|
path: "/salary/command",
|
|
|
|
|
name: "commandSalary",
|
|
|
|
|
component: commandSalary,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
2024-08-01 15:25:48 +07:00
|
|
|
Key: "SYS_SALARY_COMMAND",
|
|
|
|
|
Role: "STAFF",
|
2024-03-20 11:59:07 +07:00
|
|
|
},
|
|
|
|
|
},
|
2024-03-21 13:04:19 +07:00
|
|
|
{
|
|
|
|
|
path: "/salary/command/add",
|
|
|
|
|
name: "commandSalaryAdd",
|
|
|
|
|
component: commandSalaryAdd,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
2024-08-01 15:25:48 +07:00
|
|
|
Key: "SYS_SALARY_COMMAND",
|
|
|
|
|
Role: "STAFF",
|
2024-03-21 13:04:19 +07:00
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "/salary/command/detail/:id",
|
|
|
|
|
name: "commandSalaryDatail",
|
|
|
|
|
component: commandSalaryAdd,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
2024-08-01 15:25:48 +07:00
|
|
|
Key: "SYS_SALARY_COMMAND",
|
|
|
|
|
Role: "STAFF",
|
2024-03-21 13:04:19 +07:00
|
|
|
},
|
|
|
|
|
},
|
2024-02-15 11:46:25 +07:00
|
|
|
];
|