|
@@ -45,9 +45,13 @@
|
|
<th:block layout:fragment="maincontent">
|
|
<th:block layout:fragment="maincontent">
|
|
|
|
|
|
<section class="content-header">
|
|
<section class="content-header">
|
|
- <h1>融合报告详情
|
|
|
|
|
|
+<!-- <button id="backButton" onclick="showMainReport()" style="display: none; " >返回</button>-->
|
|
|
|
+ <h1 id="mainTitle">融合报告详情
|
|
<small th:text="${aggReportId}"></small>
|
|
<small th:text="${aggReportId}"></small>
|
|
|
|
+
|
|
|
|
+ <button id="backButton" type="button" class="btn btn-default" onclick="showMainReport()" style="display: none; " >返回</button>
|
|
</h1>
|
|
</h1>
|
|
|
|
+
|
|
<!-- <h1>Summary for report 0-5</h1> -->
|
|
<!-- <h1>Summary for report 0-5</h1> -->
|
|
<!-- <small style="font-style: italic;">at 50% report-level and 25% supplementary level</small> -->
|
|
<!-- <small style="font-style: italic;">at 50% report-level and 25% supplementary level</small> -->
|
|
|
|
|
|
@@ -69,9 +73,10 @@
|
|
</li>
|
|
</li>
|
|
</ol>
|
|
</ol>
|
|
</section>
|
|
</section>
|
|
- <section class="content container-fluid">
|
|
|
|
|
|
+
|
|
|
|
+ <section class="content container-fluid">
|
|
<div style="overflow: auto;" class="row">
|
|
<div style="overflow: auto;" class="row">
|
|
- <div class="col-md-8" id="summary">
|
|
|
|
|
|
+ <div class="col-md-8" id="summary" th:fragment="masterBody">
|
|
<div class="box box-info detail-table">
|
|
<div class="box box-info detail-table">
|
|
<div class="box-header with-border" style="padding: 4px;">
|
|
<div class="box-header with-border" style="padding: 4px;">
|
|
<i class="fa fa-object-group" style="color: #00c0ef;"></i>
|
|
<i class="fa fa-object-group" style="color: #00c0ef;"></i>
|
|
@@ -206,7 +211,7 @@
|
|
style="color: #3c8dbc; margin-right: 5px;"></span>
|
|
style="color: #3c8dbc; margin-right: 5px;"></span>
|
|
<a th:href="'/report/'+${report.id}+'?examId=' + ${examId} + '&caseId=' + ${caseId}" style="margin-right: 5px;" th:text="${report.id}"></a>
|
|
<a th:href="'/report/'+${report.id}+'?examId=' + ${examId} + '&caseId=' + ${caseId}" style="margin-right: 5px;" th:text="${report.id}"></a>
|
|
<!--查看树状报告-->
|
|
<!--查看树状报告-->
|
|
- <span th:if="${single2root.get(report.id)!=null}"
|
|
|
|
|
|
+ <span th:if="${single2root.get(report.id)!=null}" th:onclick="'changeToTree('+${single2root.get(report.id)}+')'"
|
|
th:href="'/history/report?treeId='+${single2root.get(report.id)}+'&examId='+ ${examId} + '&caseId=' + ${caseId}"
|
|
th:href="'/history/report?treeId='+${single2root.get(report.id)}+'&examId='+ ${examId} + '&caseId=' + ${caseId}"
|
|
class="glyphicon glyphicon-tree-conifer"
|
|
class="glyphicon glyphicon-tree-conifer"
|
|
style="color: #07b309; margin-right: 5px;" >
|
|
style="color: #07b309; margin-right: 5px;" >
|
|
@@ -236,17 +241,20 @@
|
|
</ul>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</li>
|
|
-
|
|
|
|
-
|
|
|
|
</ul>
|
|
</ul>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
</tbody>
|
|
</tbody>
|
|
</table>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div id="treePart">
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
+
|
|
|
|
+
|
|
<div class="col-md-4 pull-right" >
|
|
<div class="col-md-4 pull-right" >
|
|
<!--<div id="my_favorite_latin_words" class="box box-info" style="margin-bottom: 5px; min-height: 182px;"></div>-->
|
|
<!--<div id="my_favorite_latin_words" class="box box-info" style="margin-bottom: 5px; min-height: 182px;"></div>-->
|
|
|
|
|
|
@@ -388,6 +396,9 @@
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
</section>
|
|
</section>
|
|
</th:block>
|
|
</th:block>
|
|
|
|
|
|
@@ -429,6 +440,7 @@
|
|
</script>
|
|
</script>
|
|
<script src="https://d3js.org/d3.v4.min.js"></script>
|
|
<script src="https://d3js.org/d3.v4.min.js"></script>
|
|
<script type="text/javascript" src="/static/js/agg_report_new.js"></script>
|
|
<script type="text/javascript" src="/static/js/agg_report_new.js"></script>
|
|
|
|
+<script type="text/javascript" src="/static/js/tree_report_new.js"></script>
|
|
<script type="text/javascript" src="/static/js/jqcloud-1.0.4.min.js"></script>
|
|
<script type="text/javascript" src="/static/js/jqcloud-1.0.4.min.js"></script>
|
|
<!--<script type="text/javascript" src="/static/js/partload.js"></script>-->
|
|
<!--<script type="text/javascript" src="/static/js/partload.js"></script>-->
|
|
<script type="text/javascript" xmlns:th="http://www.thymeleaf.org" th:inline="javascript">
|
|
<script type="text/javascript" xmlns:th="http://www.thymeleaf.org" th:inline="javascript">
|
|
@@ -510,6 +522,29 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ changeToTree = function (treeId) { //
|
|
|
|
+ // alert(treeId);
|
|
|
|
+ // $('#summary').hide();
|
|
|
|
+ /*<![CDATA[*/
|
|
|
|
+ $('#summary').hide();
|
|
|
|
+ $("#treePart").load("/history/report_part?treeId="+treeId+"&caseId="+ caseId +"&examId="+ examId);
|
|
|
|
+ //$('#new-report-create-block').load("/created_reports_form");
|
|
|
|
+ $("#backButton").show();
|
|
|
|
+ $('.sup-collapse').click(function () {
|
|
|
|
+ var dupTitle = $(this).parents('li').find('.sup-title');
|
|
|
|
+ dupTitle.toggle();
|
|
|
|
+ });
|
|
|
|
+ $('#treePart').show();
|
|
|
|
+ initTree();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ showMainReport = function () {
|
|
|
|
+ $('#summary').show();
|
|
|
|
+ $('#treePart').hide();
|
|
|
|
+ $('#backButton').hide();
|
|
|
|
+ initMaster();
|
|
|
|
+ }
|
|
|
|
+
|
|
function showCreateButton() {
|
|
function showCreateButton() {
|
|
$("#create_bug").show()
|
|
$("#create_bug").show()
|
|
|
|
|