|
@@ -18,7 +18,7 @@
|
|
<li><a href="${ctx}/admin/exam/arbitrate?subjectCode=${query.code}">仲裁管理</a></li>
|
|
<li><a href="${ctx}/admin/exam/arbitrate?subjectCode=${query.code}">仲裁管理</a></li>
|
|
<li><a href="${ctx}/admin/exam/quality?subjectCode=${query.code}">质量监控</a></li>
|
|
<li><a href="${ctx}/admin/exam/quality?subjectCode=${query.code}">质量监控</a></li>
|
|
</ul>
|
|
</ul>
|
|
- <div id="main" style="width: 800px;height:400px;"></div>
|
|
|
|
|
|
+ <div id="main" style="width: 1000px;height:400px;"></div>
|
|
<form id="searchForm" action="${ctx}/admin/exam/mark" method="post" class="breadcrumb form-search">
|
|
<form id="searchForm" action="${ctx}/admin/exam/mark" method="post" class="breadcrumb form-search">
|
|
<input type="hidden" id="pageNumber" name="pageNumber" value="${query.pageNumber }"/>
|
|
<input type="hidden" id="pageNumber" name="pageNumber" value="${query.pageNumber }"/>
|
|
<input type="hidden" id="pageSize" name="pageSize" value="${query.pageSize }"/>
|
|
<input type="hidden" id="pageSize" name="pageSize" value="${query.pageSize }"/>
|
|
@@ -110,6 +110,15 @@ var unMarkedCount =${unMarkedCount};
|
|
var finishCount =${finishCount};
|
|
var finishCount =${finishCount};
|
|
var unFinishCount =${unFinishCount};
|
|
var unFinishCount =${unFinishCount};
|
|
var myChart = echarts.init(document.getElementById('main'));
|
|
var myChart = echarts.init(document.getElementById('main'));
|
|
|
|
+var p1=100*unMarkedCount/(markedCount+unMarkedCount);
|
|
|
|
+var unMarkedCountTitle="任务待完成"+p1.toFixed(2)+"%";
|
|
|
|
+var p2= 100*markedCount/(markedCount+unMarkedCount);
|
|
|
|
+var markedCountTitle="任务已完成"+p2.toFixed(2)+"%";
|
|
|
|
+
|
|
|
|
+var p3=100*unFinishCount/(finishCount+unFinishCount);
|
|
|
|
+var unFinishCountTitle="科目待完成"+p3.toFixed(2)+"%";
|
|
|
|
+var p4= 100*finishCount/(finishCount+unFinishCount);
|
|
|
|
+var finishCountTitle="科目已完成"+p4.toFixed(2)+"%";
|
|
myChart.setOption({
|
|
myChart.setOption({
|
|
title: [{
|
|
title: [{
|
|
text: '阅卷总进度'
|
|
text: '阅卷总进度'
|
|
@@ -122,22 +131,22 @@ myChart.setOption({
|
|
orient: "vertical",
|
|
orient: "vertical",
|
|
left: "left",
|
|
left: "left",
|
|
top: "50px",
|
|
top: "50px",
|
|
- data: ["任务待完成", "任务已完成",]
|
|
|
|
|
|
+ data: [unMarkedCountTitle, markedCountTitle]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
orient: "vertical",
|
|
orient: "vertical",
|
|
left: "50%",
|
|
left: "50%",
|
|
top: "50px",
|
|
top: "50px",
|
|
- data: ["科目待完成", "科目已完成",]
|
|
|
|
|
|
+ data: [unFinishCountTitle, finishCountTitle]
|
|
}],
|
|
}],
|
|
series : [
|
|
series : [
|
|
{
|
|
{
|
|
type: 'pie',
|
|
type: 'pie',
|
|
radius: '55%',
|
|
radius: '55%',
|
|
- center: ['20%', '50%'],
|
|
|
|
|
|
+ center: ['25%', '50%'],
|
|
data:[
|
|
data:[
|
|
- {value:unMarkedCount, name:'任务待完成'},
|
|
|
|
- {value:markedCount, name:'任务已完成'}
|
|
|
|
|
|
+ {value:unMarkedCount, name:unMarkedCountTitle},
|
|
|
|
+ {value:markedCount, name:markedCountTitle}
|
|
],
|
|
],
|
|
animation: false,
|
|
animation: false,
|
|
label: {
|
|
label: {
|
|
@@ -148,10 +157,10 @@ myChart.setOption({
|
|
}, {
|
|
}, {
|
|
type: 'pie',
|
|
type: 'pie',
|
|
radius: '55%',
|
|
radius: '55%',
|
|
- center: ['80%', '50%'],
|
|
|
|
|
|
+ center: ['75%', '50%'],
|
|
data:[
|
|
data:[
|
|
- {value:unFinishCount, name:'科目待完成'},
|
|
|
|
- {value:finishCount, name:'科目已完成'}
|
|
|
|
|
|
+ {value:unFinishCount, name:unFinishCountTitle},
|
|
|
|
+ {value:finishCount, name:finishCountTitle}
|
|
],
|
|
],
|
|
animation: false,
|
|
animation: false,
|
|
label: {
|
|
label: {
|