This commit is contained in:
yumoqing 2024-11-05 23:31:42 +08:00
parent 341af513b3
commit 59b293d2d3
3 changed files with 50 additions and 0 deletions

32
json/organization.json Normal file
View File

@ -0,0 +1,32 @@
{
"models_dir": "${HOME}$/py/rbac/models",
"output_dir": "${HOME}$/py/sage/wwwroot/_a/organization",
"dbname": "sage",
"tblname": "organization",
"title":"Organization",
"params": {
"sortby":"orgname",
"browserfields": {
"exclouded": ["id"],
"cwidth": {}
},
"editexclouded": [
"id"
],
"subtables":[
{
"field":"orgid",
"title":"Org. type",
"url":"../orgtypes",
"subtable":"orgtypes"
},
{
"field":"orgid",
"title":"Users",
"url":"../user",
"subtable":"user"
}
],
"record_toolbar": null
}
}

18
json/orgtypes.json Normal file
View File

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

Binary file not shown.