reallife_asset/wwwroot/view_assets.ui

78 lines
2.3 KiB
XML

{% set current_group = params_kw.get('vendor_group_id', '') %}
{
"widgettype": "VBox",
"options": {
"width": "100%",
"height": "100%",
"padding": "16px"
},
"subwidgets": [
{
"widgettype": "Title4",
"options": {
"text": "查看素材",
"fontWeight": "600",
"marginBottom": "12px"
}
},
{
"widgettype": "Form",
"id": "view_assets_form",
"options": {
"cheight": 8,
"fields": [
{
"uitype": "code",
"name": "vendor_group_id",
"label": "认证组合",
"dataurl": "{{entire_url('api/get_org_groups.dspy')}}",
"data_field": "value",
"text_field": "text",
"required": true,
"value": "{{ current_group }}"
}
]
},
"binds": [
{
"wid": "self",
"event": "submit",
"actiontype": "urlwidget",
"target": "app.rl_asset_results",
"options": {
"method": "POST",
"url": "{{entire_url('api/submit_list_assets.dspy')}}"
},
"mode": "replace"
}
]
},
{
"widgettype": "VBox",
"options": {
"css": "filler",
"padding": "0",
"marginTop": "12px"
},
"subwidgets": [
{
"widgettype": "VScrollPanel",
"options": {
"css": "filler"
},
"subwidgets": [
{
"widgettype": "VBox",
"id": "rl_asset_results",
"options": {
"width": "100%",
"padding": "0"
}
}
]
}
]
}
]
}