8c6ecffd by Zelig

员工搜索和删除

1 parent 944b307e
...@@ -196,7 +196,8 @@ ...@@ -196,7 +196,8 @@
196 title: '注销账号', 196 title: '注销账号',
197 icon: 3 197 icon: 3
198 }, function(){ 198 }, function(){
199 layer.msg('注销成功'); 199 ajax('/system/user/delete/'+id, 'delete');
200 this.reload();
200 }); 201 });
201 } 202 }
202 </script> 203 </script>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
28 <input type="text" class="form-control input-text" value="" name="password" id="password"> 28 <input type="text" class="form-control input-text" value="" name="password" id="password">
29 </div> 29 </div>
30 <div class="form-group col-sm-4 col-md-2 pt-25"> 30 <div class="form-group col-sm-4 col-md-2 pt-25">
31 <button class="btn btn-primary" onclick="random()">随机生成密码</button> 31 <button class="btn btn-primary" onclick="random()" type="button">随机生成密码</button>
32 </div> 32 </div>
33 </div> 33 </div>
34 <div class="row cl"> 34 <div class="row cl">
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!