From 8a39847f4ec94f88060b93632d39ab053a16ffcf Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 20 Mar 2024 13:12:26 +0800 Subject: [PATCH] bugfix --- wwwroot/rbac/users.ui | 33 +++++++++++---------------------- 1 file changed, 11 insertions(+), 22 deletions(-) diff --git a/wwwroot/rbac/users.ui b/wwwroot/rbac/users.ui index 7e273df..f2147cb 100644 --- a/wwwroot/rbac/users.ui +++ b/wwwroot/rbac/users.ui @@ -11,51 +11,40 @@ "fields":[ { "name":"username", - "cwidth":10, - "label":"UserName", + "label":"用户名", "uitype":"str" }, { "name":"email", - "cwidth":10, "label":"邮箱", - "uitype":"password" + "uitype":"str" }, { "name":"orgid", - "cwidth":10, "label":"所属机构", "uitype":"str" }, { "name":"nick_name", - "cwidth":10, "label":"显示名称", "uitype":"str" }, - { - "name":"password", - "cwidth":10, - "label":"用户名", - "uitype":"password" - }, { "name":"address", - "cwidth":10, "label":"地址", - "uitype":"password" + "uitype":"str" }, { "name":"mobile", - "cwidth":10, "label":"手机", - "uitype":"password" + "uitype":"str" } ], "data_url":"{{entire_url('get_users.dspy')}}", "record_view":{ - "widgettype":"HBox", + "widgettype":"FHBox", "options":{ + "width":"auto", "cheight":1.4 }, "subwidgets":[ @@ -73,7 +62,7 @@ "widgettype":"Text", "options":{ "text":"${email}", - "cwidth":10, + "cwidth":15, "dynsize":true, "wrap":true, "halign":"left" @@ -83,7 +72,7 @@ "widgettype":"Text", "options":{ "text":"${orgid}", - "cwidth":10, + "cwidth":30, "dynsize":true, "wrap":true, "halign":"left" @@ -93,7 +82,7 @@ "widgettype":"Text", "options":{ "text":"${nick_name}", - "cwidth":10, + "cwidth":15, "dynsize":true, "wrap":true, "halign":"left" @@ -103,7 +92,7 @@ "widgettype":"Text", "options":{ "text":"${address}", - "cwidth":10, + "cwidth":20, "dynsize":true, "wrap":true, "halign":"left" @@ -113,7 +102,7 @@ "widgettype":"Text", "options":{ "text":"${mobile}", - "cwidth":10, + "cwidth":12, "dynsize":true, "wrap":true, "halign":"left"