- 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
445 lines
9.6 KiB
XML
445 lines
9.6 KiB
XML
|
|
{
|
|
"widgettype":"VBox",
|
|
"options":{"height":"100%","width":"100%"},
|
|
"subwidgets":[
|
|
{
|
|
"id":"bid_tenders_tbl",
|
|
"widgettype":"Tabular",
|
|
"options":{
|
|
"width":"100%",
|
|
"height":"100%",
|
|
|
|
|
|
"title":"招标信息",
|
|
|
|
|
|
|
|
|
|
"toolbar":{
|
|
"tools": []
|
|
},
|
|
|
|
"css":"card",
|
|
|
|
|
|
"editable":{
|
|
|
|
"new_data_url": "{{entire_url('add_bid_tenders.dspy')}}",
|
|
|
|
|
|
"delete_data_url": "{{entire_url('delete_bid_tenders.dspy')}}",
|
|
|
|
|
|
"update_data_url": "{{entire_url('update_bid_tenders.dspy')}}"
|
|
|
|
|
|
},
|
|
|
|
|
|
"data_url":"{{entire_url('./get_bid_tenders.dspy')}}",
|
|
|
|
"data_method":"GET",
|
|
"data_params":{{json.dumps(params_kw, indent=4, ensure_ascii=False)}},
|
|
"row_options":{
|
|
|
|
|
|
|
|
"browserfields": {
|
|
"exclouded": [
|
|
"raw_content",
|
|
"attach_json",
|
|
"key_dates",
|
|
"org_id",
|
|
"account_id",
|
|
"mail_uid",
|
|
"risk_note"
|
|
]
|
|
},
|
|
|
|
|
|
"editexclouded":[
|
|
"id",
|
|
"created_at",
|
|
"updated_at",
|
|
"approval_task_id",
|
|
"project_id"
|
|
],
|
|
|
|
"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": "source",
|
|
"title": "信息来源",
|
|
"type": "str",
|
|
"length": 16,
|
|
"nullable": "no",
|
|
"default": "mail",
|
|
"label": "信息来源",
|
|
"uitype": "code",
|
|
"valueField": "source",
|
|
"textField": "source_text",
|
|
"params": {
|
|
"dbname": "{{get_module_dbname('pipeline_bidding')}}",
|
|
"table": "appcodes_kv",
|
|
"tblvalue": "k",
|
|
"tbltext": "v",
|
|
"valueField": "source",
|
|
"textField": "source_text",
|
|
"cond": "parentid='bid_tender_source'"
|
|
},
|
|
"dataurl": "{{entire_url('/appbase/get_code.dspy')}}"
|
|
},
|
|
{
|
|
"name": "account_id",
|
|
"title": "邮箱配置ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"cwidth": 18,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "邮箱配置ID"
|
|
},
|
|
{
|
|
"name": "mail_uid",
|
|
"title": "邮件UID",
|
|
"type": "str",
|
|
"length": 64,
|
|
"cwidth": 18,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "邮件UID"
|
|
},
|
|
{
|
|
"name": "mail_from",
|
|
"title": "发件人",
|
|
"type": "str",
|
|
"length": 255,
|
|
"cwidth": 18,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "发件人"
|
|
},
|
|
{
|
|
"name": "mail_subject",
|
|
"title": "邮件主题",
|
|
"type": "str",
|
|
"length": 500,
|
|
"cwidth": 18,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "邮件主题"
|
|
},
|
|
{
|
|
"name": "received_at",
|
|
"title": "收信时间",
|
|
"type": "timestamp",
|
|
"length": 0,
|
|
"uitype": "str",
|
|
"datatype": "timestamp",
|
|
"label": "收信时间"
|
|
},
|
|
{
|
|
"name": "raw_content",
|
|
"title": "邮件原文",
|
|
"type": "text",
|
|
"length": 0,
|
|
"uitype": "text",
|
|
"datatype": "text",
|
|
"label": "邮件原文"
|
|
},
|
|
{
|
|
"name": "attach_json",
|
|
"title": "附件清单(JSON)",
|
|
"type": "text",
|
|
"length": 0,
|
|
"uitype": "text",
|
|
"datatype": "text",
|
|
"label": "附件清单(JSON)"
|
|
},
|
|
{
|
|
"name": "title",
|
|
"title": "项目名称",
|
|
"type": "str",
|
|
"length": 255,
|
|
"cwidth": 18,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "项目名称"
|
|
},
|
|
{
|
|
"name": "purchaser",
|
|
"title": "招标人/采购人",
|
|
"type": "str",
|
|
"length": 255,
|
|
"cwidth": 18,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "招标人/采购人"
|
|
},
|
|
{
|
|
"name": "tender_no",
|
|
"title": "招标编号",
|
|
"type": "str",
|
|
"length": 64,
|
|
"cwidth": 18,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "招标编号"
|
|
},
|
|
{
|
|
"name": "industry",
|
|
"title": "行业",
|
|
"type": "str",
|
|
"length": 64,
|
|
"cwidth": 18,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "行业"
|
|
},
|
|
{
|
|
"name": "summary",
|
|
"title": "内容摘要",
|
|
"type": "text",
|
|
"length": 0,
|
|
"uitype": "text",
|
|
"datatype": "text",
|
|
"label": "内容摘要"
|
|
},
|
|
{
|
|
"name": "bid_start_at",
|
|
"title": "投标开始时间",
|
|
"type": "date",
|
|
"length": 0,
|
|
"uitype": "date",
|
|
"datatype": "date",
|
|
"label": "投标开始时间"
|
|
},
|
|
{
|
|
"name": "bid_deadline",
|
|
"title": "投标截止时间",
|
|
"type": "date",
|
|
"length": 0,
|
|
"uitype": "date",
|
|
"datatype": "date",
|
|
"label": "投标截止时间"
|
|
},
|
|
{
|
|
"name": "project_period",
|
|
"title": "项目周期",
|
|
"type": "str",
|
|
"length": 64,
|
|
"cwidth": 18,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "项目周期"
|
|
},
|
|
{
|
|
"name": "budget_amount",
|
|
"title": "招标金额",
|
|
"type": "float",
|
|
"length": 18,
|
|
"dec": 2,
|
|
"cwidth": 18,
|
|
"uitype": "float",
|
|
"datatype": "float",
|
|
"label": "招标金额"
|
|
},
|
|
{
|
|
"name": "deposit_amount",
|
|
"title": "投标保证金",
|
|
"type": "float",
|
|
"length": 18,
|
|
"dec": 2,
|
|
"cwidth": 18,
|
|
"uitype": "float",
|
|
"datatype": "float",
|
|
"label": "投标保证金"
|
|
},
|
|
{
|
|
"name": "qualification_req",
|
|
"title": "资质要求摘要",
|
|
"type": "text",
|
|
"length": 0,
|
|
"uitype": "text",
|
|
"datatype": "text",
|
|
"label": "资质要求摘要"
|
|
},
|
|
{
|
|
"name": "key_dates",
|
|
"title": "关键时间节点(JSON)",
|
|
"type": "text",
|
|
"length": 0,
|
|
"uitype": "text",
|
|
"datatype": "text",
|
|
"label": "关键时间节点(JSON)"
|
|
},
|
|
{
|
|
"name": "risk_note",
|
|
"title": "风险提示",
|
|
"type": "text",
|
|
"length": 0,
|
|
"uitype": "text",
|
|
"datatype": "text",
|
|
"label": "风险提示"
|
|
},
|
|
{
|
|
"name": "status",
|
|
"title": "状态",
|
|
"type": "str",
|
|
"length": 16,
|
|
"nullable": "no",
|
|
"default": "new",
|
|
"label": "状态",
|
|
"uitype": "code",
|
|
"valueField": "status",
|
|
"textField": "status_text",
|
|
"params": {
|
|
"dbname": "{{get_module_dbname('pipeline_bidding')}}",
|
|
"table": "appcodes_kv",
|
|
"tblvalue": "k",
|
|
"tbltext": "v",
|
|
"valueField": "status",
|
|
"textField": "status_text",
|
|
"cond": "parentid='bid_tender_status'"
|
|
},
|
|
"dataurl": "{{entire_url('/appbase/get_code.dspy')}}"
|
|
},
|
|
{
|
|
"name": "approval_task_id",
|
|
"title": "审批任务ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"cwidth": 18,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "审批任务ID"
|
|
},
|
|
{
|
|
"name": "project_id",
|
|
"title": "立项项目ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"cwidth": 18,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "立项项目ID"
|
|
},
|
|
{
|
|
"name": "archive_reason",
|
|
"title": "作废/存档原因",
|
|
"type": "str",
|
|
"length": 500,
|
|
"cwidth": 18,
|
|
"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": "title_input",
|
|
"uitype": "str",
|
|
"placeholder": "项目名称",
|
|
"cwidth": 15
|
|
},
|
|
{
|
|
"name": "status_input",
|
|
"uitype": "code",
|
|
"placeholder": "状态",
|
|
"cwidth": 15,
|
|
"valueField": "status_input",
|
|
"textField": "status_input_text",
|
|
"params": {
|
|
"dbname": "{{get_module_dbname('pipeline_bidding')}}",
|
|
"table": "appcodes_kv",
|
|
"tblvalue": "k",
|
|
"tbltext": "v",
|
|
"valueField": "status_input",
|
|
"textField": "status_input_text",
|
|
"cond": "parentid='bid_tender_status'"
|
|
},
|
|
"dataurl": "{{entire_url('/appbase/get_code.dspy')}}?prepend_all=1"
|
|
},
|
|
{
|
|
"name": "purchaser_input",
|
|
"uitype": "str",
|
|
"placeholder": "招标人/采购人",
|
|
"cwidth": 15
|
|
}
|
|
]
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
"page_rows":160,
|
|
"cache_limit":5
|
|
}
|
|
|
|
,"binds":[]
|
|
|
|
}]
|
|
} |