Status changed function edited

This commit is contained in:
Burak Civan
2021-05-28 10:38:30 +03:00
parent d9ba4c47d9
commit 547e9b1ecc
3 changed files with 16 additions and 2 deletions

View File

@ -88,6 +88,14 @@ export default {
this.dataHandleEvent();
},
onStatusControl(status_form, status_item, event) {
status_form.forEach((status) => {
if (status.id == status_item) {
status.enabled = event.target.checked;
}
});
},
onEditEvent(form_method, form_url, plus_data, form_list, form_id) {
const formData = new FormData(this.$refs["form"]);
const data = {};