diff --git a/src/components/modal/user/Confirmation.vue b/src/components/modal/user/Confirmation.vue new file mode 100644 index 0000000..ceb7bf7 --- /dev/null +++ b/src/components/modal/user/Confirmation.vue @@ -0,0 +1,40 @@ + + + \ No newline at end of file diff --git a/src/main.js b/src/main.js index a933a60..4864a24 100644 --- a/src/main.js +++ b/src/main.js @@ -25,6 +25,7 @@ import App from './App.vue' import i18n from '@/i18n' import router from '@/router' import store from '@/store' + import VueLazyLoad from 'vue-lazyload'; Vue.use(VueLazyLoad) import { ApiService, TokenService } from '@/services' diff --git a/src/store/modules/modal/getters.js b/src/store/modules/modal/getters.js index 1fe6887..5d2f082 100644 --- a/src/store/modules/modal/getters.js +++ b/src/store/modules/modal/getters.js @@ -1,4 +1,5 @@ export default { + getModal: (state) => state.currentModal, getCurrentModal: (state) => { return state.currentModal.name }, diff --git a/src/store/modules/modal/mutations.js b/src/store/modules/modal/mutations.js index c2195f9..9e9f652 100644 --- a/src/store/modules/modal/mutations.js +++ b/src/store/modules/modal/mutations.js @@ -5,6 +5,7 @@ export default { if (data.properties) { state.currentModal.properties = data.properties; } + if(data.success) state.currentModal.success = data.success; }, setResultModal: (state, data) => { state.currentModal.result = data; diff --git a/src/views/MedicalCenter/List.vue b/src/views/MedicalCenter/List.vue index 052cce7..0bcdeea 100644 --- a/src/views/MedicalCenter/List.vue +++ b/src/views/MedicalCenter/List.vue @@ -13,7 +13,7 @@ - + fas fa-plus Add @@ -28,10 +28,7 @@ @@ -79,7 +77,7 @@ - + fas fa-chevron-left Back @@ -93,6 +91,7 @@