{ "widgettype": "VBox", "options": { "width": "100%", "height": "100%" }, "subwidgets": [ { "widgettype": "HBox", "options": { "width": "100%", "height": "50px" }, "subwidgets": [ { "widgettype": "Button", "options": { "styleType": "default", "style": { "marginLeft": "20px", "marginTop": "8px" }, "label": "返回列表" }, "binds": [ { "wid": "self", "event": "click", "actiontype": "urlwidget", "target": "body/app", "options": { "url": "{{entire_url('contract_list.ui')}}" } } ] }, { "widgettype": "Filler" }, { "widgettype": "Button", "options": { "styleType": "primary", "style": { "marginRight": "20px", "marginTop": "8px" }, "label": "编辑合同" }, "binds": [ { "wid": "self", "event": "click", "actiontype": "urlwidget", "target": "body/app", "options": { "url": "{{entire_url('contract_edit.ui')}}", "params": { "id": "{% raw %}{{params_kw.get('contract_id')}}{% endraw %}" } } } ] } ] }, { "widgettype": "Filler", "options": { "height": "10px" } }, { "widgettype": "Form", "options": { "tblname": "contract", "record_id": "{% raw %}{{params_kw.get('contract_id')}}{% endraw %}", "readonly": true, "width": "100%", "style": { "maxWidth": "1200px", "margin": "0 auto" } } }, { "widgettype": "Filler", "options": { "height": "20px" } }, { "widgettype": "HBox", "options": { "width": "100%", "style": { "maxWidth": "1200px", "margin": "0 auto" } }, "subwidgets": [ { "widgettype": "VBox", "options": { "width": "50%" }, "subwidgets": [ { "widgettype": "Text", "options": { "text": "合同附件", "style": { "fontSize": "18px", "fontWeight": "600", "marginBottom": "10px" } } }, { "widgettype": "DataGrid", "options": { "tblname": "contract_attachment", "width": "100%", "parent_field": "contract_id", "parent_value": "{% raw %}{{params_kw.get('contract_id')}}{% endraw %}" } } ] }, { "widgettype": "Filler", "options": { "width": "20px" } }, { "widgettype": "VBox", "options": { "width": "50%" }, "subwidgets": [ { "widgettype": "Text", "options": { "text": "AI分析结果", "style": { "fontSize": "18px", "fontWeight": "600", "marginBottom": "10px" } } }, { "widgettype": "Text", "options": { "text": "合规检查结果:", "style": { "fontWeight": "600", "marginBottom": "5px" } } }, { "widgettype": "Text", "options": { "fieldname": "ai_compliance_result", "record_id": "{% raw %}{{params_kw.get('contract_id')}}{% endraw %}", "tblname": "contract", "style": { "whiteSpace": "pre-wrap", "backgroundColor": "#f8f9fa", "padding": "10px", "borderRadius": "4px" } } }, { "widgettype": "Filler", "options": { "height": "10px" } }, { "widgettype": "Text", "options": { "text": "关键时点:", "style": { "fontWeight": "600", "marginBottom": "5px" } } }, { "widgettype": "Text", "options": { "fieldname": "ai_key_dates", "record_id": "{% raw %}{{params_kw.get('contract_id')}}{% endraw %}", "tblname": "contract", "style": { "whiteSpace": "pre-wrap", "backgroundColor": "#f8f9fa", "padding": "10px", "borderRadius": "4px" } } } ] } ] } ] }