|
|
@ -7,17 +7,24 @@ $(function(){
|
|
|
|
$(".index_nav ul li").each(function(index){
|
|
|
|
$(".index_nav ul li").each(function(index){
|
|
|
|
$(this).click(function(){
|
|
|
|
$(this).click(function(){
|
|
|
|
$(this).addClass("nav_active").siblings().removeClass("nav_active");
|
|
|
|
$(this).addClass("nav_active").siblings().removeClass("nav_active");
|
|
|
|
$(".index_tabs .inner").eq(index).fadeIn().siblings("div").stop().hide();
|
|
|
|
if (index===0){
|
|
|
|
|
|
|
|
$(".index_tabs .inner").eq(0).fadeIn().siblings("div").stop().hide();
|
|
|
|
|
|
|
|
}
|
|
|
|
if(index==1){
|
|
|
|
if(index==1){
|
|
|
|
yingXiao();
|
|
|
|
$(".index_tabs .inner").eq(3).fadeIn().siblings("div").stop().hide();
|
|
|
|
|
|
|
|
AnQuan();
|
|
|
|
}else if(index==2){
|
|
|
|
}else if(index==2){
|
|
|
|
shouRu();
|
|
|
|
$(".index_tabs .inner").eq(1).fadeIn().siblings("div").stop().hide();
|
|
|
|
|
|
|
|
yingXiao();
|
|
|
|
}else if(index==3){
|
|
|
|
}else if(index==3){
|
|
|
|
AnQuan();
|
|
|
|
$(".index_tabs .inner").eq(5).siblings("div").stop().hide();
|
|
|
|
|
|
|
|
|
|
|
|
}else if(index==4){
|
|
|
|
}else if(index==4){
|
|
|
|
|
|
|
|
$(".index_tabs .inner").eq(4).fadeIn().siblings("div").stop().hide();
|
|
|
|
user();
|
|
|
|
user();
|
|
|
|
}else if(index==5){
|
|
|
|
}else if(index==5){
|
|
|
|
manage();
|
|
|
|
$(".index_tabs .inner").eq(2).fadeIn().siblings("div").stop().hide();
|
|
|
|
|
|
|
|
shouRu();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -3303,9 +3310,8 @@ function shouRu(){
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//线表分析
|
|
|
|
function AnQuan(){
|
|
|
|
function AnQuan(){
|
|
|
|
// 安全分析
|
|
|
|
|
|
|
|
// 事件趋势分析
|
|
|
|
|
|
|
|
$(function(){
|
|
|
|
$(function(){
|
|
|
|
const myChart = echarts.init($("#shijian01")[0]);
|
|
|
|
const myChart = echarts.init($("#shijian01")[0]);
|
|
|
|
const option = {
|
|
|
|
const option = {
|
|
|
@ -3315,7 +3321,7 @@ function AnQuan(){
|
|
|
|
},
|
|
|
|
},
|
|
|
|
legend: {
|
|
|
|
legend: {
|
|
|
|
x: 'center',
|
|
|
|
x: 'center',
|
|
|
|
data: ["线表计划",'完成情况'],
|
|
|
|
data: ["线表计划",'月度计划'],
|
|
|
|
textStyle:{
|
|
|
|
textStyle:{
|
|
|
|
color:"#e9ebee"
|
|
|
|
color:"#e9ebee"
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -3366,7 +3372,7 @@ function AnQuan(){
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: "完成情况",
|
|
|
|
name: "月度计划",
|
|
|
|
type: "line",
|
|
|
|
type: "line",
|
|
|
|
data:[],
|
|
|
|
data:[],
|
|
|
|
}
|
|
|
|
}
|
|
|
|