60 lines
1.3 KiB
Vue
60 lines
1.3 KiB
Vue
<template>
|
|
|
|
<v-dialog v-model="dialogchosee" width="500">
|
|
<v-card>
|
|
<v-card-title
|
|
class="headline grey lighten-2 pt-2 pb-2"
|
|
primary-title
|
|
>
|
|
Peringatan!
|
|
</v-card-title>
|
|
<v-card-text class="pt-2 pb-2">
|
|
<h6 class="display-1 text-center">Anda belum memilih pasien</h6>
|
|
</v-card-text>
|
|
<v-divider></v-divider>
|
|
|
|
<v-card-actions>
|
|
<v-spacer></v-spacer>
|
|
<v-btn
|
|
color="primary"
|
|
flat
|
|
@click="finish"
|
|
>
|
|
Tutup
|
|
</v-btn>
|
|
</v-card-actions>
|
|
</v-card>
|
|
</v-dialog>
|
|
|
|
</template>
|
|
|
|
<style scoped>
|
|
.one-btn-icon { font-size: 1.5em; height: 42px; }
|
|
</style>
|
|
|
|
<script>
|
|
module.exports = {
|
|
components : {
|
|
|
|
},
|
|
methods : {
|
|
finish: function() {
|
|
this.dialogchosee = false
|
|
},
|
|
},
|
|
computed : {
|
|
dialogchosee: {
|
|
get() {
|
|
return this.$store.state.patient.dialogchosee;
|
|
},
|
|
set(val) {
|
|
this.$store.commit('patient/update_dialogchosee',val);
|
|
}
|
|
}
|
|
},
|
|
|
|
watch : {
|
|
}
|
|
}
|
|
</script>
|