yumoqing 19a3d67c68 feat: 投标产线模块(bidding_general)
- 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
2026-08-26 23:45:03 +08:00

307 lines
6.0 KiB
XML

{
"widgettype":"VBox",
"options":{"height":"100%","width":"100%"},
"subwidgets":[
{
"id":"bid_mail_accounts_tbl",
"widgettype":"Tabular",
"options":{
"width":"100%",
"height":"100%",
"title":"招标邮箱配置",
"toolbar":{
"tools": []
},
"css":"card",
"editable":{
"new_data_url": "{{entire_url('add_bid_mail_accounts.dspy')}}",
"delete_data_url": "{{entire_url('delete_bid_mail_accounts.dspy')}}",
"update_data_url": "{{entire_url('update_bid_mail_accounts.dspy')}}"
},
"data_url":"{{entire_url('./get_bid_mail_accounts.dspy')}}",
"data_method":"GET",
"data_params":{{json.dumps(params_kw, indent=4, ensure_ascii=False)}},
"row_options":{
"browserfields": {
"exclouded": [
"password",
"last_uid"
]
},
"editexclouded":[
"id",
"created_at",
"updated_at",
"last_uid",
"last_fetch_at"
],
"fields":[
{
"name": "id",
"title": "主键ID",
"type": "str",
"length": 32,
"nullable": "no",
"cwidth": 18,
"uitype": "str",
"datatype": "str",
"label": "主键ID"
},
{
"name": "org_id",
"title": "机构ID",
"type": "str",
"length": 32,
"nullable": "no",
"default": "0",
"cwidth": 18,
"uitype": "str",
"datatype": "str",
"label": "机构ID"
},
{
"name": "account_name",
"title": "配置名称",
"type": "str",
"length": 128,
"nullable": "no",
"cwidth": 18,
"uitype": "str",
"datatype": "str",
"label": "配置名称"
},
{
"name": "protocol",
"title": "协议",
"type": "str",
"length": 16,
"nullable": "no",
"default": "imap",
"cwidth": 16,
"uitype": "str",
"datatype": "str",
"label": "协议"
},
{
"name": "host",
"title": "服务器地址",
"type": "str",
"length": 128,
"nullable": "no",
"cwidth": 18,
"uitype": "str",
"datatype": "str",
"label": "服务器地址"
},
{
"name": "port",
"title": "端口",
"type": "int",
"nullable": "no",
"default": "993",
"length": 0,
"uitype": "int",
"datatype": "int",
"label": "端口"
},
{
"name": "use_ssl",
"title": "使用SSL",
"type": "str",
"length": 1,
"nullable": "no",
"default": "1",
"cwidth": 4,
"uitype": "str",
"datatype": "str",
"label": "使用SSL"
},
{
"name": "username",
"title": "登录账号",
"type": "str",
"length": 128,
"nullable": "no",
"cwidth": 18,
"uitype": "str",
"datatype": "str",
"label": "登录账号"
},
{
"name": "password",
"title": "登录密码(AES加密)",
"type": "str",
"length": 500,
"nullable": "no",
"cwidth": 18,
"uitype": "str",
"datatype": "str",
"label": "登录密码(AES加密)"
},
{
"name": "folder",
"title": "邮件目录",
"type": "str",
"length": 64,
"default": "INBOX",
"cwidth": 18,
"uitype": "str",
"datatype": "str",
"label": "邮件目录"
},
{
"name": "filter_keywords",
"title": "招标关键词(逗号分隔)",
"type": "str",
"length": 500,
"cwidth": 18,
"uitype": "str",
"datatype": "str",
"label": "招标关键词(逗号分隔)"
},
{
"name": "fetch_days",
"title": "回溯天数",
"type": "int",
"default": "7",
"length": 0,
"uitype": "int",
"datatype": "int",
"label": "回溯天数"
},
{
"name": "last_uid",
"title": "上次同步UID",
"type": "str",
"length": 64,
"cwidth": 18,
"uitype": "str",
"datatype": "str",
"label": "上次同步UID"
},
{
"name": "last_fetch_at",
"title": "上次同步时间",
"type": "timestamp",
"length": 0,
"uitype": "str",
"datatype": "timestamp",
"label": "上次同步时间"
},
{
"name": "enabled",
"title": "启用",
"type": "str",
"length": 1,
"nullable": "no",
"default": "1",
"cwidth": 4,
"uitype": "str",
"datatype": "str",
"label": "启用"
},
{
"name": "status",
"title": "状态",
"type": "str",
"length": 16,
"default": "active",
"cwidth": 16,
"uitype": "str",
"datatype": "str",
"label": "状态"
},
{
"name": "created_by",
"title": "创建人",
"type": "str",
"length": 32,
"cwidth": 18,
"uitype": "str",
"datatype": "str",
"label": "创建人"
},
{
"name": "created_at",
"title": "创建时间",
"type": "timestamp",
"nullable": "no",
"length": 0,
"uitype": "str",
"datatype": "timestamp",
"label": "创建时间"
},
{
"name": "updated_at",
"title": "更新时间",
"type": "timestamp",
"length": 0,
"uitype": "str",
"datatype": "timestamp",
"label": "更新时间"
}
]
},
"search_form":{
"css":"card",
"padding":"8px",
"show_label":false,
"submit_label":"搜索",
"submit_css":"primary",
"fields":[
{
"name": "name_input",
"uitype": "str",
"placeholder": "配置名称",
"cwidth": 15
},
{
"name": "enabled_input",
"uitype": "str",
"placeholder": "启用",
"cwidth": 15
}
]
},
"page_rows":160,
"cache_limit":5
}
,"binds":[]
}]
}