init
Showing
1 changed file
with
11 additions
and
1 deletions
| ... | @@ -80,7 +80,7 @@ | ... | @@ -80,7 +80,7 @@ |
| 80 | <button class="btn radius size-M">请选择 <i class="Hui-iconfont"></i></button>\ | 80 | <button class="btn radius size-M">请选择 <i class="Hui-iconfont"></i></button>\ |
| 81 | <ul class="dropDown-menu menu radius box-shadow"><li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/index.php/work/detail/' + data + '?tab=0\')">查看详细</a></li>\ | 81 | <ul class="dropDown-menu menu radius box-shadow"><li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/index.php/work/detail/' + data + '?tab=0\')">查看详细</a></li>\ |
| 82 | <li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/index.php/work/detail/' + data + '?tab=2\')">处理记录</a></li>\ | 82 | <li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/index.php/work/detail/' + data + '?tab=2\')">处理记录</a></li>\ |
| 83 | <li><a href="#">客户取消</a></li>\ | 83 | <li><a href="javascript:;" onclick="cancel('+data+')">客户取消</a></li>\ |
| 84 | </ul></span>'; | 84 | </ul></span>'; |
| 85 | } | 85 | } |
| 86 | }, | 86 | }, |
| ... | @@ -133,6 +133,16 @@ | ... | @@ -133,6 +133,16 @@ |
| 133 | function resetHandler() { | 133 | function resetHandler() { |
| 134 | $('#table').DataTable().columns().search("").draw(); | 134 | $('#table').DataTable().columns().search("").draw(); |
| 135 | } | 135 | } |
| 136 | |||
| 137 | function cancel() { | ||
| 138 | layer.confirm('确定取消?', { | ||
| 139 | btn: ['确认通过','取消'], | ||
| 140 | title: '确认', | ||
| 141 | icon: 3 | ||
| 142 | }, function(){ | ||
| 143 | layer.msg('通过'); | ||
| 144 | }); | ||
| 145 | } | ||
| 136 | </script> | 146 | </script> |
| 137 | </body> | 147 | </body> |
| 138 | <html> | 148 | <html> | ... | ... |
-
Please register or sign in to post a comment