- Add load_hermes_web_cli function to fix ImportError - Update data_url paths to use /hermes-web-cli/... instead of /api/... - Add missing renew.dspy file with complete business logic - Update all .ui files with correct endpoint references - Ensure module is fully functional for Sage integration
34 lines
685 B
XML
34 lines
685 B
XML
{
|
|
"widgettype": "Form",
|
|
"options": {
|
|
"title": "服务详情",
|
|
"fields": [
|
|
{
|
|
"name": "name",
|
|
"label": "服务名称",
|
|
"uitype": "str",
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "service_url",
|
|
"label": "服务地址",
|
|
"uitype": "str",
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "description",
|
|
"label": "描述",
|
|
"uitype": "text"
|
|
}
|
|
],
|
|
"submit_url": "/hermes-web-cli/services/{id}"
|
|
},
|
|
"binds": [
|
|
{
|
|
"wid": "self",
|
|
"event": "submited",
|
|
"actiontype": "script",
|
|
"script": "await bricks.show_resp_message_or_error(event.params)"
|
|
}
|
|
]
|
|
} |