WIP Сделала частично удаление клиента

This commit is contained in:
Daria Golova
2022-11-30 19:05:26 +03:00
parent 8dbfff1a10
commit fdc1a03622
3 changed files with 102 additions and 47 deletions

View File

@@ -10,7 +10,7 @@
base-button(
outlined-red,
:size=40,
@click=""
@click="transmitDeleteClient"
) Удалить
</template>
@@ -23,6 +23,13 @@ export default {
},
props: {
closeModal: Function,
deletedClientId: String,
},
methods: {
transmitDeleteClient() {
this.$emit("delete-client", this.deletedClientId);
this.closeModal();
},
},
};
</script>