打印模板管理,设计
This commit is contained in:
1 parent
53dfc9ef1d
commit
ad932a7050
15 files changed
+283
-120
No files matched your search
@@ -5,6 +5,8 @@ using WalkingTec.Mvvm.Core;
|
||||
using WalkingTec.Mvvm.Mvc;
|
||||
using WalkingTec.Mvvm.Core.Extensions;
|
||||
using HHWMS.Web;
|
||||
using System.DirectoryServices.Protocols;
|
||||
using System.Web;
|
||||
|
||||
namespace HHWMS.Web.Controllers
|
||||
{
|
||||
@@ -96,6 +98,9 @@ namespace HHWMS.Web.Controllers
|
||||
}
|
||||
else
|
||||
{
|
||||
//替换 "
|
||||
vm.Entity.Template = HttpUtility.HtmlDecode(vm.Entity.Template);
|
||||
|
||||
vm.DoEdit();
|
||||
if (!ModelState.IsValid)
|
||||
{
|
||||
@@ -224,5 +229,12 @@ namespace HHWMS.Web.Controllers
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
[ActionDescription("Sys.Print")]
|
||||
public ActionResult Design(string id)
|
||||
{
|
||||
var vm = Wtm.CreateVM<PrintConfigVM>(id);
|
||||
return PartialView(vm);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user