From 5421f9a6e5e2b28cc32aa8aa6dec9becd0c1eb3c Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期三, 04 一月 2023 10:19:57 +0800 Subject: [PATCH] 业务经理意向和合作客户只能1000,90天意向不转合作就制空业务经理,查询没有业务经理的档案客户和合作客户 --- zhengcaioa/zhengcaioa/Views/AdmDocDoc/Index.cshtml | 24 +++++++++++++++++++----- 1 files changed, 19 insertions(+), 5 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Views/AdmDocDoc/Index.cshtml b/zhengcaioa/zhengcaioa/Views/AdmDocDoc/Index.cshtml index bb21fb9..f6e50e6 100644 --- a/zhengcaioa/zhengcaioa/Views/AdmDocDoc/Index.cshtml +++ b/zhengcaioa/zhengcaioa/Views/AdmDocDoc/Index.cshtml @@ -1,6 +1,9 @@ -锘緻{ +锘緻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"> @@ -29,11 +32,11 @@ { 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"; @@ -74,7 +77,18 @@ 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> } -- Gitblit v1.9.1