清理(前三步归商机产线): - 删邮箱采集: bid_mail.py/bid_mail_accounts表与页面/首页按钮 - 删招标审批状态机: TD_*/HT_TENDER_APPROVAL/摘要审批工具族 - bid_tenders瘦身为解析抽取的商务要素(去邮件字段) QC契合度审核: - 新表bid_qc_reviews(qc_type/round/fit_score/pass_score/passed/improvement) - bid_qc_capability: start_qc/finish_qc/list_qc/qc_report, 四类产出逐类审核 - 判定: 10分制打分, >9.5放行(参数bid_qc_pass_score); 不通过给改进意见 +清空产出+对账器重派解析任务带意见重做; 超轮次抛qc_escalation人工 - bid_flow对账器A2门禁阶段: 幂等/在办去重/轮次守卫/重做不计首跑上限 - 驾驶舱: qc_report工具+解析QC审核菜单; 参数读appbase表+默认兜底
318 lines
6.5 KiB
XML
318 lines
6.5 KiB
XML
|
|
{
|
|
"widgettype":"VBox",
|
|
"options":{"cheight":40,"width":"100%"},
|
|
"subwidgets":[{
|
|
"id":"bid_tenders_tbl",
|
|
"widgettype":"Tabular",
|
|
"options":{
|
|
"width":"100%",
|
|
"height":"100%",
|
|
|
|
|
|
"title":"招标商务要素",
|
|
|
|
|
|
|
|
|
|
"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": [
|
|
"key_dates",
|
|
"org_id",
|
|
"risk_note"
|
|
]
|
|
},
|
|
|
|
|
|
"editexclouded":[
|
|
"id",
|
|
"created_at",
|
|
"updated_at",
|
|
"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": "project_id",
|
|
"title": "项目ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"cwidth": 18,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "项目ID"
|
|
},
|
|
{
|
|
"name": "source",
|
|
"title": "来源",
|
|
"type": "str",
|
|
"length": 16,
|
|
"nullable": "no",
|
|
"default": "tender_doc",
|
|
"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": "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": "str",
|
|
"length": 16,
|
|
"cwidth": 16,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "投标开始时间"
|
|
},
|
|
{
|
|
"name": "bid_deadline",
|
|
"title": "投标截止时间",
|
|
"type": "str",
|
|
"length": 16,
|
|
"cwidth": 16,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "投标截止时间"
|
|
},
|
|
{
|
|
"name": "project_period",
|
|
"title": "项目周期",
|
|
"type": "str",
|
|
"length": 64,
|
|
"cwidth": 18,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "项目周期"
|
|
},
|
|
{
|
|
"name": "budget_amount",
|
|
"title": "招标金额",
|
|
"type": "float",
|
|
"length": 14,
|
|
"dec": 2,
|
|
"cwidth": 14,
|
|
"uitype": "float",
|
|
"datatype": "float",
|
|
"label": "招标金额"
|
|
},
|
|
{
|
|
"name": "deposit_amount",
|
|
"title": "投标保证金",
|
|
"type": "float",
|
|
"length": 14,
|
|
"dec": 2,
|
|
"cwidth": 14,
|
|
"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,
|
|
"default": "summarized",
|
|
"cwidth": 16,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "状态"
|
|
},
|
|
{
|
|
"name": "created_by",
|
|
"title": "创建人",
|
|
"type": "str",
|
|
"length": 64,
|
|
"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": "更新时间"
|
|
}
|
|
]
|
|
},
|
|
|
|
|
|
|
|
"data_filter":{
|
|
"AND": [
|
|
{
|
|
"field": "title",
|
|
"op": "LIKE",
|
|
"var": "title_input"
|
|
},
|
|
{
|
|
"field": "project_id",
|
|
"op": "=",
|
|
"var": "project_id"
|
|
},
|
|
{
|
|
"field": "purchaser",
|
|
"op": "LIKE",
|
|
"var": "purchaser_input"
|
|
}
|
|
]
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
"page_rows":160,
|
|
"cache_limit":5
|
|
}
|
|
|
|
,"binds":[]
|
|
|
|
}]
|
|
} |