diff --git a/module/bi/config/dataviews.php b/module/bi/config/dataviews.php index ae25656236..f2abd01a0f 100644 --- a/module/bi/config/dataviews.php +++ b/module/bi/config/dataviews.php @@ -239,6 +239,23 @@ $config->bi->builtin->dataviews[] = array 'sql' => << array(); + 'fields' => array + ( + 'id' => array('name' => 'Bug编号', 'field' => 'id', 'object' => 'bugbuild', 'type' => 'number'), + 'title' => array('name' => 'Bug标题', 'field' => 'title', 'object' => 'bugbuild', 'type' => 'string'), + 'steps' => array('name' => '重现步骤', 'field' => 'steps', 'object' => 'bugbuild', 'type' => 'text'), + 'status' => array('name' => 'Bug状态', 'field' => 'status', 'object' => 'bugbuild', 'type' => 'option'), + 'confirmed' => array('name' => '是否确认', 'field' => 'confirmed', 'object' => 'bugbuild', 'type' => 'option'), + 'severity' => array('name' => '严重程度', 'field' => 'severity', 'object' => 'bugbuild', 'type' => 'option'), + 'product_id' => array('name' => '编号', 'field' => 'id', 'object' => 'product', 'type' => 'object'), + 'product_name' => array('name' => '所属产品', 'field' => 'name', 'object' => 'product', 'type' => 'object'), + 'project_id' => array('name' => '项目ID', 'field' => 'id', 'object' => 'project', 'type' => 'object'), + 'project_name' => array('name' => '所属项目', 'field' => 'name', 'object' => 'project', 'type' => 'object'), + 'build_id' => array('name' => 'ID', 'field' => 'id', 'object' => 'build', 'type' => 'object'), + 'build_name' => array('name' => '版本', 'field' => 'name', 'object' => 'build', 'type' => 'object'), + 'module_id' => array('name' => '编号', 'field' => 'id', 'object' => 'module', 'type' => 'object'), + 'module_name' => array('name' => '所属模块', 'field' => 'name', 'object' => 'module', 'type' => 'object'), + 'testtask_id' => array('name' => '编号', 'field' => 'id', 'object' => 'testtask', 'type' => 'object'), + ), 'group' => '101' );