Merge branch 'master-v32-xwx' into 'master'
杭州-故障诊断-apm全部添加优化 See merge request !274
Showing
1 changed file
with
4 additions
and
2 deletions
@@ -157,7 +157,9 @@ export default { | @@ -157,7 +157,9 @@ export default { | ||
157 | busId:proxy.bizId, | 157 | busId:proxy.bizId, |
158 | targetId:proxy.targetId | 158 | targetId:proxy.targetId |
159 | } | 159 | } |
160 | - | 160 | + if (params.targetId==''){ |
161 | + proxy.$global.showMsg('请选择资源','warning'); | ||
162 | + }else { | ||
161 | proxy.$http.post('/api-web/fault/conf/apm/saveOrUpdate',params,function (res){ | 163 | proxy.$http.post('/api-web/fault/conf/apm/saveOrUpdate',params,function (res){ |
162 | if(res && res.success){ | 164 | if(res && res.success){ |
163 | proxy.$global.showMsg('添加成功','success'); | 165 | proxy.$global.showMsg('添加成功','success'); |
@@ -170,7 +172,7 @@ export default { | @@ -170,7 +172,7 @@ export default { | ||
170 | } | 172 | } |
171 | 173 | ||
172 | }) | 174 | }) |
173 | - } | 175 | + }} |
174 | //表格全选事件 | 176 | //表格全选事件 |
175 | let selectionChange=(val)=>{ | 177 | let selectionChange=(val)=>{ |
176 | let selectData=val; | 178 | let selectData=val; |
-
Please register or login to post a comment