Skip to content

Commit

Permalink
upload result v4
Browse files Browse the repository at this point in the history
  • Loading branch information
Wellheor1 committed Jul 3, 2024
1 parent ec45efb commit 5ee7d72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion l2-frontend/src/components/types-and-forms-file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default function typesAndForms() {
'api.contracts.forms100.form_01': { id: 'api.contracts.forms100.form_01', label: 'Загрузка цен по прайсу' },
},
PDF: {
'api.laboratory.forms100.form_01': { id: 'api.laboratory.forms100.form_01', label: 'Загрузка PDF результата' },
'api.laboratory.forms100.form_01': { id: 'api.laboratory.forms100.form_01', label: 'Загрузка PDF результата из QMS' },
},
});
// todo - режим UploadResult - получать по расширению файла - только функции связанные с сохранением результата (анализаторы)
Expand Down
3 changes: 2 additions & 1 deletion l2-frontend/src/ui-cards/LaboratoryHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
<li>
<UploadFileModal
title="Прикрепить результат"
:types-file="['PDF', 'XLSX']"
:types-file="['PDF']"
:forms-file="['api.laboratory.forms100.form_01']"
:upload-result="true"
/>
</li>
Expand Down

0 comments on commit 5ee7d72

Please sign in to comment.