Authored by 鲁尚清

Merge branch 'master' of http://192.168.1.136:82/monitor_v3/hg-monitor-web into …

…master-v32-lushangqing
... ... @@ -137,7 +137,7 @@ export default {
targetId:proxy.targetId,
apmList:[row]
}
proxy.$http.post('/fault/conf/apm/batchAddApm',params,function (res){
proxy.$http.post('/api-web/fault/conf/apm/batchAddApm',params,function (res){
if(res && res.str){
proxy.$global.showMsg('添加成功','success');
proxy.targetId=res.str;
... ... @@ -205,15 +205,19 @@ export default {
/*let params={
busId:proxy.bizId
}*/
proxy.$http.post('/api-web/fault/conf/apm/batchAddApm',params,function (res){
if(res && res.str){
proxy.$global.showMsg('添加成功','success');
proxy.targetId=res.str;
proxy.saveModel();
// proxy.APMVisible=false;
}
})
if (params.apmList==0){
proxy.$global.showMsg('请选择资源','warning');
}else {
proxy.$http.post('/api-web/fault/conf/apm/batchAddApm',params,function (res){
if(res && res.str){
proxy.$global.showMsg('添加成功','success');
proxy.targetId=res.str;
proxy.saveModel();
// proxy.APMVisible=false;
}
}
)
}
}
//切换资源获取指标列表
let changeRes=(val)=>{
... ...