- 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
247 lines
5.7 KiB
JSON
247 lines
5.7 KiB
JSON
{
|
|
"summary": [
|
|
{
|
|
"name": "bid_tenders",
|
|
"title": "招标信息",
|
|
"primary": [
|
|
"id"
|
|
],
|
|
"catelog": "entity"
|
|
}
|
|
],
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"title": "主键ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no"
|
|
},
|
|
{
|
|
"name": "org_id",
|
|
"title": "机构ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"default": "0"
|
|
},
|
|
{
|
|
"name": "source",
|
|
"title": "信息来源",
|
|
"type": "str",
|
|
"length": 16,
|
|
"nullable": "no",
|
|
"default": "mail"
|
|
},
|
|
{
|
|
"name": "account_id",
|
|
"title": "邮箱配置ID",
|
|
"type": "str",
|
|
"length": 32
|
|
},
|
|
{
|
|
"name": "mail_uid",
|
|
"title": "邮件UID",
|
|
"type": "str",
|
|
"length": 64
|
|
},
|
|
{
|
|
"name": "mail_from",
|
|
"title": "发件人",
|
|
"type": "str",
|
|
"length": 255
|
|
},
|
|
{
|
|
"name": "mail_subject",
|
|
"title": "邮件主题",
|
|
"type": "str",
|
|
"length": 500
|
|
},
|
|
{
|
|
"name": "received_at",
|
|
"title": "收信时间",
|
|
"type": "timestamp"
|
|
},
|
|
{
|
|
"name": "raw_content",
|
|
"title": "邮件原文",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "attach_json",
|
|
"title": "附件清单(JSON)",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "title",
|
|
"title": "项目名称",
|
|
"type": "str",
|
|
"length": 255
|
|
},
|
|
{
|
|
"name": "purchaser",
|
|
"title": "招标人/采购人",
|
|
"type": "str",
|
|
"length": 255
|
|
},
|
|
{
|
|
"name": "tender_no",
|
|
"title": "招标编号",
|
|
"type": "str",
|
|
"length": 64
|
|
},
|
|
{
|
|
"name": "industry",
|
|
"title": "行业",
|
|
"type": "str",
|
|
"length": 64
|
|
},
|
|
{
|
|
"name": "summary",
|
|
"title": "内容摘要",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "bid_start_at",
|
|
"title": "投标开始时间",
|
|
"type": "date"
|
|
},
|
|
{
|
|
"name": "bid_deadline",
|
|
"title": "投标截止时间",
|
|
"type": "date"
|
|
},
|
|
{
|
|
"name": "project_period",
|
|
"title": "项目周期",
|
|
"type": "str",
|
|
"length": 64
|
|
},
|
|
{
|
|
"name": "budget_amount",
|
|
"title": "招标金额",
|
|
"type": "float",
|
|
"length": 18,
|
|
"dec": 2
|
|
},
|
|
{
|
|
"name": "deposit_amount",
|
|
"title": "投标保证金",
|
|
"type": "float",
|
|
"length": 18,
|
|
"dec": 2
|
|
},
|
|
{
|
|
"name": "qualification_req",
|
|
"title": "资质要求摘要",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "key_dates",
|
|
"title": "关键时间节点(JSON)",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "risk_note",
|
|
"title": "风险提示",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "status",
|
|
"title": "状态",
|
|
"type": "str",
|
|
"length": 16,
|
|
"nullable": "no",
|
|
"default": "new"
|
|
},
|
|
{
|
|
"name": "approval_task_id",
|
|
"title": "审批任务ID",
|
|
"type": "str",
|
|
"length": 32
|
|
},
|
|
{
|
|
"name": "project_id",
|
|
"title": "立项项目ID",
|
|
"type": "str",
|
|
"length": 32
|
|
},
|
|
{
|
|
"name": "archive_reason",
|
|
"title": "作废/存档原因",
|
|
"type": "str",
|
|
"length": 500
|
|
},
|
|
{
|
|
"name": "created_by",
|
|
"title": "创建人",
|
|
"type": "str",
|
|
"length": 32
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"title": "创建时间",
|
|
"type": "timestamp",
|
|
"nullable": "no"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"title": "更新时间",
|
|
"type": "timestamp"
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"name": "idx_bt_org",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"org_id"
|
|
]
|
|
},
|
|
{
|
|
"name": "idx_bt_status",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"status"
|
|
]
|
|
},
|
|
{
|
|
"name": "idx_bt_mailuid",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"mail_uid"
|
|
]
|
|
},
|
|
{
|
|
"name": "idx_bt_project",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"project_id"
|
|
]
|
|
},
|
|
{
|
|
"name": "idx_bt_deadline",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"bid_deadline"
|
|
]
|
|
}
|
|
],
|
|
"codes": [
|
|
{
|
|
"field": "status",
|
|
"table": "appcodes_kv",
|
|
"valuefield": "k",
|
|
"textfield": "v",
|
|
"cond": "parentid='bid_tender_status'"
|
|
},
|
|
{
|
|
"field": "source",
|
|
"table": "appcodes_kv",
|
|
"valuefield": "k",
|
|
"textfield": "v",
|
|
"cond": "parentid='bid_tender_source'"
|
|
}
|
|
]
|
|
}
|