Commit 46c5b5fdd9bf360313d5e6bbff48cb8fe5451030
1 parent
01b56330ee
Exists in
master
and in
3 other branches
minor changes
Showing
2 changed files
with
11 additions
and
11 deletions
Show diff stats
src/api/menu.js
1 | const adminMenu = [ | 1 | const adminMenu = [ |
2 | // { header: 'Apps' }, | 2 | // { header: 'Apps' }, |
3 | { | 3 | { |
4 | title: 'Dashboard', | 4 | title: 'Dashboard', |
5 | // group: 'apps', | 5 | // group: 'apps', |
6 | name: 'Dashboard', | 6 | name: 'Dashboard', |
7 | icon: '/static/icon/dashboard.png', | 7 | icon: '/static/icon/dashboard.png', |
8 | }, | 8 | }, |
9 | { | 9 | { |
10 | title: 'Class', | 10 | title: 'Class', |
11 | // group: 'apps', | 11 | // group: 'apps', |
12 | name: 'Class', | 12 | name: 'Class', |
13 | icon: '/static/icon/class.png', | 13 | icon: '/static/icon/class.png', |
14 | }, | 14 | }, |
15 | { | 15 | { |
16 | title: 'Section', | 16 | title: 'Section', |
17 | // group: 'apps', | 17 | // group: 'apps', |
18 | name: 'Section', | 18 | name: 'Section', |
19 | icon: '/static/icon/section.png', | 19 | icon: '/static/icon/section.png', |
20 | }, | 20 | }, |
21 | { | 21 | { |
22 | title: 'Subjects', | 22 | title: 'Subjects', |
23 | name: 'Subject', | 23 | name: 'Subject', |
24 | icon: '/static/icon/subject.png', | 24 | icon: '/static/icon/subject.png', |
25 | }, | 25 | }, |
26 | { | 26 | { |
27 | title: 'Parents', | 27 | title: 'Parents', |
28 | // group: 'apps', | 28 | // group: 'apps', |
29 | name: 'Parents', | 29 | name: 'Parents', |
30 | icon: '/static/icon/parents.png', | 30 | icon: '/static/icon/parents.png', |
31 | }, | 31 | }, |
32 | { | 32 | { |
33 | title: 'Teachers', | 33 | title: 'Teachers', |
34 | // group: '', | 34 | // group: '', |
35 | name: 'Teachers', | 35 | name: 'Teachers', |
36 | icon: '/static/icon/teacher.png', | 36 | icon: '/static/icon/teacher.png', |
37 | }, | 37 | }, |
38 | { | 38 | { |
39 | title: 'Students', | 39 | title: 'Students', |
40 | // group: 'apps', | 40 | // group: 'apps', |
41 | name: 'Students', | 41 | name: 'Students', |
42 | icon: '/static/icon/student.png', | 42 | icon: '/static/icon/student.png', |
43 | }, | 43 | }, |
44 | { | 44 | { |
45 | title: 'User', | 45 | title: 'User', |
46 | name: 'User', | 46 | name: 'User', |
47 | icon: '/static/icon/users.png', | 47 | icon: '/static/icon/users.png', |
48 | }, | 48 | }, |
49 | { | 49 | { |
50 | title: 'Attendance', | 50 | title: 'Attendance', |
51 | group: 'Attendance', | 51 | group: 'Attendance', |
52 | component: 'Attendance', | 52 | component: 'Attendance', |
53 | icon: '/static/icon/attendence.png', | 53 | icon: '/static/icon/attendence.png', |
54 | items: [ | 54 | items: [ |
55 | { name: 'StudentAttendence', title: 'Student Attendance', component: 'Student Attendence', action: '', }, | 55 | { name: 'StudentAttendence', title: 'Student Attendance', component: 'Student Attendence', action: '', }, |
56 | { name: 'TeacherAttendence', title: 'Teacher Attendance', component: 'Teacher Attendence', action: '', } | 56 | { name: 'TeacherAttendence', title: 'Teacher Attendance', component: 'Teacher Attendence', action: '', } |
57 | // { name: 'userAttendence', title: 'User Attendance', component: 'userAttendence', action: '', }, | 57 | // { name: 'userAttendence', title: 'User Attendance', component: 'userAttendence', action: '', }, |
58 | ] | 58 | ] |
59 | }, | 59 | }, |
60 | { | 60 | { |
61 | title: 'Exam', | 61 | title: 'Exam', |
62 | group: 'Exam', | 62 | group: 'Exam', |
63 | component: 'Exam', | 63 | component: 'Exam', |
64 | icon: '/static/icon/exam.png', | 64 | icon: '/static/icon/exam.png', |
65 | items: [ | 65 | items: [ |
66 | { name: 'Exam', title: 'Exam', component: 'Exam', action: '', }, | 66 | { name: 'Exam', title: 'Exam', component: 'Exam', action: '', }, |
67 | { name: 'ExamSchedule', title: 'Exam Schedule', component: 'Exam Schedule', action: '', }, | 67 | { name: 'ExamSchedule', title: 'Exam Schedule', component: 'Exam Schedule', action: '', }, |
68 | { name: 'Grade', title: 'Grade', component: 'Grade', action: '', }, | 68 | { name: 'Grade', title: 'Grade', component: 'Grade', action: '', }, |
69 | // { name: 'userAttendence', title: 'User Attendance', component: 'userAttendence', action: '', }, | 69 | // { name: 'userAttendence', title: 'User Attendance', component: 'userAttendence', action: '', }, |
70 | ] | 70 | ] |
71 | }, | 71 | }, |
72 | { | 72 | { |
73 | title: 'Marks', | 73 | title: 'Marks', |
74 | group: 'Mark', | 74 | group: 'Mark', |
75 | component: 'Mark', | 75 | component: 'Mark', |
76 | icon: '/static/icon/marks.png', | 76 | icon: '/static/icon/marks.png', |
77 | items: [ | 77 | items: [ |
78 | { name: 'Mark', title: 'Mark', component: 'Mark', action: '', }, | 78 | { name: 'Mark', title: 'Mark', component: 'Mark', action: '', }, |
79 | { name: 'MarkDistribution', title: 'Mark Distribution', component: 'Mark Distribution', action: '', }, | 79 | { name: 'MarkDistribution', title: 'Mark Distribution', component: 'Mark Distribution', action: '', }, |
80 | { name: 'Promotion', title: 'promotion', component: 'Promotion', action: '', }, | 80 | { name: 'Promotion', title: 'promotion', component: 'Promotion', action: '', }, |
81 | // { name: 'userAttendence', title: 'User Attendance', component: 'userAttendence', action: '', }, | 81 | // { name: 'userAttendence', title: 'User Attendance', component: 'userAttendence', action: '', }, |
82 | ] | 82 | ] |
83 | }, | 83 | }, |
84 | { | 84 | { |
85 | title: 'Administrator', | 85 | title: 'Administrator', |
86 | group: 'Administrator', | 86 | group: 'Administrator', |
87 | component: 'Administrator', | 87 | component: 'Administrator', |
88 | icon: '/static/icon/adminstrator.png', | 88 | icon: '/static/icon/adminstrator.png', |
89 | items: [ | 89 | items: [ |
90 | { name: 'AcademicYear', title: 'Academic Year', component: 'Academic Year', action: '', }, | 90 | { name: 'AcademicYear', title: 'Academic Year', component: 'Academic Year', action: '', }, |
91 | // { name: 'systemAdmin', title: 'System Admin', component: 'systemAdmin', action: '', }, | 91 | // { name: 'systemAdmin', title: 'System Admin', component: 'systemAdmin', action: '', }, |
92 | { name: 'resetPassword', title: 'Change Password', component: 'Change Password', action: '', }, | 92 | { name: 'resetPassword', title: 'Change Password', component: 'Change Password', action: '', }, |
93 | { name: 'Role', title: 'Role', component: 'Role', action: '', }, | 93 | { name: 'Role', title: 'Role', component: 'Role', action: '', }, |
94 | { name: 'BulkImport', title: 'Bulk Import', component: 'Bulk Import', action: '', }, | 94 | { name: 'BulkImport', title: 'Bulk Import', component: 'Bulk Import', action: '', }, |
95 | 95 | ||
96 | ] | 96 | ] |
97 | }, | 97 | }, |
98 | { | 98 | { |
99 | title: 'Notice Board', | 99 | title: 'Notice Board', |
100 | name: 'Notice Board', | 100 | name: 'Notice Board', |
101 | icon: '/static/icon/notice board.png', | 101 | icon: '/static/icon/notice board.png', |
102 | }, | 102 | }, |
103 | { | 103 | { |
104 | title: 'News', | 104 | title: 'News', |
105 | name: 'News', | 105 | name: 'News', |
106 | icon: '/static/icon/news.png', | 106 | icon: '/static/icon/news.png', |
107 | }, | 107 | }, |
108 | // { | 108 | // { |
109 | // title: 'Reminder', | 109 | // title: 'Reminder', |
110 | // name: 'reminder', | 110 | // name: 'reminder', |
111 | // icon: 'alarm_add', | 111 | // icon: 'alarm_add', |
112 | // }, | 112 | // }, |
113 | { | 113 | { |
114 | title: 'Time Table', | 114 | title: 'Time Table', |
115 | name: 'Time Table', | 115 | name: 'Time Table', |
116 | icon: '/static/icon/time table.png', | 116 | icon: '/static/icon/time table.png', |
117 | }, | 117 | }, |
118 | { | 118 | { |
119 | title: 'Library', | 119 | title: 'Library', |
120 | group: 'Library', | 120 | group: 'Library', |
121 | component: 'Library', | 121 | component: 'Library', |
122 | icon: '/static/icon/library.png', | 122 | icon: '/static/icon/library.png', |
123 | items: [ | 123 | items: [ |
124 | { name: 'LibraryMember', title: ' Library Member', component: 'Library Member', action: '', }, | 124 | { name: 'LibraryMember', title: ' Library Member', component: 'Library Member', action: '', }, |
125 | { name: 'Books', title: 'Books', component: 'Books', action: '', }, | 125 | { name: 'Books', title: 'Books', component: 'Books', action: '', }, |
126 | { name: 'Issue', title: ' Issue', component: 'Issue', action: '', }, | 126 | { name: 'Issue', title: ' Issue', component: 'Issue', action: '', }, |
127 | { name: 'E-Books', title: 'E-Books', component: 'E-Books', action: '', } | 127 | { name: 'E-Books', title: 'E-Books', component: 'E-Books', action: '', } |
128 | 128 | ||
129 | ] | 129 | ] |
130 | }, | 130 | }, |
131 | { | 131 | { |
132 | title: 'Report', | 132 | title: 'Report', |
133 | group: 'Report', | 133 | group: 'Report', |
134 | component: 'Report', | 134 | component: 'Report', |
135 | icon: '/static/icon/reports.png', | 135 | icon: '/static/icon/reports.png', |
136 | items: [ | 136 | items: [ |
137 | { name: 'studentReport', title: 'Student Report', component: 'Student Report', action: '', }, | 137 | { name: 'studentReport', title: 'Student Report', component: 'Student Report', action: '', }, |
138 | { name: 'ProgressCardReport', title: 'Progress Card Report', component: 'Progress Card Report', action: '', }, | 138 | { name: 'ProgressCardReport', title: 'Progress Card Report', component: 'Progress Card Report', action: '', }, |
139 | { name: 'idCard', title: 'Id Card Report', component: 'Id Card Report', action: '', }, | 139 | // { name: 'idCard', title: 'Id Card Report', component: 'Id Card Report', action: '', }, |
140 | { name: 'admitCard', title: 'Admit Card Report', component: 'Admit Card Report', action: '',} | 140 | { name: 'admitCard', title: 'Admit Card Report', component: 'Admit Card Report', action: '',} |
141 | ] | 141 | ] |
142 | }, | 142 | }, |
143 | { | 143 | { |
144 | title: 'Notification', | 144 | title: 'Notification', |
145 | name: 'Notification', | 145 | name: 'Notification', |
146 | icon: '/static/icon/notification.png', | 146 | icon: '/static/icon/notification.png', |
147 | }, | 147 | }, |
148 | { | 148 | { |
149 | title: 'Social Media', | 149 | title: 'Social Media', |
150 | name: 'Social Media', | 150 | name: 'Social Media', |
151 | icon: '/static/icon/events.png', | 151 | icon: '/static/icon/events.png', |
152 | }, | 152 | }, |
153 | { | 153 | { |
154 | title: 'Gallery', | 154 | title: 'Gallery', |
155 | name: 'Gallery', | 155 | name: 'Gallery', |
156 | icon: '/static/icon/gallery.png', | 156 | icon: '/static/icon/gallery.png', |
157 | }, | 157 | }, |
158 | { | 158 | { |
159 | title: 'Event', | 159 | title: 'Event', |
160 | name: 'Event', | 160 | name: 'Event', |
161 | icon: '/static/icon/events.png', | 161 | icon: '/static/icon/events.png', |
162 | }, | 162 | }, |
163 | { | 163 | { |
164 | title: 'Account', | 164 | title: 'Account', |
165 | group: 'Account', | 165 | group: 'Account', |
166 | component: 'Account', | 166 | component: 'Account', |
167 | icon: '/static/icon/accounts.png', | 167 | icon: '/static/icon/accounts.png', |
168 | items: [ | 168 | items: [ |
169 | { name: 'feeTypes', title: 'Fee Types', component: 'Fee Types', action: '', }, | 169 | { name: 'feeTypes', title: 'Fee Types', component: 'Fee Types', action: '', }, |
170 | { name: 'Invoice', title: 'Invoice', component: 'Invoice', action: '', }, | 170 | { name: 'Invoice', title: 'Invoice', component: 'Invoice', action: '', }, |
171 | { name: 'PaymentHistory', title: 'Payment History', component: 'Payment History', action: '', }, | 171 | { name: 'PaymentHistory', title: 'Payment History', component: 'Payment History', action: '', }, |
172 | { name: 'Expense', title: 'Expense', component: 'Expense', action: '', }, | 172 | { name: 'Expense', title: 'Expense', component: 'Expense', action: '', }, |
173 | { name: 'Income', title: 'Income', component: 'Income', action: '', }, | 173 | { name: 'Income', title: 'Income', component: 'Income', action: '', }, |
174 | { name: 'GlobalPayment', title: 'Global Payment', component: 'Global Payment', action: '', } | 174 | { name: 'GlobalPayment', title: 'Global Payment', component: 'Global Payment', action: '', } |
175 | ] | 175 | ] |
176 | }, | 176 | }, |
177 | { | 177 | { |
178 | title: 'Holiday', | 178 | title: 'Holiday', |
179 | name: 'Holiday', | 179 | name: 'Holiday', |
180 | icon: '/static/icon/holiday.png', | 180 | icon: '/static/icon/holiday.png', |
181 | }, | 181 | }, |
182 | { | 182 | { |
183 | title: 'General Setting', | 183 | title: 'General Setting', |
184 | name: 'General Setting', | 184 | name: 'General Setting', |
185 | icon: '/static/icon/settings.png', | 185 | icon: '/static/icon/settings.png', |
186 | } | 186 | } |
187 | ]; | 187 | ]; |
188 | 188 | ||
189 | const libraryMenu = [{ | 189 | const libraryMenu = [{ |
190 | title: 'Library', | 190 | title: 'Library', |
191 | group: 'Library', | 191 | group: 'Library', |
192 | component: 'Library', | 192 | component: 'Library', |
193 | icon: '/static/schoolIcons/Library.png', | 193 | icon: '/static/schoolIcons/Library.png', |
194 | items: [ | 194 | items: [ |
195 | { name: 'libraryMember', title: ' Library Member', component: 'libraryMember', action: '', }, | 195 | { name: 'libraryMember', title: ' Library Member', component: 'libraryMember', action: '', }, |
196 | { name: 'Books', title: 'Books', component: 'Books', action: '', }, | 196 | { name: 'Books', title: 'Books', component: 'Books', action: '', }, |
197 | { name: 'Issue', title: ' Issue', component: 'Issue', action: '', }, | 197 | { name: 'Issue', title: ' Issue', component: 'Issue', action: '', }, |
198 | { name: 'eBooks', title: 'E-Books', component: 'eBooks', action: '', } | 198 | { name: 'eBooks', title: 'E-Books', component: 'eBooks', action: '', } |
199 | 199 | ||
200 | ] | 200 | ] |
201 | }]; | 201 | }]; |
202 | 202 | ||
203 | const accountMenu = [{ | 203 | const accountMenu = [{ |
204 | title: 'Account', | 204 | title: 'Account', |
205 | group: 'Account', | 205 | group: 'Account', |
206 | component: 'Account', | 206 | component: 'Account', |
207 | icon: '/static/schoolIcons/Account.png', | 207 | icon: '/static/schoolIcons/Account.png', |
208 | items: [ | 208 | items: [ |
209 | { name: 'feeTypes', title: 'Fee Types', component: 'feeTypes', action: '', }, | 209 | { name: 'feeTypes', title: 'Fee Types', component: 'feeTypes', action: '', }, |
210 | { name: 'Invoice', title: 'Invoice', component: 'Invoice', action: '', }, | 210 | { name: 'Invoice', title: 'Invoice', component: 'Invoice', action: '', }, |
211 | { name: 'paymentHistory', title: 'Payment History', component: 'paymentHistory', action: '', }, | 211 | { name: 'paymentHistory', title: 'Payment History', component: 'paymentHistory', action: '', }, |
212 | { name: 'Expense', title: 'Expense', component: 'Expense', action: '', }, | 212 | { name: 'Expense', title: 'Expense', component: 'Expense', action: '', }, |
213 | { name: 'Income', title: 'Income', component: 'Income', action: '', }, | 213 | { name: 'Income', title: 'Income', component: 'Income', action: '', }, |
214 | { name: 'GlobalPayment', title: 'Global Payment', component: 'GlobalPayment', action: '', } | 214 | { name: 'GlobalPayment', title: 'Global Payment', component: 'GlobalPayment', action: '', } |
215 | ] | 215 | ] |
216 | }]; | 216 | }]; |
217 | 217 | ||
218 | const schoolMenu = [ | 218 | const schoolMenu = [ |
219 | // { header: 'Apps' }, | 219 | // { header: 'Apps' }, |
220 | { | 220 | { |
221 | title: 'Dashboard', | 221 | title: 'Dashboard', |
222 | // group: 'apps', | 222 | // group: 'apps', |
223 | name: 'View School Dashboard', | 223 | name: 'View School Dashboard', |
224 | icon: '/static/icon/dashboard.png', | 224 | icon: '/static/icon/dashboard.png', |
225 | }, | 225 | }, |
226 | { | 226 | { |
227 | title: 'School', | 227 | title: 'School', |
228 | // group: 'apps', | 228 | // group: 'apps', |
229 | name: 'School', | 229 | name: 'School', |
230 | icon: '/static/schoolIcons/Dashboard.png', | 230 | icon: '/static/schoolIcons/Dashboard.png', |
231 | } | 231 | } |
232 | ]; | 232 | ]; |
233 | 233 | ||
234 | // reorder menu | 234 | // reorder menu |
235 | // Menu.forEach((item) => { | 235 | // Menu.forEach((item) => { |
236 | // if (item.items) { | 236 | // if (item.items) { |
237 | // item.items.sort((x, y) => { | 237 | // item.items.sort((x, y) => { |
238 | // let textA = x.title.toUpperCase(); | 238 | // let textA = x.title.toUpperCase(); |
239 | // let textB = y.title.toUpperCase(); | 239 | // let textB = y.title.toUpperCase(); |
240 | // return (textA < textB) ? -1 : (textA > textB) ? 1 : 0; | 240 | // return (textA < textB) ? -1 : (textA > textB) ? 1 : 0; |
241 | // }); | 241 | // }); |
242 | // } | 242 | // } |
243 | // }); | 243 | // }); |
244 | 244 | ||
245 | export default { adminMenu, schoolMenu, libraryMenu, accountMenu }; | 245 | export default { adminMenu, schoolMenu, libraryMenu, accountMenu }; |
src/router/paths.js
1 | export default [{ | 1 | export default [{ |
2 | path: '*', | 2 | path: '*', |
3 | meta: { | 3 | meta: { |
4 | public: true, | 4 | public: true, |
5 | }, | 5 | }, |
6 | redirect: { | 6 | redirect: { |
7 | path: '/404' | 7 | path: '/404' |
8 | } | 8 | } |
9 | }, | 9 | }, |
10 | { | 10 | { |
11 | path: '/404', | 11 | path: '/404', |
12 | meta: { | 12 | meta: { |
13 | public: true, | 13 | public: true, |
14 | }, | 14 | }, |
15 | name: 'NotFound', | 15 | name: 'NotFound', |
16 | component: () => | 16 | component: () => |
17 | import ( | 17 | import ( |
18 | /* webpackChunkName: "routes" */ | 18 | /* webpackChunkName: "routes" */ |
19 | /* webpackMode: "lazy-once" */ | 19 | /* webpackMode: "lazy-once" */ |
20 | `@/pages/NotFound/NotFound.vue` | 20 | `@/pages/NotFound/NotFound.vue` |
21 | ) | 21 | ) |
22 | }, | 22 | }, |
23 | { | 23 | { |
24 | path: '*', | 24 | path: '*', |
25 | meta: {}, | 25 | meta: {}, |
26 | name: 'dashboardAdmin', | 26 | name: 'dashboardAdmin', |
27 | props: (route) => ({ type: route.query.type }), | 27 | props: (route) => ({ type: route.query.type }), |
28 | component: () => | 28 | component: () => |
29 | import ( | 29 | import ( |
30 | /* webpackChunkName: "routes" */ | 30 | /* webpackChunkName: "routes" */ |
31 | /* webpackMode: "lazy-once" */ | 31 | /* webpackMode: "lazy-once" */ |
32 | `@/pages/Dashboard/dashboard.vue` | 32 | `@/pages/Dashboard/dashboard.vue` |
33 | ) | 33 | ) |
34 | }, | 34 | }, |
35 | { | 35 | { |
36 | path: '/500', | 36 | path: '/500', |
37 | meta: { | 37 | meta: { |
38 | public: true, | 38 | public: true, |
39 | }, | 39 | }, |
40 | name: 'ServerError', | 40 | name: 'ServerError', |
41 | component: () => | 41 | component: () => |
42 | import ( | 42 | import ( |
43 | /* webpackChunkName: "routes" */ | 43 | /* webpackChunkName: "routes" */ |
44 | /* webpackMode: "lazy-once" */ | 44 | /* webpackMode: "lazy-once" */ |
45 | `@/pages/NotFound/Error.vue` | 45 | `@/pages/NotFound/Error.vue` |
46 | ) | 46 | ) |
47 | }, | 47 | }, |
48 | { | 48 | { |
49 | path: '/changepassword', | 49 | path: '/changepassword', |
50 | meta: {}, | 50 | meta: {}, |
51 | name: 'changepassword', | 51 | name: 'changepassword', |
52 | props: (route) => ({ type: route.query.type }), | 52 | props: (route) => ({ type: route.query.type }), |
53 | component: () => | 53 | component: () => |
54 | import ( | 54 | import ( |
55 | /* webpackChunkName: "routes" */ | 55 | /* webpackChunkName: "routes" */ |
56 | /* webpackMode: "lazy-once" */ | 56 | /* webpackMode: "lazy-once" */ |
57 | `@/pages/Authentication/changepassword.vue` | 57 | `@/pages/Authentication/changepassword.vue` |
58 | ) | 58 | ) |
59 | }, | 59 | }, |
60 | { | 60 | { |
61 | path: '/teachers', | 61 | path: '/teachers', |
62 | meta: { breadcrumb: false }, | 62 | meta: { breadcrumb: false }, |
63 | name: 'Teachers', | 63 | name: 'Teachers', |
64 | component: () => | 64 | component: () => |
65 | import ( | 65 | import ( |
66 | /* webpackChunkName: "routes" */ | 66 | /* webpackChunkName: "routes" */ |
67 | /* webpackMode: "lazy-once" */ | 67 | /* webpackMode: "lazy-once" */ |
68 | `@/pages/Teachers/teachers.vue` | 68 | `@/pages/Teachers/teachers.vue` |
69 | ) | 69 | ) |
70 | }, | 70 | }, |
71 | { | 71 | { |
72 | path: '/', | 72 | path: '/', |
73 | meta: { | 73 | meta: { |
74 | public: true, | 74 | public: true, |
75 | }, | 75 | }, |
76 | name: 'Login', | 76 | name: 'Login', |
77 | component: () => | 77 | component: () => |
78 | import ( | 78 | import ( |
79 | /* webpackChunkName: "routes" */ | 79 | /* webpackChunkName: "routes" */ |
80 | /* webpackMode: "lazy-once" */ | 80 | /* webpackMode: "lazy-once" */ |
81 | `@/pages/Authentication/Login.vue` | 81 | `@/pages/Authentication/Login.vue` |
82 | ) | 82 | ) |
83 | }, | 83 | }, |
84 | { | 84 | { |
85 | path: '/forgetpassword', | 85 | path: '/forgetpassword', |
86 | meta: { | 86 | meta: { |
87 | public: true, | 87 | public: true, |
88 | }, | 88 | }, |
89 | name: 'forgetpassword', | 89 | name: 'forgetpassword', |
90 | component: () => | 90 | component: () => |
91 | import ( | 91 | import ( |
92 | /* webpackChunkName: "routes" */ | 92 | /* webpackChunkName: "routes" */ |
93 | /* webpackMode: "lazy-once" */ | 93 | /* webpackMode: "lazy-once" */ |
94 | `@/pages/Authentication/forgetpassword.vue` | 94 | `@/pages/Authentication/forgetpassword.vue` |
95 | ) | 95 | ) |
96 | }, | 96 | }, |
97 | { | 97 | { |
98 | path: '/students', | 98 | path: '/students', |
99 | meta: {}, | 99 | meta: {}, |
100 | name: 'Students', | 100 | name: 'Students', |
101 | props: (route) => ({ type: route.query.type }), | 101 | props: (route) => ({ type: route.query.type }), |
102 | component: () => | 102 | component: () => |
103 | import ( | 103 | import ( |
104 | /* webpackChunkName: "routes" */ | 104 | /* webpackChunkName: "routes" */ |
105 | /* webpackMode: "lazy-once" */ | 105 | /* webpackMode: "lazy-once" */ |
106 | `@/pages/Students/students.vue` | 106 | `@/pages/Students/students.vue` |
107 | ) | 107 | ) |
108 | }, | 108 | }, |
109 | { | 109 | { |
110 | path: '/class', | 110 | path: '/class', |
111 | meta: {}, | 111 | meta: {}, |
112 | name: 'Class', | 112 | name: 'Class', |
113 | props: (route) => ({ type: route.query.type }), | 113 | props: (route) => ({ type: route.query.type }), |
114 | component: () => | 114 | component: () => |
115 | import ( | 115 | import ( |
116 | /* webpackChunkName: "routes" */ | 116 | /* webpackChunkName: "routes" */ |
117 | /* webpackMode: "lazy-once" */ | 117 | /* webpackMode: "lazy-once" */ |
118 | `@/pages/Class/addclass.vue` | 118 | `@/pages/Class/addclass.vue` |
119 | ) | 119 | ) |
120 | }, | 120 | }, |
121 | { | 121 | { |
122 | path: '/section', | 122 | path: '/section', |
123 | meta: {}, | 123 | meta: {}, |
124 | name: 'Section', | 124 | name: 'Section', |
125 | props: (route) => ({ type: route.query.type }), | 125 | props: (route) => ({ type: route.query.type }), |
126 | component: () => | 126 | component: () => |
127 | import ( | 127 | import ( |
128 | /* webpackChunkName: "routes" */ | 128 | /* webpackChunkName: "routes" */ |
129 | /* webpackMode: "lazy-once" */ | 129 | /* webpackMode: "lazy-once" */ |
130 | `@/pages/Section/section.vue` | 130 | `@/pages/Section/section.vue` |
131 | ) | 131 | ) |
132 | }, | 132 | }, |
133 | { | 133 | { |
134 | path: '/noticeBoard', | 134 | path: '/noticeBoard', |
135 | meta: {}, | 135 | meta: {}, |
136 | name: 'Notice Board', | 136 | name: 'Notice Board', |
137 | props: (route) => ({ type: route.query.type }), | 137 | props: (route) => ({ type: route.query.type }), |
138 | component: () => | 138 | component: () => |
139 | import ( | 139 | import ( |
140 | /* webpackChunkName: "routes" */ | 140 | /* webpackChunkName: "routes" */ |
141 | /* webpackMode: "lazy-once" */ | 141 | /* webpackMode: "lazy-once" */ |
142 | `@/pages/NoticeBoard/noticeBoard.vue` | 142 | `@/pages/NoticeBoard/noticeBoard.vue` |
143 | ) | 143 | ) |
144 | }, | 144 | }, |
145 | { | 145 | { |
146 | path: '/news', | 146 | path: '/news', |
147 | meta: {}, | 147 | meta: {}, |
148 | name: 'News', | 148 | name: 'News', |
149 | props: (route) => ({ type: route.query.type }), | 149 | props: (route) => ({ type: route.query.type }), |
150 | component: () => | 150 | component: () => |
151 | import ( | 151 | import ( |
152 | /* webpackChunkName: "routes" */ | 152 | /* webpackChunkName: "routes" */ |
153 | /* webpackMode: "lazy-once" */ | 153 | /* webpackMode: "lazy-once" */ |
154 | `@/pages/News/news.vue` | 154 | `@/pages/News/news.vue` |
155 | ) | 155 | ) |
156 | }, | 156 | }, |
157 | // { | 157 | // { |
158 | // path: '/reminder', | 158 | // path: '/reminder', |
159 | // meta: { }, | 159 | // meta: { }, |
160 | // name: 'reminder', | 160 | // name: 'reminder', |
161 | // props: (route) => ({ type: route.query.type }), | 161 | // props: (route) => ({ type: route.query.type }), |
162 | // component: () => import( | 162 | // component: () => import( |
163 | // /* webpackChunkName: "routes" */ | 163 | // /* webpackChunkName: "routes" */ |
164 | // /* webpackMode: "lazy-once" */ | 164 | // /* webpackMode: "lazy-once" */ |
165 | // `@/pages/Reminder/reminder.vue` | 165 | // `@/pages/Reminder/reminder.vue` |
166 | // ) | 166 | // ) |
167 | // }, | 167 | // }, |
168 | { | 168 | { |
169 | path: '/timeTable', | 169 | path: '/timeTable', |
170 | meta: {}, | 170 | meta: {}, |
171 | name: 'Time Table', | 171 | name: 'Time Table', |
172 | props: (route) => ({ type: route.query.type }), | 172 | props: (route) => ({ type: route.query.type }), |
173 | component: () => | 173 | component: () => |
174 | import ( | 174 | import ( |
175 | /* webpackChunkName: "routes" */ | 175 | /* webpackChunkName: "routes" */ |
176 | /* webpackMode: "lazy-once" */ | 176 | /* webpackMode: "lazy-once" */ |
177 | `@/pages/TimeTable/timeTable.vue` | 177 | `@/pages/TimeTable/timeTable.vue` |
178 | ) | 178 | ) |
179 | }, | 179 | }, |
180 | { | 180 | { |
181 | path: '/notification', | 181 | path: '/notification', |
182 | meta: {}, | 182 | meta: {}, |
183 | name: 'Notification', | 183 | name: 'Notification', |
184 | props: (route) => ({ type: route.query.type }), | 184 | props: (route) => ({ type: route.query.type }), |
185 | component: () => | 185 | component: () => |
186 | import ( | 186 | import ( |
187 | /* webpackChunkName: "routes" */ | 187 | /* webpackChunkName: "routes" */ |
188 | /* webpackMode: "lazy-once" */ | 188 | /* webpackMode: "lazy-once" */ |
189 | `@/pages/Notification/notification.vue` | 189 | `@/pages/Notification/notification.vue` |
190 | ) | 190 | ) |
191 | }, | 191 | }, |
192 | { | 192 | { |
193 | path: '/parents', | 193 | path: '/parents', |
194 | meta: {}, | 194 | meta: {}, |
195 | name: 'Parents', | 195 | name: 'Parents', |
196 | props: (route) => ({ type: route.query.type }), | 196 | props: (route) => ({ type: route.query.type }), |
197 | component: () => | 197 | component: () => |
198 | import ( | 198 | import ( |
199 | /* webpackChunkName: "routes" */ | 199 | /* webpackChunkName: "routes" */ |
200 | /* webpackMode: "lazy-once" */ | 200 | /* webpackMode: "lazy-once" */ |
201 | `@/pages/Parent/parents.vue` | 201 | `@/pages/Parent/parents.vue` |
202 | ) | 202 | ) |
203 | }, | 203 | }, |
204 | { | 204 | { |
205 | path: '/subject', | 205 | path: '/subject', |
206 | meta: {}, | 206 | meta: {}, |
207 | name: 'Subject', | 207 | name: 'Subject', |
208 | props: (route) => ({ type: route.query.type }), | 208 | props: (route) => ({ type: route.query.type }), |
209 | component: () => | 209 | component: () => |
210 | import ( | 210 | import ( |
211 | /* webpackChunkName: "routes" */ | 211 | /* webpackChunkName: "routes" */ |
212 | /* webpackMode: "lazy-once" */ | 212 | /* webpackMode: "lazy-once" */ |
213 | `@/pages/Subjects/subjects.vue` | 213 | `@/pages/Subjects/subjects.vue` |
214 | ) | 214 | ) |
215 | }, | 215 | }, |
216 | { | 216 | { |
217 | path: '/dashboard', | 217 | path: '/dashboard', |
218 | meta: {}, | 218 | meta: {}, |
219 | name: 'Dashboard', | 219 | name: 'Dashboard', |
220 | props: (route) => ({ type: route.query.type }), | 220 | props: (route) => ({ type: route.query.type }), |
221 | component: () => | 221 | component: () => |
222 | import ( | 222 | import ( |
223 | /* webpackChunkName: "routes" */ | 223 | /* webpackChunkName: "routes" */ |
224 | /* webpackMode: "lazy-once" */ | 224 | /* webpackMode: "lazy-once" */ |
225 | `@/pages/Dashboard/dashboard.vue` | 225 | `@/pages/Dashboard/dashboard.vue` |
226 | ) | 226 | ) |
227 | }, | 227 | }, |
228 | { | 228 | { |
229 | path: '/socialMedia', | 229 | path: '/socialMedia', |
230 | meta: {}, | 230 | meta: {}, |
231 | name: 'Social Media', | 231 | name: 'Social Media', |
232 | props: (route) => ({ type: route.query.type }), | 232 | props: (route) => ({ type: route.query.type }), |
233 | component: () => | 233 | component: () => |
234 | import ( | 234 | import ( |
235 | /* webpackChunkName: "routes" */ | 235 | /* webpackChunkName: "routes" */ |
236 | /* webpackMode: "lazy-once" */ | 236 | /* webpackMode: "lazy-once" */ |
237 | `@/pages/socialMedia/socialMedia.vue` | 237 | `@/pages/socialMedia/socialMedia.vue` |
238 | ) | 238 | ) |
239 | }, | 239 | }, |
240 | { | 240 | { |
241 | path: '/gallery', | 241 | path: '/gallery', |
242 | meta: {}, | 242 | meta: {}, |
243 | name: 'Gallery', | 243 | name: 'Gallery', |
244 | props: (route) => ({ type: route.query.type }), | 244 | props: (route) => ({ type: route.query.type }), |
245 | component: () => | 245 | component: () => |
246 | import ( | 246 | import ( |
247 | /* webpackChunkName: "routes" */ | 247 | /* webpackChunkName: "routes" */ |
248 | /* webpackMode: "lazy-once" */ | 248 | /* webpackMode: "lazy-once" */ |
249 | `@/pages/Gallery/gallery.vue` | 249 | `@/pages/Gallery/gallery.vue` |
250 | ) | 250 | ) |
251 | }, | 251 | }, |
252 | { | 252 | { |
253 | path: '/event', | 253 | path: '/event', |
254 | meta: {}, | 254 | meta: {}, |
255 | name: 'Event', | 255 | name: 'Event', |
256 | props: (route) => ({ type: route.query.type }), | 256 | props: (route) => ({ type: route.query.type }), |
257 | component: () => | 257 | component: () => |
258 | import ( | 258 | import ( |
259 | /* webpackChunkName: "routes" */ | 259 | /* webpackChunkName: "routes" */ |
260 | /* webpackMode: "lazy-once" */ | 260 | /* webpackMode: "lazy-once" */ |
261 | `@/pages/Event/event.vue` | 261 | `@/pages/Event/event.vue` |
262 | ) | 262 | ) |
263 | }, | 263 | }, |
264 | { | 264 | { |
265 | path: '/holiday', | 265 | path: '/holiday', |
266 | meta: {}, | 266 | meta: {}, |
267 | name: 'Holiday', | 267 | name: 'Holiday', |
268 | props: (route) => ({ type: route.query.type }), | 268 | props: (route) => ({ type: route.query.type }), |
269 | component: () => | 269 | component: () => |
270 | import ( | 270 | import ( |
271 | /* webpackChunkName: "routes" */ | 271 | /* webpackChunkName: "routes" */ |
272 | /* webpackMode: "lazy-once" */ | 272 | /* webpackMode: "lazy-once" */ |
273 | `@/pages/Holiday/holiday.vue` | 273 | `@/pages/Holiday/holiday.vue` |
274 | ) | 274 | ) |
275 | }, | 275 | }, |
276 | { | 276 | { |
277 | path: '/user', | 277 | path: '/user', |
278 | meta: {}, | 278 | meta: {}, |
279 | name: 'User', | 279 | name: 'User', |
280 | props: (route) => ({ type: route.query.type }), | 280 | props: (route) => ({ type: route.query.type }), |
281 | component: () => | 281 | component: () => |
282 | import ( | 282 | import ( |
283 | /* webpackChunkName: "routes" */ | 283 | /* webpackChunkName: "routes" */ |
284 | /* webpackMode: "lazy-once" */ | 284 | /* webpackMode: "lazy-once" */ |
285 | `@/pages/User/user.vue` | 285 | `@/pages/User/user.vue` |
286 | ) | 286 | ) |
287 | }, | 287 | }, |
288 | { | 288 | { |
289 | path: '/AttendenceStudent', | 289 | path: '/AttendenceStudent', |
290 | meta: {}, | 290 | meta: {}, |
291 | name: 'Student Attendence', | 291 | name: 'Student Attendence', |
292 | props: (route) => ({ type: route.query.type }), | 292 | props: (route) => ({ type: route.query.type }), |
293 | component: () => | 293 | component: () => |
294 | import ( | 294 | import ( |
295 | /* webpackChunkName: "routes" */ | 295 | /* webpackChunkName: "routes" */ |
296 | /* webpackMode: "lazy-once" */ | 296 | /* webpackMode: "lazy-once" */ |
297 | `@/pages/Attendence/studentAttendence.vue` | 297 | `@/pages/Attendence/studentAttendence.vue` |
298 | ) | 298 | ) |
299 | }, | 299 | }, |
300 | { | 300 | { |
301 | path: '/AttendenceTeacher', | 301 | path: '/AttendenceTeacher', |
302 | meta: {}, | 302 | meta: {}, |
303 | name: 'Teacher Attendence', | 303 | name: 'Teacher Attendence', |
304 | props: (route) => ({ type: route.query.type }), | 304 | props: (route) => ({ type: route.query.type }), |
305 | component: () => | 305 | component: () => |
306 | import ( | 306 | import ( |
307 | /* webpackChunkName: "routes" */ | 307 | /* webpackChunkName: "routes" */ |
308 | /* webpackMode: "lazy-once" */ | 308 | /* webpackMode: "lazy-once" */ |
309 | `@/pages/Attendence/teacherAttendence.vue` | 309 | `@/pages/Attendence/teacherAttendence.vue` |
310 | ) | 310 | ) |
311 | }, | 311 | }, |
312 | // { | 312 | // { |
313 | // path: '/AttendenceUser', | 313 | // path: '/AttendenceUser', |
314 | // meta: {}, | 314 | // meta: {}, |
315 | // name: 'userAttendence', | 315 | // name: 'userAttendence', |
316 | // props: (route) => ({ type: route.query.type }), | 316 | // props: (route) => ({ type: route.query.type }), |
317 | // component: () => | 317 | // component: () => |
318 | // import ( | 318 | // import ( |
319 | // /* webpackChunkName: "routes" */ | 319 | // /* webpackChunkName: "routes" */ |
320 | // /* webpackMode: "lazy-once" */ | 320 | // /* webpackMode: "lazy-once" */ |
321 | // `@/pages/Attendence/userAttendence.vue` | 321 | // `@/pages/Attendence/userAttendence.vue` |
322 | // ) | 322 | // ) |
323 | // }, | 323 | // }, |
324 | { | 324 | { |
325 | path: '/feeTypes', | 325 | path: '/feeTypes', |
326 | meta: {}, | 326 | meta: {}, |
327 | name: 'Fee Types', | 327 | name: 'Fee Types', |
328 | props: (route) => ({ type: route.query.type }), | 328 | props: (route) => ({ type: route.query.type }), |
329 | component: () => | 329 | component: () => |
330 | import ( | 330 | import ( |
331 | /* webpackChunkName: "routes" */ | 331 | /* webpackChunkName: "routes" */ |
332 | /* webpackMode: "lazy-once" */ | 332 | /* webpackMode: "lazy-once" */ |
333 | `@/pages/Account/feeTypes.vue` | 333 | `@/pages/Account/feeTypes.vue` |
334 | ) | 334 | ) |
335 | }, | 335 | }, |
336 | { | 336 | { |
337 | path: '/invoice', | 337 | path: '/invoice', |
338 | meta: {}, | 338 | meta: {}, |
339 | name: 'Invoice', | 339 | name: 'Invoice', |
340 | props: (route) => ({ type: route.query.type }), | 340 | props: (route) => ({ type: route.query.type }), |
341 | component: () => | 341 | component: () => |
342 | import ( | 342 | import ( |
343 | /* webpackChunkName: "routes" */ | 343 | /* webpackChunkName: "routes" */ |
344 | /* webpackMode: "lazy-once" */ | 344 | /* webpackMode: "lazy-once" */ |
345 | `@/pages/Account/invoice.vue` | 345 | `@/pages/Account/invoice.vue` |
346 | ) | 346 | ) |
347 | }, | 347 | }, |
348 | { | 348 | { |
349 | path: '/paymentHistory', | 349 | path: '/paymentHistory', |
350 | meta: {}, | 350 | meta: {}, |
351 | name: 'Payment History', | 351 | name: 'Payment History', |
352 | props: (route) => ({ type: route.query.type }), | 352 | props: (route) => ({ type: route.query.type }), |
353 | component: () => | 353 | component: () => |
354 | import ( | 354 | import ( |
355 | /* webpackChunkName: "routes" */ | 355 | /* webpackChunkName: "routes" */ |
356 | /* webpackMode: "lazy-once" */ | 356 | /* webpackMode: "lazy-once" */ |
357 | `@/pages/Account/paymentHistory.vue` | 357 | `@/pages/Account/paymentHistory.vue` |
358 | ) | 358 | ) |
359 | }, | 359 | }, |
360 | { | 360 | { |
361 | path: '/expense', | 361 | path: '/expense', |
362 | meta: {}, | 362 | meta: {}, |
363 | name: 'Expense', | 363 | name: 'Expense', |
364 | props: (route) => ({ type: route.query.type }), | 364 | props: (route) => ({ type: route.query.type }), |
365 | component: () => | 365 | component: () => |
366 | import ( | 366 | import ( |
367 | /* webpackChunkName: "routes" */ | 367 | /* webpackChunkName: "routes" */ |
368 | /* webpackMode: "lazy-once" */ | 368 | /* webpackMode: "lazy-once" */ |
369 | `@/pages/Account/expense.vue` | 369 | `@/pages/Account/expense.vue` |
370 | ) | 370 | ) |
371 | }, | 371 | }, |
372 | { | 372 | { |
373 | path: '/income', | 373 | path: '/income', |
374 | meta: {}, | 374 | meta: {}, |
375 | name: 'Income', | 375 | name: 'Income', |
376 | props: (route) => ({ type: route.query.type }), | 376 | props: (route) => ({ type: route.query.type }), |
377 | component: () => | 377 | component: () => |
378 | import ( | 378 | import ( |
379 | /* webpackChunkName: "routes" */ | 379 | /* webpackChunkName: "routes" */ |
380 | /* webpackMode: "lazy-once" */ | 380 | /* webpackMode: "lazy-once" */ |
381 | `@/pages/Account/income.vue` | 381 | `@/pages/Account/income.vue` |
382 | ) | 382 | ) |
383 | }, | 383 | }, |
384 | { | 384 | { |
385 | path: '/libraryMember', | 385 | path: '/libraryMember', |
386 | meta: {}, | 386 | meta: {}, |
387 | name: 'Library Member', | 387 | name: 'Library Member', |
388 | props: (route) => ({ type: route.query.type }), | 388 | props: (route) => ({ type: route.query.type }), |
389 | component: () => | 389 | component: () => |
390 | import ( | 390 | import ( |
391 | /* webpackChunkName: "routes" */ | 391 | /* webpackChunkName: "routes" */ |
392 | /* webpackMode: "lazy-once" */ | 392 | /* webpackMode: "lazy-once" */ |
393 | `@/pages/Library/member.vue` | 393 | `@/pages/Library/member.vue` |
394 | ) | 394 | ) |
395 | }, | 395 | }, |
396 | { | 396 | { |
397 | path: '/books', | 397 | path: '/books', |
398 | meta: {}, | 398 | meta: {}, |
399 | name: 'Books', | 399 | name: 'Books', |
400 | props: (route) => ({ type: route.query.type }), | 400 | props: (route) => ({ type: route.query.type }), |
401 | component: () => | 401 | component: () => |
402 | import ( | 402 | import ( |
403 | /* webpackChunkName: "routes" */ | 403 | /* webpackChunkName: "routes" */ |
404 | /* webpackMode: "lazy-once" */ | 404 | /* webpackMode: "lazy-once" */ |
405 | `@/pages/Library/books.vue` | 405 | `@/pages/Library/books.vue` |
406 | ) | 406 | ) |
407 | }, | 407 | }, |
408 | { | 408 | { |
409 | path: '/issue', | 409 | path: '/issue', |
410 | meta: {}, | 410 | meta: {}, |
411 | name: 'Issue', | 411 | name: 'Issue', |
412 | props: (route) => ({ type: route.query.type }), | 412 | props: (route) => ({ type: route.query.type }), |
413 | component: () => | 413 | component: () => |
414 | import ( | 414 | import ( |
415 | /* webpackChunkName: "routes" */ | 415 | /* webpackChunkName: "routes" */ |
416 | /* webpackMode: "lazy-once" */ | 416 | /* webpackMode: "lazy-once" */ |
417 | `@/pages/Library/issue.vue` | 417 | `@/pages/Library/issue.vue` |
418 | ) | 418 | ) |
419 | }, | 419 | }, |
420 | { | 420 | { |
421 | path: '/e-books', | 421 | path: '/e-books', |
422 | meta: {}, | 422 | meta: {}, |
423 | name: 'E-Books', | 423 | name: 'E-Books', |
424 | props: (route) => ({ type: route.query.type }), | 424 | props: (route) => ({ type: route.query.type }), |
425 | component: () => | 425 | component: () => |
426 | import ( | 426 | import ( |
427 | /* webpackChunkName: "routes" */ | 427 | /* webpackChunkName: "routes" */ |
428 | /* webpackMode: "lazy-once" */ | 428 | /* webpackMode: "lazy-once" */ |
429 | `@/pages/Library/eBook.vue` | 429 | `@/pages/Library/eBook.vue` |
430 | ) | 430 | ) |
431 | }, | 431 | }, |
432 | { | 432 | { |
433 | path: '/invoiceId/:invoiceid', | 433 | path: '/invoiceId/:invoiceid', |
434 | meta: {}, | 434 | meta: {}, |
435 | name: 'Edit Invoice', | 435 | name: 'Edit Invoice', |
436 | // props: (route) => ({ type: route.query.type }), | 436 | // props: (route) => ({ type: route.query.type }), |
437 | component: () => | 437 | component: () => |
438 | import ( | 438 | import ( |
439 | /* webpackChunkName: "routes" */ | 439 | /* webpackChunkName: "routes" */ |
440 | /* webpackMode: "lazy-once" */ | 440 | /* webpackMode: "lazy-once" */ |
441 | `@/pages/Account/editInvoice.vue` | 441 | `@/pages/Account/editInvoice.vue` |
442 | ) | 442 | ) |
443 | }, | 443 | }, |
444 | { | 444 | { |
445 | path: '/StudentsAttendence/:id', | 445 | path: '/StudentsAttendence/:id', |
446 | meta: {}, | 446 | meta: {}, |
447 | name: 'View Students Attendence', | 447 | name: 'View Students Attendence', |
448 | props: (route) => ({ type: route.query.type }), | 448 | props: (route) => ({ type: route.query.type }), |
449 | component: () => | 449 | component: () => |
450 | import ( | 450 | import ( |
451 | /* webpackChunkName: "routes" */ | 451 | /* webpackChunkName: "routes" */ |
452 | /* webpackMode: "lazy-once" */ | 452 | /* webpackMode: "lazy-once" */ |
453 | `@/pages/Attendence/viewStudentsAttendence.vue` | 453 | `@/pages/Attendence/viewStudentsAttendence.vue` |
454 | ) | 454 | ) |
455 | }, | 455 | }, |
456 | { | 456 | { |
457 | path: '/TeacherAttendence/:teacherId', | 457 | path: '/TeacherAttendence/:teacherId', |
458 | meta: {}, | 458 | meta: {}, |
459 | name: 'View Teacher Attendence', | 459 | name: 'View Teacher Attendence', |
460 | props: (route) => ({ type: route.query.type }), | 460 | props: (route) => ({ type: route.query.type }), |
461 | component: () => | 461 | component: () => |
462 | import ( | 462 | import ( |
463 | /* webpackChunkName: "routes" */ | 463 | /* webpackChunkName: "routes" */ |
464 | /* webpackMode: "lazy-once" */ | 464 | /* webpackMode: "lazy-once" */ |
465 | `@/pages/Attendence/viewTeacherAttendence.vue` | 465 | `@/pages/Attendence/viewTeacherAttendence.vue` |
466 | ) | 466 | ) |
467 | }, | 467 | }, |
468 | { | 468 | { |
469 | path: '/viewInvoice/:viewInvoiceId', | 469 | path: '/viewInvoice/:viewInvoiceId', |
470 | meta: {}, | 470 | meta: {}, |
471 | name: 'View Invoice', | 471 | name: 'View Invoice', |
472 | props: (route) => ({ type: route.query.type }), | 472 | props: (route) => ({ type: route.query.type }), |
473 | component: () => | 473 | component: () => |
474 | import ( | 474 | import ( |
475 | /* webpackChunkName: "routes" */ | 475 | /* webpackChunkName: "routes" */ |
476 | /* webpackMode: "lazy-once" */ | 476 | /* webpackMode: "lazy-once" */ |
477 | `@/pages/Account/viewInvoice.vue` | 477 | `@/pages/Account/viewInvoice.vue` |
478 | ) | 478 | ) |
479 | }, | 479 | }, |
480 | { | 480 | { |
481 | path: '/globalPayment', | 481 | path: '/globalPayment', |
482 | meta: {}, | 482 | meta: {}, |
483 | name: 'Global Payment', | 483 | name: 'Global Payment', |
484 | props: (route) => ({ type: route.query.type }), | 484 | props: (route) => ({ type: route.query.type }), |
485 | component: () => | 485 | component: () => |
486 | import ( | 486 | import ( |
487 | /* webpackChunkName: "routes" */ | 487 | /* webpackChunkName: "routes" */ |
488 | /* webpackMode: "lazy-once" */ | 488 | /* webpackMode: "lazy-once" */ |
489 | `@/pages/Account/globalPayment.vue` | 489 | `@/pages/Account/globalPayment.vue` |
490 | ) | 490 | ) |
491 | }, | 491 | }, |
492 | { | 492 | { |
493 | path: '/exam', | 493 | path: '/exam', |
494 | meta: {}, | 494 | meta: {}, |
495 | name: 'Exam', | 495 | name: 'Exam', |
496 | props: (route) => ({ type: route.query.type }), | 496 | props: (route) => ({ type: route.query.type }), |
497 | component: () => | 497 | component: () => |
498 | import ( | 498 | import ( |
499 | /* webpackChunkName: "routes" */ | 499 | /* webpackChunkName: "routes" */ |
500 | /* webpackMode: "lazy-once" */ | 500 | /* webpackMode: "lazy-once" */ |
501 | `@/pages/Exam/exam.vue` | 501 | `@/pages/Exam/exam.vue` |
502 | ) | 502 | ) |
503 | }, | 503 | }, |
504 | { | 504 | { |
505 | path: '/grade', | 505 | path: '/grade', |
506 | meta: {}, | 506 | meta: {}, |
507 | name: 'Grade', | 507 | name: 'Grade', |
508 | props: (route) => ({ type: route.query.type }), | 508 | props: (route) => ({ type: route.query.type }), |
509 | component: () => | 509 | component: () => |
510 | import ( | 510 | import ( |
511 | /* webpackChunkName: "routes" */ | 511 | /* webpackChunkName: "routes" */ |
512 | /* webpackMode: "lazy-once" */ | 512 | /* webpackMode: "lazy-once" */ |
513 | `@/pages/Exam/grade.vue` | 513 | `@/pages/Exam/grade.vue` |
514 | ) | 514 | ) |
515 | }, | 515 | }, |
516 | { | 516 | { |
517 | path: '/examSchedule', | 517 | path: '/examSchedule', |
518 | meta: {}, | 518 | meta: {}, |
519 | name: 'Exam Schedule', | 519 | name: 'Exam Schedule', |
520 | props: (route) => ({ type: route.query.type }), | 520 | props: (route) => ({ type: route.query.type }), |
521 | component: () => | 521 | component: () => |
522 | import ( | 522 | import ( |
523 | /* webpackChunkName: "routes" */ | 523 | /* webpackChunkName: "routes" */ |
524 | /* webpackMode: "lazy-once" */ | 524 | /* webpackMode: "lazy-once" */ |
525 | `@/pages/Exam/examSchedule.vue` | 525 | `@/pages/Exam/examSchedule.vue` |
526 | ) | 526 | ) |
527 | }, | 527 | }, |
528 | { | 528 | { |
529 | path: '/mark', | 529 | path: '/mark', |
530 | meta: {}, | 530 | meta: {}, |
531 | name: 'Mark', | 531 | name: 'Mark', |
532 | props: (route) => ({ type: route.query.type }), | 532 | props: (route) => ({ type: route.query.type }), |
533 | component: () => | 533 | component: () => |
534 | import ( | 534 | import ( |
535 | /* webpackChunkName: "routes" */ | 535 | /* webpackChunkName: "routes" */ |
536 | /* webpackMode: "lazy-once" */ | 536 | /* webpackMode: "lazy-once" */ |
537 | `@/pages/Mark/mark.vue` | 537 | `@/pages/Mark/mark.vue` |
538 | ) | 538 | ) |
539 | }, | 539 | }, |
540 | { | 540 | { |
541 | path: '/viewMark/:markId', | 541 | path: '/viewMark/:markId', |
542 | meta: {}, | 542 | meta: {}, |
543 | name: 'view Mark', | 543 | name: 'view Mark', |
544 | props: (route) => ({ type: route.query.type }), | 544 | props: (route) => ({ type: route.query.type }), |
545 | component: () => | 545 | component: () => |
546 | import ( | 546 | import ( |
547 | /* webpackChunkName: "routes" */ | 547 | /* webpackChunkName: "routes" */ |
548 | /* webpackMode: "lazy-once" */ | 548 | /* webpackMode: "lazy-once" */ |
549 | `@/pages/Mark/viewMark.vue` | 549 | `@/pages/Mark/viewMark.vue` |
550 | ) | 550 | ) |
551 | }, | 551 | }, |
552 | { | 552 | { |
553 | path: '/markDistribution', | 553 | path: '/markDistribution', |
554 | meta: {}, | 554 | meta: {}, |
555 | name: 'Mark Distribution', | 555 | name: 'Mark Distribution', |
556 | props: (route) => ({ type: route.query.type }), | 556 | props: (route) => ({ type: route.query.type }), |
557 | component: () => | 557 | component: () => |
558 | import ( | 558 | import ( |
559 | /* webpackChunkName: "routes" */ | 559 | /* webpackChunkName: "routes" */ |
560 | /* webpackMode: "lazy-once" */ | 560 | /* webpackMode: "lazy-once" */ |
561 | `@/pages/Mark/markDistribution.vue` | 561 | `@/pages/Mark/markDistribution.vue` |
562 | ) | 562 | ) |
563 | }, | 563 | }, |
564 | { | 564 | { |
565 | path: '/promotion', | 565 | path: '/promotion', |
566 | meta: {}, | 566 | meta: {}, |
567 | name: 'Promotion', | 567 | name: 'Promotion', |
568 | props: (route) => ({ type: route.query.type }), | 568 | props: (route) => ({ type: route.query.type }), |
569 | component: () => | 569 | component: () => |
570 | import ( | 570 | import ( |
571 | /* webpackChunkName: "routes" */ | 571 | /* webpackChunkName: "routes" */ |
572 | /* webpackMode: "lazy-once" */ | 572 | /* webpackMode: "lazy-once" */ |
573 | `@/pages/Mark/promotion.vue` | 573 | `@/pages/Mark/promotion.vue` |
574 | ) | 574 | ) |
575 | }, | 575 | }, |
576 | { | 576 | { |
577 | path: '/academicYear', | 577 | path: '/academicYear', |
578 | meta: {}, | 578 | meta: {}, |
579 | name: 'Academic Year', | 579 | name: 'Academic Year', |
580 | props: (route) => ({ type: route.query.type }), | 580 | props: (route) => ({ type: route.query.type }), |
581 | component: () => | 581 | component: () => |
582 | import ( | 582 | import ( |
583 | /* webpackChunkName: "routes" */ | 583 | /* webpackChunkName: "routes" */ |
584 | /* webpackMode: "lazy-once" */ | 584 | /* webpackMode: "lazy-once" */ |
585 | `@/pages/Administrator/academicYear.vue` | 585 | `@/pages/Administrator/academicYear.vue` |
586 | ) | 586 | ) |
587 | }, | 587 | }, |
588 | { | 588 | { |
589 | path: '/systemAdmin', | 589 | path: '/systemAdmin', |
590 | meta: {}, | 590 | meta: {}, |
591 | name: 'System Admin', | 591 | name: 'System Admin', |
592 | props: (route) => ({ type: route.query.type }), | 592 | props: (route) => ({ type: route.query.type }), |
593 | component: () => | 593 | component: () => |
594 | import ( | 594 | import ( |
595 | /* webpackChunkName: "routes" */ | 595 | /* webpackChunkName: "routes" */ |
596 | /* webpackMode: "lazy-once" */ | 596 | /* webpackMode: "lazy-once" */ |
597 | `@/pages/Administrator/systemAdmin.vue` | 597 | `@/pages/Administrator/systemAdmin.vue` |
598 | ) | 598 | ) |
599 | }, | 599 | }, |
600 | { | 600 | { |
601 | path: '/resetPassword', | 601 | path: '/resetPassword', |
602 | meta: {}, | 602 | meta: {}, |
603 | name: 'Change Password', | 603 | name: 'Change Password', |
604 | props: (route) => ({ type: route.query.type }), | 604 | props: (route) => ({ type: route.query.type }), |
605 | component: () => | 605 | component: () => |
606 | import ( | 606 | import ( |
607 | /* webpackChunkName: "routes" */ | 607 | /* webpackChunkName: "routes" */ |
608 | /* webpackMode: "lazy-once" */ | 608 | /* webpackMode: "lazy-once" */ |
609 | `@/pages/Administrator/resetPassword.vue` | 609 | `@/pages/Administrator/resetPassword.vue` |
610 | ) | 610 | ) |
611 | }, | 611 | }, |
612 | { | 612 | { |
613 | path: '/role', | 613 | path: '/role', |
614 | meta: {}, | 614 | meta: {}, |
615 | name: 'Role', | 615 | name: 'Role', |
616 | props: (route) => ({ type: route.query.type }), | 616 | props: (route) => ({ type: route.query.type }), |
617 | component: () => | 617 | component: () => |
618 | import ( | 618 | import ( |
619 | /* webpackChunkName: "routes" */ | 619 | /* webpackChunkName: "routes" */ |
620 | /* webpackMode: "lazy-once" */ | 620 | /* webpackMode: "lazy-once" */ |
621 | `@/pages/Administrator/role.vue` | 621 | `@/pages/Administrator/role.vue` |
622 | ) | 622 | ) |
623 | }, | 623 | }, |
624 | { | 624 | { |
625 | path: '/bulkImport', | 625 | path: '/bulkImport', |
626 | meta: {}, | 626 | meta: {}, |
627 | name: 'Bulk Import', | 627 | name: 'Bulk Import', |
628 | props: (route) => ({ type: route.query.type }), | 628 | props: (route) => ({ type: route.query.type }), |
629 | component: () => | 629 | component: () => |
630 | import ( | 630 | import ( |
631 | /* webpackChunkName: "routes" */ | 631 | /* webpackChunkName: "routes" */ |
632 | /* webpackMode: "lazy-once" */ | 632 | /* webpackMode: "lazy-once" */ |
633 | `@/pages/Administrator/bulkImport.vue` | 633 | `@/pages/Administrator/bulkImport.vue` |
634 | ) | 634 | ) |
635 | }, | 635 | }, |
636 | { | 636 | { |
637 | path: '/studentReport', | 637 | path: '/studentReport', |
638 | meta: {}, | 638 | meta: {}, |
639 | name: 'Student Report', | 639 | name: 'Student Report', |
640 | props: (route) => ({ type: route.query.type }), | 640 | props: (route) => ({ type: route.query.type }), |
641 | component: () => | 641 | component: () => |
642 | import ( | 642 | import ( |
643 | /* webpackChunkName: "routes" */ | 643 | /* webpackChunkName: "routes" */ |
644 | /* webpackMode: "lazy-once" */ | 644 | /* webpackMode: "lazy-once" */ |
645 | `@/pages/Report/studentReport.vue` | 645 | `@/pages/Report/studentReport.vue` |
646 | ) | 646 | ) |
647 | }, | 647 | }, |
648 | { | 648 | { |
649 | path: '/progressCardReport', | 649 | path: '/progressCardReport', |
650 | meta: {}, | 650 | meta: {}, |
651 | name: 'Progress Card Report', | 651 | name: 'Progress Card Report', |
652 | props: (route) => ({ type: route.query.type }), | 652 | props: (route) => ({ type: route.query.type }), |
653 | component: () => | 653 | component: () => |
654 | import ( | 654 | import ( |
655 | /* webpackChunkName: "routes" */ | 655 | /* webpackChunkName: "routes" */ |
656 | /* webpackMode: "lazy-once" */ | 656 | /* webpackMode: "lazy-once" */ |
657 | `@/pages/Report/progressCardReport.vue` | 657 | `@/pages/Report/progressCardReport.vue` |
658 | ) | 658 | ) |
659 | }, | 659 | }, |
660 | { | 660 | // { |
661 | path: '/idCard', | 661 | // path: '/idCard', |
662 | meta: {}, | 662 | // meta: {}, |
663 | name: 'Id Card Report', | 663 | // name: 'Id Card Report', |
664 | props: (route) => ({ type: route.query.type }), | 664 | // props: (route) => ({ type: route.query.type }), |
665 | component: () => | 665 | // component: () => |
666 | import ( | 666 | // import ( |
667 | `@/pages/Report/idCard.vue` | 667 | // `@/pages/Report/idCard.vue` |
668 | ) | 668 | // ) |
669 | }, | 669 | // }, |
670 | { | 670 | { |
671 | path: '/admitCard', | 671 | path: '/admitCard', |
672 | meta: {}, | 672 | meta: {}, |
673 | name: 'Admit Card Report', | 673 | name: 'Admit Card Report', |
674 | props: (route) => ({ type: route.query.type }), | 674 | props: (route) => ({ type: route.query.type }), |
675 | component: () => | 675 | component: () => |
676 | import ( | 676 | import ( |
677 | `@/pages/Report/admitCard.vue` | 677 | `@/pages/Report/admitCard.vue` |
678 | ) | 678 | ) |
679 | }, | 679 | }, |
680 | { | 680 | { |
681 | path: '/generalSetting', | 681 | path: '/generalSetting', |
682 | meta: {}, | 682 | meta: {}, |
683 | name: 'General Setting', | 683 | name: 'General Setting', |
684 | props: (route) => ({ type: route.query.type }), | 684 | props: (route) => ({ type: route.query.type }), |
685 | component: () => | 685 | component: () => |
686 | import ( | 686 | import ( |
687 | /* webpackChunkName: "routes" */ | 687 | /* webpackChunkName: "routes" */ |
688 | /* webpackMode: "lazy-once" */ | 688 | /* webpackMode: "lazy-once" */ |
689 | `@/pages/generalSetting/generalSetting.vue` | 689 | `@/pages/generalSetting/generalSetting.vue` |
690 | ) | 690 | ) |
691 | }, | 691 | }, |
692 | 692 | ||
693 | //////SCHOOL | 693 | //////SCHOOL |
694 | 694 | ||
695 | { | 695 | { |
696 | path: '/school', | 696 | path: '/school', |
697 | meta: {}, | 697 | meta: {}, |
698 | name: 'School', | 698 | name: 'School', |
699 | props: (route) => ({ type: route.query.type }), | 699 | props: (route) => ({ type: route.query.type }), |
700 | component: () => | 700 | component: () => |
701 | import ( | 701 | import ( |
702 | /* webpackChunkName: "routes" */ | 702 | /* webpackChunkName: "routes" */ |
703 | /* webpackMode: "lazy-once" */ | 703 | /* webpackMode: "lazy-once" */ |
704 | `@/pages/School/school.vue` | 704 | `@/pages/School/school.vue` |
705 | ) | 705 | ) |
706 | }, | 706 | }, |
707 | { | 707 | { |
708 | path: '/schooldashboard', | 708 | path: '/schooldashboard', |
709 | meta: {}, | 709 | meta: {}, |
710 | name: 'View School Dashboard', | 710 | name: 'View School Dashboard', |
711 | props: (route) => ({ type: route.query.type }), | 711 | props: (route) => ({ type: route.query.type }), |
712 | component: () => | 712 | component: () => |
713 | import ( | 713 | import ( |
714 | /* webpackChunkName: "routes" */ | 714 | /* webpackChunkName: "routes" */ |
715 | /* webpackMode: "lazy-once" */ | 715 | /* webpackMode: "lazy-once" */ |
716 | `@/pages/School/viewSchoolDashboard.vue` | 716 | `@/pages/School/viewSchoolDashboard.vue` |
717 | ) | 717 | ) |
718 | } | 718 | } |
719 | ]; | 719 | ]; |