实现搜索功能

This commit is contained in:
Minho
2017-05-02 18:09:46 +08:00
parent dc6ea88c58
commit b4b0a6b4cf
17 changed files with 343 additions and 86 deletions

View File

@@ -243,7 +243,7 @@ $(function () {
if (doc_name === ""){
return showError("目录名称不能为空","#add-error-message")
}
window.addDocumentFormIndex = layer.load(1, { shade: [0.1,'#fff'] });
$("#btnSaveDocument").button("loading");
return true;
},
success : function (res) {
@@ -266,7 +266,7 @@ $(function () {
}else{
showError(res.message,"#add-error-message")
}
layer.close(window.addDocumentFormIndex);
$("#btnSaveDocument").button("reset");
}
});