* Add groupcase zin page.

This commit is contained in:
wangyuting
2023-07-13 15:07:31 +08:00
parent 60fe7b1a5c
commit 76756ace63
5 changed files with 85 additions and 8 deletions
+26
View File
@@ -0,0 +1,26 @@
<?php
declare(strict_types=1);
/**
* The groupcase view file of testcase 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 testcase
* @link https://www.zentao.net
*/
namespace zin;
include 'header.html.php';
$cases = initTableData(array_values($cases), $config->testcase->group->dtable->fieldList);
dtable
(
set::userMap($users),
set::cols($config->testcase->group->dtable->fieldList),
set::data($cases),
set::plugins(array('cellspan')),
set::getCellSpan(jsRaw('window.getCellSpan')),
);
render();