|
|
|
|
|
/*头部*/
|
|
|
var innerHTML = "<h5 style='color: #E0EEE0;font-style:oblique;font-weight:900;font-size:200%;margin-left: 45px;margin-top: 20px;'>YOHO</h5>";
|
|
|
innerHTML += "<div id='user-nav'>";
|
|
|
innerHTML += "<ul class='nav btn-group'>";
|
|
|
//innerHTML += "<li class='btn btn-inverse'><a id='changepwd_a' href='#'><i class='icon icon-cog'></i> <span class='text'>changePWD</span></a></li>";
|
|
|
innerHTML += "<li class='btn btn-inverse'><a id='logout_a' href='#'><i class='icon icon-share-alt'></i> <span class='text'>Logout</span></a></li>";
|
|
|
innerHTML += "</ul>";
|
|
|
innerHTML += "</div>";
|
|
|
innerHTML += "<div id='sidebar'><ul>";
|
|
|
innerHTML += "<li id='li_dashboard'><a id='li_dashboard_a' href=''><i class='icon icon-th'></i> <span>Dashboard</span></a></li>";
|
|
|
|
|
|
/*监控*/
|
|
|
innerHTML += "<li class='submenu' id='li_monitor'><a id='li_monitor_a' href='#'><i class='icon icon-th-list'></i> <span>监控</span><span class='label'>10</span></a><ul>";
|
|
|
innerHTML += "<li id='li_javaMonitor'><a id='li_javaMonitor_a' href=''><i class='icon icon-th'></i> <span>JAVA服务监控</span></a></li>";
|
|
|
innerHTML += "<li id='li_javaApiMonitor'><a id='li_javaApiMonitor_a' href=''><i class='icon icon-th'></i> <span>JAVA API监控</span></a></li>";
|
|
|
innerHTML += "<li id='li_javaApi'><a id='li_javaApi_a' href=''><i class='icon icon-th'></i> <span>JAVA服务信息</span></a></li>";
|
|
|
innerHTML += "<li id='li_zkInfo'><a id='li_zkInfo_a' href=''><i class='icon icon-th'></i> <span>ZK监控</span></a></li>";
|
|
|
innerHTML += "<li id='li_zkSvcLookup'><a id='li_zkSvcLookup_a' href=''><i class='icon icon-th'></i> <span>ZK服务信息</span></a></li>";
|
|
|
innerHTML += "<li id='li_rabbitview'><a id='li_rabbitview_a' href=''><i class='icon icon-th'></i> <span>Rabbitmq监控</span></a></li>";
|
|
|
innerHTML += "<li id='li_newRedisMonitor'><a id='li_newRedisMonitor_a' href=''><i class='icon icon-th'></i> <span>Redis监控</span></a></li>";
|
|
|
innerHTML += "<li id='li_newRedisMonitor'><a id='li_memcachedMonitor_a' href=''><i class='icon icon-th'></i> <span>Memcached监控</span></a></li>";
|
|
|
/*innerHTML += "<li id='li_dns_monitor'><a id='li_dns_monitor_a' href=''><i class='icon icon-th'></i> <span>DNS反劫持监控</span></a></li>";
|
|
|
innerHTML += "<li id='li_monit'><a id='li_monit_a' href=''><i class='icon icon-th'></i> <span>Monit监控</span></a></li>";*/
|
|
|
innerHTML += "<li id='li_sqlOpLogs'><a id='li_sqlOpLogs_a' href=''><i class='icon icon-th'></i> <span>SQL操作日志</span></a></li>";
|
|
|
innerHTML += "<li id='li_mysql'><a id='li_mysql_a' href=''><i class='icon icon-th'></i> <span>Mysql监控</span></a></li>";
|
|
|
innerHTML += "</ul></li>";
|
|
|
|
|
|
/*运维(大数据)*/
|
|
|
innerHTML += "<li class='submenu' id='li_bigdata_ops'><a id='li_bigdata_ops_a' href='#'><i class='icon icon-th-list'></i> <span>运维监控(大数据)</span><span class='label'>6</span></a><ul>";
|
|
|
innerHTML += "<li id='li_bigdata_ops_dashboard_info'><a id='li_bigdata_ops_dashboard_info_a' href=''><i class='icon icon-th'></i> <span>DashBoard</span></a></li>";
|
|
|
innerHTML += "<li id='li_bigdata_ops_strategy_info'><a id='li_bigdata_ops_strategy_info_a' href=''><i class='icon icon-th'></i> <span>告警策略配置</span></a></li>";
|
|
|
innerHTML += "<li id='li_bigdata_ops_metric_info'><a id='li_bigdata_ops_metric_info_a' href=''><i class='icon icon-th'></i> <span>监控指标管理</span></a></li>";
|
|
|
innerHTML += "<li id='li_bigdata_ops_host_info'><a id='li_bigdata_ops_host_info_a' href=''><i class='icon icon-th'></i> <span>主机策略查看</span></a></li>";
|
|
|
|
|
|
innerHTML += "<li id='li_bigdata_ops_alarm_info'><a id='li_bigdata_ops_alarm_info_a' href=''><i class='icon icon-th'></i> <span>告警动作配置</span></a></li>";
|
|
|
|
|
|
innerHTML += "</ul></li>";
|
|
|
|
|
|
/*主机管理*/
|
|
|
innerHTML += "<li class='submenu' id='li_host'><a id='li_host_a' href='#'><i class='icon icon-th-list'></i> <span>主机管理</span><span class='label'>3</span></a><ul>";
|
|
|
innerHTML += "<li id='li_hostGroupList'><a id='li_hostGroupList_a' href=''><i class='icon icon-th'></i> <span>标签管理</span></a></li>";
|
|
|
innerHTML += "<li id='li_hostInfoList'><a id='li_hostInfoList_a' href=''><i class='icon icon-th'></i> <span>主机管理</span></a></li>";
|
|
|
innerHTML += "<li id='li_mobjectInfo'><a id='li_mobjectInfo_a' href=''><i class='icon icon-th'></i> <span>监控对象</span></a></li>";
|
|
|
innerHTML += "</ul></li>";
|
|
|
|
|
|
/*工单系统*/
|
|
|
innerHTML += "<li class='submenu' id='li_worksystem'><a id='li_worksystem_a' href='#'><i class='icon icon-th-list'></i> <span>工单系统</span><span class='label'>4</span></a><ul>";
|
|
|
innerHTML += "<li id='li_addWork'><a id='li_addWork_a' href=''><i class='icon icon-th'></i> <span>新建工单</span></a></li>";
|
|
|
innerHTML += "<li id='li_pendingWork'><a id='li_pendingWork_a' href=''><i class='icon icon-th'></i> <span>待办工单</span></a></li>";
|
|
|
innerHTML += "<li id='li_handledWork'><a id='li_handledWork_a' href=''><i class='icon icon-th'></i> <span>已办工单</span></a></li>";
|
|
|
innerHTML += "<li id='li_works'><a id='li_works_a' href=''><i class='icon icon-th'></i> <span>工单列表</span></a></li>";
|
|
|
innerHTML += "</ul></li>";
|
|
|
|
|
|
|
|
|
/*配置管理*/
|
|
|
innerHTML += "<li class='submenu' id='li_config'><a id='li_config_a' href='#'><i class='icon icon-th-list'></i> <span>配置管理</span><span class='label'>10</span></a><ul>";
|
|
|
innerHTML += "<li id='li_zkMonitor'><a id='li_zkMonitor_a' href=''><i class='icon icon-th'></i> <span>ZK配置管理</span></a></li>";
|
|
|
innerHTML += "<li id='li_zkConfigCenter'><a id='li_zkConfigCenter_a' href=''><i class='icon icon-th'></i> <span>配置中心</span></a></li>";
|
|
|
innerHTML += "<li id='li_zkMonitor_log4j'><a id='li_zkMonitor_log4j_a' href=''><i class='icon icon-th'></i> <span>Log4j配置管理</span></a></li>";
|
|
|
innerHTML += "<li id='li_nginxSync'><a id='li_nginxSync_a' href=''><i class='icon icon-th'></i> <span>Nginx配置同步</span></a></li>";
|
|
|
innerHTML += "<li id='li_degrade_info'><a id='li_degrade_info_a' href=''><i class='icon icon-th'></i> <span>降级服务配置</span></a></li>";
|
|
|
innerHTML += "<li id='li_app_degrade'><a id='li_app_degrade_a' href=''><i class='icon icon-th'></i> <span>APP降级管理</span></a></li>";
|
|
|
innerHTML += "<li id='li_hystrix_info'><a id='li_hystrix_info_a' href=''><i class='icon icon-th'></i> <span>Hystrix配置</span></a></li>";
|
|
|
innerHTML += "<li id='li_cache_info'><a id='li_cache_info_a' href=''><i class='icon icon-th'></i> <span>缓存时间配置</span></a></li>";
|
|
|
innerHTML += "<li id='li_ips_compare_new'><a id='li_ips_compare_new_a' href=''><i class='icon icon-th'></i> <span>在线服务Ip配置对比</span></a></li>";
|
|
|
innerHTML += "<li id='li_docker_project_info'><a id='li_docker_project_info_a' href=''><i class='icon icon-th'></i> <span>Docker项目配置</span></a></li>";
|
|
|
innerHTML += "<li id='li_docker_monitor_service'><a id='li_docker_monitor_service_a' href=''><i class='icon icon-th'></i> <span>Docker服务监控</span></a></li>";
|
|
|
innerHTML += "</ul></li>";
|
|
|
|
|
|
/*project*/
|
|
|
innerHTML += "<li class='submenu' id='li_project'><a id='li_project_a' href='#'><i class='icon icon-th-list'></i> <span>项目发布</span><span class='label'>9</span></a><ul>";
|
|
|
innerHTML += "<li id='li_projectRelease'><a id='li_projectRelease_a' href=''><i class='icon icon-th'></i> <span>JAVA发布</span></a></li>";
|
|
|
innerHTML += "<li id='li_phpRelease'><a id='li_phpRelease_a' href=''><i class='icon icon-th'></i> <span>PHP发布</span></a></li>";
|
|
|
innerHTML += "<li id='li_nodeRelease'><a id='li_nodeRelease_a' href=''><i class='icon icon-th'></i> <span>NODE发布</span></a></li>";
|
|
|
innerHTML += "<li id='li_dockerRelease'><a id='li_dockerRelease_a' href=''><i class='icon icon-th'></i> <span>DOCKER发布</span></a></li>";
|
|
|
innerHTML += "<li id='li_internalDomain'><a id='li_internalDomain_a' href=''><i class='icon icon-th'></i> <span>DNS发布</span></a></li>";
|
|
|
innerHTML += "<li id='li_node'><a id='li_node_a' href=''><i class='icon icon-th'></i> <span>NODE发布</span></a></li>";
|
|
|
innerHTML += "<li id='li_projectHistory'><a id='li_projectHistory_a' href=''><i class='icon icon-th'></i> <span>发布记录</span></a></li>";
|
|
|
innerHTML += "<li id='li_internalDomainHistory'><a id='li_internalDomainHistory_a' href=''><i class='icon icon-th'></i> <span>DNS记录</span></a></li>";
|
|
|
innerHTML += "<li id='li_javarollbackbytime'><a id='li_javarollbackbytime_a' href=''><i class='icon icon-th'></i> <span>java按天回滚</span></a></li>";
|
|
|
innerHTML += "</ul></li>";
|
|
|
|
|
|
/*switch*/
|
|
|
innerHTML += "<li class='submenu' id='li_switch'><a id='li_switch_a' href='#'><i class='icon icon-th-list'></i> <span>关键切换</span><span class='label'>6</span></a>";
|
|
|
innerHTML += "<ul>";
|
|
|
innerHTML += "<li id='li_javarestart'><a id='li_javarestart_a' href='#'>java重启</a></li>";
|
|
|
innerHTML += "<li id='li_nodeMonitor'><a id='li_nodeMonitor_a' href=''><i class='icon icon-th'></i> <span>node重启</span></a></li>";
|
|
|
innerHTML += "<li id='li_centerswitch_new'><a id='li_centerswitch_new_a' href='#'>双中心切换_新</a></li>";
|
|
|
innerHTML += "<li id='li_switchtopo'><a id='li_switchtopo_a' href='#'>NGINX切换</a></li>";
|
|
|
innerHTML += "<li id='li_switchsearch'><a id='li_switchsearch_a' href='#'>搜索流量切换</a></li>";
|
|
|
innerHTML += "<li id='li_storeswitch'><a id='li_storeswitch_a' href='#'>线下店nginx切换</a></li>";
|
|
|
innerHTML += "</ul></li>";
|
|
|
|
|
|
/*manage*/
|
|
|
innerHTML += "<li class='submenu' id='li_manager'><a id='li_manager_a' href='#'><i class='icon icon-th-list'></i> <span>管理员</span><span class='label'>7</span></a>";
|
|
|
innerHTML += "<ul><li id='li_user'><a id='li_user_a' href=''>用户管理</a></li>";
|
|
|
innerHTML += "<li id='li_user_operate_log'><a id='li_user_operate_log_a' href=''>用户操作日志</a></li>";
|
|
|
innerHTML += "<li id='li_module'><a id='li_module_a' href=''>模块管理</a></li>";
|
|
|
innerHTML += "<li id='li_alarmgroup'><a id='li_alarmgroup_a' href=''>报警组管理</a></li>";
|
|
|
innerHTML += "<li id='li_autoscaling'><a id='li_autoscaling_a' href=''>伸缩组</a></li>";
|
|
|
innerHTML += "<li id='li_alarmSwitch'><a id='li_alarmSwitch_a' href=''>告警开关</a></li>";
|
|
|
innerHTML += "<li id='li_redisClear'><a id='li_redisClear_a' href=''>redis缓存清理</a></li>";
|
|
|
innerHTML += "</ul></li>";
|
|
|
|
|
|
/*influxdb告警配置*/
|
|
|
innerHTML += "<li class='submenu' id='li_influxdb_task_manager'><a id='li_influxdb_task_manager_a' href='#'><i class='icon icon-th-list'></i> <span>influxdb告警配置</span><span class='label'>2</span></a>";
|
|
|
innerHTML += "<ul><li id='li_taskConfigure'><a id='li_taskConfigure_a' href=''>任务管理</a></li>";
|
|
|
innerHTML += "<li id='li_yoho_event_taskConfigure'><a id='li_yoho_event_taskConfigure_a' href=''>GatewayAccess事件检测</a></li>";
|
|
|
innerHTML += "</ul></li>";
|
|
|
|
|
|
/*恶意ip撞库管理*/
|
|
|
innerHTML += "<li class='submenu' id='li_mip'><a id='li_mip_a' href='#'><i class='icon icon-th-list'></i> <span>撞库管理</span><span class='label'>4</span></a>";
|
|
|
innerHTML += "<ul><li id='li_malicious_ip_rules'><a id='li_malicious_ip_rules_a' href=''><i class='icon icon-th'></i> <span>恶意ip规则配置</span></a></li>";
|
|
|
innerHTML += "<li id='li_malicious_ips_new'><a id='li_malicious_ips_a_new' href=''><i class='icon icon-th'></i> <span>恶意ip_自动封禁</span></a></li>";
|
|
|
/*innerHTML += "<li id='li_malicious_ips_filter'><a id='li_malicious_ips_filter_a' href=''><i class='icon icon-th'></i> <span>恶意ip过滤集</span></a></li>";*/
|
|
|
innerHTML += "<li id='li_malicious_record'><a id='li_malicious_ips_record_a' href=''><i class='icon icon-th'></i> <span>恶意ip_实时算法数据</span></a></li>";
|
|
|
innerHTML += "<li id='li_malicious_record_forbid'><a id='li_malicious_ips_record_forbid_a' href=''><i class='icon icon-th'></i> <span>恶意ip_告警数据</span></a></li>";
|
|
|
innerHTML += "</ul></li>";
|
|
|
/*其他*/
|
|
|
innerHTML += "<li class='submenu' id='li_other'><a id='li_other_a' href='#'><i class='icon icon-th-list'></i> <span>其他</span><span class='label'>5</span></a>";
|
|
|
innerHTML += "<ul><li id='li_sms'><a id='li_sms_a' href=''>短信验证码</a></li>";
|
|
|
innerHTML += "<li id='li_search_compare'><a id='li_search_compare_a' href=''>搜索双云比较</a></li>";
|
|
|
innerHTML += "<li id='li_sql_operate'><a id='li_sql_operate_a' href=''>SQL通用查询</a></li>";
|
|
|
innerHTML += "<li id='li_redis_operate'><a id='li_redis_operate_a' href=''>REDIS查询</a></li>";
|
|
|
innerHTML += "<li id='li_crm_job'><a id='li_crm_job_a' href=''>任务中心</a></li>";
|
|
|
innerHTML += "</ul></li>";/*其他*/
|
|
|
|
|
|
/*kafka */
|
|
|
innerHTML += "<li><a id='li_kafka_manage_a' ><i class='icon icon-th'></i><span>kafka manage</span><span class='label'>0</span></a></li>";
|
|
|
/*kafka end */
|
|
|
|
|
|
/*客户端错误日志查询 */
|
|
|
//innerHTML += "<li><a href='http://alog.yohops.com' target='_blank'><i class='icon icon-th'></i><span>客户端错误日志查询</span></a></li>";
|
|
|
/*客户端错误日志查询 end */
|
|
|
|
|
|
innerHTML += "</ul></div>";
|
|
|
document.getElementById("head").innerHTML = innerHTML;
|
|
|
|
|
|
var path = getUrlBasePath();
|
|
|
document.getElementById("li_dashboard_a").setAttribute("href", path + "/dashboard/toDashboard");
|
|
|
document.getElementById("li_mobjectInfo_a").setAttribute("href", path + "/mobject/toMobject");
|
|
|
document.getElementById("li_hostGroupList_a").setAttribute("href", path + "/hostGroup/toHostGroup");
|
|
|
document.getElementById("li_hostInfoList_a").setAttribute("href", path + "/hostInfoList/toHostInfos");
|
|
|
document.getElementById("li_javaMonitor_a").setAttribute("href", path + "/javaMonitor/toJavaMonitor");
|
|
|
document.getElementById("li_javaApiMonitor_a").setAttribute("href", path + "/javaApiMonitor/toJavaApiMonitor");
|
|
|
document.getElementById("li_javaApi_a").setAttribute("href", path + "/javaApi/toJavaApi");
|
|
|
document.getElementById("li_zkInfo_a").setAttribute("href", path + "/zkMonitor/tozkMonitor");
|
|
|
document.getElementById("li_zkSvcLookup_a").setAttribute("href", path + "/zkSvcLookup/tozkSvcLookupList");
|
|
|
document.getElementById("li_rabbitview_a").setAttribute("href", path + "/rabbitmq/toRabbitmq");
|
|
|
document.getElementById("li_projectRelease_a").setAttribute("href", path + "/project/toProject");
|
|
|
document.getElementById("li_phpRelease_a").setAttribute("href", path + "/phpBuild/toProject");
|
|
|
document.getElementById("li_nodeRelease_a").setAttribute("href", path + "/nodeBuild/toProject");
|
|
|
document.getElementById("li_dockerRelease_a").setAttribute("href", path + "/dockerBuild/toProject");
|
|
|
document.getElementById("logout_a").setAttribute("href", path + "/user/logout");
|
|
|
//document.getElementById("changepwd_a").setAttribute("href", path + "/user/toupdatePwd");
|
|
|
document.getElementById("li_sms_a").setAttribute("href", path + "/sms/toSmsLog");
|
|
|
document.getElementById("li_search_compare_a").setAttribute("href", path + "/searchCompare/getComparePage");
|
|
|
document.getElementById("li_zkMonitor_a").setAttribute("href", path + "/zkTree/tozkMonitorList");
|
|
|
document.getElementById("li_zkConfigCenter_a").setAttribute("href", path + "/zkTree/tozkConfigCenterList");
|
|
|
document.getElementById("li_zkMonitor_log4j_a").setAttribute("href", path + "/zkTree/tozkMonitorList4Log4j");
|
|
|
document.getElementById("li_user_a").setAttribute("href", path + "/manage/toUser");
|
|
|
document.getElementById("li_user_operate_log_a").setAttribute("href", path + "/userOperateLog/toUserOperateLog");
|
|
|
document.getElementById("li_module_a").setAttribute("href", path + "/manage/toModule");
|
|
|
document.getElementById("li_taskConfigure_a").setAttribute("href", path + "/taskConfigure/toTaskConfigure");
|
|
|
document.getElementById("li_yoho_event_taskConfigure_a").setAttribute("href", path + "/taskConfigure/toYohoEventTaskConfigure");
|
|
|
document.getElementById("li_alarmgroup_a").setAttribute("href", path + "/alarmGroup/toAlarmGroupPage");
|
|
|
document.getElementById("li_autoscaling_a").setAttribute("href", path + "/autoScalingTool/toautoscalingpage");
|
|
|
document.getElementById("li_alarmSwitch_a").setAttribute("href", path + "/OpsSmsOnOff/toAlarmSwitch");
|
|
|
document.getElementById("li_redisClear_a").setAttribute("href", path + "/redisClear/toRedisClear");
|
|
|
//document.getElementById("li_nginxswitch_a").setAttribute("href", path + "/nginxswitch/toNginxSwitch");
|
|
|
//document.getElementById("li_luaswitch_a").setAttribute("href", path + "/luaswitch/toLuaSwitch");
|
|
|
document.getElementById("li_projectHistory_a").setAttribute("href", path + "/project/toHistory");
|
|
|
//document.getElementById("a_hystrix_aws").setAttribute("href", path + "/hystrix/aws");
|
|
|
//document.getElementById("a_hystrix_qcloud").setAttribute("href", path + "/hystrix/qcloud");
|
|
|
//document.getElementById("a_hystrix_nginx").setAttribute("href", path + "/hystrix/nginx");
|
|
|
// document.getElementById("li_dns_monitor_a").setAttribute("href", path + "/dns_monitor/");
|
|
|
document.getElementById("li_nginxSync_a").setAttribute("href", path + "/nginxSync/toNginxSync");
|
|
|
document.getElementById("li_node_a").setAttribute("href", path + "/project/toNode");
|
|
|
document.getElementById("li_degrade_info_a").setAttribute("href", path + "/degrade/info");
|
|
|
document.getElementById("li_app_degrade_a").setAttribute("href", path + "/appDegrade/info");
|
|
|
document.getElementById("li_hystrix_info_a").setAttribute("href", path + "/hystrixInfo/info");
|
|
|
document.getElementById("li_cache_info_a").setAttribute("href", path + "/cacheInfo/info");
|
|
|
document.getElementById("li_addWork_a").setAttribute("href", path + "/workSystem/toAddWork");
|
|
|
document.getElementById("li_pendingWork_a").setAttribute("href", path + "/workSystem/toPendingwork");
|
|
|
document.getElementById("li_handledWork_a").setAttribute("href", path + "/workSystem/toHandledWork");
|
|
|
document.getElementById("li_works_a").setAttribute("href", path + "/workSystem/toWorkList");
|
|
|
//document.getElementById("li_aws_ebs_a").setAttribute("href", path + "/aws/toEbsManager");
|
|
|
document.getElementById("li_newRedisMonitor_a").setAttribute("href", path + "/redisMonitor/toNewRedis");
|
|
|
document.getElementById("li_memcachedMonitor_a").setAttribute("href", path + "/memcachedMonitor/toMemcached");
|
|
|
document.getElementById("li_javarestart_a").setAttribute("href", path + "/javaRestart/toJavaRestart");
|
|
|
//document.getElementById("li_centerswitch_a").setAttribute("href", path + "/centerSwitch/toCenterSwitch");
|
|
|
// document.getElementById("li_ips_compare_a").setAttribute("href", path + "/compareIps/toCompareIps");
|
|
|
document.getElementById("li_ips_compare_new_a").setAttribute("href", path + "/compareIps/toCompareIpsNew");
|
|
|
document.getElementById("li_malicious_ip_rules_a").setAttribute("href", path + "/maliciousIp/toMaliciousIpRules");
|
|
|
//document.getElementById("li_malicious_ips_a").setAttribute("href", path + "/maliciousIp/toMaliciousIps");
|
|
|
document.getElementById("li_malicious_ips_a_new").setAttribute("href", path + "/maliciousIp/toMaliciousIpsNew");
|
|
|
//document.getElementById("li_malicious_ips_filter_a").setAttribute("href", path + "/maliciousIp/toMaliciousIpFilterList");
|
|
|
document.getElementById("li_malicious_ips_record_a").setAttribute("href", path + "/maliciousIp/toMaliciousIpRecordList");
|
|
|
document.getElementById("li_malicious_ips_record_forbid_a").setAttribute("href", path + "/maliciousIp/toMaliciousIpRecordForbidList");
|
|
|
document.getElementById("li_docker_project_info_a").setAttribute("href", path + "/dockerBuild/toDockerInfoList");
|
|
|
document.getElementById("li_docker_monitor_service_a").setAttribute("href", path + "/dockerMonitor/toDockerMonitorList");
|
|
|
|
|
|
//document.getElementById("li_limitswitch_a").setAttribute("href", path + "/limitSwitch/toLimitSwitch");
|
|
|
//document.getElementById("li_lbswitch_a").setAttribute("href", path + "/lbSwitch/toLbSwitch");
|
|
|
// document.getElementById("li_monit_a").setAttribute("href",path+"/monit/toMonit");
|
|
|
document.getElementById("li_sqlOpLogs_a").setAttribute("href",path+"/sqlOperate/sqlLogs");
|
|
|
document.getElementById("li_mysql_a").setAttribute("href",path+"/mysqlMonitor/toMysqlMonitor");
|
|
|
/*document.getElementById("li_ABTestConfig_a").setAttribute("href",path+"/abtestConfig/toABTestConfig");
|
|
|
document.getElementById("li_ABTestTotal_a").setAttribute("href",path+"/abtestTotal/toABTestTotal");*/
|
|
|
document.getElementById("li_nodeMonitor_a").setAttribute("href",path+"/nodeMonitor/toNodeMonitor");
|
|
|
document.getElementById("li_internalDomain_a").setAttribute("href",path+"/internalDns/toInternalDns");
|
|
|
document.getElementById("li_internalDomainHistory_a").setAttribute("href",path+"/internalDns/toHistory");
|
|
|
document.getElementById("li_switchtopo_a").setAttribute("href",path+"/topoSwitch/toTopoSwitch");
|
|
|
document.getElementById("li_switchsearch_a").setAttribute("href",path+"/searchSwitch/toSearchSwitch");
|
|
|
document.getElementById("li_storeswitch_a").setAttribute("href",path+"/storeSwitch/toStoreSwitch");
|
|
|
document.getElementById("li_centerswitch_new_a").setAttribute("href",path+"/centerSwitch/toCenterSwitchNew");
|
|
|
document.getElementById("li_javarollbackbytime_a").setAttribute("href",path+"/project/toRollbackByTime");
|
|
|
document.getElementById("li_sql_operate_a").setAttribute("href",path+"/sqlOperate/toSqlOperate");
|
|
|
document.getElementById("li_redis_operate_a").setAttribute("href",path+"/redisOperate/toRedisOperate");
|
|
|
document.getElementById("li_crm_job_a").setAttribute("href",path+"/job/toJob");
|
|
|
|
|
|
//add ops bigdata refer
|
|
|
document.getElementById("li_bigdata_ops_dashboard_info_a").setAttribute("href",path+"/bigdata/toDashboardinfo");
|
|
|
document.getElementById("li_bigdata_ops_host_info_a").setAttribute("href",path+"/bigdata/toHostinfo");
|
|
|
// document.getElementById("li_bigdata_ops_group_info_a").setAttribute("href",path+"/bigdata/toGroupinfo");
|
|
|
document.getElementById("li_bigdata_ops_strategy_info_a").setAttribute("href",path+"/bigdata/toStrategyinfo");
|
|
|
document.getElementById("li_bigdata_ops_alarm_info_a").setAttribute("href",path+"/bigdata/toAlarminfo");
|
|
|
document.getElementById("li_bigdata_ops_metric_info_a").setAttribute("href",path+"/bigdata/toMetricinfo");
|
|
|
|
|
|
document.getElementById("li_kafka_manage_a").setAttribute("href", path + "/kafkaManage/toKafkaManage");
|
|
|
|
|
|
function getUrlBasePath() {
|
|
|
var location = ( window.location + '').split('/');
|
|
|
var url = location[0] + '//' + location[2];
|
...
|
...
|
@@ -268,4 +37,7 @@ function GobalStandardPost(url,args){ |
|
|
form.appendTo(document.body);
|
|
|
form.submit();
|
|
|
document.body.removeChild(form[0]);
|
|
|
} |
|
|
\ No newline at end of file |
|
|
}
|
|
|
|
|
|
//引入菜单js,做到动态更新
|
|
|
document.write('<script src="'+getUrlBasePath()+'/script/common/genarate_left_panel_menu.js?v=20180227-1"></script>'); |
...
|
...
|
|