contract_management/wwwroot/contract_detail.ui

192 lines
6.8 KiB
XML

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