* code for bug #15377.

This commit is contained in:
wangyidong
2022-04-26 16:43:10 +08:00
parent 23726bdb49
commit 66df7b4990
3 changed files with 19 additions and 7 deletions
@@ -1,21 +1,24 @@
<style> .block-waterfallestimate table{margin-bottom: 15px} </style>
<style>
.block-waterfallestimate table{margin-bottom: 15px}
.block-waterfallestimate table th{width: 135px !important}
</style>
<table class='table table-data'>
<tr>
<th class='w-100px'><?php echo $lang->durationestimation->people;?></th>
<th><?php echo $lang->durationestimation->people;?></th>
<td><?php echo $people ? $people : 0;?></td>
<th class='w-100px'><?php echo $lang->workestimation->duration;?></th>
<th><?php echo $lang->workestimation->duration;?></th>
<td><?php echo zget($budget, 'duration', 0);?></td>
</tr>
<tr>
<th class='w-100px'><?php echo $lang->durationestimation->members;?></th>
<th><?php echo $lang->durationestimation->members;?></th>
<td><?php echo $members;?></td>
<th class='w-100px'><?php echo $lang->workestimation->consumed;?></th>
<th><?php echo $lang->workestimation->consumed;?></th>
<td><?php echo $consumed ? $consumed : 0;?></td>
</tr>
<tr>
<th class='w-100px'><?php echo $lang->workestimation->totalLaborCost;?></th>
<th><?php echo $lang->workestimation->totalLaborCost;?></th>
<td><?php echo '¥' . zget($budget, 'totalLaborCost', 0);?></td>
<th class='w-100px'><?php echo $lang->block->remain;?></th>
<th><?php echo $lang->block->remain;?></th>
<td><?php echo $totalLeft ? $totalLeft : 0;?></td>
</tr>
</table>
@@ -20,7 +20,11 @@
<?php endif;?>
</div>
<style>
<?php if(common::checkNotCN()):?>
.gantt-product-tips {position: absolute; top: -32px; left: 280px; opacity: 0.5;}
<?php else:?>
.gantt-product-tips {position: absolute; top: -32px; left: 240px; opacity: 0.5;}
<?php endif;?>
.gantt-product-tips i {vertical-align: middle;}
.block-waterfallgantt > .panel-body {overflow: visible!important}
#<?php echo $waterfallGanttID; ?> {position: relative}
@@ -95,6 +99,7 @@
$.each(tasks, function(index, task)
{
var plan = plansMap[task.parent];
if(typeof(plan) == 'undefined') return;
while(plan.parent > 0)
{
plan = plansMap[plan.parent];
@@ -3,7 +3,11 @@
.block-waterfallreport .col-right {width: 87%;}
.block-waterfallreport .panel-body {padding-top: 0;}
.block-waterfallreport .table-row {margin-bottom: 20px;}
<?php if(common::checkNotCN()):?>
.block-waterfallreport .stage {position: absolute; top: 14px; left: 140px;}
<?php else:?>
.block-waterfallreport .stage {position: absolute; top: 14px; left: 90px;}
<?php endif;?>
.block-waterfallreport .col-right .tiles {padding: 10px 0 0 16px;}
.block-waterfallreport .col-right .tile {width: 20%;}
.block-waterfallreport .col-right .tile .tile-title {font-weight: 700;}