@@ -63,10 +63,26 @@ var bootstrap = function ($, learun) { | |||||
} | } | ||||
var postData = $('.lr-item').lrGetFormData(); | var postData = $('.lr-item').lrGetFormData(); | ||||
var F_Password = $.md5(postData.F_Password); | var F_Password = $.md5(postData.F_Password); | ||||
learun.postForm(top.$.rootUrl + '/LR_NewWorkFlow/StampInfo/EqualForm', { keyValue: keyValue, Password: F_Password }, function (res) { | |||||
callBack(keyValue); | |||||
//learun.postForm(top.$.rootUrl + '/LR_NewWorkFlow/StampInfo/EqualForm', { keyValue: keyValue, Password: F_Password }, function (res) { | |||||
// callBack(keyValue); | |||||
//}); | |||||
learun.loading(true, '正在提交数据'); | |||||
learun.httpAsyncPost(top.$.rootUrl + '/LR_NewWorkFlow/StampInfo/EqualForm', { keyValue: keyValue, Password: F_Password }, function (res) { | |||||
learun.loading(false); | |||||
if (res.code == learun.httpCode.success) { | |||||
callBack(keyValue); | |||||
learun.alert.success(res.info); | |||||
top.layer.close(top.layer.index); | |||||
} | |||||
else { | |||||
learun.alert.error(res.info); | |||||
learun.httpErrorLog(res.info); | |||||
location.reload(); | |||||
} | |||||
}); | }); | ||||
}; | }; | ||||
page.init(); | page.init(); | ||||
} | } |
@@ -64,9 +64,25 @@ var bootstrap = function ($, learun) { | |||||
var postData = $('.lr-item').lrGetFormData(); | var postData = $('.lr-item').lrGetFormData(); | ||||
var F_Password = $.md5(postData.F_Password); | var F_Password = $.md5(postData.F_Password); | ||||
learun.postForm(top.$.rootUrl + '/LR_NewWorkFlow/StampInfo/EqualForm', { keyValue: keyValue, Password: F_Password }, function (res) { | |||||
callBack(keyValue); | |||||
//learun.postForm(top.$.rootUrl + '/LR_NewWorkFlow/StampInfo/EqualForm', { keyValue: keyValue, Password: F_Password }, function (res) { | |||||
// callBack(keyValue); | |||||
//}); | |||||
learun.loading(true, '正在提交数据'); | |||||
learun.httpAsyncPost(top.$.rootUrl + '/LR_NewWorkFlow/StampInfo/EqualForm', { keyValue: keyValue, Password: F_Password }, function (res) { | |||||
learun.loading(false); | |||||
if (res.code == learun.httpCode.success) { | |||||
callBack(keyValue); | |||||
learun.alert.success(res.info); | |||||
top.layer.close(top.layer.index); | |||||
} | |||||
else { | |||||
learun.alert.error(res.info); | |||||
learun.httpErrorLog(res.info); | |||||
location.reload(); | |||||
} | |||||
}); | }); | ||||
}; | }; | ||||
page.init(); | page.init(); | ||||
} | } |