From 6e2b929cf381e2320ba6e7dec56c0371124d2b51 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期六, 27 八月 2022 15:03:00 +0800
Subject: [PATCH] 提交

---
 zhengcaioa/zhengcaioa/Views/ServiceCharge/Index.cshtml |   41 +++++++++++++++++++++++++++--------------
 1 files changed, 27 insertions(+), 14 deletions(-)

diff --git a/zhengcaioa/zhengcaioa/Views/ServiceCharge/Index.cshtml b/zhengcaioa/zhengcaioa/Views/ServiceCharge/Index.cshtml
index 3fb51d1..1a13117 100644
--- a/zhengcaioa/zhengcaioa/Views/ServiceCharge/Index.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/ServiceCharge/Index.cshtml
@@ -7,6 +7,7 @@
 
     int nookcount = Book == null ? 0 : Book.Count;
 
+    List<PageEntity> ActionInfo2 = ViewData["ActionInfo2"] as List<PageEntity>;
 }
 @{
     Layout = null;
@@ -165,7 +166,7 @@
                                     </div>
                                     <div>
 
-                                        <a class="btn btn-default" href="javascript:void(0)" onclick="OpenWindow('鏂板鍥句功','98%','100%', '/ServiceCharge/Edit');" style="margin-right:40px;margin-bottom:5px; border-radius:4px;float:right;width:5%;">
+                                        <a class="btn btn-default Update" href="javascript:void(0)" onclick="OpenWindow('鏂板鍥句功','98%','100%', '/ServiceCharge/Edit');" style="margin-right:40px;margin-bottom:5px; border-radius:4px;float:right;width:5%;display:none;">
                                             <i class="glyphicon glyphicon-plus"></i>&nbsp;&nbsp;<span class="bold">鏂板</span>
                                         </a>
                                     </div>
@@ -219,10 +220,10 @@
 
                                                                                             <td>@Book[i].Danjia.Value.ToString("F2")</td>
                                                                                             <td>
-                                                                                                <a href="javascript:void(0)" onclick="OpenWindow('@Book[i].BookName','98%','100%', '/ServiceCharge/Edit?id=@Book[i].Id');" style="margin-left:4px; border-radius:4px;">
+                                                                                                <a href="javascript:void(0)"  class="Update"    onclick="OpenWindow('@Book[i].BookName','98%','100%', '/ServiceCharge/Edit?id=@Book[i].Id');" style="margin-left: 4px; border-radius: 4px; display: none;">
                                                                                                     <span class="bold">淇敼</span>
                                                                                                 </a>
-                                                                                                <a href="javascript:void(0)" onclick="delPosition('@Book[i].Id');" style="margin-left:4px; border-radius:4px;">
+                                                                                                <a href="javascript:void(0)"  class="Update"   onclick="delPosition('@Book[i].Id');" style="margin-left:4px; border-radius:4px;display:none;">
                                                                                                     <span class="bold">鍒犻櫎</span>
                                                                                                 </a>
                                                                                             </td>
@@ -654,7 +655,7 @@
                                         </tbody>
                                     </table>
                                 </div>
-                                <div class="">
+                                @*<div class="">
 
                                     <h3>鍏�侀闄╀唬鐞�</h3>
 
@@ -663,10 +664,10 @@
 
                                     <label class="text-left col-sm-1 col-md-1 control-label">闈㈣</label>
 
-                                </div>
+                                </div>*@
                                 <div class="">
 
-                                    <h3>涔濄�佽蒋浠�</h3>
+                                    <h3>鍏�佽蒋浠�</h3>
 
                                 </div>
                                 <div class="clearfix layer-area" style="padding-bottom:15px;">
@@ -709,11 +710,11 @@
                                     </table>
                                 </div>
 
-                                <div class="">
+                                @*<div class="">
 
                                     <h3>鍗併�佸叾浠�</h3>
 
-                                </div>
+                                </div>*@
 
 
 
@@ -728,11 +729,11 @@
         <div class="ibox-content" id="top" style="z-index:100; position:fixed; height:50px; width:100%;bottom:0; text-align: right; padding-top:8px ">
             <div class="" style="float:right;" data-bootstro-width="500px" data-bootstro-content="鍔熻兘鎸夐挳锛氣�滀繚瀛樷�濓紝鈥滃垹闄も��">
 
-                <a class="btn btn-default" href="javascript:void(0)" onclick="Print();" style="margin-left:4px; border-radius:4px;">
+                <a class="btn btn-default Dayin" href="javascript:void(0)" onclick="Print();" style="margin-left:4px; border-radius:4px;display:none;">
                     <i class="glyphicon glyphicon-print"></i>&nbsp;&nbsp;<span class="bold">鎵撳嵃</span>
                 </a> &nbsp; &nbsp;
 
-                <a class="btn btn-success" href="javascript:void(0)" onclick="savePosition();" style="margin-left:4px; border-radius:4px;">
+                <a class="btn btn-success Update" href="javascript:void(0)" onclick="savePosition();" style="margin-left: 4px; border-radius: 4px; display: none;">
                     <i class="glyphicon glyphicon-ok"></i>&nbsp;&nbsp;<span class="bold">鎻愪氦</span>
                 </a>
             </div>
@@ -764,7 +765,7 @@
         var delPosition = function (id) {
 
 
-            
+
             $.ajax({
                 type: "GET",
                 url: "/ServiceCharge/Nullify?id=" + id,
@@ -810,7 +811,7 @@
 
 
 
-         
+
             //var data = { id: $("#Id").val(), StartTime:$("#StartTime").val(), Sheng: $("#Sheng").val(), job_level: $("#Job_level").val().toString(), ExistsAttachment: fileId != "" }
             $.ajax({
                 type: "POST",
@@ -819,7 +820,7 @@
                 global: false,
                 data: $('form').serializeArray(),
                 success: function (data) {
-                 
+
 
 
                         if (data.Result) {
@@ -851,7 +852,7 @@
         }
 
 
- 
+
 
         function _pageAutoClose() {
             window.location = "/ServiceCharge/Index";
@@ -861,6 +862,18 @@
             //parent.layer.close(index);
             return false;
         }
+
+           var ActionInfo22 = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ActionInfo2))';
+
+
+
+        $(function () {
+            var data = JSON.parse(ActionInfo22);
+            for (var o in data) {
+                $("." + data[o].PageShortcut).show();
+
+            }
+        });
     </script>
 </body>
 </html>
\ No newline at end of file

--
Gitblit v1.9.1