1.优化上传个人头像错误提示框。

2.增加bootstrap fileinput插件。
3.增加通过Excel文件批量添加用户功能。
This commit is contained in:
yangzhengze
2018-06-05 23:03:11 +08:00
parent c5b2b8d5ca
commit dcbd2b2210
24 changed files with 10614 additions and 85 deletions

View File

@@ -39,7 +39,7 @@ $(window).load(function() {
options.imgSrc = e.target.result;
//根据MIME判断上传的文件是不是图片类型
if((options.imgSrc).indexOf("image/")==-1){
alert("错误提示\n" + " 请上传图片类型!");
parent.layer.alert("文件格式错误,请上传图片类型,如JPG,JEPGPNG后缀的文件。", {icon: 2,title:"系统提示"});
} else {
cropper = $('.imageBox').cropbox(options);
}