From bc0d430f3308eee4def127a90c0558e580f294da Mon Sep 17 00:00:00 2001
From: zhichao lei <442149704@qq.com>
Date: Mon, 4 Jan 2021 16:10:17 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E8=8A=82=E7=82=B9=E7=BA=BF?=
=?UTF-8?q?=20=E7=9A=84=E5=88=A4=E6=96=AD=E6=96=B9=E5=BC=8F=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Controllers/Sys_ReceiveFileController.cs | 2 +-
.../Views/Sys_ReceiveDocument/PrintView.js | 11 +-
.../Views/Sys_ReceiveFile/Form.js | 3 +
.../XmlConfig/database.config | 8 +-
.../Sys_ReceiveFile/Sys_ReceiveFileService.cs | 3 +-
.../Learun.Workflow.Engine/NWFEngine.cs | 103 ++++++++----------
6 files changed, 64 insertions(+), 66 deletions(-)
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/Sys_ReceiveFileController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/Sys_ReceiveFileController.cs
index 32bac3040..490ed7d09 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/Sys_ReceiveFileController.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/Sys_ReceiveFileController.cs
@@ -262,7 +262,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
/// 校长批示
///
///
- [HttpGet]
+ [HttpPost]
[AjaxOnly]
public ActionResult XiaoZhangP(string strEntity)
{
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/PrintView.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/PrintView.js
index 5684ecbba..24e4c8dd1 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/PrintView.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/PrintView.js
@@ -20,7 +20,14 @@ var bootstrap = function ($, learun) {
var data = JSON.parse(data).data;
var entityItem = data.entityItem;
console.log(data);
- $('#RReceiveUnit').html(data.entity.RReceiveUnit);
+ learun.clientdata.getAsync('department', {
+ key: data.entity.RReceiveUnit,
+ callback: function (_data) {
+ console.log(_data);
+ $('#RReceiveUnit').html(_data.name);
+
+ }
+ });
$('#swz').html(data.entity.swz);
$('#RReceiveTime').html(data.entity.RReceiveTime.substr(0,10));
$('#RSourceUnit').html(data.entity.RSourceUnit);
@@ -55,7 +62,7 @@ var bootstrap = function ($, learun) {
callback: function (_data) {
text += '
' +
- item.SpecifyReceiver +
+ (item.SpecifyReceiver == '' ? '已阅' : item.SpecifyReceiver) +
'
'+_data.name+' '+(item.ReadTime || '').substr(0,10)+'
';
}
});
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveFile/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveFile/Form.js
index 69f163320..e51ecc630 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveFile/Form.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveFile/Form.js
@@ -56,6 +56,9 @@ var bootstrap = function ($, learun) {
if (!$('body').lrValidform()) {
return false;
}
+ if ($('.lr-radio').find('input:radio:checked').length==0) {
+ $('.lr-radio').find('input')[0].checked = true;
+ }
var postData = {
strEntity: JSON.stringify($('body').lrGetFormData())
};
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/database.config b/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/database.config
index 489b3b61f..5d293d24b 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/database.config
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/database.config
@@ -16,17 +16,17 @@
-
+
-
+