diff --git a/js/index.js b/js/index.js
index f6f7799..d5ed22e 100644
--- a/js/index.js
+++ b/js/index.js
@@ -7,17 +7,24 @@ $(function(){
$(".index_nav ul li").each(function(index){
$(this).click(function(){
$(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){
- yingXiao();
+ $(".index_tabs .inner").eq(3).fadeIn().siblings("div").stop().hide();
+ AnQuan();
}else if(index==2){
- shouRu();
+ $(".index_tabs .inner").eq(1).fadeIn().siblings("div").stop().hide();
+ yingXiao();
}else if(index==3){
- AnQuan();
+ $(".index_tabs .inner").eq(5).siblings("div").stop().hide();
+
}else if(index==4){
+ $(".index_tabs .inner").eq(4).fadeIn().siblings("div").stop().hide();
user();
}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(){
const myChart = echarts.init($("#shijian01")[0]);
const option = {
@@ -3315,7 +3321,7 @@ function AnQuan(){
},
legend: {
x: 'center',
- data: ["线表计划",'完成情况'],
+ data: ["线表计划",'月度计划'],
textStyle:{
color:"#e9ebee"
}
@@ -3366,7 +3372,7 @@ function AnQuan(){
},
{
- name: "完成情况",
+ name: "月度计划",
type: "line",
data:[],
}