workflow_approval/json/approval_instance.json
2026-04-16 14:40:37 +08:00

35 lines
796 B
JSON

{
"tblname": "approval_instance",
"title": "审批实例",
"params": {
"sortby": "created_at DESC",
"logined_userorgid": "org_id",
"browserfields": {
"exclouded": ["id", "workflow_id", "module_record_id", "org_id"]
},
"editexclouded": ["id", "workflow_id", "module_record_id", "org_id", "current_step_id"],
"alterations": [
{
"field": "status",
"widgettype": "Select",
"options": {
"data": "get_code('APPROVAL_STATUS')"
}
},
{
"field": "module_type",
"widgettype": "Text",
"options": {
"readonly": true
}
}
],
"subtables": [
{
"field": "id",
"title": "审批任务",
"subtable": "approval_task"
}
]
}
}