- 12张 bid_* 表(models+DDL+CRUD):招标信息/邮箱配置/人员/招标文件/评分项/资质/ 投标文件要求/章节/评审/评分/知识库/标书 - 7个角色能力模块(bid_*_capability):采集摘要/解析/知识库资质/编写/评审/合成/评分 - bid_flow 状态对账器:角色任务唯一创建者+阻塞门禁(源头守门,引擎零特判) - bid_mail:阿里云企业邮 IMAP 采集(凭据存DB AES,客户端专用密码兼容) - 能力包注册(bid_ability)+ 角色工具自注册(role_tool_schemas) - 技能:6 common 状态机/规范 + 9 角色技能(pipelines/bidding_general,随 pipeline-core 部署) - i18n(zh/en)、init/data.json(appcodes+pipelines记录)、build.sh、RBAC load_path
157 lines
3.5 KiB
JSON
157 lines
3.5 KiB
JSON
{
|
|
"summary": [
|
|
{
|
|
"name": "bid_reviews",
|
|
"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,
|
|
"nullable": "no"
|
|
},
|
|
{
|
|
"name": "scope",
|
|
"title": "评审范围",
|
|
"type": "str",
|
|
"length": 16,
|
|
"nullable": "no",
|
|
"default": "chapter"
|
|
},
|
|
{
|
|
"name": "chapter_id",
|
|
"title": "章节ID",
|
|
"type": "str",
|
|
"length": 32
|
|
},
|
|
{
|
|
"name": "document_id",
|
|
"title": "标书ID",
|
|
"type": "str",
|
|
"length": 32
|
|
},
|
|
{
|
|
"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": "score",
|
|
"title": "得分",
|
|
"type": "float",
|
|
"length": 8,
|
|
"dec": 2
|
|
},
|
|
{
|
|
"name": "max_score",
|
|
"title": "满分",
|
|
"type": "float",
|
|
"length": 8,
|
|
"dec": 2
|
|
},
|
|
{
|
|
"name": "pass_ratio",
|
|
"title": "通过门限",
|
|
"type": "float",
|
|
"length": 5,
|
|
"dec": 4
|
|
},
|
|
{
|
|
"name": "passed",
|
|
"title": "是否通过",
|
|
"type": "str",
|
|
"length": 1,
|
|
"nullable": "no",
|
|
"default": "0"
|
|
},
|
|
{
|
|
"name": "comments",
|
|
"title": "改进意见",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "detail",
|
|
"title": "评审明细(JSON)",
|
|
"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_br_project",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"project_id"
|
|
]
|
|
},
|
|
{
|
|
"name": "idx_br_scope",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"scope"
|
|
]
|
|
},
|
|
{
|
|
"name": "idx_br_chapter",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"chapter_id"
|
|
]
|
|
}
|
|
],
|
|
"codes": [
|
|
{
|
|
"field": "scope",
|
|
"table": "appcodes_kv",
|
|
"valuefield": "k",
|
|
"textfield": "v",
|
|
"cond": "parentid='bid_review_scope'"
|
|
}
|
|
]
|
|
}
|