WIP Подключил store для мед карты, поправил форму Основных данных
This commit is contained in:
@@ -1,15 +1,8 @@
|
||||
import { createStore } from "vuex";
|
||||
import medical from "./modules/medicalCard";
|
||||
|
||||
export default createStore({
|
||||
state: {
|
||||
currentPatient: {},
|
||||
test: "Привет",
|
||||
modules: {
|
||||
medical,
|
||||
},
|
||||
mutations: {
|
||||
setCurrentPatient(state, patient) {
|
||||
state.currentPatient = patient;
|
||||
},
|
||||
},
|
||||
actions: {},
|
||||
modules: {},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user