- rl_verify_user(): 新增name参数, 存入rl_asset_group.name/title - rl_handle_callback(): 回调时将name从rl_asset_group复制到rl_org_group - rl_query_groups(): 返回结果增加name字段 - rl_org_group模型: 新增name字段(str/200) - rl_verify.dspy/submit_create_validate.dspy: 接收name参数 - create_validate.ui: 表单增加认证名称输入框(可选) - api_downapp.md: 文档同步更新
60 lines
2.0 KiB
XML
60 lines
2.0 KiB
XML
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"width": "100%",
|
|
"padding": "16px"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Title4",
|
|
"options": {
|
|
"text": "真人认证",
|
|
"fontWeight": "600",
|
|
"marginBottom": "16px"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"padding": "16px",
|
|
"spacing": 12
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Form",
|
|
"id": "validate_form",
|
|
"options": {
|
|
"submit_url": "{{entire_url('api/submit_create_validate.dspy')}}",
|
|
"fields": [
|
|
{
|
|
"uitype": "code",
|
|
"name": "vendor",
|
|
"label": "供应商",
|
|
"dataurl": "{{entire_url('api/get_vendor_list.dspy')}}",
|
|
"data_field": "value",
|
|
"text_field": "text",
|
|
"required": true
|
|
},
|
|
{
|
|
"uitype": "str",
|
|
"name": "name",
|
|
"label": "认证名称",
|
|
"placeholder": "可选,方便识别的名称",
|
|
"required": false
|
|
}
|
|
]
|
|
},
|
|
"binds": [
|
|
{
|
|
"wid": "self",
|
|
"event": "submited",
|
|
"actiontype": "script",
|
|
"script": "await bricks.show_resp_message_or_error(event.params)"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|