From 3ad1ffa0df3cc874e530c6a29ab422d02f1254af Mon Sep 17 00:00:00 2001 From: ndbs Date: Tue, 22 Feb 2022 09:56:01 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=85=AC=E6=96=87=E6=94=B6=E5=8F=91=20:=20?= =?UTF-8?q?=E5=85=9A=E5=8A=9E=E6=A0=A1=E5=8A=9E=E6=8F=90=E4=BA=A4=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E4=B8=8D=E6=B7=BB=E5=8A=A0=E6=8F=90=E4=BA=A4=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/DispatchController.cs | 6 +-- .../Views/Dispatch/Index.js | 13 ++---- .../Views/Dispatch/IndexXF.js | 9 ++--- .../Views/Dispatch/Print.cshtml | 40 ++++++++++++++----- .../Dispatch/DispatchBLL.cs | 4 +- .../Dispatch/DispatchIBLL.cs | 4 +- .../Dispatch/DispatchService.cs | 14 +++++-- 7 files changed, 55 insertions(+), 35 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/DispatchController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/DispatchController.cs index 083a5632f..5bef86db9 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/DispatchController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/DispatchController.cs @@ -217,9 +217,9 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers /// public ActionResult ModifyStatus(string keyValue, int pastatus, string processId) { - //var userInfo = LoginUserInfo.Get(); - //var RealName = userInfo.realName; - dispatchIBLL.ModifyStatus(keyValue, pastatus, processId); + var userInfo = LoginUserInfo.Get(); + var RealName = userInfo.realName; + dispatchIBLL.ModifyStatus(keyValue, pastatus, processId, RealName); return Success("提交成功!"); } diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/Index.js index 946200467..b3af62c77 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/Index.js @@ -231,13 +231,6 @@ var bootstrap = function ($, learun) { $.each(res.data, function (i, item) { bb += item.F_FileName.substring(0, item.F_FileName.indexOf(".")) + ',' }) - //$.each(res.data, function(i, item) { - // bb += '' + - // item.F_FileName.substring(0,item.F_FileName.indexOf(".")) + - // ',   '; - //}) callback(bb); } }); @@ -306,9 +299,9 @@ var bootstrap = function ($, learun) { processId: processId, level: '1', }; - learun.httpAsync('Post', top.$.rootUrl + '/LR_NewWorkFlow/NWFProcess/CreateFlow', postData, function (data) { - learun.loading(false); - }); + //learun.httpAsync('Post', top.$.rootUrl + '/LR_NewWorkFlow/NWFProcess/CreateFlow', postData, function (data) { + // learun.loading(false); + //}); page.search(); } }; diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/IndexXF.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/IndexXF.js index b210f1f05..3c34d984d 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/IndexXF.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/IndexXF.js @@ -90,7 +90,7 @@ var bootstrap = function ($, learun) { learun.layerForm({ id: 'form', title: '编辑', - url: top.$.rootUrl + '/EducationalAdministration/Dispatch/Form?keyValue=' + keyValue, + url: top.$.rootUrl + '/EducationalAdministration/Dispatch/Form?keyValue=' + keyValue + '&WorkName=' + 2 + '&DisOffice=' + 2, width: 800, height: 380, callBack: function (id) { @@ -232,7 +232,6 @@ var bootstrap = function ($, learun) { $.each(res.data, function (i, item) { bb += item.F_FileName.substring(0, item.F_FileName.indexOf(".")) + ',' }) - bb callback(bb); } }); @@ -272,9 +271,9 @@ var bootstrap = function ($, learun) { param.EndTime = logend; $('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); }, - downLoad: function (fileId) { - top.learun.download({ url: top.$.rootUrl + '/LR_SystemModule/Annexes/DownAnnexesFile', param: { fileId: fileId, __RequestVerificationToken: top.$.lrToken }, method: 'POST' }); - } + //downLoad: function (fileId) { + // top.learun.download({ url: top.$.rootUrl + '/LR_SystemModule/Annexes/DownAnnexesFile', param: { fileId: fileId, __RequestVerificationToken: top.$.lrToken }, method: 'POST' }); + //} }; refreshGirdData = function (res, postData) { if (res.code == 200) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/Print.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/Print.cshtml index a18e6debe..5cbe0ad4e 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/Print.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/Print.cshtml @@ -2,10 +2,22 @@ - - - + + + + + + + 收文通告 + + + + + + + + @@ -287,14 +306,14 @@

-
+
示:
@foreach (var item in ViewBag.pSList) { -
+
@item
} @@ -329,6 +348,7 @@ +