* Add groupcase zin page on testtask module.
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* The groupcase view file of testtask module of ZenTaoPMS.
|
||||
* @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
|
||||
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
||||
* @author Yuting Wang <wangyuting@easycorp.ltd>
|
||||
* @package testtask
|
||||
* @link https://www.zentao.net
|
||||
*/
|
||||
namespace zin;
|
||||
jsVar('allTestcases', $lang->testcase->allTestcases);
|
||||
|
||||
$cases = initTableData(array_values($cases), $config->testcase->group->dtable->fieldList);
|
||||
|
||||
dtable
|
||||
(
|
||||
set::id('groupCaseTable'),
|
||||
set::userMap($users),
|
||||
set::cols($config->testcase->group->dtable->fieldList),
|
||||
set::data($cases),
|
||||
set::plugins(array('cellspan')),
|
||||
set::onRenderCell(jsRaw('window.onRenderCell')),
|
||||
set::getCellSpan(jsRaw('window.getCellSpan')),
|
||||
);
|
||||
|
||||
render();
|
||||
Reference in New Issue
Block a user