From 74aca298a7269e9160fc7ea041c3fdd78a0bd87b Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Thu, 18 Jun 2026 12:14:06 +0800 Subject: [PATCH] =?UTF-8?q?llmage:=20failed=5Faccounting.ui=E5=8A=A0?= =?UTF-8?q?=E5=8E=9F=E5=9B=A0toolbar=E6=8C=89=E9=92=AE=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=A4=B1=E8=B4=A5=E5=8E=9F=E5=9B=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/failed_accounting.ui | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/wwwroot/failed_accounting.ui b/wwwroot/failed_accounting.ui index 191610e..7d70b99 100644 --- a/wwwroot/failed_accounting.ui +++ b/wwwroot/failed_accounting.ui @@ -93,12 +93,21 @@ "width": "100%", "height": "100%", "css": "card", + "toolbar": { + "tools": [ + { + "name": "show_reason", + "label": "原因", + "selected_row": true + } + ] + }, "data_url": "{{entire_url('/llmage/api/failed_accounting_list.dspy')}}", "data_method": "GET", "page_rows": 20, "row_options": { "browserfields": { - "exclouded": ["id"], + "exclouded": ["id", "failed_reason"], "alters": { "handled": { "uitype": "code", @@ -125,7 +134,23 @@ {"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}$" + } + } + ] } ] }