From 9019f6c48e1f52618af9fc9a2b816ba24ba598ab Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 31 May 2026 19:41:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BB=85=E5=88=A0=E9=99=A4llm.json?= =?UTF-8?q?=E4=B8=ADproviderid=E5=92=8Cupappid=E7=9A=84alters=EF=BC=8C?= =?UTF-8?q?=E6=81=A2=E5=A4=8D=E5=85=B6=E4=BB=96=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- json/llm.json | 17 ++++++++++++++++- json/llm_api_map.json | 4 +++- json/llmcatelog.json | 3 ++- json/llmusage.json | 3 ++- json/llmusage_accounting_failed.json | 11 ++++++++++- json/llmusage_history.json | 3 ++- 6 files changed, 35 insertions(+), 6 deletions(-) diff --git a/json/llm.json b/json/llm.json index 6209a70..8e4365e 100644 --- a/json/llm.json +++ b/json/llm.json @@ -22,7 +22,22 @@ "status_input": "上架状态" }, "browserfields": { - "exclouded": ["id", "ownerid"] + "exclouded": ["id", "ownerid"], + "alters": { + "status": { + "uitype": "code", + "data": [ + {"value": "", "text": "全部"}, + {"value": "published", "text": "已上架"}, + {"value": "unpublished", "text": "已下架"} + ] + }, + "ppid":{ + "dataurl":"{{entire_url('/pricing/get_all_pricing_programs.dspy')}}", + "textField": "name", + "valueField": "id" + } + } }, "toolbar": { "tools":[ diff --git a/json/llm_api_map.json b/json/llm_api_map.json index b46d51a..422ad77 100644 --- a/json/llm_api_map.json +++ b/json/llm_api_map.json @@ -3,7 +3,9 @@ "title": "模型能力映射", "params": { "browserfields": { - "exclouded": ["id", "llmid"] + "exclouded": ["id", "llmid"], + "alters": { + } }, "editexclouded": ["id", "llmid"] } diff --git a/json/llmcatelog.json b/json/llmcatelog.json index 8439ef9..8964728 100644 --- a/json/llmcatelog.json +++ b/json/llmcatelog.json @@ -10,7 +10,8 @@ "delete_data_url": "{{entire_url('../api/llmcatelog_delete.dspy')}}" }, "browserfields": { - "exclouded": ["id"] + "exclouded": ["id"], + "alters": {} }, "editexclouded": ["id"] } diff --git a/json/llmusage.json b/json/llmusage.json index 011ba02..0d2b242 100644 --- a/json/llmusage.json +++ b/json/llmusage.json @@ -4,7 +4,8 @@ "params": { "sortby": "use_time desc", "browserfields": { - "exclouded": ["id"] + "exclouded": ["id"], + "alters": {} }, "editexclouded": ["id"], "editable": { diff --git a/json/llmusage_accounting_failed.json b/json/llmusage_accounting_failed.json index ceffd51..be68369 100644 --- a/json/llmusage_accounting_failed.json +++ b/json/llmusage_accounting_failed.json @@ -4,7 +4,16 @@ "params": { "sortby": "failed_time desc", "browserfields": { - "exclouded": ["id"] + "exclouded": ["id"], + "alters": { + "handled": { + "uitype": "code", + "data": [ + {"value": "0", "text": "未处理"}, + {"value": "1", "text": "已处理"} + ] + } + } }, "editexclouded": ["id", "llmusageid", "failed_time"], "editable": { diff --git a/json/llmusage_history.json b/json/llmusage_history.json index 6eb5a78..2224e81 100644 --- a/json/llmusage_history.json +++ b/json/llmusage_history.json @@ -4,7 +4,8 @@ "params": { "sortby": "use_time desc", "browserfields": { - "exclouded": ["id"] + "exclouded": ["id"], + "alters": {} }, "editexclouded": ["id"], "editable": {