From 67a0042c5f29e4bb0e0b82f6190f2bc51480b45c Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 28 二月 2023 13:25:09 +0800
Subject: [PATCH] 工资绩效改版

---
 zhengcaioa/zhengcaioa/Views/OrderBanci/Index.cshtml |   33 +++++++++++++++++++++++++--------
 1 files changed, 25 insertions(+), 8 deletions(-)

diff --git a/zhengcaioa/zhengcaioa/Views/OrderBanci/Index.cshtml b/zhengcaioa/zhengcaioa/Views/OrderBanci/Index.cshtml
index c3fc1b2..15a0877 100644
--- a/zhengcaioa/zhengcaioa/Views/OrderBanci/Index.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/OrderBanci/Index.cshtml
@@ -1,10 +1,13 @@
-锘緻{
+锘緻using DTO;
+@{
     ViewBag.Title = "OrderBanci";
     Layout = "~/Views/Shared/_Layout_Search.cshtml";
+
+    List<PageEntity> ActionInfo2 = ViewData["ActionInfo2"] as List<PageEntity>;
 }
 @section headerStyle{
     <script type="text/javascript">
-       
+
         dataCol = [
             { label: 'id', name: 'Id', labtype: 'txt', hidden: true },
 
@@ -20,12 +23,12 @@
             { label: '鍦扮偣', name: 'Didian', labtype: 'txt', hidden: false, width: 400 },
             { label: '浜烘暟', name: 'Renshu', labtype: 'txt', hidden: false, width: 200 },
             {
-                label: '璇剧▼绫诲瀷', name: 'Creater', labtype: 'txt', hidden: false, width: 100,
+                label: '璇剧▼浠锋牸', name: 'Creater', labtype: 'txt', hidden: false, width: 100,
                 formatter: function (cellvalue, options, rowObject) {
-                    return "<a onclick=\"OpenWindow('" + rowObject.Banci.replace(/'/g, '') + "','98%','100%', '/OrderBanci/IndexDtl?OrderBanciId=" + rowObject.Id + "')\"  >鍩硅鏃堕棿</a>";
+                    return "<a  class='Jiage'  style='display: none;' onclick=\"OpenWindow('" + rowObject.Banci.replace(/'/g, '') + "','98%','100%', '/OrderBanci/IndexDtl?OrderBanciId=" + rowObject.Id + "')\"  >璇剧▼浠锋牸</a>";
                 }
             },
-          
+
 
         ];
         dataUrl = "/OrderBanci/GetList";
@@ -62,9 +65,23 @@
             } else {
                 /**/
                 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>
 }
 

--
Gitblit v1.9.1