[WIP] Изменил инпуты для даты и ограничил вводимые значения; при наведении на аватар клиента, появляется иконка загрузки

This commit is contained in:
megavrilinvv
2022-11-30 18:39:11 +03:00
parent a66081c14d
commit 766e1be22c
12 changed files with 31 additions and 46 deletions

View File

@@ -4,7 +4,6 @@
:is-open-form="isOpenForm",
:close-form="closeForm",
:open-form="openForm",
:current-year="currentYear",
@update-client="setUpdatedClients"
)
.flex.flex-auto
@@ -12,7 +11,6 @@
router-view(
:open-form="openForm",
:is-open-form="isOpenForm",
:current-year="currentYear",
:updated-clients="updatedClients",
@reset-updated-clients="resetUpdatedClients"
)
@@ -30,7 +28,6 @@ export default {
data() {
return {
isOpenForm: false,
currentYear: null,
updatedClients: false,
};
},
@@ -41,9 +38,6 @@ export default {
closeForm() {
this.isOpenForm = false;
},
printCurrentYear() {
return new Date().getFullYear();
},
setUpdatedClients() {
this.updatedClients = true;
},
@@ -51,8 +45,5 @@ export default {
this.updatedClients = false;
},
},
mounted: function () {
this.currentYear = this.printCurrentYear();
},
};
</script>