Files
EasySoft-ZenTaoPMS/module/execution/test/ui/activateexecution.php
T

27 lines
795 B
PHP

<?php
/**
title=激活执行
timeout=0
cid=1
*/
chdir(__DIR__);
include '../lib/activateexecution.ui.class.php';
zenData('project')->loadYaml('execution', false, 2)->gen(1);
$execution = zenData('project');
$execution->id->range('101,103');
$execution->project->range('11');
$execution->type->range('sprint');
$execution->parent->range('1');
$execution->path->range('`,1,101,`, `,1,103,`');
$execution->grade->range('1');
$execution->name->range('挂起的执行, 已关闭的执行');
$execution->hasProduct->range('1');
$execution->begin->range('(-1M)-(-3W):1D')->type('timestamp')->format('YY/MM/DD');
$execution->end->range('(+1M)-(+2M):1D')->type('timestamp')->format('YY/MM/DD');
$execution->days->range('10');
$execution->status->range('suspended, closed');
$execution->gen(2, false);