From 7e62b34b72ed31cfe699a405fb78a2e341c7818e Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 25 Jun 2026 14:30:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=AE=B0=E8=B4=A6=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E5=AD=97=E6=AE=B5=E6=B7=BB=E5=8A=A0uitype:co?= =?UTF-8?q?de=E4=BB=A5=E6=98=BE=E7=A4=BA=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 为llmid/userid/userorgid字段添加uitype:'code',使alter配置生效, 正确显示模型名称、用户名、机构名称而非ID --- wwwroot/failed_accounting.ui | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wwwroot/failed_accounting.ui b/wwwroot/failed_accounting.ui index e306441..e0f79c5 100644 --- a/wwwroot/failed_accounting.ui +++ b/wwwroot/failed_accounting.ui @@ -84,9 +84,9 @@ }, "fields": [ {"name": "llmusageid", "title": "使用记录ID", "type": "str", "length": 32, "cwidth": 12, "uitype": "str", "label": "使用记录ID"}, - {"name": "llmid", "title": "模型", "type": "str", "length": 32, "cwidth": 12, "label": "模型"}, - {"name": "userid", "title": "用户", "type": "str", "length": 32, "cwidth": 10, "label": "用户"}, - {"name": "userorgid", "title": "机构", "type": "str", "length": 32, "cwidth": 10, "label": "机构"}, + {"name": "llmid", "title": "模型", "type": "str", "length": 32, "cwidth": 12, "uitype": "code", "label": "模型"}, + {"name": "userid", "title": "用户", "type": "str", "length": 32, "cwidth": 10, "uitype": "code", "label": "用户"}, + {"name": "userorgid", "title": "机构", "type": "str", "length": 32, "cwidth": 10, "uitype": "code", "label": "机构"}, {"name": "use_time", "title": "使用时间", "type": "timestamp", "cwidth": 14, "uitype": "str", "label": "使用时间"}, {"name": "amount", "title": "金额", "type": "double", "length": 18, "dec": 5, "cwidth": 8, "uitype": "float", "label": "金额"}, {"name": "failed_reason", "title": "失败原因", "type": "text", "cwidth": 20, "uitype": "text", "label": "失败原因"},