* [misc,done,3h] convert scientific counting into numbers.

This commit is contained in:
tianshujie
2025-02-11 11:30:35 +08:00
committed by 刘刚
parent bbff780d3d
commit ec43dda1ee
19 changed files with 54 additions and 24 deletions
+3
View File
@@ -45,6 +45,9 @@ if($this->config->edition == 'ipd')
}
$task->executionInfo = $execution;
$task->estimate = helper::formatHours($task->estimate);
$task->consumed = helper::formatHours($task->consumed);
$task->left = helper::formatHours($task->left);
$actions = !$task->deleted && common::canModify('execution', $execution) ? $this->loadModel('common')->buildOperateMenu($task) : array();
$hasDivider = !empty($actions['mainActions']) && !empty($actions['suffixActions']);
if(!empty($actions)) $actions = array_merge($actions['mainActions'], $hasDivider ? array(array('type' => 'divider')) : array(), $actions['suffixActions']);