|
@@ -43,15 +43,19 @@ $(function(){
|
|
|
function tiaomu(){
|
|
|
$(".defect .partTitlePub").click(function(){
|
|
|
$(parent.document).find("#contentIframe").attr("src","mukuai.html?from=2&deptName="+curDept+"&dateType="+dateType)
|
|
|
+ $(".container",parent.document).removeClass("console-cont");
|
|
|
})
|
|
|
$(".circleBSingle .title,.homePageNo .title").click(function(){
|
|
|
$(parent.document).find("#contentIframe").attr("src","tiaomu.html?from=2&deptName="+curDept+"&dateType="+dateType)
|
|
|
+ $(".container",parent.document).removeClass("console-cont");
|
|
|
})
|
|
|
$(".homePage .title").click(function(){
|
|
|
$(parent.document).find("#contentIframe").attr("src","partDetail.html")
|
|
|
+ $(".container",parent.document).removeClass("console-cont");
|
|
|
})
|
|
|
$(".part02 .bingli,.part02 .bingliLis").click(function(){
|
|
|
$(parent.document).find("#contentIframe").attr("src","deptScoreDetail.html")
|
|
|
+ $(".container",parent.document).removeClass("console-cont");
|
|
|
})
|
|
|
}
|
|
|
//判断有无某一权限
|
|
@@ -75,8 +79,8 @@ function dateChange(){
|
|
|
backgroundColor:'#00A1FF',
|
|
|
color:'#fff'
|
|
|
}).siblings().css({
|
|
|
- color:'#00A1FF',
|
|
|
- backgroundColor:'#fff'
|
|
|
+ color:'#fff',
|
|
|
+ backgroundColor:'#203463'
|
|
|
})
|
|
|
dateType = 1
|
|
|
getBarData(1)
|
|
@@ -86,8 +90,8 @@ function dateChange(){
|
|
|
backgroundColor:'#00A1FF',
|
|
|
color:'#fff'
|
|
|
}).siblings().css({
|
|
|
- color:'#00A1FF',
|
|
|
- backgroundColor:'#fff'
|
|
|
+ color:'#fff',
|
|
|
+ backgroundColor:'#203463'
|
|
|
})
|
|
|
dateType = 2
|
|
|
getBarData(2)
|
|
@@ -144,7 +148,11 @@ function getOwnDept(){
|
|
|
curDept = result[0].deptName
|
|
|
$(".partTitle p i,.toggleSlide p span").html(curDept).attr("title",curDept)
|
|
|
getBarData(2)//图标数据获取
|
|
|
+ }else {
|
|
|
+ $(".partTitle p i,.toggleSlide p span").html('--')
|
|
|
}
|
|
|
+ }).catch(()=>{
|
|
|
+ $(".partTitle p i,.toggleSlide p span").html('--')
|
|
|
})
|
|
|
// }
|
|
|
}
|
|
@@ -493,7 +501,7 @@ function emptyCircleB(data){
|
|
|
total += echartData[i].num
|
|
|
}
|
|
|
option = {
|
|
|
- backgroundColor: bgColor,
|
|
|
+ // backgroundColor: bgColor,
|
|
|
color: color,
|
|
|
title: [{
|
|
|
text: data.length>0?'{val|' + total + '}\n{name|' + title + '}':'',
|
|
@@ -503,14 +511,14 @@ function emptyCircleB(data){
|
|
|
rich: {
|
|
|
val: {
|
|
|
fontSize: 24,
|
|
|
- color: '#333',
|
|
|
+ color: '#fff',
|
|
|
fontWeight: 'bold',
|
|
|
padding: [10, 0]
|
|
|
},
|
|
|
name: {
|
|
|
fontSize: 12,
|
|
|
fontWeight: 'normal',
|
|
|
- color: '#777',
|
|
|
+ color: '#fff',
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -533,7 +541,7 @@ function emptyCircleB(data){
|
|
|
hoverOffset:5,
|
|
|
itemStyle: {
|
|
|
normal: {
|
|
|
- borderColor: bgColor,
|
|
|
+ // borderColor: bgColor,
|
|
|
borderWidth: 2
|
|
|
}
|
|
|
},
|