RouteLookup (refactored from RoutePatientLookup)
This commit is contained in:
parent
cc5ec1f69f
commit
c15f7ed885
@ -14,7 +14,7 @@
|
|||||||
import Throbber from './Throbber.vue';
|
import Throbber from './Throbber.vue';
|
||||||
import Login from './Login.vue';
|
import Login from './Login.vue';
|
||||||
import RouteSchedule from './RouteSchedule.vue';
|
import RouteSchedule from './RouteSchedule.vue';
|
||||||
import RoutePatientLookup from './RoutePatientLookup.vue';
|
import RouteLookup from './RouteLookup.vue';
|
||||||
import RoutePatientDetail from './RoutePatientDetail.vue';
|
import RoutePatientDetail from './RoutePatientDetail.vue';
|
||||||
import RoutePatientVisits from './RoutePatientVisits.vue';
|
import RoutePatientVisits from './RoutePatientVisits.vue';
|
||||||
import RoutePatientOrders from './RoutePatientOrders.vue';
|
import RoutePatientOrders from './RoutePatientOrders.vue';
|
||||||
@ -44,7 +44,7 @@
|
|||||||
else {
|
else {
|
||||||
[
|
[
|
||||||
{ path: '/', component: RouteSchedule },
|
{ path: '/', component: RouteSchedule },
|
||||||
{ path: '/patient', component: RoutePatientLookup },
|
{ path: '/lookup', component: RouteLookup },
|
||||||
{ path: '/patient/:id', component: RoutePatientDetail },
|
{ path: '/patient/:id', component: RoutePatientDetail },
|
||||||
{ path: '/patient/:id/visits', component: RoutePatientVisits },
|
{ path: '/patient/:id/visits', component: RoutePatientVisits },
|
||||||
{ path: '/patient/:id/orders', component: RoutePatientOrders },
|
{ path: '/patient/:id/orders', component: RoutePatientOrders },
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
<router-link class="nav-link" to="/">Schedule</router-link>
|
<router-link class="nav-link" to="/">Schedule</router-link>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<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>
|
</li>
|
||||||
<template v-if="($route.matched.length > 0) && ($route.matched[0].path == '/patient/:id')">
|
<template v-if="($route.matched.length > 0) && ($route.matched[0].path == '/patient/:id')">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
|
Loading…
Reference in New Issue
Block a user