Cleanup
This commit is contained in:
parent
91f2c45e4f
commit
9687d9638e
@ -15,17 +15,17 @@
|
|||||||
<div class="card mb-3 shadow">
|
<div class="card mb-3 shadow">
|
||||||
<div class="card-header d-flex justify-content-between align-items-center">
|
<div class="card-header d-flex justify-content-between align-items-center">
|
||||||
<span>Data</span>
|
<span>Data</span>
|
||||||
<DateRangePicker range="1M" direction="-1" v-model:date="vitals_date" v-model:date_end="vitals_date_begin" />
|
<DateRangePicker range="1M" direction="-1" v-model:date="report_date" v-model:date_end="report_date_begin" />
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<ViewVitalsLabs :client="client" :dfn="dfn" :date_begin="vitals_date_begin" :date_end="vitals_date" />
|
<ViewVitalsLabs :client="client" :dfn="dfn" :date_begin="report_date_begin" :date_end="report_date" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { uniq, groupByArray, strptime_vista } from './util.mjs';
|
import { strptime_vista } from './util.mjs';
|
||||||
|
|
||||||
import DateRangePicker from './DateRangePicker.vue';
|
import DateRangePicker from './DateRangePicker.vue';
|
||||||
import ViewVitalsLabs from './ViewVitalsLabs.vue';
|
import ViewVitalsLabs from './ViewVitalsLabs.vue';
|
||||||
@ -43,10 +43,8 @@
|
|||||||
return {
|
return {
|
||||||
dfn: null,
|
dfn: null,
|
||||||
info: null,
|
info: null,
|
||||||
vitals_date: now,
|
report_date: now,
|
||||||
vitals_date_begin: now,
|
report_date_begin: now
|
||||||
labs_date: now,
|
|
||||||
labs_date_begin: now
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
@ -23,10 +23,6 @@
|
|||||||
return {
|
return {
|
||||||
selection: null
|
selection: null
|
||||||
};
|
};
|
||||||
},
|
|
||||||
watch: {
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
@ -52,7 +52,6 @@
|
|||||||
methods: {
|
methods: {
|
||||||
datefmt(date) {
|
datefmt(date) {
|
||||||
return date ? date.toLocaleDateString('en-CA') : '';
|
return date ? date.toLocaleDateString('en-CA') : '';
|
||||||
//return (new Date(date.getTime() + date.getTimezoneOffset()*60000)).toLocaleDateString('en-CA');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<table class="table" style="font-family: monospace;" v-if="appointments && appointments.length > 0">
|
<table class="table" style="font-family: monospace;" v-if="appointments && appointments.length > 0">
|
||||||
<thead>
|
<thead>
|
||||||
<tr><th>Time</th><th>Clinic</th><th>Patient</th><th>Note</th><th>Assignee</th></tr>
|
<tr><th>Time</th><th>Clinic</th><th>Patient</th><th>Note</th><th>Assignee</th></tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr v-for="row in appointments" :style="{ backgroundColor: strHashHSL(row.Clinic, '90%') }">
|
<tr v-for="row in appointments" :style="{ backgroundColor: strHashHSL(row.Clinic, '90%') }">
|
||||||
<td>{{row.ApptDate}}</td>
|
<td>{{row.ApptDate}}</td>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { strftime_vista, strptime_vista } from './util.mjs';
|
import { strftime_vista } from './util.mjs';
|
||||||
|
|
||||||
import ViewData from './ViewData.vue';
|
import ViewData from './ViewData.vue';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user