212 lines
5.1 KiB
XML
212 lines
5.1 KiB
XML
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"width": "100%",
|
|
"height": "100%"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "HBox",
|
|
"options": {
|
|
"width": "100%",
|
|
"height": "50px"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Button",
|
|
"options": {
|
|
"text": "返回列表",
|
|
"styleType": "default",
|
|
"style": {
|
|
"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": {
|
|
"text": "编辑合同",
|
|
"styleType": "primary",
|
|
"style": {
|
|
"marginRight": "20px",
|
|
"marginTop": "8px"
|
|
}
|
|
},
|
|
"binds": [
|
|
{
|
|
"wid": "self",
|
|
"event": "click",
|
|
"actiontype": "urlwidget",
|
|
"target": "body/app",
|
|
"options": {
|
|
"url": "{{entire_url('contract_edit.ui')}}",
|
|
"params": {
|
|
"id": "{{params_kw.get('contract_id')}}"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "Filler",
|
|
"options": {
|
|
"height": "10px"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Form",
|
|
"options": {
|
|
"tblname": "contract",
|
|
"record_id": "{{params_kw.get('contract_id')}}",
|
|
"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": "{{params_kw.get('contract_id')}}"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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": "{{params_kw.get('contract_id')}}",
|
|
"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": "{{params_kw.get('contract_id')}}",
|
|
"tblname": "contract",
|
|
"style": {
|
|
"whiteSpace": "pre-wrap",
|
|
"backgroundColor": "#f8f9fa",
|
|
"padding": "10px",
|
|
"borderRadius": "4px"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |