75 lines
2.4 KiB
Vue
75 lines
2.4 KiB
Vue
<template>
|
|
<v-card class="fill-height">
|
|
<v-card-title primary-title class=" orange lighten-3 white--text">
|
|
<h3 class="headline">Pengaturan Aplikasi Klinik</h3>
|
|
</v-card-title>
|
|
<v-card-text>
|
|
<v-layout row wrap>
|
|
<v-flex xs4>
|
|
|
|
<v-layout row wrap>
|
|
<v-flex xs12>
|
|
<v-text-field
|
|
label="Default Company"
|
|
v-model="selected_company.name"
|
|
></v-text-field>
|
|
</v-flex>
|
|
|
|
<v-flex xs12>
|
|
<v-text-field
|
|
label="Default MOU"
|
|
v-model="selected_mou.name"
|
|
></v-text-field>
|
|
</v-flex>
|
|
|
|
<v-flex xs8>
|
|
<v-checkbox label="Diskon Pemeriksaan LAB" v-model="value" value="value"></v-checkbox>
|
|
</v-flex>
|
|
<v-flex xs4>
|
|
<v-text-field
|
|
label="Nilai Diskon"
|
|
v-model="conf_lab_disc"
|
|
reverse
|
|
></v-text-field>
|
|
</v-flex>
|
|
</v-layout>
|
|
|
|
</v-flex>
|
|
|
|
<v-flex xs8 class="text-xs-center">
|
|
<v-icon color="blue lighten-4" style="font-size:400px">settings</v-icon>
|
|
<v-icon color="blue lighten-4" style="font-size:400px">settings</v-icon>
|
|
</v-flex>
|
|
</v-layout>
|
|
</v-card-text>
|
|
</v-card>
|
|
</template>
|
|
|
|
<script>
|
|
module.exports = {
|
|
data () {
|
|
return {
|
|
|
|
}
|
|
},
|
|
|
|
computed : {
|
|
selected_company() {
|
|
return this.$store.state.conf.selected_company
|
|
},
|
|
|
|
selected_mou() {
|
|
return this.$store.state.conf.selected_mou
|
|
},
|
|
|
|
conf_lab_is_disc() {
|
|
return this.$store.state.conf.conf_lab_is_disc
|
|
},
|
|
|
|
conf_lab_disc() {
|
|
// return one_money(50000)
|
|
return one_money(this.$store.state.conf.conf_lab_disc, '0,000')
|
|
}
|
|
}
|
|
}
|
|
</script> |