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/AdmTongxunlu/Edit.cshtml | 20 ++++++++++++++++---- 1 files changed, 16 insertions(+), 4 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Views/AdmTongxunlu/Edit.cshtml b/zhengcaioa/zhengcaioa/Views/AdmTongxunlu/Edit.cshtml index 03c1dcc..8f77657 100644 --- a/zhengcaioa/zhengcaioa/Views/AdmTongxunlu/Edit.cshtml +++ b/zhengcaioa/zhengcaioa/Views/AdmTongxunlu/Edit.cshtml @@ -6,7 +6,7 @@ List<SysCodeDtl> TypeId = ViewData["TypeId"] as List<SysCodeDtl>; //鐗╁搧鐘舵�� - + List<PageEntity> ActionInfo2 = ViewData["ActionInfo2"] as List<PageEntity>; } @{ @@ -221,9 +221,9 @@ var id = '@Model.Id'; - - + + // 淇濆瓨宀椾綅淇℃伅 var savePosition = function () { @@ -268,7 +268,7 @@ if (data.Result) { // parent._afterSave(true); parent.layer.msg('鎴愬姛淇濆瓨', { icon: 6 }); - + try { @@ -304,6 +304,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