Merge branch 'master-V32-LH' into 'master'
拨测功能以及应用检测添加数据友好提示优化 See merge request !379
Showing
2 changed files
with
8 additions
and
0 deletions
@@ -97,6 +97,10 @@ export default { | @@ -97,6 +97,10 @@ export default { | ||
97 | //添加应用 | 97 | //添加应用 |
98 | let addRes=(row,index)=>{ | 98 | let addRes=(row,index)=>{ |
99 | // row.targetId=proxy.targetId; | 99 | // row.targetId=proxy.targetId; |
100 | + if(row.checked){ | ||
101 | + proxy.$global.showMsg('数据已存在,请勿重复添加','warning'); | ||
102 | + return; | ||
103 | + } | ||
100 | let npmList=row; | 104 | let npmList=row; |
101 | npmList.dataScope=120; | 105 | npmList.dataScope=120; |
102 | let params={ | 106 | let params={ |
@@ -97,6 +97,10 @@ export default { | @@ -97,6 +97,10 @@ export default { | ||
97 | //添加拨测分析 | 97 | //添加拨测分析 |
98 | let addRes=(row,index)=>{ | 98 | let addRes=(row,index)=>{ |
99 | // row.targetId=proxy.targetId; | 99 | // row.targetId=proxy.targetId; |
100 | + if(row.checked){ | ||
101 | + proxy.$global.showMsg('数据已存在,请勿重复添加','warning'); | ||
102 | + return; | ||
103 | + } | ||
100 | let dialtestList=row; | 104 | let dialtestList=row; |
101 | dialtestList.dataScope=120; | 105 | dialtestList.dataScope=120; |
102 | let params={ | 106 | let params={ |
-
Please register or login to post a comment