42 lines
773 B
XML
42 lines
773 B
XML
{
|
||
"widgettype":"VBox",
|
||
"options":{
|
||
"height":"100%"
|
||
},
|
||
"subwidgets":[
|
||
{
|
||
"widgettype":"Filler",
|
||
"options":{},
|
||
"subwidgets":[
|
||
{
|
||
"widgettype":"Form",
|
||
"id":"form",
|
||
"options":{
|
||
"title":"添加播音员",
|
||
"method":"POST",
|
||
"description":"通过输入播音员id,录音和录音文字说明,来添加播音员",
|
||
"submit_url":"{{entire_url('/api/addvoice')}}",
|
||
"fields":[
|
||
{
|
||
"name":"speaker",
|
||
"label":"播音员id",
|
||
"uitype":"str"
|
||
},
|
||
{
|
||
"name":"ref_voice",
|
||
"label":"语音",
|
||
"uitype":"audiorecorder"
|
||
},
|
||
{
|
||
"name":"ref_text",
|
||
"label":"语音文字",
|
||
"uitype":"text"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|