feat(addendum): 补遗追加(FR-M2-10)
- 招标文件解析后可以追加补遗 / 澄清:单独解析、扣 1 次;新条目标「补遗 N」进正式清单,清单回到草稿(AD1)
- 同一种日期、时间不同的旧条目标「已被补遗 N 更新」,逐条确认更新或保留两条(AD2、AD3)
- 项目字段的新值在概览「采用 / 不采用」:采用时以补遗为准、清掉人工值;采用截止时间时日期条目一起确认;
没确认前查标用旧值,检查预览提示(AD4)
- 补遗不改项目名称、编号、采购人、代理机构、法律体系(更正公告标题会被抽成项目名称);时间比较按北京时间补时区
- 接口:fields/{key}/pending、checklist-items/{id}/supersession;清单项 origin_document、superseded_by;
关键日期 replaces;解析结果 dates_superseded、fields_pending;检查预览 pending_updates
- 前端:补遗模式的上传页、解析页结果、概览确认、读标页来源筛选和日期确认、检查预览提示
- 决策 AD1–AD6;方案和落地记录 docs/architecture/addendum-plan.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2260,6 +2260,13 @@ components:
|
||||
kind: { type: string, enum: [question_deadline, bid_deadline, opening, deposit_deadline, validity, other] }
|
||||
at: { $ref: '#/components/schemas/Timestamp' }
|
||||
edited: { type: boolean, description: 人工改过(投标截止时间按项目字段的人工值显示) }
|
||||
replaces:
|
||||
type: [object, 'null']
|
||||
description: 已按补遗确认更新:原来的时间和带来新值的文件(「已按补遗 1 更新 · 原为……」)
|
||||
required: [at, document_label]
|
||||
properties:
|
||||
at: { type: string }
|
||||
document_label: { type: string }
|
||||
superseded_pending: { type: boolean, description: 补遗带来了新值、等用户确认 }
|
||||
latest_check_run_id:
|
||||
oneOf:
|
||||
@@ -2514,6 +2521,8 @@ components:
|
||||
items_pending: { type: integer }
|
||||
items_absent: { type: integer, description: 重新解析时没再出现的旧条目 }
|
||||
lots_found: { type: integer }
|
||||
dates_superseded: { type: integer, description: 补遗:更早文件里有几条日期条目被标「已被补遗 N 更新」(FR-M2-10) }
|
||||
fields_pending: { type: integer, description: 补遗:项目字段里有几个新值等确认 }
|
||||
verify_failures:
|
||||
type: object
|
||||
description: 没通过校验的原因码和条数(如 quote_too_short、value_unverified),评测和排查用
|
||||
@@ -2691,6 +2700,13 @@ components:
|
||||
lot_no: { type: [string, 'null'], description: 空表示各包通用 }
|
||||
origin: { $ref: '#/components/schemas/Origin' }
|
||||
origin_label: { type: string, description: '如「AI」「人工添加」「补遗 1」' }
|
||||
origin_document:
|
||||
type: [object, 'null']
|
||||
description: 来自哪份招标侧文件(招标文件、补遗 N、澄清 N);人工添加的为 null
|
||||
required: [id, label]
|
||||
properties:
|
||||
id: { $ref: '#/components/schemas/Id' }
|
||||
label: { type: string }
|
||||
zone: { $ref: '#/components/schemas/Zone' }
|
||||
pending_reason:
|
||||
oneOf:
|
||||
@@ -2772,6 +2788,7 @@ components:
|
||||
description: 24 小时免扣窗口的结束时间(从上一次扣点的检查算起,P1)
|
||||
checklist_confirmed: { type: boolean, description: 为 false 时提示「清单未确认,检查结果以当前清单为准」 }
|
||||
pending_item_count: { type: integer, description: 待确认区条目不参与检查 }
|
||||
pending_updates: { type: integer, description: 补遗带来的新值、日期更新还没确认的处数;查标用旧值(AD4),只提示、不阻止 }
|
||||
bid_documents:
|
||||
type: array
|
||||
description: 默认用每个分册的最新版本
|
||||
|
||||
Reference in New Issue
Block a user