* Finish task #9026.

This commit is contained in:
tianshujie98
2021-01-12 11:44:56 +08:00
parent 8946c7131a
commit e6f6050a6b
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -293,7 +293,7 @@ $lang->story->report = new stdclass();
$lang->story->report->common = '报表';
$lang->story->report->select = '请选择报表类型';
$lang->story->report->create = '生成报表';
$lang->story->report->value = "{$lang->productSRCommon}数";
$lang->story->report->value = "需求数";
$lang->story->report->charts['storysPerProduct'] = $lang->productCommon . "{$lang->productSRCommon}数量";
$lang->story->report->charts['storysPerModule'] = "模块{$lang->productSRCommon}数量";
+1 -1
View File
@@ -293,7 +293,7 @@ $lang->story->report = new stdclass();
$lang->story->report->common = '報表';
$lang->story->report->select = '請選擇報表類型';
$lang->story->report->create = '生成報表';
$lang->story->report->value = "{$lang->productSRCommon}數";
$lang->story->report->value = "需求數";
$lang->story->report->charts['storysPerProduct'] = $lang->productCommon . "{$lang->productSRCommon}數量";
$lang->story->report->charts['storysPerModule'] = "模組{$lang->productSRCommon}數量";
+4 -4
View File
@@ -62,16 +62,16 @@
<thead>
<tr>
<th class='chart-label' colspan='2'><?php echo $lang->story->report->$chartType->item;?></th>
<th class='w-50px text-right'><?php echo $lang->story->report->value;?></th>
<th class='w-50px'><?php echo $lang->report->percent;?></th>
<th class='w-60px text-center'><?php echo $lang->story->report->value;?></th>
<th class='w-60px text-center'><?php echo $lang->report->percent;?></th>
</tr>
</thead>
<?php foreach($datas[$chartType] as $key => $data):?>
<tr>
<td class='chart-color'><i class='chart-color-dot'></i></td>
<td class='chart-label text-left'><?php echo $data->name;?></td>
<td class='chart-value text-right'><?php echo $data->value;?></td>
<td class='text-right'><?php echo ($data->percent * 100) . '%';?></td>
<td class='chart-value text-center'><?php echo $data->value;?></td>
<td class='text-center'><?php echo ($data->percent * 100) . '%';?></td>
</tr>
<?php endforeach;?>
</table>