1、添加 ntc 流量统计

2、修改监测设置修改页面 进程监测 pid文件,进程搜索关键字的非空校验
3、修改i18n 专用设备 为 串联设备
4、增加代理类,解决前端ajax 跨域问题,之后可能会用
This commit is contained in:
fangshunjian
2019-01-12 11:07:45 +06:00
parent fb0627eb59
commit b3df3047b5
11 changed files with 380 additions and 26 deletions

View File

@@ -127,7 +127,8 @@
Chart.showLoading({text : "loading..."});
var option = {
title: {
text: title ,left:"49%"
text: title ,
left:"center"
},
tooltip: {
trigger: 'axis',
@@ -182,8 +183,10 @@
var legengData = data.legend;
$.ajax({//ajax请求获取数据
type : "POST",
url : influxdb.url,
crossDomain:true,//请求偏向外域
url : "<c:url value='/proxy.do'/>",
headers:{
realurl:influxdb.url
},
data:{
db:data.db,//查询的数据库名
q:data.q //查询语句