Repository navigation
Resolve "UI гос-флоу" - #107
Merged
Merged
Conversation
- ApplicationsPage (/applications): list of applications with status filter (draft/submitted/approved/rejected), object name, kind, submitter, dates; click-through decision card with draft object data and lifecycle state - manager: «Согласовать»/«Отклонить» call existing decide() endpoint; on approve the card shows the stub ECP signature (cert_subject), the generated approval order PDF (download link) and that the object became published - engineer: sees only own applications, no decision buttons - ties into parse screen (#24): submitted applications appear in this list - additive: route + nav entry (nav.govflow/govflow.title in ru/kk/en); new component + scoped CSS; shared map/header/dicts not rewritten - API: ApplicationSerializer gains read-only structure_name/submitted_by_username/ reviewer_username; serve /media in DEBUG so the order PDF is downloadable
Resolve "UI гос-флоу"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #30
Что сделано
Экраны гос-флоу вокруг заявок (workflow Application/Signature/ApprovalOrder, всё уже в API): список заявок, карточка с данными объекта-черновика и согласование руководителем.
Основные изменения
ApplicationsPage(роут/applications): список заявок со статусами (draft/submitted/approved/rejected) и фильтром по статусу; объект, тип, заявитель, дата подачи. Карточка заявки: данные объекта-черновика (год ввода, износ, ответственная орг.), кто подал и когда, жизненный цикл объекта.decide(). После согласования карточка показывает: подпись ЭЦП-заглушки (cert_subject), сгенерированный PDF-приказ (ссылка на скачиваниеApprovalOrder), статус объектаpublished.ApplicationSerializerполучает read-only поляstructure_name/submitted_by_username/reviewer_username; отдача/mediaв DEBUG, чтобы PDF-приказ скачивался.Зачем это сделано
Замыкает M5: руководитель проводит заявку через согласование с ЭЦП-заглушкой и приказом, объект публикуется — весь гос-флоу виден в UI кликами.