- 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
275 lines
5.6 KiB
XML
275 lines
5.6 KiB
XML
|
|
{
|
|
"widgettype":"VBox",
|
|
"options":{"height":"100%","width":"100%"},
|
|
"subwidgets":[
|
|
{
|
|
"id":"bid_scoring_items_tbl",
|
|
"widgettype":"Tabular",
|
|
"options":{
|
|
"width":"100%",
|
|
"height":"100%",
|
|
|
|
|
|
"title":"评分项与得分规则",
|
|
|
|
|
|
|
|
|
|
"toolbar":{
|
|
"tools": []
|
|
},
|
|
|
|
"css":"card",
|
|
|
|
|
|
"editable":{
|
|
|
|
"new_data_url": "{{entire_url('add_bid_scoring_items.dspy')}}",
|
|
|
|
|
|
"delete_data_url": "{{entire_url('delete_bid_scoring_items.dspy')}}",
|
|
|
|
|
|
"update_data_url": "{{entire_url('update_bid_scoring_items.dspy')}}"
|
|
|
|
|
|
},
|
|
|
|
|
|
"data_url":"{{entire_url('./get_bid_scoring_items.dspy')}}",
|
|
|
|
"data_method":"GET",
|
|
"data_params":{{json.dumps(params_kw, indent=4, ensure_ascii=False)}},
|
|
"row_options":{
|
|
|
|
|
|
|
|
"browserfields": {
|
|
"exclouded": []
|
|
},
|
|
|
|
|
|
"editexclouded":[
|
|
"id",
|
|
"created_at",
|
|
"updated_at"
|
|
],
|
|
|
|
"fields":[
|
|
{
|
|
"name": "id",
|
|
"title": "主键ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"cwidth": 18,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "主键ID"
|
|
},
|
|
{
|
|
"name": "project_id",
|
|
"title": "项目ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"cwidth": 18,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "项目ID"
|
|
},
|
|
{
|
|
"name": "section",
|
|
"title": "评分部分",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"default": "technical",
|
|
"label": "评分部分",
|
|
"uitype": "code",
|
|
"valueField": "section",
|
|
"textField": "section_text",
|
|
"params": {
|
|
"dbname": "{{get_module_dbname('pipeline_bidding')}}",
|
|
"table": "appcodes_kv",
|
|
"tblvalue": "k",
|
|
"tbltext": "v",
|
|
"valueField": "section",
|
|
"textField": "section_text",
|
|
"cond": "parentid='bid_scoring_section'"
|
|
},
|
|
"dataurl": "{{entire_url('/appbase/get_code.dspy')}}"
|
|
},
|
|
{
|
|
"name": "item_no",
|
|
"title": "评分项编号",
|
|
"type": "str",
|
|
"length": 32,
|
|
"cwidth": 18,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "评分项编号"
|
|
},
|
|
{
|
|
"name": "item_name",
|
|
"title": "评分项名称",
|
|
"type": "str",
|
|
"length": 255,
|
|
"nullable": "no",
|
|
"cwidth": 18,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "评分项名称"
|
|
},
|
|
{
|
|
"name": "max_score",
|
|
"title": "满分",
|
|
"type": "float",
|
|
"length": 8,
|
|
"dec": 2,
|
|
"nullable": "no",
|
|
"default": "0",
|
|
"cwidth": 8,
|
|
"uitype": "float",
|
|
"datatype": "float",
|
|
"label": "满分"
|
|
},
|
|
{
|
|
"name": "scoring_rule",
|
|
"title": "得分规则",
|
|
"type": "text",
|
|
"length": 0,
|
|
"uitype": "text",
|
|
"datatype": "text",
|
|
"label": "得分规则"
|
|
},
|
|
{
|
|
"name": "is_veto",
|
|
"title": "否决项",
|
|
"type": "str",
|
|
"length": 1,
|
|
"nullable": "no",
|
|
"default": "0",
|
|
"cwidth": 4,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "否决项"
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"title": "权重",
|
|
"type": "float",
|
|
"length": 8,
|
|
"dec": 4,
|
|
"cwidth": 8,
|
|
"uitype": "float",
|
|
"datatype": "float",
|
|
"label": "权重"
|
|
},
|
|
{
|
|
"name": "source_ref",
|
|
"title": "招标文件出处",
|
|
"type": "str",
|
|
"length": 500,
|
|
"cwidth": 18,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "招标文件出处"
|
|
},
|
|
{
|
|
"name": "target_chapter_no",
|
|
"title": "对应章节号",
|
|
"type": "str",
|
|
"length": 32,
|
|
"cwidth": 18,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "对应章节号"
|
|
},
|
|
{
|
|
"name": "order_no",
|
|
"title": "排序",
|
|
"type": "int",
|
|
"default": "0",
|
|
"length": 0,
|
|
"uitype": "int",
|
|
"datatype": "int",
|
|
"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": "project_id",
|
|
"uitype": "str",
|
|
"placeholder": "项目ID",
|
|
"cwidth": 15
|
|
},
|
|
{
|
|
"name": "section_input",
|
|
"uitype": "code",
|
|
"placeholder": "评分部分",
|
|
"cwidth": 15,
|
|
"valueField": "section_input",
|
|
"textField": "section_input_text",
|
|
"params": {
|
|
"dbname": "{{get_module_dbname('pipeline_bidding')}}",
|
|
"table": "appcodes_kv",
|
|
"tblvalue": "k",
|
|
"tbltext": "v",
|
|
"valueField": "section_input",
|
|
"textField": "section_input_text",
|
|
"cond": "parentid='bid_scoring_section'"
|
|
},
|
|
"dataurl": "{{entire_url('/appbase/get_code.dspy')}}?prepend_all=1"
|
|
},
|
|
{
|
|
"name": "name_input",
|
|
"uitype": "str",
|
|
"placeholder": "评分项名称",
|
|
"cwidth": 15
|
|
}
|
|
]
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
"page_rows":160,
|
|
"cache_limit":5
|
|
}
|
|
|
|
,"binds":[]
|
|
|
|
}]
|
|
} |