| | |
| | | @{ |
| | | @using DTO; |
| | | @{ |
| | | ViewBag.Title = "AdmDocDoc"; |
| | | Layout = "~/Views/Shared/_Layout_Search.cshtml"; |
| | | |
| | | List<PageEntity> ActionInfo2 = ViewData["ActionInfo2"] as List<PageEntity>; |
| | | } |
| | | @section headerStyle{ |
| | | <script type="text/javascript"> |
| | |
| | | { |
| | | label: '打印', name: 'print', labtype: 'txt', hidden: false, width: 100, |
| | | formatter: function (cellvalue, options, rowObject) { |
| | | return "<a onclick=\"OpenWindow('打印','100%','100%', '/AdmDocDoc/Print?id=" + rowObject.Id + "')\" >打印</a>"; |
| | | return "<a class='Print' style='display: none;' onclick=\"OpenWindow('打印','100%','100%', '/AdmDocDoc/Print?id=" + rowObject.Id + "')\" >打印</a>"; |
| | | } |
| | | }, |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | ]; |
| | | dataUrl = "/AdmDocDoc/GetList"; |
| | |
| | | toastr.error("删除成功"); |
| | | /**/ |
| | | } |
| | | } |
| | | } |
| | | |
| | | var ActionInfo22 = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ActionInfo2))'; |
| | | var _afterLoadDataload = function (xhr) { |
| | | var data = JSON.parse(ActionInfo22); |
| | | for (var o in data) { |
| | | $("." + data[o].PageShortcut).show(); |
| | | |
| | | } |
| | | |
| | | |
| | | }; |
| | | </script> |
| | | } |
| | | |