This commit is contained in:
yumoqing 2024-03-20 13:12:26 +08:00
parent e078be970f
commit 8a39847f4e

View File

@ -11,51 +11,40 @@
"fields":[ "fields":[
{ {
"name":"username", "name":"username",
"cwidth":10, "label":"用户名",
"label":"UserName",
"uitype":"str" "uitype":"str"
}, },
{ {
"name":"email", "name":"email",
"cwidth":10,
"label":"邮箱", "label":"邮箱",
"uitype":"password" "uitype":"str"
}, },
{ {
"name":"orgid", "name":"orgid",
"cwidth":10,
"label":"所属机构", "label":"所属机构",
"uitype":"str" "uitype":"str"
}, },
{ {
"name":"nick_name", "name":"nick_name",
"cwidth":10,
"label":"显示名称", "label":"显示名称",
"uitype":"str" "uitype":"str"
}, },
{
"name":"password",
"cwidth":10,
"label":"用户名",
"uitype":"password"
},
{ {
"name":"address", "name":"address",
"cwidth":10,
"label":"地址", "label":"地址",
"uitype":"password" "uitype":"str"
}, },
{ {
"name":"mobile", "name":"mobile",
"cwidth":10,
"label":"手机", "label":"手机",
"uitype":"password" "uitype":"str"
} }
], ],
"data_url":"{{entire_url('get_users.dspy')}}", "data_url":"{{entire_url('get_users.dspy')}}",
"record_view":{ "record_view":{
"widgettype":"HBox", "widgettype":"FHBox",
"options":{ "options":{
"width":"auto",
"cheight":1.4 "cheight":1.4
}, },
"subwidgets":[ "subwidgets":[
@ -73,7 +62,7 @@
"widgettype":"Text", "widgettype":"Text",
"options":{ "options":{
"text":"${email}", "text":"${email}",
"cwidth":10, "cwidth":15,
"dynsize":true, "dynsize":true,
"wrap":true, "wrap":true,
"halign":"left" "halign":"left"
@ -83,7 +72,7 @@
"widgettype":"Text", "widgettype":"Text",
"options":{ "options":{
"text":"${orgid}", "text":"${orgid}",
"cwidth":10, "cwidth":30,
"dynsize":true, "dynsize":true,
"wrap":true, "wrap":true,
"halign":"left" "halign":"left"
@ -93,7 +82,7 @@
"widgettype":"Text", "widgettype":"Text",
"options":{ "options":{
"text":"${nick_name}", "text":"${nick_name}",
"cwidth":10, "cwidth":15,
"dynsize":true, "dynsize":true,
"wrap":true, "wrap":true,
"halign":"left" "halign":"left"
@ -103,7 +92,7 @@
"widgettype":"Text", "widgettype":"Text",
"options":{ "options":{
"text":"${address}", "text":"${address}",
"cwidth":10, "cwidth":20,
"dynsize":true, "dynsize":true,
"wrap":true, "wrap":true,
"halign":"left" "halign":"left"
@ -113,7 +102,7 @@
"widgettype":"Text", "widgettype":"Text",
"options":{ "options":{
"text":"${mobile}", "text":"${mobile}",
"cwidth":10, "cwidth":12,
"dynsize":true, "dynsize":true,
"wrap":true, "wrap":true,
"halign":"left" "halign":"left"