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 @@
-
+
-
+