71 lines
2.8 KiB
JSON
71 lines
2.8 KiB
JSON
{
|
|
"tblname": "sd_bugs",
|
|
"title": "Bug管理",
|
|
"params": {
|
|
"sortby": ["created_at desc"],
|
|
"confidential_fields": [],
|
|
"browserfields": {
|
|
"alters": {
|
|
"iteration_id": {
|
|
"uitype": "code",
|
|
"dataurl": "{{entire_url('../api/get_iteration_options.dspy')}}",
|
|
"valueField": "iteration_id",
|
|
"textField": "iteration_id_text"
|
|
},
|
|
"severity": {
|
|
"uitype": "code",
|
|
"dataurl": "{{entire_url('../api/get_search_severity.dspy')}}",
|
|
"valueField": "severity",
|
|
"textField": "severity_text"
|
|
},
|
|
"priority": {
|
|
"uitype": "code",
|
|
"dataurl": "{{entire_url('../api/get_search_priority.dspy')}}",
|
|
"valueField": "priority",
|
|
"textField": "priority_text"
|
|
},
|
|
"status": {
|
|
"uitype": "code",
|
|
"dataurl": "{{entire_url('../api/get_search_bug_status.dspy')}}",
|
|
"valueField": "status",
|
|
"textField": "status_text"
|
|
},
|
|
"reporter_type": {
|
|
"uitype": "code",
|
|
"dataurl": "{{entire_url('../api/get_search_reporter_type.dspy')}}",
|
|
"valueField": "reporter_type",
|
|
"textField": "reporter_type_text"
|
|
}
|
|
}
|
|
},
|
|
"editexclouded": ["id", "created_at", "updated_at", "closed_at", "verified_by", "fix_commit"],
|
|
"editable": {
|
|
"new_data_url": "{{entire_url('../api/sd_bug_create.dspy')}}",
|
|
"update_data_url": "{{entire_url('../api/sd_bug_update.dspy')}}",
|
|
"delete_data_url": "{{entire_url('../api/sd_bug_delete.dspy')}}"
|
|
},
|
|
"data_filter": {
|
|
"AND": [
|
|
{"field": "iteration_id", "op": "=", "var": "iteration_input"},
|
|
{"field": "severity", "op": "=", "var": "severity_input"},
|
|
{"field": "status", "op": "=", "var": "status_input"},
|
|
{"field": "title", "op": "LIKE", "var": "title_input"}
|
|
]
|
|
},
|
|
"record_toolbar": [
|
|
{
|
|
"label": "确认",
|
|
"actiontype": "dspy",
|
|
"url": "{{entire_url('../api/bug_confirm.dspy')}}",
|
|
"options": {"icon": "check", "cwidth": 16, "cheight": 9}
|
|
},
|
|
{
|
|
"label": "关闭",
|
|
"actiontype": "dspy",
|
|
"url": "{{entire_url('../api/bug_close.dspy')}}",
|
|
"options": {"icon": "block", "cwidth": 16, "cheight": 9}
|
|
}
|
|
]
|
|
}
|
|
}
|