| | |
| | | @{ |
| | | @using DTO; |
| | | @{ |
| | | ViewBag.Title = "GroupGroup"; |
| | | Layout = "~/Views/Shared/_Layout_Search.cshtml"; |
| | | |
| | | List<PageEntity> ActionInfo2 = ViewData["ActionInfo2"] as List<PageEntity>; |
| | | } |
| | | @section headerStyle{ |
| | | <script type="text/javascript"> |
| | |
| | | var grouptypes = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.grouptype))'; |
| | | |
| | | |
| | | |
| | | |
| | | loseherght = 60; |
| | | dataCol = [ |
| | | { label: 'id', name: 'Id', labtype: 'txt', hidden: true }, |
| | |
| | | return "<a onclick=\"OpenWindow('" + cellvalue.replace(/'/g, '') + "','98%','100%', '/GroupGroup/Edit?id=" + rowObject.Id + "')\" >" + cellvalue + "</a>"; |
| | | } |
| | | }, |
| | | |
| | | |
| | | { label: '群主姓名', name: 'Qunzhuname', labtype: 'txt', hidden: false, width: 100 }, |
| | | { label: '群组类型', name: 'GrouptypeName', labtype: 'txt', hidden: false, width: 100 }, |
| | | { label: '行业类别', name: 'HylbName', labtype: 'txt', hidden: false, width: 100 }, |
| | |
| | | { |
| | | label: '推广记录', name: 'Remark', labtype: 'txt', hidden: false, width: 100, |
| | | formatter: function (cellvalue, options, rowObject) { |
| | | return "<a onclick=\"OpenWindow('推广','40%','50%', '/GroupTuiguang/Edit?GroupId=" + rowObject.Id + "')\" >推广</a> <a onclick=\"OpenWindow('推广记录','98%','90%', '/GroupTuiguang/Index?GroupId=" + rowObject.Id + "')\" >记录</a>"; |
| | | return "<a class=\"Tuiguangjilu\" style=\"display: none;\" onclick=\"OpenWindow('推广','40%','50%', '/GroupTuiguang/Edit?GroupId=" + rowObject.Id + "')\" >推广</a> <a class=\"Tuiguangjilu\" style=\"display: none;\" onclick=\"OpenWindow('推广记录','98%','90%', '/GroupTuiguang/Index?GroupId=" + rowObject.Id + "')\" >记录</a>"; |
| | | } |
| | | }, |
| | | |
| | |
| | | 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) { |
| | | //alert(o); |
| | | //alert(data[o]); |
| | | /* alert("PageShortcut:" + data[o].PageShortcut + " PageName:" + data[o].PageName);*/ |
| | | $("." + data[o].PageShortcut).show(); |
| | | |
| | | } |
| | | |
| | | |
| | | }; |
| | | </script> |
| | | } |
| | | |
| | | @section footerScripts{ |
| | | <script type="text/javascript"> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |