This commit is contained in:
duxp 2023-09-12 16:20:54 +08:00
parent 99e789c551
commit 14a5b74dcf
1 changed files with 12 additions and 12 deletions

View File

@ -45,23 +45,23 @@
<div class="main_center">
<div class="main_center_item">
<div class="data1" onclick="openTab(5,'季度考核指标')">
<span style="font-weight:900;font-size: 18px" >季度考核完成情况</span>
<p class="all_num">日常考核总分0分</p>
<span style="font-weight:900;font-size: 18px" >季度考核情况</span>
<p class="all_num">考核总分0分</p>
<p class="curr_num">当前分数0分</p>
</div>
<div class="data2" onclick="openTab(5,'党风廉政建设')">
<span style="font-weight:900;font-size: 18px" >党风廉政建设</span>
<p class="all_num">日常考核总分0分</p>
<p class="all_num">考核总分0分</p>
<p class="curr_num">当前分数0分</p>
</div>
<div class="data3" onclick="openTab(5,'党务及意识形态')">
<span style="font-weight:900;font-size: 18px" >党务及意识形态</span>
<p class="all_num">日常考核总分0分</p>
<p class="all_num">考核总分0分</p>
<p class="curr_num">当前分数0分</p>
</div>
<div class="data4" onclick="openTab(5,'日常考核指标')">
<span style="font-weight:900;font-size: 18px" >日常考核完成情况</span>
<p class="all_num">日常考核总分0分</p>
<span style="font-weight:900;font-size: 18px" >日常考核情况</span>
<p class="all_num">考核总分0分</p>
<p class="curr_num">当前分数0分</p>
</div>
<canvas class="rain"></canvas>
@ -76,7 +76,7 @@
<div class="cicle7"></div>
<div class="cicle8">
<span class="circle_num">0%</span>
<p>季度考核完成情况</p>
<p>季度考核情况</p>
</div>
<div class="cicle9">
<span class="circle_num">0%</span>
@ -88,7 +88,7 @@
</div>
<div class="cicle11">
<span class="circle_num">0%</span>
<p>日常考核完成情况</p>
<p>日常考核情况</p>
</div>
</div>
<div class="main_footer">
@ -648,22 +648,22 @@
_data.forEach(item => {
switch (item.type) {
case "季度考核指标":
$(".data1").find('.all_num').text("日常考核总分:"+item.score+"分");
$(".data1").find('.all_num').text("考核总分:"+item.score+"分");
$(".data1").find('.curr_num').text("当前分数:"+item.nowScore+"分");
$(".cicle8").find('.circle_num').text(item.percent+"%");
break;
case "党风廉政建设":
$(".data2").find('.all_num').text("日常考核总分:"+item.score+"分");
$(".data2").find('.all_num').text("考核总分:"+item.score+"分");
$(".data2").find('.curr_num').text("当前分数:"+item.nowScore+"分");
$(".cicle9").find('.circle_num').text(item.percent+"%");
break;
case "党建及意识形态":
$(".data3").find('.all_num').text("日常考核总分:"+item.score+"分");
$(".data3").find('.all_num').text("考核总分:"+item.score+"分");
$(".data3").find('.curr_num').text("当前分数:"+item.nowScore+"分");
$(".cicle10").find('.circle_num').text(item.percent+"%");
break;
case "日常考核指标":
$(".data4").find('.all_num').text("日常考核总分:"+item.score+"分");
$(".data4").find('.all_num').text("考核总分:"+item.score+"分");
$(".data4").find('.curr_num').text("当前分数:"+item.nowScore+"分");
$(".cicle11").find('.circle_num').text(item.percent+"%");
break;