update component structure

This commit is contained in:
Dede Fuji Abdul
2023-10-19 09:32:47 +07:00
parent 3a29562969
commit 21fc2789ac
17 changed files with 64 additions and 360 deletions

View File

@ -3,9 +3,8 @@ import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '@/views/HomeView.vue'
import LoginView from '@/views/LoginView.vue'
import NotFoundView from '@/views/NotFoundView.vue'
import MenuSample from '@/components/Menus/MenuSample.vue'
import AktifIndividual from '@/components/Menus/DaftarTransaksi/AktifIndividual.vue'
import HomeEmptyView from '@/components/HomeEmpty.vue'
import AktifIndividual from '@/components/Pages/DaftarTransaksi/AktifIndividual.vue'
import EmptyPage from '@/components/Pages/HomeEmpty.vue'
import { useAuthStore } from '@/stores/auth'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
@ -20,7 +19,7 @@ const router = createRouter({
{
path: '',
name: 'Home Page',
component: HomeEmptyView,
component: EmptyPage,
},
{
path: 'daftar-transaksi',
@ -34,72 +33,72 @@ const router = createRouter({
{
path: 'aktif-pln-mobile',
name: 'Transaksi Aktif PLN Mobile',
component: MenuSample,
component: EmptyPage,
},
{
path: 'periksa-return-order',
name: 'Transaksi Aktif Periksa dan Return Order',
component: MenuSample,
component: EmptyPage,
},
{
path: 'aktif-tm',
name: 'Transaksi Aktif TM',
component: MenuSample,
component: EmptyPage,
},
{
path: 'aktif-historis',
name: 'Transaksi Aktif Historis',
component: MenuSample,
component: EmptyPage,
},
{
path: 'monitoring-alih-unit',
name: 'Monitoring Alih Unit',
component: MenuSample,
component: EmptyPage,
},
{
path: 'monitoring-all',
name: 'Monitoring All',
component: MenuSample,
component: EmptyPage,
},
{
path: 'monitoring-tiket',
name: 'Monitoring Tiket',
component: MenuSample,
component: EmptyPage,
},
{
path: 'monitoring-history',
name: 'Monitoring History',
component: MenuSample,
component: EmptyPage,
},
{
path: 'monitoring-aktif',
name: 'Monitoring Aktif',
component: MenuSample,
component: EmptyPage,
},
{
path: 'monitoring-close-cc',
name: 'Monitoring Close CC',
component: MenuSample,
component: EmptyPage,
},
{
path: 'monitoring-log-autodispatch',
name: 'Monitoring Log AutoDispatch',
component: MenuSample,
component: EmptyPage,
},
{
path: 'monitoring-perlu-diperhatikan',
name: 'Monitoring yang Perlu Diperhatikan',
component: MenuSample,
component: EmptyPage,
},
{
path: 'monitoring-log-break-regu',
name: 'Monitoring Log Break Regu',
component: MenuSample,
component: EmptyPage,
},
{
path: 'monitoring-log-alih-regu',
name: 'Monitoring Log Alih Regu',
component: MenuSample,
component: EmptyPage,
},
]
},
@ -114,17 +113,17 @@ const router = createRouter({
{
path: 'log-login',
name: 'Log Login',
component: MenuSample,
component: EmptyPage,
},
{
path: 'log-aktivity',
name: 'Log Aktivity',
component: MenuSample,
component: EmptyPage,
},
{
path: 'log-error',
name: 'Log Error',
component: MenuSample,
component: EmptyPage,
},
],
},
@ -135,42 +134,42 @@ const router = createRouter({
{
path: 'menu-management',
name: 'Menu Management',
component: MenuSample,
component: EmptyPage,
},
{
path: 'system-parameter',
name: 'System Parameter',
component: MenuSample,
component: EmptyPage,
},
{
path: 'ubah-profile-manager',
name: 'Ubah Profile Manager',
component: MenuSample,
component: EmptyPage,
},
{
path: 'security-projek',
name: 'Security Projek',
component: MenuSample,
component: EmptyPage,
},
{
path: 'user-role-manager',
name: 'User Role Manager',
component: MenuSample,
component: EmptyPage,
},
{
path: 'menu-authorization',
name: 'Menu Authorization',
component: MenuSample,
component: EmptyPage,
},
{
path: 'workflow-designer',
name: 'Workflow Designer',
component: MenuSample,
component: EmptyPage,
},
{
path: 'apkt-news',
name: 'APKT News',
component: MenuSample,
component: EmptyPage,
},
],
},
@ -181,12 +180,12 @@ const router = createRouter({
{
path: 'zone-borderless',
name: 'Zone Borderless',
component: MenuSample,
component: EmptyPage,
},
{
path: 'user-zone-borderless',
name: 'User Zone Borderless',
component: MenuSample,
component: EmptyPage,
},
],
},
@ -199,52 +198,52 @@ const router = createRouter({
{
path: 'unit',
name: 'Unit',
component: MenuSample,
component: EmptyPage,
},
{
path: 'unit-jaringan',
name: 'Unit Jaringan',
component: MenuSample,
component: EmptyPage,
},
{
path: 'unit-pelayanan',
name: 'Unit Pelayanan',
component: MenuSample,
component: EmptyPage,
},
{
path: 'regu-yantek',
name: 'Regu Yantek',
component: MenuSample,
component: EmptyPage,
},
{
path: 'gardu-induk',
name: 'Gardu Induk',
component: MenuSample,
component: EmptyPage,
},
{
path: 'gardu-penyulang-tm',
name: 'Gardu Penyulang TM',
component: MenuSample,
component: EmptyPage,
},
{
path: 'gardu-distribusi',
name: 'Gardu Distribusi',
component: MenuSample,
component: EmptyPage,
},
{
path: 'group-gangguan',
name: 'Group Gangguan',
component: MenuSample,
component: EmptyPage,
},
{
path: 'wilayah-yantek',
name: 'Wilayah Yantek',
component: MenuSample,
component: EmptyPage,
},
{
path: 'material',
name: 'Material',
component: MenuSample,
component: EmptyPage,
},
]
},
@ -255,32 +254,32 @@ const router = createRouter({
{
path: 'gangguan-dan-keluhan',
name: 'Gangguan dan Keluhan',
component: MenuSample,
component: EmptyPage,
},
{
path: 'gangguan-tegangan-menengah',
name: 'Gangguan Tegangan Menengah',
component: MenuSample,
component: EmptyPage,
},
{
path: 'pemadaman-terencana',
name: 'Pemadaman Terencana',
component: MenuSample,
component: EmptyPage,
},
{
path: 'aplikasi-off-line',
name: 'Aplikasi Off-Line',
component: MenuSample,
component: EmptyPage,
},
{
path: 'penugasan-khusus',
name: 'Penugasan Khusus',
component: MenuSample,
component: EmptyPage,
},
{
path: 'mutasi-pengaduan',
name: 'Mutasi Pengaduan',
component: MenuSample,
component: EmptyPage,
},
]
},