Преглед изворни кода

【修改】流程签章优化。

新疆警官学校中职
dyy пре 1 година
родитељ
комит
b4dd47cfc4
2 измењених фајлова са 10 додато и 8 уклоњено
  1. +5
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/StampInfo/StampDetailIndex.js
  2. +5
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/StampPersonal/StampDetailIndex.js

+ 5
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/StampInfo/StampDetailIndex.js Прегледај датотеку

@@ -54,15 +54,16 @@ var bootstrap = function ($, learun) {
};
acceptClick = function (callBack) {
var keyValue = $("#datagird").jfGridValue("F_StampId");
if (!keyValue) {
learun.alert.error("请选择印章!");
return false;
}
if (!$('.lr-item').lrValidform()) {
return false;
}
var postData = $('.lr-item').lrGetFormData();
var F_Password = $.md5(postData.F_Password);
if (!keyValue) {
learun.alert.error("请选择印章!");
return false;
}
learun.postForm(top.$.rootUrl + '/LR_NewWorkFlow/StampInfo/EqualForm', { keyValue: keyValue, Password: F_Password }, function (res) {
callBack(keyValue);
});


+ 5
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/StampPersonal/StampDetailIndex.js Прегледај датотеку

@@ -54,15 +54,16 @@ var bootstrap = function ($, learun) {
};
acceptClick = function (callBack) {
var keyValue = $("#datagird").jfGridValue("F_StampId");
if (!keyValue) {
learun.alert.error("请选择印章!");
return false;
}
if (!$('.lr-item').lrValidform()) {
return false;
}
var postData = $('.lr-item').lrGetFormData();
var F_Password = $.md5(postData.F_Password);
if (!keyValue) {
learun.alert.error("请选择印章!");
return false;
}
learun.postForm(top.$.rootUrl + '/LR_NewWorkFlow/StampInfo/EqualForm', { keyValue: keyValue, Password: F_Password }, function (res) {
callBack(keyValue);
});


Loading…
Откажи
Сачувај