增加演示版本支持,在web.config中配置即可;

增加自定义出差处理,参考ErrorController
This commit is contained in:
yubaolee
2016-04-25 11:53:21 +08:00
parent 3037c3b1f6
commit 6181f9dd47
22 changed files with 182 additions and 33 deletions

View File

@@ -39,9 +39,12 @@ $(document).ready(function () {
},
function (data) {
data = $.parseJSON(data);
if (data.statusCode == "200") {
thisDlg.reload();
if (data.statusCode != "200") {
$(this).alertmsg('warn', json.message);
return;
}
thisDlg.reload();
});
});
});
@@ -185,6 +188,10 @@ var editEleDlg = function () {
$("#editElementForm").bjuiajax('ajaxForm', {
reload: false,
callback: function (json) {
if (json.statusCode != "200") {
$(this).alertmsg('warn', json.message);
return;
}
thisDlg.reload();
}
});