From 83a6a8ab53b048f2730d25bf714b1075802ad472 Mon Sep 17 00:00:00 2001 From: wangzemei Date: Mon, 10 Oct 2022 09:58:19 +0800 Subject: [PATCH] * finish task #71885 && #71893 --- module/my/view/testtask.html.php | 8 ++++---- module/testtask/view/browse.html.php | 13 +++++++------ 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/module/my/view/testtask.html.php b/module/my/view/testtask.html.php index 9df1becf44..41ea4b2004 100644 --- a/module/my/view/testtask.html.php +++ b/module/my/view/testtask.html.php @@ -35,11 +35,11 @@ idAB);?> testtask->name);?> - testtask->execution);?> testtask->build);?> + testtask->execution);?> + statusAB);?> testtask->begin);?> testtask->end);?> - statusAB);?> actions;?> @@ -48,11 +48,11 @@ id);?> createLink('testtask', 'view', "taskID=$task->id"), $task->name);?> - executionName;?> trunk : $task->buildName;?>'>build == 'trunk' ? print($lang->trunk) : print(html::a($this->createLink('build', 'view', "buildID=$task->build"), $task->buildName));?> + executionName;?> + '>processStatus('testtask', $task);?> begin?> end?> - '>processStatus('testtask', $task);?> id", $task, 'list', 'sitemap', '', '', '', "data-app='qa'"); diff --git a/module/testtask/view/browse.html.php b/module/testtask/view/browse.html.php index 3006fdf351..f6c1afa48b 100644 --- a/module/testtask/view/browse.html.php +++ b/module/testtask/view/browse.html.php @@ -60,13 +60,13 @@ $status = $this->session->testTaskVersionStatus; idAB);?> testtask->name);?> + testtask->build);?> testtask->product);?> testtask->execution);?> - testtask->build);?> + statusAB);?> testtask->owner);?> testtask->begin);?> testtask->end);?> - statusAB);?> testtask->getFlowExtendFields(); foreach($extendFields as $extendField) echo "{$extendField->name}"; @@ -79,18 +79,19 @@ $status = $this->session->testTaskVersionStatus; id"), sprintf('%03d', $task->id));?> id"), $task->name);?> + build == 'trunk' || empty($task->buildName)) ? $lang->trunk : html::a($this->createLink('build', 'view', "buildID=$task->build"), $task->buildName, '', "data-group=execution");?> productName?> executionName?> - build == 'trunk' || empty($task->buildName)) ? $lang->trunk : html::a($this->createLink('build', 'view', "buildID=$task->build"), $task->buildName, '', "data-group=execution");?> - owner);?> - begin?> - end?> processStatus('testtask', $task);?> + owner);?> + begin?> + end?> + " . $this->loadModel('flow')->getFieldValue($extendField, $task) . "";?> testtask->buildOperateMenu($task, 'browse');?>