* [task#134890,doing,0.5h] add tips of contribute data in annual report.

This commit is contained in:
zhouxin
2024-12-20 14:15:13 +08:00
committed by 綦新志
parent b0cc5765fd
commit 4d0bdeb629
3 changed files with 57 additions and 0 deletions
+1
View File
@@ -14,6 +14,7 @@ body {height: 100vh; padding: 0;}
#header {margin-bottom: 45px;}
#header > h1 {width: 500px; margin: 40px auto 0; height: 58px; font-weight: normal; text-align: center; font-size: 20px; display: block; line-height: 58px; position: relative; left: -30px;}
.report-tip {position: relative; padding-top: 1px; width: 800px;}
.contribution-tip {display: inline; position: absolute; margin-left: 10px}
#toolbar {position: absolute; right: 33px; top: 80px; text-align: center; width: 1280px;}
#toolbar #year {width: 70px; display: inline-block; margin-right: 5px; padding-top: 5px; border-color: #1a77a5; background-color: transparent; color: #fff;}
#toolbar #year option {background: #141414;}
+55
View File
@@ -237,6 +237,61 @@ $lang->report->tips->basic['user'] = '
4.待办数:某用户的待办数据求和。<br>
5.贡献数:某用户的贡献数据求和。';
$lang->report->tips->contributionCount['company'] = '
全公司在已选年份的贡献数据,包含:<br>
任务:创建、完成、关闭、取消、指派<br>
研发需求:创建、评审、关闭、指派<br>
用户需求:创建、评审、关闭、指派<br>
业务需求:创建、评审、关闭、指派<br>
Bug:创建、解决、关闭、指派<br>
用例:创建<br>
测试单:关闭<br>
审计:发起、审计<br>
基线:创建<br>
文档:创建、编辑<br>
问题:创建、关闭、指派<br>
风险:创建、关闭、指派<br>
QA:创建、解决、关闭、指派<br>
反馈:创建、评审、指派、关闭<br>
工单:创建、解决、指派、关闭<br>
';
$lang->report->tips->contributionCount['dept'] = '
已选部门的用户在已选年份的贡献数据,包含:<br>
任务:创建、完成、关闭、取消、指派<br>
研发需求:创建、评审、关闭、指派<br>
用户需求:创建、评审、关闭、指派<br>
业务需求:创建、评审、关闭、指派<br>
Bug:创建、解决、关闭、指派<br>
用例:创建<br>
测试单:关闭<br>
审计:发起、审计<br>
基线:创建<br>
文档:创建、编辑<br>
问题:创建、关闭、指派<br>
风险:创建、关闭、指派<br>
QA:创建、解决、关闭、指派<br>
反馈:创建、评审、指派、关闭<br>
工单:创建、解决、指派、关闭<br>
';
$lang->report->tips->contributionCount['user'] = '
已选用户在已选年份的贡献数据,包含:<br>
任务:创建、完成、关闭、取消、指派<br>
研发需求:创建、评审、关闭、指派<br>
用户需求:创建、评审、关闭、指派<br>
业务需求:创建、评审、关闭、指派<br>
Bug:创建、解决、关闭、指派<br>
用例:创建<br>
测试单:关闭<br>
审计:发起、审计<br>
基线:创建<br>
文档:创建、编辑<br>
问题:创建、关闭、指派<br>
风险:创建、关闭、指派<br>
QA:创建、解决、关闭、指派<br>
反馈:创建、评审、指派、关闭<br>
工单:创建、解决、指派、关闭<br>
';
$lang->report->tips->contribute['company'] = '不同系统对象在某年的操作次数求和。';
$lang->report->tips->contribute['dept'] = '不同系统对象在某年的操作次数求和,要求是操作用户属于选中的部门。';
$lang->report->tips->contribute['user'] = '不同系统对象在某年的操作次数求和,要求是操作用户属于选中的用户。';
+1
View File
@@ -56,6 +56,7 @@
<?php if($dept !== '' or !empty($account)):?>
<li>
<?php echo $annualDataLang->contributions;?>
<div class='report-tip contribution-tip'><icon class='icon icon-help' data-toggle='popover' data-html=true data-trigger='focus hover' data-tip-class='text-muted' data-content="<?php echo $lang->report->tips->contributionCount[$mode];?>"></icon></div>
<strong><?php echo $contributions;?></strong>
</li>
<?php endif;?>