updated route complete
This commit is contained in:
parent
d92952637b
commit
265c0bdbe0
7 changed files with 275 additions and 288 deletions
|
|
@ -11,9 +11,10 @@ const salaryEmployeeLists = () =>
|
|||
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");
|
||||
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",
|
||||
|
|
@ -21,28 +22,8 @@ export default [
|
|||
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",
|
||||
Key: "SYS_SALARY_CHART_OFFICER",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -51,8 +32,28 @@ export default [
|
|||
component: salaryRate,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [1.2],
|
||||
Role: "salary",
|
||||
Key: "SYS_SALARY_CHART_OFFICER",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/salary-employee",
|
||||
name: "salaryEmployeeChart",
|
||||
component: salaryEmployeeChart,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: "SYS_WAGE_CHART_EMP",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/salary-employee/rate/:id",
|
||||
name: "salaryEmployeeRate",
|
||||
component: salaryEmployeeRate,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: "SYS_WAGE_CHART_EMP",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -61,8 +62,8 @@ export default [
|
|||
component: salaryRound,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [1.3],
|
||||
Role: "salary",
|
||||
Key: "SYS_SALARY_ROUND",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -71,8 +72,8 @@ export default [
|
|||
component: salaryLists,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [1.4],
|
||||
Role: "salary",
|
||||
Key: "SYS_SALARY_OFFICER",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -81,8 +82,8 @@ export default [
|
|||
component: salaryEmployeeLists,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [1.4],
|
||||
Role: "salary",
|
||||
Key: "SYS_WAGE",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -91,8 +92,8 @@ export default [
|
|||
component: commandSalary,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [1.5],
|
||||
Role: "salary",
|
||||
Key: "SYS_SALARY_COMMAND",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -101,8 +102,8 @@ export default [
|
|||
component: commandSalaryAdd,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [1.5],
|
||||
Role: "salary",
|
||||
Key: "SYS_SALARY_COMMAND",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -111,8 +112,8 @@ export default [
|
|||
component: commandSalaryAdd,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [1.5],
|
||||
Role: "salary",
|
||||
Key: "SYS_SALARY_COMMAND",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue