newcommit

This commit is contained in:
hayatie
2024-04-16 15:26:30 +08:00
parent bdb86d29b8
commit df6ffb203e
13 changed files with 238 additions and 146 deletions
+25 -1
View File
@@ -4,6 +4,7 @@ import VoterVerification from './components/demo/voter/verification.vue';
import VoterHome from './components/demo/voter/index.vue';
import Home from './components/demo/voter/home/index.vue';
import Mat from './components/demo/voter/home/mat.vue';
import Vote from './components/demo/voter/home/vote.vue';
import Result from './components/demo/voter/home/result.vue';
import Attendance from './components/demo/voter/home/attendance.vue';
@@ -32,6 +33,9 @@ import AdminIndex from './components/demo/admin/index.vue';
import ManageVoterIndex from './components/demo/admin/voter/index.vue';
import ManageVoterAdd from './components/demo/admin/voter/add.vue';
import ManageVoterEdit from './components/demo/admin/voter/edit.vue';
import KehadiranCalon from './components/demo/admin/voter/kehadiran.vue';
import ViewKehadiranCalon from './components/demo/admin/voter/viewkehadiran.vue';
import ManageNominee from './components/demo/admin/nominee/nominee.vue';
import ManageNomineeIndex from './components/demo/admin/nominee/index.vue';
@@ -44,6 +48,8 @@ import AdminIndex from './components/demo/admin/index.vue';
import ManageAccountPassword from './components/demo/admin/admin/password.vue';
import ManageAccountAdd from './components/demo/admin/admin/add.vue';
const default_component = {
template: '<div>Not found: {{ $route.path }}</div>'
}
@@ -60,6 +66,12 @@ export default [
name: 'Voter Home'
},
{
path: 'mat27',
component: Mat,
name: 'Mat'
},
{
path: 'vote',
component: Vote,
@@ -208,7 +220,19 @@ export default [
path: 'edit/:id',
component: ManageVoterEdit,
name: 'Edit Voter'
}
},
{
path: 'kehadiran',
component: KehadiranCalon,
name: 'Kehadiran Calon'
},
{
path: 'viewkehadiran',
component: ViewKehadiranCalon,
name: 'Calon Hadir'
},
]
},