8c6ecffd by Zelig

员工搜索和删除

1 parent 944b307e
......@@ -196,7 +196,8 @@
title: '注销账号',
icon: 3
}, function(){
layer.msg('注销成功');
ajax('/system/user/delete/'+id, 'delete');
this.reload();
});
}
</script>
......
......@@ -28,7 +28,7 @@
<input type="text" class="form-control input-text" value="" name="password" id="password">
</div>
<div class="form-group col-sm-4 col-md-2 pt-25">
<button class="btn btn-primary" onclick="random()">随机生成密码</button>
<button class="btn btn-primary" onclick="random()" type="button">随机生成密码</button>
</div>
</div>
<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!