Cleanup
This commit is contained in:
parent
91f2c45e4f
commit
9687d9638e
@ -15,17 +15,17 @@
|
||||
<div class="card mb-3 shadow">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
<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 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>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { uniq, groupByArray, strptime_vista } from './util.mjs';
|
||||
import { strptime_vista } from './util.mjs';
|
||||
|
||||
import DateRangePicker from './DateRangePicker.vue';
|
||||
import ViewVitalsLabs from './ViewVitalsLabs.vue';
|
||||
@ -43,10 +43,8 @@
|
||||
return {
|
||||
dfn: null,
|
||||
info: null,
|
||||
vitals_date: now,
|
||||
vitals_date_begin: now,
|
||||
labs_date: now,
|
||||
labs_date_begin: now
|
||||
report_date: now,
|
||||
report_date_begin: now
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
|
@ -23,10 +23,6 @@
|
||||
return {
|
||||
selection: null
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
@ -52,7 +52,6 @@
|
||||
methods: {
|
||||
datefmt(date) {
|
||||
return date ? date.toLocaleDateString('en-CA') : '';
|
||||
//return (new Date(date.getTime() + date.getTimezoneOffset()*60000)).toLocaleDateString('en-CA');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -3,7 +3,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { strftime_vista, strptime_vista } from './util.mjs';
|
||||
import { strftime_vista } from './util.mjs';
|
||||
|
||||
import ViewData from './ViewData.vue';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user