#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 1 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\DemoManage\Views\Form\Upload.cshtml" Layout = "~/Views/Shared/_FormGray.cshtml"; #line default #line hidden BeginContext(56, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("header", async() => { BeginContext(151, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(158, 116, false); #line 7 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\DemoManage\Views\Form\Upload.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/fileinput/5.0.3/css/fileinput.min.css"))); #line default #line hidden EndContext(); BeginContext(274, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(281, 114, false); #line 8 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\DemoManage\Views\Form\Upload.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/fileinput/5.0.3/js/fileinput.min.js"))); #line default #line hidden EndContext(); BeginContext(395, 2, true); WriteLiteral("\r\n"); EndContext(); } ); BeginContext(400, 1227, true); WriteLiteral(@" <div class=""wrapper wrapper-content animated fadeInRight""> <div class=""row""> <div class=""col-sm-12""> <div class=""ibox float-e-margins""> <div class=""ibox-title""> <h5>文件上传控件 <small>https://github.com/kartik-v/bootstrap-fileinput</small></h5> </div> <div class=""ibox-content""> <div class=""form-group""> <label class=""font-noraml"">简单示例</label> <div class=""file-loading""> <input id=""fileinput-demo-1"" type=""file""> </div> </div> <div class=""form-group""> <label class=""font-noraml"">多文件上传</label> <div class=""file-loading""> <input id=""fileinput-demo-2"" type=""file"" multiple> </div> </div> </div> </div> "); WriteLiteral(" </div>\r\n </div>\r\n</div>\r\n\r\n<script type=\"text/javascript\">\r\n $(document).ready(function () {\r\n $(\"#fileinput-demo-1\").fileinput({\r\n language: \'zh\',\r\n \'uploadUrl\': \'"); EndContext(); BeginContext(1628, 34, false); #line 42 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\DemoManage\Views\Form\Upload.cshtml" Write(GlobalContext.SystemConfig.ApiSite); #line default #line hidden EndContext(); BeginContext(1662, 33, true); WriteLiteral("\' + \'/File/UploadFile?fileModule="); EndContext(); BeginContext(1696, 32, false); #line 42 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\DemoManage\Views\Form\Upload.cshtml" Write(UploadFileType.News.ParseToInt()); #line default #line hidden EndContext(); BeginContext(1728, 150, true); WriteLiteral("\',\r\n showPreview: false\r\n });\r\n\r\n $(\"#fileinput-demo-2\").fileinput({\r\n language: \'zh\',\r\n \'uploadUrl\': \'"); EndContext(); BeginContext(1879, 34, false); #line 48 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\DemoManage\Views\Form\Upload.cshtml" Write(GlobalContext.SystemConfig.ApiSite); #line default #line hidden EndContext(); BeginContext(1913, 33, true); WriteLiteral("\' + \'/File/UploadFile?fileModule="); EndContext(); BeginContext(1947, 32, false); #line 48 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\DemoManage\Views\Form\Upload.cshtml" Write(UploadFileType.News.ParseToInt()); #line default #line hidden EndContext(); BeginContext(1979, 113, true); WriteLiteral("\',\r\n overwriteInitial: false,\r\n initialPreviewAsData: true,\r\n initialPreview: [\'"); EndContext(); BeginContext(2093, 35, false); #line 51 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\DemoManage\Views\Form\Upload.cshtml" Write(Url.Content("~/image/portrait.png")); #line default #line hidden EndContext(); BeginContext(2128, 35, true); WriteLiteral("\']\r\n });\r\n });\r\n</script>"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(0, 28, true); WriteLiteral("<!--Areas文件夹下表单页面白色背景模板-->\r\n"); EndContext(); BeginContext(105, 25, true); WriteLiteral("<!DOCTYPE HTML>\r\n<html>\r\n"); EndContext(); BeginContext(130, 543, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("head", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ff69d6cff9bb2282d6486c0f8ede48aa9aaf39924726", async() => { BeginContext(136, 356, true); WriteLiteral(@" <meta charset=""utf-8""> <meta name=""renderer"" content=""webkit|ie-comp|ie-stand""> <meta http-equiv=""X-UA-Compatible"" content=""IE=edge,chrome=1""> <meta name=""viewport"" content=""width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"" /> <meta http-equiv=""Cache-Control"" content=""no-siteapp"" /> "); EndContext(); BeginContext(493, 39, false); #line 12 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_FormWhite.cshtml" Write(await Html.PartialAsync("_Form.cshtml")); #line default #line hidden EndContext(); BeginContext(532, 8, true); WriteLiteral("\r\n\r\n "); EndContext(); BeginContext(541, 30, false); #line 14 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_FormWhite.cshtml" Write(RenderSection("header", false)); #line default #line hidden EndContext(); BeginContext(571, 58, true); WriteLiteral("\r\n <script type=\"text/javascript\">\r\n var ctx = \'"); EndContext(); BeginContext(630, 17, false); #line 16 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_FormWhite.cshtml" Write(Url.Content("~/")); #line default #line hidden EndContext(); BeginContext(647, 19, true); WriteLiteral("\';\r\n </script>\r\n"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_HeadTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_HeadTagHelper); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(673, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(675, 303, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ff69d6cff9bb2282d6486c0f8ede48aa9aaf39927509", async() => { BeginContext(698, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(705, 12, false); #line 20 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_FormWhite.cshtml" Write(RenderBody()); #line default #line hidden EndContext(); BeginContext(717, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(724, 30, false); #line 21 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_FormWhite.cshtml" Write(RenderSection("footer", false)); #line default #line hidden EndContext(); BeginContext(754, 8, true); WriteLiteral("\r\n\r\n "); EndContext(); BeginContext(763, 98, false); #line 23 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_FormWhite.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/yisha/css/yisha.min.css"))); #line default #line hidden EndContext(); BeginContext(861, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(868, 101, false); #line 24 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_FormWhite.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/yisha/js/yisha-init.min.js"))); #line default #line hidden EndContext(); BeginContext(969, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(978, 9, true); WriteLiteral("\r\n</html>"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(0, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(79, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(82, 116, false); #line 4 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Form.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/bootstrap/3.3.7/css/bootstrap.min.css"))); #line default #line hidden EndContext(); BeginContext(198, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(201, 120, false); #line 5 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Form.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/fontawesome/4.7.0/css/fontawesome.min.css"))); #line default #line hidden EndContext(); BeginContext(321, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(324, 106, false); #line 6 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Form.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/jquery/1.10.2/jquery.min.js"))); #line default #line hidden EndContext(); BeginContext(430, 4, true); WriteLiteral("\r\n\r\n"); EndContext(); BeginContext(435, 114, false); #line 8 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Form.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/bootstrap/3.3.7/js/bootstrap.min.js"))); #line default #line hidden EndContext(); BeginContext(549, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(552, 103, false); #line 9 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Form.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/layer/3.1.1/layer.min.js"))); #line default #line hidden EndContext(); BeginContext(655, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(658, 107, false); #line 10 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Form.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/laydate/5.0.9/laydate.min.js"))); #line default #line hidden EndContext(); BeginContext(765, 4, true); WriteLiteral("\r\n\r\n"); EndContext(); BeginContext(770, 98, false); #line 12 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Form.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/yisha/css/style.min.css"))); #line default #line hidden EndContext(); BeginContext(868, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(871, 96, false); #line 13 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Form.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/yisha/js/yisha.min.js"))); #line default #line hidden EndContext(); BeginContext(967, 4, true); WriteLiteral("\r\n\r\n"); EndContext(); BeginContext(972, 126, false); #line 15 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Form.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/jquery.validation/1.14.0/jquery.validate.min.js"))); #line default #line hidden EndContext(); BeginContext(1098, 4, true); WriteLiteral("\r\n\r\n"); EndContext(); BeginContext(1103, 112, false); #line 17 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Form.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/icheck/1.0.2/skins/custom.min.css"))); #line default #line hidden EndContext(); BeginContext(1215, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(1218, 105, false); #line 18 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Form.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/icheck/1.0.2/icheck.min.js"))); #line default #line hidden EndContext(); BeginContext(1323, 4, true); WriteLiteral("\r\n\r\n"); EndContext(); BeginContext(1328, 112, false); #line 20 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Form.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/select2/4.0.6/css/select2.min.css"))); #line default #line hidden EndContext(); BeginContext(1440, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(1443, 110, false); #line 21 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Form.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/select2/4.0.6/js/select2.min.js"))); #line default #line hidden EndContext(); BeginContext(1553, 4, true); WriteLiteral("\r\n\r\n"); EndContext(); BeginContext(1558, 121, false); #line 23 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Form.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/zTree/v3/css/metroStyle/metroStyle.min.css"))); #line default #line hidden EndContext(); BeginContext(1679, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(1682, 103, false); #line 24 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Form.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/zTree/v3/js/ztree.min.js"))); #line default #line hidden EndContext(); BeginContext(1785, 2, true); WriteLiteral("\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 1 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\DemoManage\Views\Form\Editor.cshtml" Layout = "~/Views/Shared/_FormGray.cshtml"; #line default #line hidden BeginContext(56, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("header", async() => { BeginContext(151, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(158, 114, false); #line 7 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\DemoManage\Views\Form\Editor.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/summernote/0.8.8/summernote.min.css"))); #line default #line hidden EndContext(); BeginContext(272, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(279, 113, false); #line 8 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\DemoManage\Views\Form\Editor.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/summernote/0.8.8/summernote.min.js"))); #line default #line hidden EndContext(); BeginContext(392, 2, true); WriteLiteral("\r\n"); EndContext(); } ); BeginContext(397, 2956, true); WriteLiteral(@" <div class=""wrapper wrapper-content""> <div class=""row""> <div class=""col-sm-12""> <div class=""ibox float-e-margins""> <div class=""ibox-content""> <h2>Summernote</h2> <p> <a href=""https://github.com/summernote/summernote"" target=""_blank"">Summernote</a> 是一个简单的基于Bootstrap的WYSIWYG富文本编辑器 </p> </div> </div> </div> </div> <div class=""row""> <div class=""col-sm-12""> <div class=""ibox float-e-margins""> <div class=""ibox-title""> <h5>Summernote 富文本编辑器</h5> </div> <div class=""ibox-content no-padding""> <div class=""summernote""> <h2>一沙后台管理系统</h2> <p> YiShaAdmin 是一个开源的后台管理系统快速开发框架,基于.NET Core Web技术(ASP.NET Core Web,ASP.NET Core Web Api),主要目的让开发者专注业务, "); WriteLiteral(@" 降低技术难度,从而节省人力成本,缩短项目周期,提高软件安全质量。 </p> <p> <span class=""label label-warning"">免费开源</span> </p> </div> </div> </div> </div> </div> <div class=""row""> <div class=""col-sm-12""> <div class=""ibox float-e-margins""> <div class=""ibox-title""> <h5>编辑/保存为html代码示例</h5> <button id=""edit"" class=""btn btn-primary btn-xs m-l-sm"" onclick=""edit()"" type=""button"">编辑</button> <button id=""save"" class=""btn btn-primary btn-xs"" onclick=""save()"" type=""button"">保存</button> </div> <div class=""ibox-content"" id=""eg""> <div class=""click2edit wrapper""> <h3>你好,一沙 </h3> <p> YiShaAdmin 是一个开源的后台管理系统快速开发框架,基于.NET Core Web技术(ASP.NE"); WriteLiteral(@"T Core Web,ASP.NET Core Web Api),主要目的让开发者专注业务, 降低技术难度,从而节省人力成本,缩短项目周期,提高软件安全质量。 </p> <p> <span class=""label label-warning"">开源免费</span> </p> </div> </div> </div> </div> </div> </div> <script> $(document).ready(function () { $('.summernote').summernote({ lang: 'zh-CN' }); }); var edit = function () { $(""#eg"").addClass(""no-padding""); $('.click2edit').summernote({ lang: 'zh-CN', focus: true }); }; var save = function () { $(""#eg"").removeClass(""no-padding""); var html = $('.click2edit').summernote('code'); $('.click2edit').summernote('destroy'); }; </script>"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(0, 17, true); WriteLiteral("<!--登录页和首页模板-->\r\n"); EndContext(); BeginContext(94, 25, true); WriteLiteral("<!DOCTYPE HTML>\r\n<html>\r\n"); EndContext(); BeginContext(119, 2097, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("head", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1525c322b5e8cf0ead7aa47d430a27d6edb4d4dc4732", async() => { BeginContext(125, 475, true); WriteLiteral(@" <meta charset=""utf-8""> <meta name=""renderer"" content=""webkit|ie-comp|ie-stand""> <meta http-equiv=""X-UA-Compatible"" content=""IE=edge,chrome=1""> <meta name=""viewport"" content=""width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"" /> <meta http-equiv=""Cache-Control"" content=""no-siteapp"" /> <meta name=""keywords"" content=""一沙后台管理系统""> <meta name=""description"" content=""一沙后台管理系统""> <link rel=""bookmark"""); EndContext(); BeginWriteAttribute("href", " href=\'", 600, "\'", 636, 1); #line 15 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Layout.cshtml" WriteAttributeValue("", 607, Url.Content("~/favicon.ico"), 607, 29, false); #line default #line hidden EndWriteAttribute(); BeginContext(637, 34, true); WriteLiteral(" />\r\n <link rel=\"shortcut icon\""); EndContext(); BeginWriteAttribute("href", " href=\"", 671, "\"", 707, 1); #line 16 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Layout.cshtml" WriteAttributeValue("", 678, Url.Content("~/favicon.ico"), 678, 29, false); #line default #line hidden EndWriteAttribute(); BeginContext(708, 31, true); WriteLiteral(" type=\"image/x-icon\" />\r\n\r\n "); EndContext(); BeginContext(740, 116, false); #line 18 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Layout.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/bootstrap/3.3.7/css/bootstrap.min.css"))); #line default #line hidden EndContext(); BeginContext(856, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(863, 120, false); #line 19 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Layout.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/fontawesome/4.7.0/css/fontawesome.min.css"))); #line default #line hidden EndContext(); BeginContext(983, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(990, 106, false); #line 20 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Layout.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/jquery/1.10.2/jquery.min.js"))); #line default #line hidden EndContext(); BeginContext(1096, 8, true); WriteLiteral("\r\n\r\n "); EndContext(); BeginContext(1105, 114, false); #line 22 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Layout.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/bootstrap/3.3.7/js/bootstrap.min.js"))); #line default #line hidden EndContext(); BeginContext(1219, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1226, 103, false); #line 23 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Layout.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/layer/3.1.1/layer.min.js"))); #line default #line hidden EndContext(); BeginContext(1329, 8, true); WriteLiteral("\r\n\r\n "); EndContext(); BeginContext(1338, 98, false); #line 25 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Layout.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/yisha/css/style.min.css"))); #line default #line hidden EndContext(); BeginContext(1436, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1443, 96, false); #line 26 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Layout.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/yisha/js/yisha.min.js"))); #line default #line hidden EndContext(); BeginContext(1539, 62, true); WriteLiteral("\r\n\r\n <!--首页需要用到的js开始-->\r\n <script type=\"text/javascript\""); EndContext(); BeginWriteAttribute("src", " src=\'", 1601, "\'", 1648, 1); #line 29 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Layout.cshtml" WriteAttributeValue("", 1607, Url.Content("~/yisha/js/yisha-index.js"), 1607, 41, false); #line default #line hidden EndWriteAttribute(); BeginContext(1649, 46, true); WriteLiteral("></script>\r\n <script type=\"text/javascript\""); EndContext(); BeginWriteAttribute("src", " src=\'", 1695, "\'", 1765, 1); #line 30 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Layout.cshtml" WriteAttributeValue("", 1701, Url.Content("~/lib/jquery.metisMenu/1.1.3/jquery.metisMenu.js"), 1701, 64, false); #line default #line hidden EndWriteAttribute(); BeginContext(1766, 46, true); WriteLiteral("></script>\r\n <script type=\"text/javascript\""); EndContext(); BeginWriteAttribute("src", " src=\'", 1812, "\'", 1888, 1); #line 31 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Layout.cshtml" WriteAttributeValue("", 1818, Url.Content("~/lib/jquery.slimscroll/1.3.0/jquery.slimscroll.min.js"), 1818, 70, false); #line default #line hidden EndWriteAttribute(); BeginContext(1889, 40, true); WriteLiteral("></script>\r\n <!--首页需要用到的js结束-->\r\n "); EndContext(); BeginContext(1930, 30, false); #line 33 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Layout.cshtml" Write(RenderSection("header", false)); #line default #line hidden EndContext(); BeginContext(1960, 212, true); WriteLiteral("\r\n <title>一沙后台管理系统</title>\r\n <style type=\"text/css\">\r\n .nav > li:hover .dropdown-menu {\r\n display: block;\r\n }\r\n </style>\r\n <script type=\"text/javascript\">\r\n var ctx = \'"); EndContext(); BeginContext(2173, 17, false); #line 41 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Layout.cshtml" Write(Url.Content("~/")); #line default #line hidden EndContext(); BeginContext(2190, 19, true); WriteLiteral("\';\r\n </script>\r\n"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_HeadTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_HeadTagHelper); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2216, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(2218, 341, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1525c322b5e8cf0ead7aa47d430a27d6edb4d4dc13223", async() => { BeginContext(2279, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(2286, 12, false); #line 45 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Layout.cshtml" Write(RenderBody()); #line default #line hidden EndContext(); BeginContext(2298, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(2305, 30, false); #line 46 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Layout.cshtml" Write(RenderSection("footer", false)); #line default #line hidden EndContext(); BeginContext(2335, 8, true); WriteLiteral("\r\n\r\n "); EndContext(); BeginContext(2344, 98, false); #line 48 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Layout.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/yisha/css/yisha.min.css"))); #line default #line hidden EndContext(); BeginContext(2442, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(2449, 101, false); #line 49 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Layout.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/yisha/js/yisha-init.min.js"))); #line default #line hidden EndContext(); BeginContext(2550, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2559, 11, true); WriteLiteral("\r\n</html>\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 1 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\DemoManage\Views\Report\Peity.cshtml" Layout = "~/Views/Shared/_FormGray.cshtml"; #line default #line hidden BeginContext(56, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("header", async() => { BeginContext(151, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(158, 111, false); #line 7 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\DemoManage\Views\Report\Peity.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/report/peity/jquery.peity.min.js"))); #line default #line hidden EndContext(); BeginContext(269, 2, true); WriteLiteral("\r\n"); EndContext(); } ); BeginContext(274, 8123, true); WriteLiteral(@" <div class=""wrapper wrapper-content""> <div class=""row""> <div class=""col-sm-12""> <div class=""ibox float-e-margins""> <div class=""ibox-content""> <h2>Peity</h2> <p> <a href=""https://github.com/benpickles/peity"" target=""_blank"">Peity</a> 是一个内嵌数据图形可视化的图表库。 </p> </div> </div> </div> </div> <div class=""row""> <div class=""col-sm-12""> <div class=""ibox float-e-margins""> <div class=""ibox-title""> <h5>饼状图 <small>自定义颜色</small></h5> <div class=""ibox-tools""> <a class=""close-link""> <i class=""fa fa-times""></i> </a> </div> </div> <div> <table class=""table table-bordered white-bg""> <thead> "); WriteLiteral(@" <tr> <th>图表</th> <th>代码</th> </tr> </thead> <tbody> <tr> <td> <span class=""pie"">1/5</span> </td> <td> <code><span class=""pie"">1/5</span></code> </td> </tr> <tr> <td> <span class=""pie"">226/360</span> </td> <td> <code><span class=""pie"">226/360</span></code> </td> </tr> <tr>"); WriteLiteral(@" <td> <span class=""pie"">0.52/1.561</span> </td> <td> <code><span class=""pie"">0.52/1.561</span></code> </td> </tr> <tr> <td> <span class=""pie"">1,4</span> </td> <td> <code><span class=""pie"">1,4</span></code> </td> </tr> <tr> <td> <span class=""pie"">226,134</span> </td> <td> <code><span class=""pie""&"); WriteLiteral(@"gt;226,134</span></code> </td> </tr> <tr> <td> <span class=""pie"">0.52,1.041</span> </td> <td> <code><span class=""pie"">0.52,1.041</span></code> </td> </tr> </tbody> </table> </div> </div> </div> </div> <div class=""row""> <div class=""col-sm-12""> <div class=""ibox float-e-margins""> <div class=""ibox-title""> <h5>线性图</h5> <div class=""ibox-tools""> <a class=""close-link""> <i class=""fa fa-times""></i> </a> </div> "); WriteLiteral(@" </div> <div> <table class=""table table-bordered white-bg""> <thead> <tr> <th>图表</th> <th>代码</th> </tr> </thead> <tbody> <tr> <td> <span data-diameter=""40"" class=""updating-chart"">5,3,9,6,5,9,7,3,5,2,5,3,9,6,5,9,7,3,5,2</span> </td> <td> <code><span class=""line"">5,3,9,6,5,9,7,3,5,2</span></code> </td> </tr> <tr> <td> <span class=""line"">5,3,9,6,5,9,7,3,5,2</span> "); WriteLiteral(@"</td> <td> <code><span class=""line"">5,3,9,6,5,9,7,3,5,2</span></code> </td> </tr> <tr> <td> <span class=""line"">5,3,2,-1,-3,-2,2,3,5,2</span> </td> <td> <code><span class=""line"">5,3,2,-1,-3,-2,2,3,5,2</span></code> </td> </tr> <tr> <td> <span class=""line"">0,-3,-6,-4,-5,-4,-7,-3,-5,-2</span> </td> <td> <code><span class=""line"">0,-3,-6,-4,-5,-4,-7,-3,-5,-2</span></code> "); WriteLiteral(@" </td> </tr> <tr> <td> <span class=""bar"">5,3,9,6,5,9,7,3,5,2</span> </td> <td> <code><span class=""bar"">5,3,9,6,5,9,7,3,5,2</span></code> </td> </tr> <tr> <td> <span class=""bar"">5,3,2,-1,-3,-2,2,3,5,2</span> </td> <td> <code><span class=""bar"">5,3,2,-1,-3,-2,2,3,5,2</span></code> </td> </tr> </tbody> </table> </div> </div> </div> </div> </d"); WriteLiteral(@"iv> <script type=""text/javascript""> $(function () { $(""span.pie"").peity(""pie"", { fill: ['#1ab394', '#d7d7d7', '#ffffff'] }) $("".line"").peity(""line"", { fill: '#1ab394', stroke: '#169c81', }) $("".bar"").peity(""bar"", { fill: [""#1ab394"", ""#d7d7d7""] }) $("".bar_dashboard"").peity(""bar"", { fill: [""#1ab394"", ""#d7d7d7""], width: 100 }) var updatingChart = $("".updating-chart"").peity(""line"", { fill: '#1ab394', stroke: '#169c81', width: 64 }) setInterval(function () { var random = Math.round(Math.random() * 10) var values = updatingChart.text().split("","") values.shift() values.push(random) updatingChart .text(values.join("","")) .change() }, 1000); }); </script>"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 1 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserImport.cshtml" Layout = "~/Views/Shared/_FormWhite.cshtml"; #line default #line hidden BeginContext(57, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("header", async() => { BeginContext(152, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(159, 116, false); #line 7 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserImport.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/fileinput/5.0.3/css/fileinput.min.css"))); #line default #line hidden EndContext(); BeginContext(275, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(282, 114, false); #line 8 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserImport.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/fileinput/5.0.3/js/fileinput.min.js"))); #line default #line hidden EndContext(); BeginContext(396, 2, true); WriteLiteral("\r\n"); EndContext(); } ); BeginContext(401, 50, true); WriteLiteral("\r\n<div class=\"wrapper animated fadeInRight\">\r\n "); EndContext(); BeginContext(451, 957, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8ea7cd53914b680ecdf29c67f0e5dcc782a534eb6759", async() => { BeginContext(493, 523, true); WriteLiteral(@" <div class=""form-group""> <label class=""col-sm-2 control-label "">选择文件</label> <div class=""col-sm-10""> <input id=""importFile"" type=""file""> </div> </div> <div class=""form-group""> <label class=""col-sm-2 control-label ""></label> <div class=""col-sm-4""> <div id=""isOverride"" col=""IsOverride""></div> </div> <div class=""control-label"" style=""text-align:left""> <a"); EndContext(); BeginWriteAttribute("href", " href=\'", 1016, "\'", 1060, 1); #line 25 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserImport.cshtml" WriteAttributeValue("", 1023, Url.Content("~/template/导入用户模板.xls"), 1023, 37, false); #line default #line hidden EndWriteAttribute(); BeginContext(1061, 340, true); WriteLiteral(@" class=""btn btn-default btn-xs""><i class=""fa fa-file-excel-o""></i> 下载模板</a> </div> </div> <div class=""form-group""> <label class=""col-sm-2 control-label ""></label> <div class=""col-sm-10 text-danger""> 提示:仅允许导入“xls”或“xlsx”格式文件! </div> </div> "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1408, 318, true); WriteLiteral(@" </div> <script type=""text/javascript""> var filePath = undefined; $(document).ready(function () { $(""#isOverride"").ysCheckBox({ data: [{ Key: '1', Value: '是否更新已经存在的用户数据' }] }); $(""#importFile"").fileinput({ language: 'zh', 'uploadUrl': '"); EndContext(); BeginContext(1727, 32, false); #line 46 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserImport.cshtml" Write(Url.Content("~/File/UploadFile")); #line default #line hidden EndContext(); BeginContext(1759, 17, true); WriteLiteral("\' + \'?fileModule="); EndContext(); BeginContext(1777, 34, false); #line 46 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserImport.cshtml" Write(UploadFileType.Import.ParseToInt()); #line default #line hidden EndContext(); BeginContext(1811, 625, true); WriteLiteral(@"', showPreview: false, allowedFileExtensions: ['xls', 'xlsx'] }).on(""fileuploaded"", function (event, data) { var obj = data.response; if (obj.Tag == 1) { filePath = obj.Result; } else { filePath = ''; } }); }); function saveForm(index) { if (!filePath) { ys.alertError('文件未上传或者上传失败'); return; } var postData =$(""#form"").getWebControls(); postData.FilePath = filePath; ys.ajax({ url: '"); EndContext(); BeginContext(2437, 55, false); #line 69 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserImport.cshtml" Write(Url.Content("~/OrganizationManage/User/ImportUserJson")); #line default #line hidden EndContext(); BeginContext(2492, 423, true); WriteLiteral(@"', type: ""post"", data: postData, success: function (obj) { if (obj.Tag == 1) { ys.msgSuccess('导入成功'); parent.searchGrid(); parent.layer.close(index); } else { ys.msgError(obj.Message); } } }); } </script>"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(0, 25, true); WriteLiteral(" <!--Areas文件夹下列表页面模板-->\r\n"); EndContext(); BeginContext(102, 25, true); WriteLiteral("<!DOCTYPE HTML>\r\n<html>\r\n"); EndContext(); BeginContext(127, 1918, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("head", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b7f9b9117bf088c842d99252b928e761bb58d1d24695", async() => { BeginContext(133, 354, true); WriteLiteral(@" <meta charset=""utf-8""> <meta name=""renderer"" content=""webkit|ie-comp|ie-stand""> <meta http-equiv=""X-UA-Compatible"" content=""IE=edge,chrome=1""> <meta name=""viewport"" content=""width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"" /> <meta http-equiv=""Cache-Control"" content=""no-siteapp"" /> "); EndContext(); BeginContext(488, 116, false); #line 11 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Index.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/bootstrap/3.3.7/css/bootstrap.min.css"))); #line default #line hidden EndContext(); BeginContext(604, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(611, 120, false); #line 12 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Index.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/fontawesome/4.7.0/css/fontawesome.min.css"))); #line default #line hidden EndContext(); BeginContext(731, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(738, 106, false); #line 13 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Index.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/jquery/1.10.2/jquery.min.js"))); #line default #line hidden EndContext(); BeginContext(844, 8, true); WriteLiteral("\r\n\r\n "); EndContext(); BeginContext(853, 114, false); #line 15 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Index.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/bootstrap/3.3.7/js/bootstrap.min.js"))); #line default #line hidden EndContext(); BeginContext(967, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(974, 103, false); #line 16 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Index.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/layer/3.1.1/layer.min.js"))); #line default #line hidden EndContext(); BeginContext(1077, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1084, 107, false); #line 17 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Index.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/laydate/5.0.9/laydate.min.js"))); #line default #line hidden EndContext(); BeginContext(1191, 8, true); WriteLiteral("\r\n\r\n "); EndContext(); BeginContext(1200, 125, false); #line 19 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Index.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/bootstrap.table/1.12.0/bootstrap-table.min.css"))); #line default #line hidden EndContext(); BeginContext(1325, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1332, 124, false); #line 20 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Index.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/bootstrap.table/1.12.0/bootstrap-table.min.js"))); #line default #line hidden EndContext(); BeginContext(1456, 8, true); WriteLiteral("\r\n\r\n "); EndContext(); BeginContext(1465, 98, false); #line 22 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Index.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/yisha/css/style.min.css"))); #line default #line hidden EndContext(); BeginContext(1563, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1570, 96, false); #line 23 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Index.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/yisha/js/yisha.min.js"))); #line default #line hidden EndContext(); BeginContext(1666, 8, true); WriteLiteral("\r\n\r\n "); EndContext(); BeginContext(1675, 112, false); #line 25 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Index.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/select2/4.0.6/css/select2.min.css"))); #line default #line hidden EndContext(); BeginContext(1787, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1794, 110, false); #line 26 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Index.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/select2/4.0.6/js/select2.min.js"))); #line default #line hidden EndContext(); BeginContext(1904, 8, true); WriteLiteral("\r\n\r\n "); EndContext(); BeginContext(1913, 30, false); #line 28 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Index.cshtml" Write(RenderSection("header", false)); #line default #line hidden EndContext(); BeginContext(1943, 58, true); WriteLiteral("\r\n <script type=\"text/javascript\">\r\n var ctx = \'"); EndContext(); BeginContext(2002, 17, false); #line 30 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Index.cshtml" Write(Url.Content("~/")); #line default #line hidden EndContext(); BeginContext(2019, 19, true); WriteLiteral("\';\r\n </script>\r\n"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_HeadTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_HeadTagHelper); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2045, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(2047, 302, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b7f9b9117bf088c842d99252b928e761bb58d1d212609", async() => { BeginContext(2069, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(2076, 12, false); #line 34 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Index.cshtml" Write(RenderBody()); #line default #line hidden EndContext(); BeginContext(2088, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(2095, 30, false); #line 35 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Index.cshtml" Write(RenderSection("footer", false)); #line default #line hidden EndContext(); BeginContext(2125, 8, true); WriteLiteral("\r\n\r\n "); EndContext(); BeginContext(2134, 98, false); #line 37 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Index.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/yisha/css/yisha.min.css"))); #line default #line hidden EndContext(); BeginContext(2232, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(2239, 101, false); #line 38 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Shared\_Index.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/yisha/js/yisha-init.min.js"))); #line default #line hidden EndContext(); BeginContext(2340, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2349, 9, true); WriteLiteral("\r\n</html>"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 1 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\Department\DepartmentIndex.cshtml" Layout = "~/Views/Shared/_Index.cshtml"; #line default #line hidden BeginContext(53, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("header", async() => { BeginContext(148, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(155, 130, false); #line 7 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\Department\DepartmentIndex.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/bootstrap.treetable/1.0/bootstrap-treetable.min.css"))); #line default #line hidden EndContext(); BeginContext(285, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(292, 129, false); #line 8 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\Department\DepartmentIndex.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/bootstrap.treetable/1.0/bootstrap-treetable.min.js"))); #line default #line hidden EndContext(); BeginContext(421, 2, true); WriteLiteral("\r\n"); EndContext(); } ); BeginContext(426, 1666, true); WriteLiteral(@" <div class=""container-div""> <div class=""row""> <div id=""searchDiv"" class=""col-sm-12 search-collapse""> <div class=""select-list""> <ul> <li> 部门名称:<input id=""departmentName"" col=""DepartmentName"" type=""text"" /> </li> <li> <a id=""btnSearch"" class=""btn btn-primary btn-sm"" onclick=""searchTreeGrid()""><i class=""fa fa-search""></i> 搜索</a> </li> </ul> </div> </div> <div class=""btn-group-sm hidden-xs"" id=""toolbar"" role=""group""> <a id=""btnAdd"" class=""btn btn-success"" onclick=""showSaveForm(true)""><i class=""fa fa-plus""></i> 新增</a> <a id=""btnEdit"" class=""btn btn-primary"" onclick=""showSaveForm(false)""><i class=""fa fa-edit""></i> 修改</a> <a id=""btnDelete"" class=""btn btn-danger"" onclick=""deleteForm()""><i class=""fa fa-remove""></i> 删除</a> <a id=""btnExpa"); WriteLiteral(@"ndAll"" class=""btn btn-info""><i class=""fa fa-exchange""></i> 展开/折叠</a> </div> <div class=""col-sm-12 select-table table-striped""> <table id=""gridTable"" data-mobile-responsive=""true""></table> </div> </div> </div> <script type=""text/javascript""> $(function () { initTreeGrid(); }); function initTreeGrid() { var options = { code: ""Id"", parentCode: ""ParentId"", uniqueId: ""Id"", expandAll: false, expandFirst: true, toolbar: '#toolbar', expandColumn: '1', url: '"); EndContext(); BeginContext(2093, 58, false); #line 52 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\Department\DepartmentIndex.cshtml" Write(Url.Content("~/OrganizationManage/Department/GetListJson")); #line default #line hidden EndContext(); BeginContext(2151, 1324, true); WriteLiteral(@"', modalName: ""部门"", columns: [ { field: 'selectItem', radio: true }, { field: 'DepartmentName', title: '部门名称', width: '20%' }, { field: 'DepartmentSort', title: '显示顺序', width: '10%', align: ""left"" }, { field: 'PrincipalName', title: '负责人', width: '10%', align: ""left"" }, { field: 'BaseModifyTime', title: '创建时间', width: '60%', align: ""left"", formatter: function (value, row, index) { return ys.formatDate(value, ""yyyy-MM-dd HH:mm:ss""); } } ] }; $('#gridTable').ysTreeTable(options); } function searchTreeGrid() { var param = $(""#searchDiv"").getWebControls(); $('#gridTable').ysTreeTable('search', param); } function showSaveForm(bAdd) { var id = 0; if (!bAdd) { var selectedRow = $(""#gridTable"").bootstra"); WriteLiteral(@"pTreeTable(""getSelections""); if (!ys.checkRowEdit(selectedRow)) { return; } else { id = selectedRow[0].Id; } } ys.openDialog({ title: id > 0 ? ""编辑部门"" : ""添加部门"", content: '"); EndContext(); BeginContext(3476, 61, false); #line 88 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\Department\DepartmentIndex.cshtml" Write(Url.Content("~/OrganizationManage/Department/DepartmentForm")); #line default #line hidden EndContext(); BeginContext(3537, 624, true); WriteLiteral(@"' + '?id=' + id, width: ""780px"", height: ""540px"", callback: function (index, layero) { var iframeWin = window[layero.find('iframe')[0]['name']]; iframeWin.saveForm(index); } }); } function deleteForm() { var selectedRow = $(""#gridTable"").bootstrapTreeTable(""getSelections""); if (ys.checkRowDelete(selectedRow)) { ys.confirm(""确认要删除选中的"" + selectedRow.length + ""条数据吗?"", function () { var ids = ys.getIds(selectedRow); ys.ajax({ url: '"); EndContext(); BeginContext(4162, 61, false); #line 104 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\Department\DepartmentIndex.cshtml" Write(Url.Content("~/OrganizationManage/Department/DeleteFormJson")); #line default #line hidden EndContext(); BeginContext(4223, 522, true); WriteLiteral(@"' + '?ids=' + ids, type: ""post"", error: ys.ajaxError, success: function (obj) { if (obj.Tag == 1) { ys.msgSuccess(obj.Message); searchTreeGrid(); } else { ys.msgError(obj.Message); } } }); }); } } </script>"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 1 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserPortrait.cshtml" Layout = "~/Views/Shared/_FormWhite.cshtml"; #line default #line hidden BeginContext(57, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("header", async() => { BeginContext(152, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(159, 106, false); #line 7 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserPortrait.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/cropbox/1.0/cropbox.min.css"))); #line default #line hidden EndContext(); BeginContext(265, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(272, 105, false); #line 8 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserPortrait.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/cropbox/1.0/cropbox.min.js"))); #line default #line hidden EndContext(); BeginContext(377, 2, true); WriteLiteral("\r\n"); EndContext(); } ); BeginContext(382, 950, true); WriteLiteral(@" <div class=""container""> <div class=""imageBox""> <div class=""thumbBox""></div> <div class=""spinner"" style=""display: none"">Loading...</div> </div> <div class=""action""> <div class=""new-contentarea tc""> <a href=""javascript:void(0)"" class=""upload-img""> <label for=""avatar"">上传图像</label> </a> <input type=""file"" id=""portrait"" accept=""image/*"" /> </div> <input type=""button"" id=""btnCrop"" class=""Btnsty_peyton"" value=""裁切"" /> <input type=""button"" id=""btnZoomIn"" class=""Btnsty_peyton"" value=""+"" /> <input type=""button"" id=""btnZoomOut"" class=""Btnsty_peyton"" value=""-"" /> <input type=""button"" id=""btnSave"" class=""Btnsty_peyton"" value=""提交"" /> </div> <div class=""cropped""></div> </div> <script type=""text/javascript""> var id = ys.request(""id""); var cropper; var imgFileName; $(function () { var portrait = '"); EndContext(); BeginContext(1333, 29, false); #line 35 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserPortrait.cshtml" Write(ViewBag.OperatorInfo.Portrait); #line default #line hidden EndContext(); BeginContext(1362, 150, true); WriteLiteral("\';\r\n if (ys.isNullOrEmpty(portrait)) {\r\n portrait = ctx + \'image/portrait.png\';\r\n }\r\n else {\r\n portrait = \'"); EndContext(); BeginContext(1513, 34, false); #line 40 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserPortrait.cshtml" Write(GlobalContext.SystemConfig.ApiSite); #line default #line hidden EndContext(); BeginContext(1547, 2227, true); WriteLiteral(@"' + portrait; } var options = { thumbBox: '.thumbBox', spinner: '.spinner', imgSrc: portrait }; cropper = $('.imageBox').cropbox(options); $('#portrait').on('change', function () { var file = this.files[0]; var reader = new FileReader(); reader.onload = function (e) { options.imgSrc = e.target.result; //根据MIME判断上传的文件是不是图片类型 if ((options.imgSrc).indexOf(""image/"") == -1) { ys.msgError(""文件格式错误,请上传图片类型,如:JPG,JEPG,PNG后缀的文件。""); } else { cropper = $('.imageBox').cropbox(options); } } reader.readAsDataURL(file); imgFileName = file.name; }); $('#btnSave').on('click', function () { saveForm(parent.layer.getFrameIndex(window.name)); }); $('#btnCrop').on('click', function () { "); WriteLiteral(@" if (!checkImageFileName()) { return; } var img = cropper.getDataURL(); $('.cropped').html(''); $('.cropped').append('<img src=""' + img + '"" align=""absmiddle"" style=""width:64px;margin-top:4px;border-radius:64px;box-shadow:0px 0px 12px #7E7E7E;"" ><p>64px*64px</p>'); $('.cropped').append('<img src=""' + img + '"" align=""absmiddle"" style=""width:128px;margin-top:4px;border-radius:128px;box-shadow:0px 0px 12px #7E7E7E;""><p>128px*128px</p>'); $('.cropped').append('<img src=""' + img + '"" align=""absmiddle"" style=""width:180px;margin-top:4px;border-radius:180px;box-shadow:0px 0px 12px #7E7E7E;""><p>180px*180px</p>'); }); $('#btnZoomIn').on('click', function () { cropper.zoomIn(); }); $('#btnZoomOut').on('click', function () { cropper.zoomOut(); }); }); function saveForm(index) { if (!checkImageFileName()) { return; }"); WriteLiteral("\r\n var img = cropper.getBlob();\r\n var formdata = new FormData();\r\n formdata.append(\"file\", img, imgFileName);\r\n ys.ajaxUploadFile({\r\n url: \'"); EndContext(); BeginContext(3775, 34, false); #line 92 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserPortrait.cshtml" Write(GlobalContext.SystemConfig.ApiSite); #line default #line hidden EndContext(); BeginContext(3809, 33, true); WriteLiteral("\' + \'/File/UploadFile?fileModule="); EndContext(); BeginContext(3843, 36, false); #line 92 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserPortrait.cshtml" Write(UploadFileType.Portrait.ParseToInt()); #line default #line hidden EndContext(); BeginContext(3879, 471, true); WriteLiteral(@"', data: formdata, success: function (obj) { if (obj.Tag == 1) { saveUserPortrait(obj); } else { ys.msgError(obj.Message); } } }) } function saveUserPortrait(data) { var postData = {}; postData.Id = id; postData.Portrait = data.Result; ys.ajax({ url: '"); EndContext(); BeginContext(4351, 55, false); #line 110 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserPortrait.cshtml" Write(Url.Content("~/OrganizationManage/User/ChangeUserJson")); #line default #line hidden EndContext(); BeginContext(4406, 250, true); WriteLiteral("\',\r\n type: \"post\",\r\n data: postData,\r\n success: function (obj) {\r\n if (obj.Tag == 1) {\r\n ys.msgSuccess(obj.Message);\r\n $(\"#portrait\", parent.document).attr(\"src\", \'"); EndContext(); BeginContext(4657, 34, false); #line 116 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserPortrait.cshtml" Write(GlobalContext.SystemConfig.ApiSite); #line default #line hidden EndContext(); BeginContext(4691, 430, true); WriteLiteral(@"' + data.Result); ys.closeDialog(); } else { ys.msgError(obj.Message); } } }); } function checkImageFileName() { if (ys.isNullOrEmpty(imgFileName)) { ys.msgError(""请先上传图片""); return false; } else { return true; } } </script>"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 1 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\SystemManage\Views\Menu\MenuIndex.cshtml" Layout = "~/Views/Shared/_Index.cshtml"; #line default #line hidden BeginContext(53, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("header", async() => { BeginContext(148, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(155, 130, false); #line 7 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\SystemManage\Views\Menu\MenuIndex.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/bootstrap.treetable/1.0/bootstrap-treetable.min.css"))); #line default #line hidden EndContext(); BeginContext(285, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(292, 129, false); #line 8 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\SystemManage\Views\Menu\MenuIndex.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/bootstrap.treetable/1.0/bootstrap-treetable.min.js"))); #line default #line hidden EndContext(); BeginContext(421, 2, true); WriteLiteral("\r\n"); EndContext(); } ); BeginContext(426, 130, true); WriteLiteral("\r\n<div class=\"container-div\">\r\n <div class=\"row\">\r\n <div id=\"searchDiv\" class=\"col-sm-12 search-collapse\">\r\n "); EndContext(); BeginContext(556, 571, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9ae62035155f68831d76139cc6a6919e429a7a706066", async() => { BeginContext(562, 558, true); WriteLiteral(@" <div class=""select-list""> <ul> <li> 菜单名称:<input id=""menuName"" col=""MenuName"" type=""text"" /> </li> <li> 菜单状态:<span id=""menuStatus"" col=""MenuStatus""></span> </li> <li><a class=""btn btn-primary btn-sm"" onclick=""searchTreeGrid()""><i class=""fa fa-search""></i> 搜索</a></li> </ul> </div> "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1127, 880, true); WriteLiteral(@" </div> <div class=""btn-group-sm hidden-xs"" id=""toolbar"" role=""group""> <a id=""btnAdd"" class=""btn btn-success"" onclick=""showSaveForm(true)""><i class=""fa fa-plus""></i> 新增</a> <a id=""btnEdit"" class=""btn btn-primary"" onclick=""showSaveForm(false)""><i class=""fa fa-edit""></i> 修改</a> <a id=""btnDelete"" class=""btn btn-danger"" onclick=""deleteForm()""><i class=""fa fa-remove""></i> 删除</a> <a id=""btnExpandAll"" class=""btn btn-info""><i class=""fa fa-exchange""></i> 展开/折叠</a> </div> <div class=""col-sm-12 select-table table-striped""> <table id=""gridTable"" data-mobile-responsive=""true""></table> </div> </div> </div> <script type=""text/javascript""> var parentId = 0; $(function () { initTreeGrid(); $(""#menuStatus"").ysComboBox({ data: ys.getJson("); EndContext(); BeginContext(2008, 53, false); #line 46 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\SystemManage\Views\Menu\MenuIndex.cshtml" Write(Html.Raw(typeof(StatusEnum).EnumToDictionaryString())); #line default #line hidden EndContext(); BeginContext(2061, 284, true); WriteLiteral(@") }); }); function initTreeGrid() { var options = { code: ""Id"", parentCode: ""ParentId"", expandAll: false, expandFirst: false, toolbar: '#toolbar', expandColumn: '1', url: '"); EndContext(); BeginContext(2346, 46, false); #line 57 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\SystemManage\Views\Menu\MenuIndex.cshtml" Write(Url.Content("~/SystemManage/Menu/GetListJson")); #line default #line hidden EndContext(); BeginContext(2392, 799, true); WriteLiteral(@"', modalName: ""菜单"", columns: [ { field: 'selectItem', radio: true }, { field: 'MenuName', title: '菜单名称', width: '20%', formatter: function (value, row, index) { if (ys.isNullOrEmpty(row.MenuIcon)) { return row.MenuName; } else { return '<i class=""' + row.MenuIcon + '""></i> <span class=""nav-label"">' + row.MenuName + '</span>'; } } }, { field: 'MenuType', title: '类型', width: '10%', align: ""left"", formatter: function (value, item, index) { if (item.MenuType == """); EndContext(); BeginContext(3192, 35, false); #line 73 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\SystemManage\Views\Menu\MenuIndex.cshtml" Write(MenuTypeEnum.Directory.ParseToInt()); #line default #line hidden EndContext(); BeginContext(3227, 76, true); WriteLiteral("\") {\r\n return \'<span class=\"label label-success\">"); EndContext(); BeginContext(3304, 39, false); #line 74 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\SystemManage\Views\Menu\MenuIndex.cshtml" Write(MenuTypeEnum.Directory.GetDescription()); #line default #line hidden EndContext(); BeginContext(3343, 89, true); WriteLiteral("</span>\';\r\n }\r\n else if (item.MenuType == \""); EndContext(); BeginContext(3433, 30, false); #line 76 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\SystemManage\Views\Menu\MenuIndex.cshtml" Write(MenuTypeEnum.Menu.ParseToInt()); #line default #line hidden EndContext(); BeginContext(3463, 76, true); WriteLiteral("\") {\r\n return \'<span class=\"label label-primary\">"); EndContext(); BeginContext(3540, 34, false); #line 77 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\SystemManage\Views\Menu\MenuIndex.cshtml" Write(MenuTypeEnum.Menu.GetDescription()); #line default #line hidden EndContext(); BeginContext(3574, 89, true); WriteLiteral("</span>\';\r\n }\r\n else if (item.MenuType == \""); EndContext(); BeginContext(3664, 32, false); #line 79 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\SystemManage\Views\Menu\MenuIndex.cshtml" Write(MenuTypeEnum.Button.ParseToInt()); #line default #line hidden EndContext(); BeginContext(3696, 76, true); WriteLiteral("\") {\r\n return \'<span class=\"label label-warning\">"); EndContext(); BeginContext(3773, 36, false); #line 80 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\SystemManage\Views\Menu\MenuIndex.cshtml" Write(MenuTypeEnum.Button.GetDescription()); #line default #line hidden EndContext(); BeginContext(3809, 546, true); WriteLiteral(@"</span>'; } } }, { field: 'MenuSort', title: '显示顺序', width: '10%', align: ""left"" }, { field: 'MenuUrl', title: '请求地址', width: '35%', align: ""left"" }, { field: 'Authorize', title: '权限标识', width: '15%', align: ""left"" }, { field: 'MenuStatus', title: '状态', width: '10%', align: ""left"", formatter: function (value, row, index) { if (row.MenuStatus == """); EndContext(); BeginContext(4356, 27, false); #line 90 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\SystemManage\Views\Menu\MenuIndex.cshtml" Write(StatusEnum.Yes.ParseToInt()); #line default #line hidden EndContext(); BeginContext(4383, 81, true); WriteLiteral("\") {\r\n return \'<span class=\"badge badge-primary\">\' + \""); EndContext(); BeginContext(4465, 31, false); #line 91 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\SystemManage\Views\Menu\MenuIndex.cshtml" Write(StatusEnum.Yes.GetDescription()); #line default #line hidden EndContext(); BeginContext(4496, 125, true); WriteLiteral("\" + \'</span>\';\r\n } else {\r\n return \'<span class=\"badge badge-warning\">\' + \""); EndContext(); BeginContext(4622, 30, false); #line 93 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\SystemManage\Views\Menu\MenuIndex.cshtml" Write(StatusEnum.No.GetDescription()); #line default #line hidden EndContext(); BeginContext(4652, 1001, true); WriteLiteral(@""" + '</span>'; } } } ] }; $('#gridTable').ysTreeTable(options); } function searchTreeGrid() { var param = $(""#searchDiv"").getWebControls(); $('#gridTable').ysTreeTable('search', param); } function showSaveForm(bAdd) { var id = 0; var parentName = ''; var selectedRow = $(""#gridTable"").bootstrapTreeTable(""getSelections""); if (!bAdd) { if (!ys.checkRowEdit(selectedRow)) { return; } id = selectedRow[0].Id; } if (selectedRow.length > 0) { parentId = selectedRow[0].ParentId; var row = $('#gridTable').ysTreeTable('getRowById', parentId); if (row) { parentName = row.MenuName; } } ys.openDialog({ title: id > 0 ? ""编辑菜单"" : ""添加菜单"", content: '"); EndContext(); BeginContext(5654, 43, false); #line 128 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\SystemManage\Views\Menu\MenuIndex.cshtml" Write(Url.Content("~/SystemManage/Menu/MenuForm")); #line default #line hidden EndContext(); BeginContext(5697, 700, true); WriteLiteral(@"' + '?id=' + id + '&parentId=' + parentId + '&parentName=' + encodeURIComponent(parentName), width: ""780px"", height: ""500px"", callback: function (index, layero) { var iframeWin = window[layero.find('iframe')[0]['name']]; iframeWin.saveForm(index); } }); } function deleteForm() { var selectedRow = $(""#gridTable"").bootstrapTreeTable(""getSelections""); if (ys.checkRowDelete(selectedRow)) { ys.confirm(""确认要删除选中的"" + selectedRow.length + ""条数据吗?"", function () { var ids = ys.getIds(selectedRow); ys.ajax({ url: '"); EndContext(); BeginContext(6398, 49, false); #line 144 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\SystemManage\Views\Menu\MenuIndex.cshtml" Write(Url.Content("~/SystemManage/Menu/DeleteFormJson")); #line default #line hidden EndContext(); BeginContext(6447, 522, true); WriteLiteral(@"' + '?ids=' + ids, type: ""post"", error: ys.ajaxError, success: function (obj) { if (obj.Tag == 1) { ys.msgSuccess(obj.Message); searchTreeGrid(); } else { ys.msgError(obj.Message); } } }); }); } } </script>"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 1 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\SystemManage\Views\Area\AreaIndex.cshtml" Layout = "~/Views/Shared/_Index.cshtml"; #line default #line hidden BeginContext(53, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("header", async() => { BeginContext(148, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(155, 130, false); #line 7 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\SystemManage\Views\Area\AreaIndex.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/bootstrap.treetable/1.0/bootstrap-treetable.min.css"))); #line default #line hidden EndContext(); BeginContext(285, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(292, 129, false); #line 8 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\SystemManage\Views\Area\AreaIndex.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/bootstrap.treetable/1.0/bootstrap-treetable.min.js"))); #line default #line hidden EndContext(); BeginContext(421, 2, true); WriteLiteral("\r\n"); EndContext(); } ); BeginContext(426, 1332, true); WriteLiteral(@" <div class=""container-div""> <div class=""row""> <div id=""searchDiv"" class=""col-sm-12 search-collapse""> <div class=""select-list""> <ul> <li> 地点名称:<input id=""areaName"" col=""AreaName"" type=""text"" /> </li> <li> <a id=""btnSearch"" class=""btn btn-primary btn-sm"" onclick=""searchTreeGrid()""><i class=""fa fa-search""></i> 搜索</a> </li> </ul> </div> </div> <div class=""btn-group-sm hidden-xs"" id=""toolbar""> <a id=""btnDelete"" class=""btn btn-danger"" onclick=""deleteForm()""><i class=""fa fa-remove""></i> 删除</a> </div> <div class=""col-sm-12 select-table table-striped""> <table id=""gridTable"" data-mobile-responsive=""true""></table> </div> </div> </div> <script type=""text/javascript""> $(function () { initTreeGrid(); }); "); WriteLiteral(@" function initTreeGrid() { var options = { code: ""AreaCode"", parentCode: ""ParentAreaCode"", uniqueId: ""Id"", expandAll: false, expandFirst: false, toolbar: '#toolbar', expandColumn: '2', url: '"); EndContext(); BeginContext(1759, 46, false); #line 52 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\SystemManage\Views\Area\AreaIndex.cshtml" Write(Url.Content("~/SystemManage/Area/GetListJson")); #line default #line hidden EndContext(); BeginContext(1805, 1058, true); WriteLiteral(@"', modalName: ""行政区划"", columns: [ { field: 'Id', visible: false }, { field: 'selectItem', radio: true }, { field: 'AreaName', title: '地点名称', width: '50%' }, { field: 'ZipCode', title: '邮政编码', width: '25%', align: ""left"" }, { field: 'AreaLevel', title: '级别', width: '25%', align: ""left"" } ] }; $('#gridTable').ysTreeTable(options); } function searchTreeGrid() { var param = $(""#searchDiv"").getWebControls(); $('#gridTable').ysTreeTable('search', param); } function showSaveForm(bAdd) { var id = 0; if (!bAdd) { var selectedRow = $(""#gridTable"").bootstrapTable(""getSelections""); if (!ys.checkRowEdit(selectedRow)) { return; } else { id = selectedRow[0].Id; } } ys.openDialog({ title: id > 0 ? ""编"); WriteLiteral("辑\" : \"添加\",\r\n content: \'"); EndContext(); BeginContext(2864, 43, false); #line 83 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\SystemManage\Views\Area\AreaIndex.cshtml" Write(Url.Content("~/SystemManage/Area/AreaForm")); #line default #line hidden EndContext(); BeginContext(2907, 620, true); WriteLiteral(@"' + '?id=' + id, width: ""768px"", height: ""550px"", callback: function (index, layero) { var iframeWin = window[layero.find('iframe')[0]['name']]; iframeWin.saveForm(index); } }); } function deleteForm() { var selectedRow = $(""#gridTable"").bootstrapTable(""getSelections""); if (ys.checkRowDelete(selectedRow)) { ys.confirm(""确认要删除选中的"" + selectedRow.length + ""条数据吗?"", function () { var ids = ys.getIds(selectedRow); ys.ajax({ url: '"); EndContext(); BeginContext(3528, 49, false); #line 99 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\SystemManage\Views\Area\AreaIndex.cshtml" Write(Url.Content("~/SystemManage/Area/DeleteFormJson")); #line default #line hidden EndContext(); BeginContext(3577, 478, true); WriteLiteral(@"' + '?ids=' + ids, type: ""post"", success: function (obj) { if (obj.Tag == 1) { ys.msgSuccess(obj.Message); searchGrid(); } else { ys.msgError(obj.Message); } } }); }); } } </script> "); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 1 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Home\Login.cshtml" ViewBag.Title = "一沙后台管理系统 - 登录"; Layout = "~/Views/Shared/_Layout.cshtml"; #line default #line hidden DefineSection("header", async() => { BeginContext(185, 11, true); WriteLiteral("\r\n <link"); EndContext(); BeginWriteAttribute("href", " href=\'", 196, "\'", 240, 1); #line 7 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Home\Login.cshtml" WriteAttributeValue("", 203, Url.Content("~/yisha/css/login.css"), 203, 37, false); #line default #line hidden EndWriteAttribute(); BeginContext(241, 141, true); WriteLiteral(" rel=\"stylesheet\" />\r\n <script>\r\n if (window.top !== window.self) { window.top.location = window.location };\r\n\r\n/**/</script>\r\n "); EndContext(); BeginContext(383, 126, false); #line 12 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Home\Login.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/jquery.validation/1.14.0/jquery.validate.min.js"))); #line default #line hidden EndContext(); BeginContext(509, 2, true); WriteLiteral("\r\n"); EndContext(); } ); BeginContext(514, 58, true); WriteLiteral("<div class=\"login-panel\">\r\n <div class=\"row section\">\r\n"); EndContext(); BeginContext(1804, 45, true); WriteLiteral(" <div class=\"col-sm-12\">\r\n "); EndContext(); BeginContext(1849, 1402, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "92ddb087ca5ebafb282527a86e0845b09af92a546230", async() => { BeginContext(1865, 304, true); WriteLiteral(@" <h4 class=""no-margin"">登录:</h4> <p class=""m-t-md"">一沙一世界,一叶一菩提</p> <p>用户名:admin 密码:123456</p> <input id=""userName"" name=""userName"" class=""form-control uname"" col=""UserName"" type=""text"" placeholder=""用户名"""); EndContext(); BeginWriteAttribute("value", " value=\"", 2169, "\"", 2194, 1); #line 40 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Home\Login.cshtml" WriteAttributeValue("", 2177, ViewBag.UserName, 2177, 17, false); #line default #line hidden EndWriteAttribute(); BeginContext(2195, 136, true); WriteLiteral(" />\r\n <input id=\"password\" name=\"password\" class=\"form-control pword m-b\" col=\"Password\" type=\"password\" placeholder=\"密码\""); EndContext(); BeginWriteAttribute("value", " value=\"", 2331, "\"", 2356, 1); #line 41 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Home\Login.cshtml" WriteAttributeValue("", 2339, ViewBag.Password, 2339, 17, false); #line default #line hidden EndWriteAttribute(); BeginContext(2357, 437, true); WriteLiteral(@" /> <div class=""row""> <div class=""col-xs-6""> <input id=""captchaCode"" name=""captchaCode"" type=""text"" col=""CaptchaCode"" class=""form-control code"" placeholder=""验证码"" maxlength=""3""> </div> <div class=""col-xs-6""> <a href=""javascript:void(0);"" title=""点击更换验证码""> <img id=""imgCaptchaCode"""); EndContext(); BeginWriteAttribute("src", " src=\'", 2794, "\'", 2838, 1); #line 48 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Home\Login.cshtml" WriteAttributeValue("", 2800, Url.Content("~/Home/GetCaptchaImage"), 2800, 38, false); #line default #line hidden EndWriteAttribute(); BeginContext(2839, 405, true); WriteLiteral(@" height=""34"" /> </a> </div> </div> <div class=""checkbox-custom""> <input id=""rememberMe"" name=""rememberMe"" type=""checkbox""> <label for=""rememberMe"">记住我</label> </div> <button class=""btn btn-success btn-block"" onclick=""loginForm(); return false;"">登录</button> "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(3251, 127, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"login-footer\">\r\n <div style=\"text-align:center\">\r\n © 2018-"); EndContext(); BeginContext(3379, 17, false); #line 61 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Home\Login.cshtml" Write(DateTime.Now.Year); #line default #line hidden EndContext(); BeginContext(3396, 421, true); WriteLiteral(@" All Rights Reserved. <a href=""http://www.yishasoft.com"" target=""_blank"" style=""color:white"">合肥一沙软件</a><br> <a href=""http://www.miitbeian.gov.cn/"" target=""_blank"" rel=""nofollow"">皖ICP备18018970号-1</a><br> </div> </div> </div> <script type=""text/javascript""> $(function () { if ($.cookie('RememberMe') == 1) { $(""#rememberMe"").prop(""checked"", true); if ("""); EndContext(); BeginContext(3818, 40, false); #line 70 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Home\Login.cshtml" Write(GlobalContext.SystemConfig.LoginProvider); #line default #line hidden EndContext(); BeginContext(3858, 539, true); WriteLiteral(@""" == ""Cookie"") { if (!ys.isNullOrEmpty($.cookie('UserToken'))) { redirectToIndex(); } } else { $.removeCookie(""UserToken"", { path: '/' }); } } $(""#rememberMe"").click(function () { if ($(this).prop(""checked"")) { $.cookie('RememberMe', 1, { expires: 30, path: '/' }); } }); $(""#imgCaptchaCode"").click(function () { $(this).attr(""src"", '"); EndContext(); BeginContext(4398, 37, false); #line 86 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Home\Login.cshtml" Write(Url.Content("~/Home/GetCaptchaImage")); #line default #line hidden EndContext(); BeginContext(4435, 548, true); WriteLiteral(@"' + '?t=' + new Date().getTime()); }); $(""#form"").validate({ rules: { userName: { required: true }, password: { required: true } } }); $.validator.setDefaults({ submitHandler: function () { loginForm(); } }); }); function loginForm() { if ($(""#form"").validate().form()) { var postData = $(""#form"").getWebControls(); ys.ajax({ url: '"); EndContext(); BeginContext(4984, 31, false); #line 107 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Home\Login.cshtml" Write(Url.Content("~/Home/LoginJson")); #line default #line hidden EndContext(); BeginContext(5015, 489, true); WriteLiteral(@"', type: ""post"", data: postData, success: function (obj) { if (obj.Tag == 1) { ys.msgSuccess(obj.Message); redirectToIndex(); } else { ys.msgError(obj.Message); } } }); } } function redirectToIndex() { location.href = '"); EndContext(); BeginContext(5505, 27, false); #line 124 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Views\Home\Login.cshtml" Write(Url.Content("~/Home/Index")); #line default #line hidden EndContext(); BeginContext(5532, 20, true); WriteLiteral("\';\r\n }\r\n</script>"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 1 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\News\NewsForm.cshtml" Layout = "~/Views/Shared/_FormWhite.cshtml"; #line default #line hidden DefineSection("header", async() => { BeginContext(150, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(157, 114, false); #line 6 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\News\NewsForm.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/summernote/0.8.8/summernote.min.css"))); #line default #line hidden EndContext(); BeginContext(271, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(278, 113, false); #line 7 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\News\NewsForm.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/summernote/0.8.8/summernote.min.js"))); #line default #line hidden EndContext(); BeginContext(391, 8, true); WriteLiteral("\r\n\r\n "); EndContext(); BeginContext(400, 112, false); #line 9 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\News\NewsForm.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/imageupload/1.0/css/imgup.min.css"))); #line default #line hidden EndContext(); BeginContext(512, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(519, 110, false); #line 10 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\News\NewsForm.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/imageupload/1.0/js/imgup.min.js"))); #line default #line hidden EndContext(); BeginContext(629, 8, true); WriteLiteral("\r\n\r\n "); EndContext(); BeginContext(638, 132, false); #line 12 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\News\NewsForm.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/bootstrap.tagsinput/0.8.0/bootstrap-tagsinput.min.css"))); #line default #line hidden EndContext(); BeginContext(770, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(777, 131, false); #line 13 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\News\NewsForm.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/bootstrap.tagsinput/0.8.0/bootstrap-tagsinput.min.js"))); #line default #line hidden EndContext(); BeginContext(908, 2, true); WriteLiteral("\r\n"); EndContext(); } ); BeginContext(913, 50, true); WriteLiteral("\r\n<div class=\"wrapper animated fadeInRight\">\r\n "); EndContext(); BeginContext(963, 2370, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5e0646f8553b02d8372a021812168ef2e3489a3a8615", async() => { BeginContext(1005, 1317, true); WriteLiteral(@" <div class=""form-group""> <label class=""col-sm-2 control-label "">标题 <font class=""red""> *</font> </label> <div class=""col-sm-10""> <input id=""newsTitle"" col=""NewsTitle"" type=""text"" class=""form-control"" /> </div> </div> <div class=""form-group""> <label class=""col-sm-2 control-label "">文章类别<font class=""red""> *</font></label> <div class=""col-sm-4""> <div id=""newsType"" col=""NewsType""></div> </div> <label class=""col-sm-2 control-label "">发布时间<font class=""red""> *</font></label> <div class=""col-sm-4""> <input id=""newsDate"" col=""NewsDate"" type=""text"" class=""form-control"" /> </div> </div> <div class=""form-group""> <label class=""col-sm-2 control-label "">作者<font class=""red""> *</font></label> <div class=""col-sm-4""> <input id=""newsAuthor"" col=""NewsAuthor"" type=""text"" class=""form"); WriteLiteral(@"-control"" /> </div> <label class=""col-sm-2 control-label "">排序<font class=""red""> *</font></label> <div class=""col-sm-4""> <input id=""newsSort"" col=""NewsSort"" type=""text"" class=""form-control"" /> </div> </div> "); EndContext(); BeginContext(2323, 157, false); #line 44 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\News\NewsForm.cshtml" Write(await Html.PartialAsync("/Areas/SystemManage/Shared/AreaFormPartial.cshtml", new ViewDataDictionary(this.ViewData) { { "Label", "2" }, { "Content", "10" } })); #line default #line hidden EndContext(); BeginContext(2480, 846, true); WriteLiteral(@" <div class=""form-group""> <label class=""col-sm-2 control-label "">文章标签</label> <div class=""col-sm-10""> <input id=""newsTag"" col=""NewsTag"" type=""text"" class=""form-control"" /> </div> </div> <div class=""form-group""> <label class=""col-sm-2 control-label ""> <span>缩略图</span><br /> <span>(宽高比 1.5:1)</span> </label> <div class=""col-sm-10""> <div id=""thumbImage"" class=""img-box""> </div> </div> </div> <div class=""form-group""> <label class=""col-sm-2 control-label "">文章内容 </label> <div class=""col-sm-10""> <div id=""newsContent"" class=""summernote""></div> </div> </div> "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(3333, 1350, true); WriteLiteral(@" </div> <script type=""text/javascript""> var id = ys.request(""id""); $(function () { laydate.render({ elem: '#newsDate', type: 'datetime', format: 'yyyy-MM-dd HH:mm' }); $('#newsTag').tagsinput({ trimValue: true }); $(""#newsType"").ysComboBox({ data: top.getDataDict(""NewsType""), key: ""DictKey"", value: ""DictValue"", class: ""form-control"" }); $('#newsContent').summernote({ height: '220px', lang: 'zh-CN', dialogsInBody: true, callbacks: { onImageUpload: function (files, editor, welEditable) { uploadNewsImage(files[0], editor, welEditable); } } }); $(""#thumbImage"").imageUpload({ uploadImage: 'uploadThumbImage', limit: 1, context: ctx }); getForm(); $(""#form"").validate({ rules: { newsTitle: { required: true }, "); WriteLiteral(@" newsType_select: { required: true }, newsDate: { required: true }, newsAuthor: { required: true }, newsSort: { required: true } } }); }); function getForm() { if (id > 0) { ys.ajax({ url: '"); EndContext(); BeginContext(4684, 52, false); #line 113 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\News\NewsForm.cshtml" Write(Url.Content("~/OrganizationManage/News/GetFormJson")); #line default #line hidden EndContext(); BeginContext(4736, 816, true); WriteLiteral(@"' + '?id=' + id, type: ""get"", success: function (obj) { if (obj.Tag == 1) { obj.Result.NewsDate = ys.formatDate(obj.Result.NewsDate, ""yyyy-MM-dd HH:mm""); $(""#form"").setWebControls(obj.Result); $(""#newsContent"").summernote('code', obj.Result.NewsContent); $(""#thumbImage"").imageUpload(""setImageUrl"", obj.Result.ThumbImage); $.each(obj.Result.NewsTag.split(','), function (index,val) { $('#newsTag').tagsinput('add', val); }); } } }); } else { ys.ajax({ url: '"); EndContext(); BeginContext(5553, 55, false); #line 131 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\News\NewsForm.cshtml" Write(Url.Content("~/OrganizationManage/News/GetMaxSortJson")); #line default #line hidden EndContext(); BeginContext(5608, 215, true); WriteLiteral("\',\r\n type: \"get\",\r\n success: function (obj) {\r\n if (obj.Tag == 1) {\r\n var defaultData = {};\r\n defaultData.NewsAuthor = \""); EndContext(); BeginContext(5824, 29, false); #line 136 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\News\NewsForm.cshtml" Write(ViewBag.OperatorInfo.RealName); #line default #line hidden EndContext(); BeginContext(5853, 52, true); WriteLiteral("\";\r\n defaultData.NewsDate = \'"); EndContext(); BeginContext(5906, 41, false); #line 137 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\News\NewsForm.cshtml" Write(DateTime.Now.ToString("yyyy-MM-dd HH:mm")); #line default #line hidden EndContext(); BeginContext(5947, 551, true); WriteLiteral(@"'; defaultData.NewsSort = obj.Result; $(""#form"").setWebControls(defaultData); } } }); } } function saveForm(index) { if ($(""#form"").validate().form()) { var postData = $(""#form"").getWebControls({ Id: id }); postData.NewsContent = $(""#newsContent"").summernote('code'); postData.ThumbImage = $(""#thumbImage"").imageUpload(""getImageUrl""); ys.ajax({ url: '"); EndContext(); BeginContext(6499, 53, false); #line 152 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\News\NewsForm.cshtml" Write(Url.Content("~/OrganizationManage/News/SaveFormJson")); #line default #line hidden EndContext(); BeginContext(6552, 670, true); WriteLiteral(@"', type: ""post"", data: postData, success: function (obj) { if (obj.Tag == 1) { ys.msgSuccess(obj.Message); parent.searchGrid(); parent.layer.close(index); } else { ys.msgError(obj.Message); } } }); } } function uploadNewsImage(file, editor, welEditable) { var formdata = new FormData(); formdata.append(""file"", file); ys.ajaxUploadFile({ url: '"); EndContext(); BeginContext(7223, 34, false); #line 173 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\News\NewsForm.cshtml" Write(GlobalContext.SystemConfig.ApiSite); #line default #line hidden EndContext(); BeginContext(7257, 33, true); WriteLiteral("\' + \'/File/UploadFile?fileModule="); EndContext(); BeginContext(7291, 32, false); #line 173 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\News\NewsForm.cshtml" Write(UploadFileType.News.ParseToInt()); #line default #line hidden EndContext(); BeginContext(7323, 174, true); WriteLiteral("\',\r\n data: formdata,\r\n success: function (obj) {\r\n if (obj.Tag == 1) {\r\n $(\"#newsContent\").summernote(\'insertImage\', \'"); EndContext(); BeginContext(7498, 34, false); #line 177 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\News\NewsForm.cshtml" Write(GlobalContext.SystemConfig.ApiSite); #line default #line hidden EndContext(); BeginContext(7532, 344, true); WriteLiteral(@"' + obj.Result, '/'); } else { ys.msgError(obj.Message); } } }) } function uploadThumbImage(file, callback) { var formdata = new FormData(); formdata.append(""file"", file); ys.ajaxUploadFile({ url: '"); EndContext(); BeginContext(7877, 34, false); #line 190 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\News\NewsForm.cshtml" Write(GlobalContext.SystemConfig.ApiSite); #line default #line hidden EndContext(); BeginContext(7911, 33, true); WriteLiteral("\' + \'/File/UploadFile?fileModule="); EndContext(); BeginContext(7945, 32, false); #line 190 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\News\NewsForm.cshtml" Write(UploadFileType.News.ParseToInt()); #line default #line hidden EndContext(); BeginContext(7977, 180, true); WriteLiteral("\',\r\n data: formdata,\r\n success: function (obj) {\r\n if (obj.Tag == 1) {\r\n if (callback) {\r\n callback(\'"); EndContext(); BeginContext(8158, 34, false); #line 195 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\News\NewsForm.cshtml" Write(GlobalContext.SystemConfig.ApiSite); #line default #line hidden EndContext(); BeginContext(8192, 197, true); WriteLiteral("\' + obj.Result);\r\n }\r\n }\r\n else {\r\n ys.msgError(obj.Message);\r\n }\r\n }\r\n })\r\n }\r\n</script>\r\n\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 1 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserIndex.cshtml" Layout = "~/Views/Shared/_Index.cshtml"; #line default #line hidden DefineSection("header", async() => { BeginContext(146, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(153, 121, false); #line 6 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserIndex.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/zTree/v3/css/metroStyle/metroStyle.min.css"))); #line default #line hidden EndContext(); BeginContext(274, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(281, 103, false); #line 7 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserIndex.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/zTree/v3/js/ztree.min.js"))); #line default #line hidden EndContext(); BeginContext(384, 8, true); WriteLiteral("\r\n\r\n "); EndContext(); BeginContext(393, 127, false); #line 9 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserIndex.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/jquery.layout/1.4.4/jquery.layout-latest.min.css"))); #line default #line hidden EndContext(); BeginContext(520, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(527, 126, false); #line 10 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserIndex.cshtml" Write(BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/lib/jquery.layout/1.4.4/jquery.layout-latest.min.js"))); #line default #line hidden EndContext(); BeginContext(653, 2, true); WriteLiteral("\r\n"); EndContext(); } ); BeginContext(658, 3564, true); WriteLiteral(@" <div class=""ui-layout-west""> <div class=""main-content""> <div class=""box box-main""> <div class=""box-header""> <div class=""box-title""> 组织机构 </div> <div class=""box-tools pull-right""> <a type=""button"" class=""btn btn-box-tool menuItem"" href=""#"" onclick=""showDepartmentForm()"" title=""管理部门""><i class=""fa fa-edit""></i></a> <button type=""button"" class=""btn btn-box-tool"" id=""btnExpand"" title=""展开"" style=""display:none;""><i class=""fa fa-chevron-up""></i></button> <button type=""button"" class=""btn btn-box-tool"" id=""btnCollapse"" title=""折叠""><i class=""fa fa-chevron-down""></i></button> <button type=""button"" class=""btn btn-box-tool"" id=""btnRefresh"" title=""刷新部门""><i class=""fa fa-refresh""></i></button> </div> </div> <div class=""ui-layout-content""> <div id=""departmentTree"" class=""ztree""></div> "); WriteLiteral(@" </div> </div> </div> </div> <div class=""container-div ui-layout-center""> <div class=""row""> <div id=""searchDiv"" class=""col-sm-12 search-collapse""> <input type=""hidden"" id=""departmentId"" col=""DepartmentId""> <div class=""select-list""> <ul> <li> 登录名称:<input id=""userName"" col=""UserName"" type=""text"" /> </li> <li> 手机号码:<input id=""mobile"" col=""Mobile"" type=""text"" /> </li> <li> 用户状态:<span id=""userStatus"" col=""UserStatus""></span> </li> <li class=""select-time""> <label>创建时间: </label> <input id=""startTime"" col=""StartTime"" type=""text"" class=""time-input"" placeholder=""开始时间"" /> <span>-</span> <input id=""endTime"" col=""EndTime"" "); WriteLiteral(@"type=""text"" class=""time-input"" placeholder=""结束时间"" /> </li> <li> <a id=""btnSearch"" class=""btn btn-primary btn-sm"" onclick=""searchGrid()""><i class=""fa fa-search""></i> 搜索</a> </li> </ul> </div> </div> <div id=""toolbar"" class=""btn-group-sm hidden-xs""> <a id=""btnAdd"" class=""btn btn-success"" onclick=""showSaveForm(true)""><i class=""fa fa-plus""></i> 新增</a> <a id=""btnEdit"" class=""btn btn-primary disabled"" onclick=""showSaveForm(false)""><i class=""fa fa-edit""></i> 修改</a> <a id=""btnDelete"" class=""btn btn-danger disabled"" onclick=""deleteForm()""><i class=""fa fa-remove""></i> 删除</a> <a id=""btnImport"" class=""btn btn-info"" onclick=""importForm()""><i class=""fa fa-upload""></i> 导入</a> <a id=""btnExport"" class=""btn btn-warning"" onclick=""exportForm()""><i class=""fa fa-download""></i> 导出</a> </div> <div class=""col-"); WriteLiteral(@"sm-12 select-table table-striped""> <table id=""gridTable"" data-mobile-responsive=""true""></table> </div> </div> </div> <script type=""text/javascript""> $(function () { initGrid(); initTree(); $('body').layout({ west__size: 185 }); laydate.render({ elem: '#startTime', format: 'yyyy-MM-dd' }); laydate.render({ elem: '#endTime', format: 'yyyy-MM-dd' }); $(""#userStatus"").ysComboBox({ data: ys.getJson("); EndContext(); BeginContext(4223, 53, false); #line 86 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserIndex.cshtml" Write(Html.Raw(typeof(StatusEnum).EnumToDictionaryString())); #line default #line hidden EndContext(); BeginContext(4276, 647, true); WriteLiteral(@") }); $('#btnExpand').click(function () { var tree = $.fn.zTree.getZTreeObj(""departmentTree""); tree.expandAll(true); $(this).hide(); $('#btnCollapse').show(); }); $('#btnCollapse').click(function () { var tree = $.fn.zTree.getZTreeObj(""departmentTree""); tree.expandAll(false); $(this).hide(); $('#btnExpand').show(); }); $('#btnRefresh').click(function () { initTree(); }); }); function initTree() { $('#departmentTree').ysTree({ url: '"); EndContext(); BeginContext(4924, 72, false); #line 109 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserIndex.cshtml" Write(Url.Content("~/OrganizationManage/Department/GetDepartmentTreeListJson")); #line default #line hidden EndContext(); BeginContext(4996, 321, true); WriteLiteral(@"', expandLevel: 2, callback: { onClick: function (event, treeId, treeNode) { $(""#departmentId"").val(treeNode.id); searchGrid(); } } }); } function initGrid() { var queryUrl = '"); EndContext(); BeginContext(5318, 56, false); #line 121 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserIndex.cshtml" Write(Url.Content("~/OrganizationManage/User/GetPageListJson")); #line default #line hidden EndContext(); BeginContext(5374, 653, true); WriteLiteral(@"'; $('#gridTable').ysTable({ url: queryUrl, columns: [ { checkbox: true, visible: true }, { field: 'Id', title: 'Id', visible: false }, { field: 'UserName', title: '登录名', sortable: true }, { field: 'RealName', title: '姓名', sortable: false }, { field: 'DepartmentName', title: '部门', sortable: false }, { field: 'Mobile', title: '手机', sortable: false }, { field: 'UserStatus', title: '状态', formatter: function (value, row, index) { if (row.UserStatus == """); EndContext(); BeginContext(6028, 27, false); #line 133 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserIndex.cshtml" Write(StatusEnum.Yes.ParseToInt()); #line default #line hidden EndContext(); BeginContext(6055, 81, true); WriteLiteral("\") {\r\n return \'<span class=\"badge badge-primary\">\' + \""); EndContext(); BeginContext(6137, 31, false); #line 134 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserIndex.cshtml" Write(StatusEnum.Yes.GetDescription()); #line default #line hidden EndContext(); BeginContext(6168, 125, true); WriteLiteral("\" + \'</span>\';\r\n } else {\r\n return \'<span class=\"badge badge-warning\">\' + \""); EndContext(); BeginContext(6294, 30, false); #line 136 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserIndex.cshtml" Write(StatusEnum.No.GetDescription()); #line default #line hidden EndContext(); BeginContext(6324, 1626, true); WriteLiteral(@""" + '</span>'; } } }, { field: 'BaseModifyTime', title: '创建时间', formatter: function (value, row, index) { return ys.formatDate(value, ""yyyy-MM-dd HH:mm:ss""); } }, { title: '操作', align: 'center', formatter: function (value, row, index) { var actions = []; actions.push('<a class=""btn btn-warning btn-xs"" href=""#"" onclick=""showResetPasswordForm(\'' + row.Id + '\')""><i class=""fa fa-key""></i>重置</a>'); return actions.join(''); } } ], queryParams: function (params) { var pagination = $('#gridTable').ysTable('getPagination', params); var queryString = $(""#searchDiv"").getWebControls(pagination); "); WriteLiteral(@" return queryString; } }); } function searchGrid() { $('#gridTable').ysTable('search'); resetToolbarStatus(); } function showSaveForm(bAdd) { var id = 0; if (!bAdd) { var selectedRow = $(""#gridTable"").bootstrapTable(""getSelections""); if (!ys.checkRowEdit(selectedRow)) { return; } else { id = selectedRow[0].Id; } } ys.openDialog({ title: id > 0 ? ""编辑用户"" : ""添加用户"", content: '"); EndContext(); BeginContext(7951, 49, false); #line 181 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserIndex.cshtml" Write(Url.Content("~/OrganizationManage/User/UserForm")); #line default #line hidden EndContext(); BeginContext(8000, 620, true); WriteLiteral(@"' + '?id=' + id, width: ""768px"", height: ""577px"", callback: function (index, layero) { var iframeWin = window[layero.find('iframe')[0]['name']]; iframeWin.saveForm(index); } }); } function deleteForm() { var selectedRow = $(""#gridTable"").bootstrapTable(""getSelections""); if (ys.checkRowDelete(selectedRow)) { ys.confirm(""确认要删除选中的"" + selectedRow.length + ""条数据吗?"", function () { var ids = ys.getIds(selectedRow); ys.ajax({ url: '"); EndContext(); BeginContext(8621, 55, false); #line 197 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserIndex.cshtml" Write(Url.Content("~/OrganizationManage/User/DeleteFormJson")); #line default #line hidden EndContext(); BeginContext(8676, 567, true); WriteLiteral(@"' + '?ids=' + ids, type: ""post"", error: ys.ajaxError, success: function (obj) { if (obj.Tag == 1) { ys.msgSuccess(obj.Message); searchGrid(); } else { ys.msgError(obj.Message); } } }); }); } } function showDepartmentForm() { var url = '"); EndContext(); BeginContext(9244, 62, false); #line 215 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserIndex.cshtml" Write(Url.Content("~/OrganizationManage/Department/DepartmentIndex")); #line default #line hidden EndContext(); BeginContext(9306, 168, true); WriteLiteral("\';\r\n createMenuItem(url, \"部门管理\");\r\n }\r\n\r\n function showResetPasswordForm(id) {\r\n ys.openDialog({\r\n title: \"重置密码\",\r\n content: \'"); EndContext(); BeginContext(9475, 54, false); #line 222 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserIndex.cshtml" Write(Url.Content("~/OrganizationManage/User/ResetPassword")); #line default #line hidden EndContext(); BeginContext(9529, 331, true); WriteLiteral(@"' + '?id=' + id, width: ""768px"", height: ""220px"", callback: function (index, layero) { var iframeWin = window[layero.find('iframe')[0]['name']]; iframeWin.saveForm(index); } }); } function exportForm() { var url = '"); EndContext(); BeginContext(9861, 55, false); #line 233 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserIndex.cshtml" Write(Url.Content("~/OrganizationManage/User/ExportUserJson")); #line default #line hidden EndContext(); BeginContext(9916, 215, true); WriteLiteral("\';\r\n var postData = $(\"#searchDiv\").getWebControls();\r\n ys.exportExcel(url, postData);\r\n }\r\n\r\n function importForm() {\r\n ys.openDialog({\r\n title: \"导入用户数据\",\r\n content: \'"); EndContext(); BeginContext(10132, 51, false); #line 241 "D:\BaiduNetdiskDownload\网络\YiShaAdmin.v2.2\YiSha.Web\YiSha.Admin.Web\Areas\OrganizationManage\Views\User\UserIndex.cshtml" Write(Url.Content("~/OrganizationManage/User/UserImport")); #line default #line hidden EndContext(); BeginContext(10183, 278, true); WriteLiteral(@"', width: ""768px"", height: ""280px"", callback: function (index, layero) { var iframeWin = window[layero.find('iframe')[0]['name']]; iframeWin.saveForm(index); } }); } </script> "); EndContext(); }