33 lines
1.0 KiB
JSON
33 lines
1.0 KiB
JSON
{
|
|
"tblname": "approval_instance",
|
|
"title": "审批实例",
|
|
"params": {
|
|
"sortby": ["created_at desc"],
|
|
"logined_userorgid": "org_id",
|
|
"browserfields": {
|
|
"excluded": ["id", "workflow_id", "module_record_id", "org_id"]
|
|
},
|
|
"editexcluded": ["id", "workflow_id", "module_record_id", "org_id", "current_step_id"],
|
|
"alters": {
|
|
"status": {
|
|
"uitype": "code",
|
|
"data": [
|
|
{"value": "pending", "text": "待审批"},
|
|
{"value": "approved", "text": "已批准"},
|
|
{"value": "rejected", "text": "已拒绝"},
|
|
{"value": "cancelled", "text": "已取消"}
|
|
]
|
|
},
|
|
"module_type": {
|
|
"uitype": "text"
|
|
}
|
|
},
|
|
"subtables": [
|
|
{
|
|
"field": "id",
|
|
"title": "审批任务",
|
|
"subtable": "approval_task"
|
|
}
|
|
]
|
|
}
|
|
} |