pipeline-opportunity/models/opp_reports.json
yumoqing 4092304726 feat(feasibility): P3可行性研究——opp_feasibility引擎(fp_estimate规则引擎FP/draft_feasibility八节报告/score_candidate评分/promote_to_project立项门禁)+report_type列(models/DDL/CRUD重生成)+详情页与PPT按类型选四节或八节模板(sections_for_type单一规则源)+列表类型徽标+prompt链路C+params/demand_mining字典种子+i18n词条
- fp_calc.calc()返回键实锤核对: total_fp/counts/errors(原total_ufp/by_type兜底猜错,已修)
- promote门禁修正: resolve_approval会把status置approved,confirmed只是中间态→门禁接受confirmed/approval_initiated/approved(原只认confirmed会导致审批通过后反而不能立项)
- _cluster_ctx补项目隔离(对齐_check_batch_visible口径)+全personal类别如实拒绝可行性样本不足
- 八节模板兜底节=需求规格;四节存量解析口径零变化
- opp_approvals CRUD手改(项目过滤)被xls2ui重生成吃掉→已checkout还原,只保留opp_reports新列部分
2026-09-14 09:03:58 +08:00

97 lines
2.2 KiB
JSON

{
"summary": [
{
"name": "opp_reports",
"title": "研发报告",
"primary": [
"id"
],
"catelog": "entity"
}
],
"fields": [
{
"name": "id",
"title": "主键ID",
"type": "str",
"length": 32,
"nullable": "no"
},
{
"name": "project_id",
"title": "项目ID",
"type": "str",
"length": 32
},
{
"name": "software",
"title": "软件/主题",
"type": "str",
"length": 128,
"nullable": "no"
},
{
"name": "title",
"title": "报告标题",
"type": "str",
"length": 255,
"nullable": "no"
},
{
"name": "content",
"title": "报告正文",
"type": "text"
},
{
"name": "status",
"title": "报告状态",
"type": "str",
"length": 24,
"nullable": "no",
"default": "draft"
},
{
"name": "report_type",
"title": "报告类型(research调研/feasibility可行性研究)",
"type": "str",
"length": 16,
"default": "research"
},
{
"name": "confirm_task_id",
"title": "确认任务ID",
"type": "str",
"length": 32
},
{
"name": "ppt_path",
"title": "PPT文件路径",
"type": "str",
"length": 500
},
{
"name": "confirmed_by",
"title": "确认人",
"type": "str",
"length": 64
},
{
"name": "created_by",
"title": "创建人",
"type": "str",
"length": 64
},
{
"name": "created_at",
"title": "创建时间",
"type": "timestamp",
"nullable": "no"
},
{
"name": "updated_at",
"title": "更新时间",
"type": "timestamp"
}
]
}