This commit is contained in:
yumoqing 2024-11-06 12:00:58 +08:00
parent 6c2f726c24
commit 721aa3fdef
9 changed files with 127 additions and 5 deletions

View File

@ -23,8 +23,8 @@
{ {
"field":"orgid", "field":"orgid",
"title":"Users", "title":"Users",
"url":"../user", "url":"../users",
"subtable":"user" "subtable":"users"
} }
], ],
"record_toolbar": null "record_toolbar": null

View File

@ -5,13 +5,13 @@
"tblname": "orgtypes", "tblname": "orgtypes",
"title":"Org. type", "title":"Org. type",
"params": { "params": {
"sortby":"orgname",
"browserfields": { "browserfields": {
"exclouded": ["id"], "exclouded": ["id", "orgid"],
"cwidth": {} "cwidth": {}
}, },
"editexclouded": [ "editexclouded": [
"id" "id",
"orgid"
], ],
"record_toolbar": null "record_toolbar": null
} }

17
json/permission.json Normal file
View File

@ -0,0 +1,17 @@
{
"models_dir": "${HOME}$/py/rbac/models",
"output_dir": "${HOME}$/py/sage/wwwroot/_a/permission",
"dbname": "sage",
"tblname": "permission",
"title":"权限",
"params": {
"browserfields": {
"exclouded": ["id"],
"cwidth": {}
},
"editexclouded": [
"id"
],
"record_toolbar": null
}
}

18
json/role.json Normal file
View File

@ -0,0 +1,18 @@
{
"models_dir": "${HOME}$/py/rbac/models",
"output_dir": "${HOME}$/py/sage/wwwroot/_a/role",
"dbname": "sage",
"tblname": "role",
"title":"角色",
"params": {
"sortby":"name",
"browserfields": {
"exclouded": ["id"],
"cwidth": {}
},
"editexclouded": [
"id"
],
"record_toolbar": null
}
}

17
json/rolepermission.json Normal file
View File

@ -0,0 +1,17 @@
{
"models_dir": "${HOME}$/py/rbac/models",
"output_dir": "${HOME}$/py/sage/wwwroot/_a/rolepermission",
"dbname": "sage",
"tblname": "rolepermission",
"title":"用户",
"params": {
"browserfields": {
"exclouded": ["id", "roleid"],
"cwidth": {}
},
"editexclouded": [
"id", "roleid"
],
"record_toolbar": null
}
}

17
json/userapp.json Normal file
View File

@ -0,0 +1,17 @@
{
"models_dir": "${HOME}$/py/rbac/models",
"output_dir": "${HOME}$/py/sage/wwwroot/_a/userapp",
"dbname": "sage",
"tblname": "userapp",
"title":"用户",
"params": {
"browserfields": {
"exclouded": ["id", "userid"],
"cwidth": {}
},
"editexclouded": [
"id", "userid"
],
"record_toolbar": null
}
}

17
json/userdepartment.json Normal file
View File

@ -0,0 +1,17 @@
{
"models_dir": "${HOME}$/py/rbac/models",
"output_dir": "${HOME}$/py/sage/wwwroot/_a/userdepartment",
"dbname": "sage",
"tblname": "userdepartment",
"title":"用户",
"params": {
"browserfields": {
"exclouded": ["id", "userid"],
"cwidth": {}
},
"editexclouded": [
"id", "userid"
],
"record_toolbar": null
}
}

18
json/userroles.json Normal file
View File

@ -0,0 +1,18 @@
{
"models_dir": "${HOME}$/py/rbac/models",
"output_dir": "${HOME}$/py/sage/wwwroot/_a/userroles",
"dbname": "sage",
"tblname": "userroles",
"title":"用户",
"params": {
"browserfields": {
"exclouded": ["id", "userid"],
"cwidth": {}
},
"editexclouded": [
"id",
"userid"
],
"record_toolbar": null
}
}

18
json/users.json Normal file
View File

@ -0,0 +1,18 @@
{
"models_dir": "${HOME}$/py/rbac/models",
"output_dir": "${HOME}$/py/sage/wwwroot/_a/users",
"dbname": "sage",
"tblname": "users",
"title":"用户",
"params": {
"sortby":"username",
"browserfields": {
"exclouded": ["id"],
"cwidth": {}
},
"editexclouded": [
"id"
],
"record_toolbar": null
}
}