Flatten nested repos
This commit is contained in:
@@ -0,0 +1,127 @@
|
||||
<template>
|
||||
<v-card class="mb-1 pa-1">
|
||||
<v-layout row>
|
||||
<v-flex xs2 pt-1>
|
||||
<one-date-picker
|
||||
label="Tanggal Janji Hasil"
|
||||
:date="null"
|
||||
@change="startDateChange"
|
||||
:solo="true"
|
||||
:max_date="null"
|
||||
class="mr-4"
|
||||
></one-date-picker>
|
||||
</v-flex>
|
||||
<v-flex xs4>
|
||||
<v-layout>
|
||||
<v-text-field class="flex xs4 ma-1"
|
||||
placeholder="No Lab"
|
||||
single-line
|
||||
solo
|
||||
hide-details
|
||||
v-model="nolab"
|
||||
></v-text-field>
|
||||
<v-text-field class="flex xs8 ma-1"
|
||||
label=""
|
||||
placeholder="Nama"
|
||||
single-line
|
||||
solo
|
||||
hide-details
|
||||
v-model="search"
|
||||
></v-text-field>
|
||||
</v-layout>
|
||||
</v-flex>
|
||||
|
||||
<!-- <v-flex xs3 pt-1 pl-2>
|
||||
<v-select
|
||||
:items="groups"
|
||||
v-model="selected_group"
|
||||
item-text="name"
|
||||
item-value="id"
|
||||
label="Grup Pemeriksaan"
|
||||
return-object
|
||||
solo
|
||||
hide-details
|
||||
></v-select>
|
||||
</v-flex> -->
|
||||
<v-flex xs2>
|
||||
<v-layout>
|
||||
<v-btn class="flex xs6 ma-1" color="success" @click="searchs" >
|
||||
Search
|
||||
</v-btn>
|
||||
</v-layout>
|
||||
</v-flex>
|
||||
|
||||
<v-flex xs3 class="text-xs-right">
|
||||
<!-- <v-btn
|
||||
color="blue-grey"
|
||||
class="white--text ma-1"
|
||||
@click="histories"
|
||||
>
|
||||
Histori
|
||||
</v-btn> -->
|
||||
|
||||
<!-- <v-btn
|
||||
color="blue"
|
||||
class="white--text ma-1"
|
||||
@click="save_result"
|
||||
>
|
||||
Simpan
|
||||
<v-icon right dark>save_alt</v-icon>
|
||||
</v-btn> -->
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
</v-card>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
button {
|
||||
|
||||
height: 48px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
module.exports = {
|
||||
components : {
|
||||
'one-date-picker' : httpVueLoader('./oneDatePicker2.vue')
|
||||
},
|
||||
|
||||
computed : {
|
||||
nolab : {
|
||||
get () { return this.$store.state.rp_patient.nolab },
|
||||
set (v) { return this.$store.commit('rp_patient/update_nolab', v) }
|
||||
},
|
||||
|
||||
search : {
|
||||
get () { return this.$store.state.rp_patient.search },
|
||||
set (v) { this.$store.commit('rp_patient/update_search', v) }
|
||||
},
|
||||
|
||||
groups () {
|
||||
return [] // this.$store.state.re_px.groups
|
||||
},
|
||||
|
||||
selected_group : {
|
||||
get () { return {} /*this.$store.state.re_px.selected_group*/ },
|
||||
set (v) { return /*this.$store.commit('re_px/update_selected_group', v)*/ }
|
||||
}
|
||||
},
|
||||
|
||||
methods : {
|
||||
searchs() {
|
||||
this.$store.dispatch('rp_patient/search')
|
||||
},
|
||||
|
||||
startDateChange (prm) {
|
||||
this.$store.commit('rp_patient/update_sdate', prm.new_date)
|
||||
}
|
||||
// save_result() {
|
||||
// this.$store.dispatch('re_px/save')
|
||||
// },
|
||||
|
||||
// histories() {
|
||||
// this.$store.commit('re_history/update_dialog_history', true)
|
||||
// }
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user