31 lines
573 B
Vue
31 lines
573 B
Vue
<template lang="pug">
|
|
.wrapper.flex.w-full.relative.mx-6
|
|
clients-table(:open-form-create="openFormCreateClient")
|
|
</template>
|
|
|
|
<script>
|
|
import ClientsTable from "@/pages/clients/components/ClientsTable";
|
|
export default {
|
|
name: "ClientsWrapper",
|
|
components: { ClientsTable },
|
|
data() {
|
|
return {
|
|
isOpenForm: false,
|
|
};
|
|
},
|
|
methods: {
|
|
openFormCreateClient() {
|
|
this.isOpenForm = true;
|
|
},
|
|
closeFormCreateClient() {
|
|
this.isOpenForm = false;
|
|
},
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<style lang="sass" scoped>
|
|
.wrapper
|
|
overflow: auto
|
|
</style>
|