pipeline-bidding/models/bid_qc_reviews.json
yumoqing 44f8c18ac3 feat(bidding): 产线起点改为上传招标文件+解析产出QC契合度审核门禁
清理(前三步归商机产线):
- 删邮箱采集: bid_mail.py/bid_mail_accounts表与页面/首页按钮
- 删招标审批状态机: TD_*/HT_TENDER_APPROVAL/摘要审批工具族
- bid_tenders瘦身为解析抽取的商务要素(去邮件字段)

QC契合度审核:
- 新表bid_qc_reviews(qc_type/round/fit_score/pass_score/passed/improvement)
- bid_qc_capability: start_qc/finish_qc/list_qc/qc_report, 四类产出逐类审核
- 判定: 10分制打分, >9.5放行(参数bid_qc_pass_score); 不通过给改进意见
  +清空产出+对账器重派解析任务带意见重做; 超轮次抛qc_escalation人工
- bid_flow对账器A2门禁阶段: 幂等/在办去重/轮次守卫/重做不计首跑上限
- 驾驶舱: qc_report工具+解析QC审核菜单; 参数读appbase表+默认兜底
2026-08-31 13:37:49 +08:00

130 lines
2.9 KiB
JSON

{
"summary": [
{
"name": "bid_qc_reviews",
"title": "解析产出QC审核记录",
"primary": [
"id"
],
"catelog": "entity"
}
],
"fields": [
{
"name": "id",
"title": "主键ID",
"type": "str",
"length": 32,
"nullable": "no"
},
{
"name": "project_id",
"title": "项目ID",
"type": "str",
"length": 32,
"nullable": "no"
},
{
"name": "qc_type",
"title": "审核对象",
"type": "str",
"length": 32,
"nullable": "no"
},
{
"name": "round",
"title": "审核轮次",
"type": "int",
"nullable": "no",
"default": "1"
},
{
"name": "reviewer",
"title": "审核方",
"type": "str",
"length": 64
},
{
"name": "review_type",
"title": "审核类型",
"type": "str",
"length": 16,
"default": "agent"
},
{
"name": "fit_score",
"title": "契合度得分(10分制)",
"type": "float",
"length": 4,
"dec": 2
},
{
"name": "pass_score",
"title": "通过分",
"type": "float",
"length": 4,
"dec": 2
},
{
"name": "passed",
"title": "是否通过",
"type": "str",
"length": 1,
"nullable": "no",
"default": "0"
},
{
"name": "improvement",
"title": "改进意见",
"type": "text"
},
{
"name": "comments",
"title": "审核说明",
"type": "text"
},
{
"name": "task_id",
"title": "关联任务ID",
"type": "str",
"length": 32
},
{
"name": "created_at",
"title": "创建时间",
"type": "timestamp",
"nullable": "no"
},
{
"name": "updated_at",
"title": "更新时间",
"type": "timestamp"
}
],
"indexes": [
{
"name": "idx_bqr_project",
"idxtype": "index",
"idxfields": [
"project_id"
]
},
{
"name": "idx_bqr_type",
"idxtype": "index",
"idxfields": [
"qc_type"
]
}
],
"codes": [
{
"field": "qc_type",
"table": "appcodes_kv",
"valuefield": "k",
"textfield": "v",
"cond": "parentid='bid_qc_type'"
}
]
}