57 lines
1.2 KiB
JSON
57 lines
1.2 KiB
JSON
{
|
|
"summary": [
|
|
{
|
|
"name": "role",
|
|
"title": " 角色",
|
|
"primary": [
|
|
"id"
|
|
]
|
|
}
|
|
],
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"title": "角色id",
|
|
"type": "str",
|
|
"length": 32
|
|
},
|
|
{
|
|
"name": "orgtypeid",
|
|
"title": "机构类型",
|
|
"type": "str",
|
|
"length": 32,
|
|
"default": "0"
|
|
},
|
|
{
|
|
"name": "role",
|
|
"title": "角色",
|
|
"type": "str",
|
|
"length": 100
|
|
},
|
|
{
|
|
"name": "rolelabel",
|
|
"title": "角色名称",
|
|
"type": "str",
|
|
"length": 100
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"name": "idx1",
|
|
"idxtype": "unique",
|
|
"idxfields": [
|
|
"orgtypeid",
|
|
" role"
|
|
]
|
|
}
|
|
],
|
|
"codes": [
|
|
{
|
|
"field": "orgtypeid",
|
|
"table": "appcodes_kw",
|
|
"valuefield": "k",
|
|
"textfield": "v",
|
|
"cond": "parentid='org_type'"
|
|
}
|
|
]
|
|
} |