Новая логика поисковой выдачи

И добавлена кнопка Добавить карту в архив
This commit is contained in:
brusnitsyn
2025-12-26 17:41:25 +09:00
parent 329304076d
commit c5c1a2b3e1
14 changed files with 508 additions and 38 deletions

View File

@@ -44,7 +44,7 @@ const orgs = ref([])
const onResetData = () => {
archiveHistory.value = {
archive_info_id: props.archiveHistoryId,
history_id: props.archiveHistoryId,
type: props.type,
issue_at: null,
org_id: null,
@@ -111,7 +111,7 @@ watch(() => props.archiveHistoryId, async (newId) => {
</script>
<template>
<NModal v-model:show="open" preset="card" class="max-w-2xl relative" closable @close="onCloseWithoutSave">
<NModal v-model:show="open" preset="card" class="max-w-2xl relative overflow-clip" closable @close="onCloseWithoutSave">
<template #header>
{{ isCreateNew ? 'Добавить' : 'Редактировать' }} запись выдачи
</template>
@@ -153,7 +153,7 @@ watch(() => props.archiveHistoryId, async (newId) => {
</NFlex>
</template>
<div v-show="loading" class="absolute inset-0 z-10 bg-white flex items-center justify-center">
<div v-show="loading" class="absolute inset-0 z-10 backdrop-blur flex items-center justify-center">
<NSpin :show="true" />
</div>
</NModal>