Files
FE_CPONE/test/vuex/one-fo-registration-dev/components/oneFoRegisterFinishDialog.vue
2026-04-27 10:13:31 +07:00

71 lines
1.5 KiB
Vue

<template>
<v-dialog
v-model="dialog"
width="500"
>
<v-card>
<v-card-title
class="headline grey lighten-2 pt-2 pb-2"
primary-title
>
Pendaftaran Berhasil
</v-card-title>
<v-card-text class="pt-2 pb-2">
<h6 class="display-1 text-center">No LAB <span class="blue--text">{{ text_labno }}</span></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>
</style>
<script>
module.exports = {
components : {
},
methods : {
tuing : function () {
alert('x')
},
finish : function () {
this.dialog = false
this.$store.commit('order/update_tab_enable', [0, false])
this.$store.commit('order/update_tab_enable', [1, false])
this.$store.commit('change_tab', '03')
}
},
computed : {
dialog: {
get() {
return this.$store.state.order.finish_dialog_is_active;
},
set(val) {
this.$store.commit('order/update_finish_dialog_is_active', val);
}
},
text_labno () {
return this.$store.state.order.current_order.number
}
}
}
</script>