Browse Source

Merge branch '长阳分支中职' of http://123.57.209.16:3000/bjquanjiang/DigitalScholl into 长阳分支中职

新疆警官学校中职
ndbs 1 year ago
parent
commit
e3381fb746
2 changed files with 37 additions and 5 deletions
  1. +19
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/StampInfo/StampDetailIndex.js
  2. +18
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/StampPersonal/StampDetailIndex.js

+ 19
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/StampInfo/StampDetailIndex.js View File

@@ -63,10 +63,26 @@ var bootstrap = function ($, learun) {
}
var postData = $('.lr-item').lrGetFormData();
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();
}

+ 18
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/StampPersonal/StampDetailIndex.js View File

@@ -64,9 +64,25 @@ var bootstrap = function ($, learun) {
var postData = $('.lr-item').lrGetFormData();
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();
}

Loading…
Cancel
Save