Commit cbf69abb68d0ac5755dfaf4d9e9dec876c5bdb19
1 parent
7fea6db0b6
Exists in
master
and in
3 other branches
router of payroll
Showing
2 changed files
with
41 additions
and
41 deletions
Show diff stats
src/api/menu.js
... | ... | @@ -107,17 +107,17 @@ const adminMenu = [ |
107 | 107 | |
108 | 108 | ] |
109 | 109 | }, |
110 | - // { | |
111 | - // title: 'Payroll', | |
112 | - // group: 'Payroll', | |
113 | - // component: 'Payroll', | |
114 | - // icon: '/static/icon/dollar.png', | |
115 | - // items: [ | |
116 | - // { name: 'salaryTemplate', title: 'Salary Template', component: 'Salary Template', action: '', }, | |
117 | - // { name: 'hourlyTemplate', title: 'Hourly Template', component: 'Hourly Template', action: '', }, | |
118 | - // { name: 'manageSalary', title: 'Manage Salary', component: 'Manage Salary', action: '', }, | |
119 | - // ] | |
120 | - // }, | |
110 | + { | |
111 | + title: 'Payroll', | |
112 | + group: 'Payroll', | |
113 | + component: 'Payroll', | |
114 | + icon: '/static/icon/dollar.png', | |
115 | + items: [ | |
116 | + { name: 'salaryTemplate', title: 'Salary Template', component: 'Salary Template', action: '', }, | |
117 | + { name: 'hourlyTemplate', title: 'Hourly Template', component: 'Hourly Template', action: '', }, | |
118 | + { name: 'manageSalary', title: 'Manage Salary', component: 'Manage Salary', action: '', }, | |
119 | + ] | |
120 | + }, | |
121 | 121 | { |
122 | 122 | title: 'Notice Board', |
123 | 123 | name: 'Notice Board', | ... | ... |
src/router/paths.js
... | ... | @@ -309,36 +309,36 @@ export default [{ |
309 | 309 | `@/pages/Attendence/teacherAttendence.vue` |
310 | 310 | ) |
311 | 311 | }, |
312 | - // { | |
313 | - // path: '/salaryTemplate', | |
314 | - // meta: {}, | |
315 | - // name: 'Salary Template', | |
316 | - // props: (route) => ({ type: route.query.type }), | |
317 | - // component: () => | |
318 | - // import ( | |
319 | - // `@/pages/Payroll/salaryTemplate.vue` | |
320 | - // ) | |
321 | - // }, | |
322 | - // { | |
323 | - // path: '/hourlyTemplate', | |
324 | - // meta: {}, | |
325 | - // name: 'Hourly Template', | |
326 | - // props: (route) => ({ type: route.query.type }), | |
327 | - // component: () => | |
328 | - // import ( | |
329 | - // `@/pages/Payroll/hourlyTemplate.vue` | |
330 | - // ) | |
331 | - // }, | |
332 | - // { | |
333 | - // path: '/manageSalary', | |
334 | - // meta: {}, | |
335 | - // name: 'Manage Salary', | |
336 | - // props: (route) => ({ type: route.query.type }), | |
337 | - // component: () => | |
338 | - // import ( | |
339 | - // `@/pages/Payroll/manageSalary.vue` | |
340 | - // ) | |
341 | - // }, | |
312 | + { | |
313 | + path: '/salaryTemplate', | |
314 | + meta: {}, | |
315 | + name: 'Salary Template', | |
316 | + props: (route) => ({ type: route.query.type }), | |
317 | + component: () => | |
318 | + import ( | |
319 | + `@/pages/Payroll/salaryTemplate.vue` | |
320 | + ) | |
321 | + }, | |
322 | + { | |
323 | + path: '/hourlyTemplate', | |
324 | + meta: {}, | |
325 | + name: 'Hourly Template', | |
326 | + props: (route) => ({ type: route.query.type }), | |
327 | + component: () => | |
328 | + import ( | |
329 | + `@/pages/Payroll/hourlyTemplate.vue` | |
330 | + ) | |
331 | + }, | |
332 | + { | |
333 | + path: '/manageSalary', | |
334 | + meta: {}, | |
335 | + name: 'Manage Salary', | |
336 | + props: (route) => ({ type: route.query.type }), | |
337 | + component: () => | |
338 | + import ( | |
339 | + `@/pages/Payroll/manageSalary.vue` | |
340 | + ) | |
341 | + }, | |
342 | 342 | { |
343 | 343 | path: '/AttendenceUser', |
344 | 344 | meta: {}, | ... | ... |