From 18cd13165a3096d0fa0ad0e000b85bbda85ba37c Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 6 May 2026 16:50:46 +0800 Subject: [PATCH] bugfix --- wwwroot/test_pricing_program.ui | 49 +++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 wwwroot/test_pricing_program.ui diff --git a/wwwroot/test_pricing_program.ui b/wwwroot/test_pricing_program.ui new file mode 100644 index 0000000..4b0bdf3 --- /dev/null +++ b/wwwroot/test_pricing_program.ui @@ -0,0 +1,49 @@ +{ + "widgettype": "Form", + "options": { + "fields": [ + { + "name": "ppid", + "uitype": "hide", + "value": "{{params_kw.id}}" + }, + { + "name": "data", + "label": "计费数据(json)", + "uitype": "text", + "required": true + } + ], + "width": "100%", + "height": "100%" + }, + "binds": [ + { + "wid": "self", + "event": "submit", + "actiontype": "urldata", + "target": "show_result", + "options": { + "url": "{{entire_url('./test_pricing_program.dspy')}}", + "params":{} + }, + "status_of": { + "ok": { + "widgettype": "Text", + "options":{ + "width": "100%", + "text": "${result}" + } + }, + "error": { + "widgettype": "Text", + "options":{ + "width": "100%", + "color": "red", + "text": "${message}" + } + } + } + } + ] +}