Showing
1 changed file
with
3 additions
and
0 deletions
@@ -90,6 +90,8 @@ $("#filter-btn").click(function() { | @@ -90,6 +90,8 @@ $("#filter-btn").click(function() { | ||
90 | //删除操作 | 90 | //删除操作 |
91 | $('tbody').on('click', '.del-promotion', function() { | 91 | $('tbody').on('click', '.del-promotion', function() { |
92 | var item = g.rows[$(this).data("index")]; | 92 | var item = g.rows[$(this).data("index")]; |
93 | + | ||
94 | + common.dialog.confirm("温馨提示", "你确定要删除吗?", function () { | ||
93 | common.util.__ajax({ | 95 | common.util.__ajax({ |
94 | url: '/promotionInfo/delete', | 96 | url: '/promotionInfo/delete', |
95 | data: { | 97 | data: { |
@@ -103,4 +105,5 @@ $('tbody').on('click', '.del-promotion', function() { | @@ -103,4 +105,5 @@ $('tbody').on('click', '.del-promotion', function() { | ||
103 | common.util.__tip(res.message); | 105 | common.util.__tip(res.message); |
104 | } | 106 | } |
105 | }, true); | 107 | }, true); |
108 | + }); | ||
106 | }); | 109 | }); |
-
Please register or login to post a comment