{ "widgettype":"VBox", "options":{"height":"100%","width":"100%"}, "subwidgets":[ { "id":"bid_qualifications_tbl", "widgettype":"Tabular", "options":{ "width":"100%", "height":"100%", "title":"招标所需资质", "toolbar":{ "tools": [] }, "css":"card", "editable":{ "new_data_url": "{{entire_url('add_bid_qualifications.dspy')}}", "delete_data_url": "{{entire_url('delete_bid_qualifications.dspy')}}", "update_data_url": "{{entire_url('update_bid_qualifications.dspy')}}" }, "data_url":"{{entire_url('./get_bid_qualifications.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", "human_task_id" ], "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": "qual_name", "title": "资质名称", "type": "str", "length": 255, "nullable": "no", "cwidth": 18, "uitype": "str", "datatype": "str", "label": "资质名称" }, { "name": "requirement", "title": "资质要求原文", "type": "text", "length": 0, "uitype": "text", "datatype": "text", "label": "资质要求原文" }, { "name": "is_mandatory", "title": "是否必需", "type": "str", "length": 1, "nullable": "no", "default": "1", "cwidth": 4, "uitype": "str", "datatype": "str", "label": "是否必需" }, { "name": "owner", "title": "提供方", "type": "str", "length": 16, "nullable": "no", "default": "kb", "label": "提供方", "uitype": "code", "valueField": "owner", "textField": "owner_text", "params": { "dbname": "{{get_module_dbname('pipeline_bidding')}}", "table": "appcodes_kv", "tblvalue": "k", "tbltext": "v", "valueField": "owner", "textField": "owner_text", "cond": "parentid='bid_qual_owner'" }, "dataurl": "{{entire_url('/appbase/get_code.dspy')}}" }, { "name": "kb_doc_id", "title": "知识库文档ID", "type": "str", "length": 32, "cwidth": 18, "uitype": "str", "datatype": "str", "label": "知识库文档ID" }, { "name": "match_status", "title": "匹配状态", "type": "str", "length": 16, "nullable": "no", "default": "pending", "label": "匹配状态", "uitype": "code", "valueField": "match_status", "textField": "match_status_text", "params": { "dbname": "{{get_module_dbname('pipeline_bidding')}}", "table": "appcodes_kv", "tblvalue": "k", "tbltext": "v", "valueField": "match_status", "textField": "match_status_text", "cond": "parentid='bid_qual_match_status'" }, "dataurl": "{{entire_url('/appbase/get_code.dspy')}}" }, { "name": "file_path", "title": "文档路径", "type": "str", "length": 500, "cwidth": 18, "uitype": "str", "datatype": "str", "label": "文档路径" }, { "name": "note", "title": "说明", "type": "str", "length": 500, "cwidth": 18, "uitype": "str", "datatype": "str", "label": "说明" }, { "name": "human_task_id", "title": "人类任务ID", "type": "str", "length": 32, "cwidth": 18, "uitype": "str", "datatype": "str", "label": "人类任务ID" }, { "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": "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_qual_match_status'" }, "dataurl": "{{entire_url('/appbase/get_code.dspy')}}?prepend_all=1" } ] }, "page_rows":160, "cache_limit":5 } ,"binds":[] }] }