2022-09-22 07:10:08 -04:00
|
|
|
<template>
|
2023-05-01 18:58:48 -04:00
|
|
|
<nav class="navbar navbar-expand-lg fixed-top bg-dark">
|
2022-09-22 07:10:08 -04:00
|
|
|
<div class="container-fluid">
|
2023-04-25 18:39:25 -04:00
|
|
|
<router-link class="navbar-brand" to="/"><img src="/icon.svg" style="height: 1.875rem;" /></router-link>
|
2022-09-22 07:10:08 -04:00
|
|
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
|
|
|
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
|
|
|
|
<li class="nav-item">
|
2022-09-24 00:46:46 -04:00
|
|
|
<router-link class="nav-link" to="/">Schedule</router-link>
|
2022-09-22 07:10:08 -04:00
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
2022-09-24 00:46:46 -04:00
|
|
|
<router-link class="nav-link" to="/patient">Patient</router-link>
|
2022-09-22 07:10:08 -04:00
|
|
|
</li>
|
2023-04-24 21:23:35 -04:00
|
|
|
<template v-if="($route.matched.length > 0) && ($route.matched[0].path == '/patient/:id')">
|
|
|
|
<li class="nav-item">
|
|
|
|
<router-link class="nav-link" :to="'/patient/' + $route.params.id + '/visits'">Visits</router-link>
|
|
|
|
</li>
|
2023-04-24 23:10:19 -04:00
|
|
|
<li class="nav-item">
|
|
|
|
<router-link class="nav-link" :to="'/patient/' + $route.params.id + '/orders'">Orders</router-link>
|
|
|
|
</li>
|
2023-04-24 21:23:35 -04:00
|
|
|
</template>
|
2023-04-24 21:16:05 -04:00
|
|
|
<li class="nav-item">
|
2023-05-03 01:41:34 -04:00
|
|
|
<router-link class="nav-link" to="/planner">Planner</router-link>
|
2023-04-24 21:16:05 -04:00
|
|
|
</li>
|
2022-09-23 23:59:55 -04:00
|
|
|
<li class="nav-item">
|
2022-09-24 00:46:46 -04:00
|
|
|
<router-link class="nav-link" to="/recall">Recall</router-link>
|
2022-09-23 23:59:55 -04:00
|
|
|
</li>
|
2022-09-26 17:38:27 -04:00
|
|
|
<li class="nav-item" v-if="server">
|
2023-04-25 18:39:25 -04:00
|
|
|
<a class="nav-link disabled"><template v-if="user">{{user[2]}} @ </template>{{server.domain}}</a>
|
2022-09-22 07:10:08 -04:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<form class="d-flex" role="search">
|
|
|
|
<input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
|
|
|
|
<button class="btn btn-outline-success" type="submit">Search</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import vistax from './vistax.mjs';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
props: {
|
2022-09-26 17:38:27 -04:00
|
|
|
server: {
|
|
|
|
type: Object,
|
|
|
|
default: null
|
|
|
|
},
|
2022-09-22 07:10:08 -04:00
|
|
|
user: {
|
|
|
|
type: Array,
|
|
|
|
default: null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|