username@email.com
2023-02-28 67a0042c5f29e4bb0e0b82f6190f2bc51480b45c
zhengcaioa/zhengcaioa/Views/GroupGroup/Index.cshtml
@@ -1,6 +1,9 @@
@{
@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">
@@ -10,7 +13,7 @@
        var grouptypes = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.grouptype))';
        loseherght = 60;
        dataCol = [
            { label: 'id', name: 'Id', labtype: 'txt', hidden: true },
@@ -21,7 +24,7 @@
                    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  },
@@ -32,7 +35,7 @@
            {
                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>";
                }
            },
@@ -76,14 +79,27 @@
                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">