Pārlūkot izejas kodu

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

新疆警官学校中职
ndbs pirms 1 gada
vecāks
revīzija
e3381fb746
2 mainītis faili ar 37 papildinājumiem un 5 dzēšanām
  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 Parādīt failu

@@ -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 Parādīt failu

@@ -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();
}

Notiek ielāde…
Atcelt
Saglabāt