Уведомления жирнее, поиск по кнопке enter
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
.notification-content.flex.mr-16
|
.notification-content.flex.mr-16
|
||||||
.grid(:class="{'grid-rows': message}")
|
.grid(:class="{'grid-rows': message}")
|
||||||
.text-white.text-xs.icon.row-span-full.flex.justify-center.items-center(:class="iconClass")
|
.text-white.text-xs.icon.row-span-full.flex.justify-center.items-center(:class="iconClass")
|
||||||
.text-white.text-base.font-bold(v-if="title") {{ title }}
|
.text-white.text-base.font-black(v-if="title") {{ title }}
|
||||||
.text-white.text-base(v-if="message") {{ message }}
|
.text-white.text-base.font-semibold(v-if="message") {{ message }}
|
||||||
.icon-cancel.cursor-pointer.text-white.opacity-50.text-sm(class="hover:opacity-100 active:opacity-75", @click="delNotification")
|
.icon-cancel.cursor-pointer.text-white.opacity-50.text-sm(class="hover:opacity-100 active:opacity-75", @click="delNotification")
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -49,4 +49,5 @@ export default {
|
|||||||
background: url("../../assets/icons/calendar-input.svg") no-repeat 100% 50%
|
background: url("../../assets/icons/calendar-input.svg") no-repeat 100% 50%
|
||||||
&::-webkit-calendar-picker-indicator
|
&::-webkit-calendar-picker-indicator
|
||||||
opacity: 0
|
opacity: 0
|
||||||
|
cursor: pointer
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -43,4 +43,6 @@ export default {
|
|||||||
border-radius: 4px
|
border-radius: 4px
|
||||||
background-color: var(--default-white)
|
background-color: var(--default-white)
|
||||||
color: var(--font-black-color)
|
color: var(--font-black-color)
|
||||||
|
input::-webkit-calendar-picker-indicator
|
||||||
|
cursor: pointer
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -6,7 +6,8 @@
|
|||||||
:with-icon="true",
|
:with-icon="true",
|
||||||
icon-position="left",
|
icon-position="left",
|
||||||
v-model:value="searchClient",
|
v-model:value="searchClient",
|
||||||
placeholder="Введите фамилию"
|
placeholder="Введите фамилию",
|
||||||
|
@keyup.enter="searchLastName"
|
||||||
)
|
)
|
||||||
.icon-search
|
.icon-search
|
||||||
base-button.font-semibold(
|
base-button.font-semibold(
|
||||||
|
|||||||
@@ -410,17 +410,17 @@ export default {
|
|||||||
if (response.type) {
|
if (response.type) {
|
||||||
if (response.errors[0].code === "blank")
|
if (response.errors[0].code === "blank")
|
||||||
this.addErrorNotification(
|
this.addErrorNotification(
|
||||||
"Ошибка создания ДУЛ",
|
"Ошибка редактрирования ДУЛ",
|
||||||
"Часть паспортных данных не заполнена"
|
"Часть паспортных данных не заполнена"
|
||||||
);
|
);
|
||||||
if (response.errors[0].code === "Ошибка создания ДУЛ")
|
if (response.errors[0].code === "Ошибка редактрирования ДУЛ")
|
||||||
this.addErrorNotification(
|
this.addErrorNotification(
|
||||||
response.errors[0].code,
|
response.errors[0].code,
|
||||||
response.errors[0].detail
|
response.errors[0].detail
|
||||||
);
|
);
|
||||||
if (response?.errors[0].code === "invalid")
|
if (response?.errors[0].code === "invalid")
|
||||||
this.addErrorNotification(
|
this.addErrorNotification(
|
||||||
"Ошибка создания ДУЛ",
|
"Ошибка редактрирования ДУЛ",
|
||||||
"Дата выдачи паспорта не заполнена"
|
"Дата выдачи паспорта не заполнена"
|
||||||
);
|
);
|
||||||
} else this.addSuccessNotification("Изменения успешно сохранены", "");
|
} else this.addSuccessNotification("Изменения успешно сохранены", "");
|
||||||
|
|||||||
Reference in New Issue
Block a user