This commit is contained in:
yumoqing 2026-05-06 17:13:33 +08:00
parent 8cd7a65986
commit 0a2499ec5f
2 changed files with 23 additions and 11 deletions

View File

@ -28,14 +28,8 @@
"toolbar":{ "toolbar":{
"tools":[ "tools":[
{ {
"name": "download_pattern",
"label": "定价模版",
"selected_row": true,
"icon": "{{entire_url('/bricks/imgs/download.svg')}}"
},
{
"name": "test", "name": "test",
"label": "定价模版", "label": "测试",
"selected_row": true, "selected_row": true,
"icon": "{{entire_url('/bricks/imgs/test.svg')}}" "icon": "{{entire_url('/bricks/imgs/test.svg')}}"
} }

View File

@ -1,5 +1,13 @@
{
"widgettype": "VScrollPanel",
"options": {
"width": "100%",
"height": "100%"
},
"subwidgets":[
{ {
"widgettype": "Form", "widgettype": "Form",
"id": "input_form",
"options": { "options": {
"fields": [ "fields": [
{ {
@ -15,14 +23,24 @@
} }
], ],
"width": "100%", "width": "100%",
"height": "100%" "height": "50%"
}, }
},
{
"widgettype": "VBox",
"id": "result",
"options": {
"height": "50%",
"width": "100%"
}
}
],
"binds": [ "binds": [
{ {
"wid": "self", "wid": "input_form",
"event": "submit", "event": "submit",
"actiontype": "urldata", "actiontype": "urldata",
"target": "show_result", "target": "result",
"options": { "options": {
"url": "{{entire_url('./test_pricing_program.dspy')}}", "url": "{{entire_url('./test_pricing_program.dspy')}}",
"params":{} "params":{}