WIP Добавил статусы для записей

This commit is contained in:
DwCay
2023-05-04 18:16:31 +03:00
parent bad421f503
commit 8f02cc9941
4 changed files with 41 additions and 18 deletions

View File

@@ -5,7 +5,6 @@ import { getConfidantObject } from "@/pages/newMedicalCard/utils/gettersObjects"
const state = () => ({
medicalCard: {},
confidantData: [],
personFiltredList: [],
contactsData: {
phones: [],
emails: [],
@@ -362,9 +361,6 @@ const mutations = {
setConfidantData(state) {
state.confidantData = this.getters.getConfidantData;
},
setPersonFiltredList(state, persons) {
state.personFiltredList = persons;
},
setEventsPersonData(state, id) {
fetchWrapper.get(`general/person/${id}/detail/`).then((res) => {
state.events = res.events;