{ "widgettype":"VBox", "options":{"cheight":40,"width":"100%"}, "subwidgets":[{ "id":"opp_approvals_tbl", "widgettype":"Tabular", "options":{ "width":"100%", "height":"100%", "title":"研发审批", "css":"card", "editable":{ "new_data_url":"{{entire_url('add_opp_approvals.dspy')}}", "delete_data_url":"{{entire_url('delete_opp_approvals.dspy')}}", "update_data_url":"{{entire_url('update_opp_approvals.dspy')}}" }, "data_url":"{{entire_url('./get_opp_approvals.dspy')}}", "data_method":"GET", "data_params":{{json.dumps(params_kw, indent=4, ensure_ascii=False)}}, "row_options":{ "browserfields": { "exclouded": [ "note" ] }, "editexclouded":[ "id", "created_at", "resolved_at", "resolved_by", "report_id" ], "fields":[ { "name": "id", "title": "主键ID", "type": "str", "length": 32, "nullable": "no", "cwidth": 18, "uitype": "str", "datatype": "str", "label": "主键ID" }, { "name": "report_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, "cwidth": 18, "uitype": "str", "datatype": "str", "label": "项目ID" }, { "name": "status", "title": "审批状态", "type": "str", "length": 16, "nullable": "no", "default": "initiated", "cwidth": 16, "uitype": "str", "datatype": "str", "label": "审批状态" }, { "name": "note", "title": "审批说明", "type": "text", "length": 0, "uitype": "text", "datatype": "text", "label": "审批说明" }, { "name": "created_by", "title": "发起人", "type": "str", "length": 64, "cwidth": 18, "uitype": "str", "datatype": "str", "label": "发起人" }, { "name": "resolved_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": "resolved_at", "title": "结论时间", "type": "timestamp", "length": 0, "uitype": "str", "datatype": "timestamp", "label": "结论时间" } ] }, "data_filter":{ "AND": [ { "field": "status", "op": "=", "var": "status_input" }, { "field": "report_id", "op": "LIKE", "var": "report_id_input" } ] }, "page_rows":160, "cache_limit":5 } ,"binds":[] }] }