2024-11-10 15:01:02 +08:00
|
|
|
{
|
2025-01-17 14:33:55 +08:00
|
|
|
"widgettype":"ModalForm",
|
2024-11-10 15:01:02 +08:00
|
|
|
"options":{
|
2025-01-17 14:33:55 +08:00
|
|
|
"cwidth":20,
|
|
|
|
"cheight":30,
|
|
|
|
"title":"增加管理员",
|
|
|
|
"fields":[
|
|
|
|
{
|
|
|
|
"name":"username",
|
|
|
|
"label":"用户名",
|
|
|
|
"uitype":"str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name":"password",
|
|
|
|
"label":"密码",
|
|
|
|
"uitype":"password"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name":"chkpassword",
|
|
|
|
"label":"确认密码",
|
|
|
|
"uitype":"password"
|
2024-11-10 15:01:02 +08:00
|
|
|
}
|
2025-01-17 14:33:55 +08:00
|
|
|
]
|
|
|
|
},
|
2024-11-10 15:01:02 +08:00
|
|
|
"binds":[
|
|
|
|
{
|
2025-01-17 14:33:55 +08:00
|
|
|
"wid":"self",
|
2024-11-10 15:01:02 +08:00
|
|
|
"event":"submit",
|
|
|
|
"actiontype":"urlwidget",
|
|
|
|
"target":"self",
|
|
|
|
"options":{
|
|
|
|
"url":"{{entire_url('./add_adminuser.dspy')}}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|