Kaynağa Gözat

【修改】流程签章优化。

新疆警官学校中职
dyy 2 yıl önce
ebeveyn
işleme
b4dd47cfc4
2 değiştirilmiş dosya ile 10 ekleme ve 8 silme
  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 Dosyayı Görüntüle

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


+ 5
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/StampPersonal/StampDetailIndex.js Dosyayı Görüntüle

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


Yükleniyor…
İptal
Kaydet