|
@@ -49,7 +49,7 @@
|
|
<h1 id="mainTitle">融合报告详情
|
|
<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>
|
|
|
|
|
|
+ <button id="backButton" type="button" class="btn btn-default" onclick="showAggMainReport()" style="display: none; " >返回</button>
|
|
</h1>
|
|
</h1>
|
|
|
|
|
|
<!-- <h1>Summary for report 0-5</h1> -->
|
|
<!-- <h1>Summary for report 0-5</h1> -->
|
|
@@ -211,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}" th:onclick="'changeToTree('+${single2root.get(report.id)}+')'"
|
|
|
|
|
|
+ <span th:if="${single2root.get(report.id)!=null} and ${showReference}" th:onclick="'changeToTree('+${single2root.get(report.id)}+')'"
|
|
class="glyphicon glyphicon-tree-conifer"
|
|
class="glyphicon glyphicon-tree-conifer"
|
|
style="color: #07b309; margin-right: 5px;" >
|
|
style="color: #07b309; margin-right: 5px;" >
|
|
</span>
|
|
</span>
|
|
@@ -248,7 +248,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div id="aggPart">
|
|
|
|
|
|
+ <div id="treePart">
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@@ -372,7 +372,7 @@
|
|
<div style="overflow: auto;" class="row tree-container">
|
|
<div style="overflow: auto;" class="row tree-container">
|
|
<div class="col-md-8 tree-wrapper">
|
|
<div class="col-md-8 tree-wrapper">
|
|
<div class="box box-info pull-left svg-div" style="background-color: rgb(247, 247, 247); ">
|
|
<div class="box box-info pull-left svg-div" style="background-color: rgb(247, 247, 247); ">
|
|
- <h4 style="padding-left: 10px;" class="pull-left">聚合图</h4>
|
|
|
|
|
|
+ <h4 style="padding-left: 10px;" class="pull-left" id="showPicture">聚合图</h4>
|
|
<svg class="graph" id="tree" width="100%" height="420" viewBox="0 0 700 350">
|
|
<svg class="graph" id="tree" width="100%" height="420" viewBox="0 0 700 350">
|
|
<g transform="translate(10,20)" id="tree-g">
|
|
<g transform="translate(10,20)" id="tree-g">
|
|
<g class="links"></g>
|
|
<g class="links"></g>
|
|
@@ -522,6 +522,7 @@
|
|
//$('#new-report-create-block').load("/created_reports_form");
|
|
//$('#new-report-create-block').load("/created_reports_form");
|
|
$("#backButton").show();
|
|
$("#backButton").show();
|
|
$('#treePart').show();
|
|
$('#treePart').show();
|
|
|
|
+ $('#showPicture').html("树状图")
|
|
//initTree(treeId);
|
|
//initTree(treeId);
|
|
initTreeReport(treeId);
|
|
initTreeReport(treeId);
|
|
}
|
|
}
|
|
@@ -567,11 +568,12 @@
|
|
return $img;
|
|
return $img;
|
|
}
|
|
}
|
|
|
|
|
|
- showMainReport = function () {
|
|
|
|
|
|
+ showAggMainReport = function () {
|
|
$('#summary').show();
|
|
$('#summary').show();
|
|
$('#treePart').hide();
|
|
$('#treePart').hide();
|
|
$('#backButton').hide();
|
|
$('#backButton').hide();
|
|
initMaster();
|
|
initMaster();
|
|
|
|
+ $('#showPicture').html("聚合图")
|
|
}
|
|
}
|
|
|
|
|
|
function showCreateButton() {
|
|
function showCreateButton() {
|
|
@@ -683,8 +685,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
function reviewConfirm() {
|
|
function reviewConfirm() {
|
|
$.ajax({
|
|
$.ajax({
|
|
url: '/bug_review?masterId='+masterId,
|
|
url: '/bug_review?masterId='+masterId,
|