48 lines
1.7 KiB
JSON
48 lines
1.7 KiB
JSON
{
|
|
"tblname": "sd_projects",
|
|
"title": "项目管理",
|
|
"params": {
|
|
"sortby": ["created_at desc"],
|
|
"logined_userorgid": "org_id",
|
|
"confidential_fields": [],
|
|
"browserfields": {
|
|
"exclouded": ["tech_stack"],
|
|
"alters": {
|
|
"status": {
|
|
"uitype": "code",
|
|
"dataurl": "{{entire_url('../api/get_search_status.dspy')}}",
|
|
"valueField": "status",
|
|
"textField": "status_text"
|
|
},
|
|
"project_type": {
|
|
"uitype": "code",
|
|
"dataurl": "{{entire_url('../api/get_search_project_type.dspy')}}",
|
|
"valueField": "project_type",
|
|
"textField": "project_type_text"
|
|
}
|
|
}
|
|
},
|
|
"editexclouded": ["id", "created_at", "updated_at", "org_id"],
|
|
"editable": {
|
|
"new_data_url": "{{entire_url('../api/sd_project_create.dspy')}}",
|
|
"update_data_url": "{{entire_url('../api/sd_project_update.dspy')}}",
|
|
"delete_data_url": "{{entire_url('../api/sd_project_delete.dspy')}}"
|
|
},
|
|
"data_filter": {
|
|
"AND": [
|
|
{"field": "name", "op": "LIKE", "var": "name_input"},
|
|
{"field": "status", "op": "=", "var": "status_input"},
|
|
{"field": "project_type", "op": "=", "var": "type_input"}
|
|
]
|
|
},
|
|
"subtables": [
|
|
{
|
|
"field": "project_id",
|
|
"title": "迭代列表",
|
|
"url": "{{entire_url('../sd_iteration_list?project_id=${id}')}}",
|
|
"subtable": "sd_iterations"
|
|
}
|
|
]
|
|
}
|
|
}
|