username@email.com
2022-08-10 0a0421f0411471b83a8ff2356325ce21aeace60c
zhengcaioa/zhengcaioa/Views/CooperOrder/selectWenshu.cshtml
@@ -1,6 +1,10 @@
@{
@using DTO;
@{
    ViewBag.Title = "CooperOrder";
    Layout = "~/Views/Shared/_Layout_Search.cshtml";
    List<PageEntity> ActionInfo2 = ViewData["ActionInfo2"] as List<PageEntity>;
}
@section headerStyle{
    <script type="text/javascript">
@@ -31,10 +35,10 @@
                formatter: function (cellvalue, options, rowObject) {
                    if (rowObject.OrderType1 == "代拟投诉书") {
                        return "<a onclick=\"OpenWindow('打印导出投诉书','98%','100%', '/CooperOrder/Printtousushu?id=" + rowObject.Id + "')\"  >打印导出投诉书</a>";
                        return "<a class=\"Dayin\" style=\"display: none;\" onclick=\"OpenWindow('打印导出投诉书','98%','100%', '/CooperOrder/Printtousushu?id=" + rowObject.Id + "')\"  >打印导出投诉书</a>";
                    }
                    else if (rowObject.OrderType1 == "代拟质疑函") {
                        return "<a onclick=\"OpenWindow('打印导出质疑函','98%','100%', '/CooperOrder/PrintZhiyihan?id=" + rowObject.Id + "')\"  >打印导出质疑函</a>";
                        return "<a class=\"Dayin\" style=\"display: none;\" onclick=\"OpenWindow('打印导出质疑函','98%','100%', '/CooperOrder/PrintZhiyihan?id=" + rowObject.Id + "')\"  >打印导出质疑函</a>";
                    }
                }
            },
@@ -128,6 +132,19 @@
        }
           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>
}