diff --git a/src/main/resources/sql/20190610/update_sys_menu.sql b/src/main/resources/sql/20190610/update_sys_menu.sql new file mode 100644 index 000000000..6693f1c86 --- /dev/null +++ b/src/main/resources/sql/20190610/update_sys_menu.sql @@ -0,0 +1,12 @@ + +#修改日志检索->国家代理->HTTP(S)阻断 url +UPDATE `sys_menu` SET `href`='/log/pxy/httpBlockLists?searchAction=16' WHERE code='http_block' and href='/log/pxy/httpBlockList?searchAction=16' and permission= ''; +#修改日志检索->国家代理->HTTP(S)监测 url +UPDATE `sys_menu` SET `href`='/log/pxy/httpMonitLists?searchAction=1' WHERE code='http_monit' and href='/log/pxy/httpMonitogs' and permission= ''; + +#实时报表->国家代理菜单和它下面的子菜单都置为失效 +UPDATE `sys_menu` SET `del_flag`='0' WHERE href ='/report/list?cfgName=http_block'; +UPDATE `sys_menu` SET `del_flag`='0' WHERE href ='/report/list?cfgName=http_redirect'; +UPDATE `sys_menu` SET `del_flag`='0' WHERE href ='/report/list?cfgName=http_replace'; +UPDATE `sys_menu` SET `del_flag`='0' WHERE href ='/report/list?cfgName=http_monit'; +UPDATE `sys_menu` SET `del_flag`='0' WHERE `code`='Proxy' and parent_id='780'; \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/views/dashboard/commonNew.jsp b/src/main/webapp/WEB-INF/views/dashboard/commonNew.jsp index 20f95e880..b9cb08a18 100644 --- a/src/main/webapp/WEB-INF/views/dashboard/commonNew.jsp +++ b/src/main/webapp/WEB-INF/views/dashboard/commonNew.jsp @@ -290,7 +290,7 @@ diff --git a/src/main/webapp/WEB-INF/views/dashboard/newActionList.jsp b/src/main/webapp/WEB-INF/views/dashboard/newActionList.jsp index 49067e278..712944821 100644 --- a/src/main/webapp/WEB-INF/views/dashboard/newActionList.jsp +++ b/src/main/webapp/WEB-INF/views/dashboard/newActionList.jsp @@ -143,33 +143,7 @@ function showActionTransChart(chartType,xData,series){ } }, showInLegend: true - }, - column: { - dataLabels:{ - enabled:true, - color: '#5B5B5B', - formatter:function () { - var total=JSON.parse($("#total").val())[0]; - a = this.y/total*100; - return a.toFixed(2) + "%" - } - } - // colorByPoint: true - }, - line: { - allowPointSelect: true, - cursor: 'pointer', - dataLabels:{ - enabled:true, - color: '#5B5B5B', - formatter:function () { - var total=JSON.parse($("#total").val())[0]; - a = this.y/total*100; - return a.toFixed(2) + "%" - } - } - // colorByPoint: true - } + } }, series: series, } @@ -208,11 +182,6 @@ function showActionTransChart(chartType,xData,series){ chart.tooltip.pointFormat = "{point.y}| {point.percentage:.1f}%
"; }else{ chart.tooltip.pointFormat = "\u25CF {series.name}: {point.y}
"; - /* var a=JSON.parse($("#total").val())[0]; - chart.tooltip.pointFormat =function(){ - var b=this.y/a*100; - return "\u25CF {series.name}: "+b.toFixed(2)+"%
"; - } */ } }