RouteLookup (refactored from RoutePatientLookup)

This commit is contained in:
Jiang Yio 2023-05-08 17:58:34 -04:00
parent cc5ec1f69f
commit c15f7ed885
3 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@
import Throbber from './Throbber.vue';
import Login from './Login.vue';
import RouteSchedule from './RouteSchedule.vue';
import RoutePatientLookup from './RoutePatientLookup.vue';
import RouteLookup from './RouteLookup.vue';
import RoutePatientDetail from './RoutePatientDetail.vue';
import RoutePatientVisits from './RoutePatientVisits.vue';
import RoutePatientOrders from './RoutePatientOrders.vue';
@ -44,7 +44,7 @@
else {
[
{ path: '/', component: RouteSchedule },
{ path: '/patient', component: RoutePatientLookup },
{ path: '/lookup', component: RouteLookup },
{ path: '/patient/:id', component: RoutePatientDetail },
{ path: '/patient/:id/visits', component: RoutePatientVisits },
{ path: '/patient/:id/orders', component: RoutePatientOrders },

View File

@ -11,7 +11,7 @@
<router-link class="nav-link" to="/">Schedule</router-link>
</li>
<li class="nav-item">
<router-link class="nav-link" to="/patient">Patient</router-link>
<router-link class="nav-link" to="/lookup">Lookup</router-link>
</li>
<template v-if="($route.matched.length > 0) && ($route.matched[0].path == '/patient/:id')">
<li class="nav-item">