llmage: failed_accounting.ui加原因toolbar按钮弹窗显示失败原因
This commit is contained in:
parent
6bcacaf94a
commit
74aca298a7
@ -93,12 +93,21 @@
|
|||||||
"width": "100%",
|
"width": "100%",
|
||||||
"height": "100%",
|
"height": "100%",
|
||||||
"css": "card",
|
"css": "card",
|
||||||
|
"toolbar": {
|
||||||
|
"tools": [
|
||||||
|
{
|
||||||
|
"name": "show_reason",
|
||||||
|
"label": "原因",
|
||||||
|
"selected_row": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"data_url": "{{entire_url('/llmage/api/failed_accounting_list.dspy')}}",
|
"data_url": "{{entire_url('/llmage/api/failed_accounting_list.dspy')}}",
|
||||||
"data_method": "GET",
|
"data_method": "GET",
|
||||||
"page_rows": 20,
|
"page_rows": 20,
|
||||||
"row_options": {
|
"row_options": {
|
||||||
"browserfields": {
|
"browserfields": {
|
||||||
"exclouded": ["id"],
|
"exclouded": ["id", "failed_reason"],
|
||||||
"alters": {
|
"alters": {
|
||||||
"handled": {
|
"handled": {
|
||||||
"uitype": "code",
|
"uitype": "code",
|
||||||
@ -125,7 +134,23 @@
|
|||||||
{"name": "handled", "title": "状态", "type": "str", "length": 1, "cwidth": 6, "uitype": "code", "label": "状态"}
|
{"name": "handled", "title": "状态", "type": "str", "length": 1, "cwidth": 6, "uitype": "code", "label": "状态"}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"binds": [
|
||||||
|
{
|
||||||
|
"wid": "self",
|
||||||
|
"event": "show_reason",
|
||||||
|
"actiontype": "urlwidget",
|
||||||
|
"target": "PopupWindow",
|
||||||
|
"popup_options": {
|
||||||
|
"title": "失败原因",
|
||||||
|
"cwidth": 30,
|
||||||
|
"cheight": 20
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"url": "{{entire_url('/llmage/api/show_failed_reason.dspy')}}?id=${id}$"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user