Authored by xwx

杭州-故障诊断-apm添加优化

... ... @@ -200,15 +200,20 @@ 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;
}
})
debugger
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)=>{
... ...