zentaopms/config/ext/excel.php
2023-05-16 10:47:08 +08:00

28 lines
1.6 KiB
PHP
Executable File

<?php
$config->excel = new stdclass();
$config->excel->editor['task'] = array('desc');
$config->excel->editor['story'] = array('spec', 'verify');
$config->excel->editor['bug'] = array('steps');
$config->excel->editor['project'] = array('desc');
$config->excel->width = new stdclass();
$config->excel->width->short = 16;
$config->excel->width->middle = 26;
$config->excel->width->long = 41;
$config->excel->autoWidths = array('stepDesc', 'stepExpect', 'plan', 'branch', 'source', 'sourceNote', 'keywords', 'pri', 'estimate', 'consumed', 'left', 'status', 'stage', 'taskCountAB', 'bugCountAB', 'caseCountAB', 'openedBy', 'openedDate', 'assignedTo', 'assignedDate', 'mailto', 'reviewedBy', 'reviewedDate', 'closedBy', 'closedDate', 'closedReason', 'lastEditedBy', 'lastEditedDate', 'childStories', 'linkStories', 'duplicateStory', 'deadline','pri');
$config->excel->titleFields = array('name', 'title', 'product', 'module', 'project', 'execution', 'story', 'plan', 'startTime');
$config->excel->shortFields = array();
$config->excel->sysDataField = array('module', 'project', 'execution', 'plan', 'build', 'branch', 'assignedTo', 'story', 'task', 'openedBuild', 'reviewedBy', 'needReview', 'product', 'notify', 'public', 'mailto');
$config->excel->dateField = array('deadline', 'estStarted', 'realStarted');
$config->excel->noAutoFilter = array('tree');
$config->excel->isShowSystemTab = array('tree');
$config->excel->requiredFieldModule = array('task', 'bug', 'testcase', 'story', 'feedback');
$filter->testcase->ajaxselectstory = new stdclass();
$filter->testcase->ajaxselectstory->cookie['selectedStories'] = 'array';