Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
鲁尚清
3 years ago
Commit
1a1168d9a56ac0634743d1d59d7e836432d0e117
1 parent
6e50c3ba
故障联调 apm添加重复数据友好提示
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
10 deletions
hg-monitor-web-zj/src/main/resources/static/vue3/src/views/faultDiagnosis/components/APM/index.js
hg-monitor-web-zj/src/main/resources/static/vue3/src/views/faultDiagnosis/components/APM/index.js
View file @
1a1168d
...
...
@@ -138,11 +138,17 @@ export default {
apmList
:[
row
]
}
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
(
res
&&
res
.
success
){
if
(
res
.
count
==
0
){
proxy
.
$global
.
showMsg
(
res
.
msg
,
'warning'
);
}
else
{
proxy
.
$global
.
showMsg
(
'添加成功'
,
'success'
);
proxy
.
targetId
=
res
.
str
;
proxy
.
saveModel
();
// proxy.APMVisible=false;
}
}
else
{
proxy
.
$global
.
showMsg
(
'添加失败'
,
'warning'
);
}
...
...
@@ -222,11 +228,17 @@ export default {
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;
if
(
res
&&
res
.
success
){
if
(
res
.
count
==
0
){
proxy
.
$global
.
showMsg
(
res
.
msg
,
'warning'
);
}
else
{
proxy
.
$global
.
showMsg
(
'添加成功'
,
'success'
);
proxy
.
targetId
=
res
.
str
;
proxy
.
saveModel
();
// proxy.APMVisible=false;
}
}
}
)
...
...
Please
register
or
login
to post a comment