Exemplo n.º 1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 2 "D:\HRManage\HRMS\Views\Home\Login.cshtml"

            Layout = null;

#line default
#line hidden
            BeginContext(62, 25, true);
            WriteLiteral("<!DOCTYPE html>\r\n<html>\r\n");
            EndContext();
            BeginContext(87, 1285, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("head", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4e6cfd94125f41b7ae7378161b16210d", async() => {
                BeginContext(93, 416, true);
                WriteLiteral(@"
    <meta http-equiv=""Content-Type"" content=""text/html; charset=utf-8"" />
    <meta charset=""utf-8"" />
    <meta http-equiv=""X-UA-Compatible"" content=""IE=11;IE=10;"" />
    <meta content=""width=device-width, initial-scale=1"" name=""viewport"" />
    <meta content=""如意仓-人事管理系统"" name=""description"" />
    <meta content=""ray zhang"" name=""author"" />
    <meta charset=""utf-8"" />
    <title>如意仓-人事管理系统</title>
    ");
                EndContext();
                BeginContext(510, 52, false);
#line 16 "D:\HRManage\HRMS\Views\Home\Login.cshtml"
                Write(Bundler.RenderScripts("/RES/bundles/Global.min.css"));

#line default
#line hidden
                EndContext();
                BeginContext(562, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(569, 70, false);
#line 17 "D:\HRManage\HRMS\Views\Home\Login.cshtml"
                Write(Bundler.RenderScripts("/RES/Content/assets/global/css/components.css"));

#line default
#line hidden
                EndContext();
                BeginContext(639, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(646, 67, false);
#line 18 "D:\HRManage\HRMS\Views\Home\Login.cshtml"
                Write(Bundler.RenderScripts("/RES/Content/assets/global/css/plugins.css"));

#line default
#line hidden
                EndContext();
                BeginContext(713, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(719, 48, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "795ddadba5eb480682af85d2814ef330", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                __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(767, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(774, 51, false);
#line 20 "D:\HRManage\HRMS\Views\Home\Login.cshtml"
                Write(Bundler.RenderScripts("/RES/bundles/jquery.min.js"));

#line default
#line hidden
                EndContext();
                BeginContext(825, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(832, 54, false);
#line 21 "D:\HRManage\HRMS\Views\Home\Login.cshtml"
                Write(Bundler.RenderScripts("/RES/bundles/jqueryval.min.js"));

#line default
#line hidden
                EndContext();
                BeginContext(886, 479, true);
                WriteLiteral(@"
    <script>
        $(document).ready(function () {
        });
    </script>
    <style>
        body {
            background-color: powderblue !important;
        }

        .content1 {
            width: 300px;
            height: 200px;
            position: absolute;
            left: 50%;
            top: 50%;
            margin: -100px 0 0 -150px;
        }

        .control-label, .rememberme {
            color: #fff
        }
    </style>
");
                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(1372, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(1374, 2031, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "213fd02ab37c4d388b5560720bedb2ae", async() => {
                BeginContext(1394, 168, true);
                WriteLiteral("\r\n    <div style=\"margin-left:20px;margin-top: 20px;\">\r\n        <a href=\"#\">\r\n        </a>\r\n    </div>\r\n    <div class=\"content\" style=\"background-color:transparent\">\r\n");
                EndContext();
#line 51 "D:\HRManage\HRMS\Views\Home\Login.cshtml"
                using (Html.BeginForm("Login", "Home", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, true,
                                      new { @class = "login-form", role = "form" }))
                {
#line default
#line hidden
                    BeginContext(1811, 23, false);
#line 54 "D:\HRManage\HRMS\Views\Home\Login.cshtml"
                    Write(Html.AntiForgeryToken());

#line default
#line hidden
                    EndContext();
                    BeginContext(1836, 99, true);
                    WriteLiteral("        <h3 class=\"form-title text-center\" style=\"color:#FFF\">如意仓-人事管理系统</h3>\r\n            <hr />\r\n");
                    EndContext();
                    BeginContext(1948, 64, false);
#line 57 "D:\HRManage\HRMS\Views\Home\Login.cshtml"
                    Write(Html.ValidationSummary(true, "", new { @class = "text-danger" }));

#line default
#line hidden
                    EndContext();
                    BeginContext(2014, 54, true);
                    WriteLiteral("            <div class=\"form-group\">\r\n                ");
                    EndContext();
                    BeginContext(2069, 65, false);
#line 59 "D:\HRManage\HRMS\Views\Home\Login.cshtml"
                    Write(Html.LabelFor(m => m.UserName, new { @class = "control-label " }));

#line default
#line hidden
                    EndContext();
                    BeginContext(2134, 112, true);
                    WriteLiteral("\r\n                <div class=\"input-icon\">\r\n                    <i class=\"fa fa-user\"></i>\r\n                    ");
                    EndContext();
                    BeginContext(2247, 84, false);
#line 62 "D:\HRManage\HRMS\Views\Home\Login.cshtml"
                    Write(Html.TextBoxFor(m => m.UserName, new { @class = "form-control placeholder-no-fix" }));

#line default
#line hidden
                    EndContext();
                    BeginContext(2331, 22, true);
                    WriteLiteral("\r\n                    ");
                    EndContext();
                    BeginContext(2354, 78, false);
#line 63 "D:\HRManage\HRMS\Views\Home\Login.cshtml"
                    Write(Html.ValidationMessageFor(m => m.UserName, "", new { @class = "text-danger" }));

#line default
#line hidden
                    EndContext();
                    BeginContext(2432, 100, true);
                    WriteLiteral("\r\n                </div>\r\n            </div>\r\n            <div class=\"form-group\">\r\n                ");
                    EndContext();
                    BeginContext(2533, 64, false);
#line 67 "D:\HRManage\HRMS\Views\Home\Login.cshtml"
                    Write(Html.LabelFor(m => m.Password, new { @class = "control-label" }));

#line default
#line hidden
                    EndContext();
                    BeginContext(2597, 112, true);
                    WriteLiteral("\r\n                <div class=\"input-icon\">\r\n                    <i class=\"fa fa-lock\"></i>\r\n                    ");
                    EndContext();
                    BeginContext(2710, 85, false);
#line 70 "D:\HRManage\HRMS\Views\Home\Login.cshtml"
                    Write(Html.PasswordFor(m => m.Password, new { @class = "form-control placeholder-no-fix" }));

#line default
#line hidden
                    EndContext();
                    BeginContext(2795, 22, true);
                    WriteLiteral("\r\n                    ");
                    EndContext();
                    BeginContext(2818, 78, false);
#line 71 "D:\HRManage\HRMS\Views\Home\Login.cshtml"
                    Write(Html.ValidationMessageFor(m => m.Password, "", new { @class = "text-danger" }));

#line default
#line hidden
                    EndContext();
                    BeginContext(2896, 46, true);
                    WriteLiteral("\r\n                </div>\r\n            </div>\r\n");
                    EndContext();
                    BeginContext(2944, 204, true);
                    WriteLiteral("            <div class=\"form-actions\" style=\"background-color:transparent;border-bottom: 0px solid #eee;\">\r\n                <label class=\"rememberme mt-checkbox mt-checkbox-outline\">\r\n                    ");
                    EndContext();
                    BeginContext(3149, 35, false);
#line 77 "D:\HRManage\HRMS\Views\Home\Login.cshtml"
                    Write(Html.CheckBoxFor(m => m.RememberMe));

#line default
#line hidden
                    EndContext();
                    BeginContext(3184, 189, true);
                    WriteLiteral("\r\n                    记住我?\r\n                    <span></span>\r\n                </label>\r\n                <button type=\"submit\" class=\"btn blue pull-right\"> 登录</button>\r\n            </div>\r\n");
                    EndContext();
#line 83 "D:\HRManage\HRMS\Views\Home\Login.cshtml"
                }

#line default
#line hidden
                BeginContext(3384, 14, true);
                WriteLiteral("    </div>\r\n\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_2);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(3405, 11, true);
            WriteLiteral("\r\n</html>\r\n");
            EndContext();
        }
Exemplo n.º 2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(0, 25, true);
            WriteLiteral("<!DOCTYPE html>\r\n<html>\r\n");
            EndContext();
            BeginContext(25, 3321, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("head", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0eae7c59f7d54b368d6a5682162bce99", async() => {
                BeginContext(31, 375, true);
                WriteLiteral(@"
    <meta http-equiv=""Content-Type"" content=""text/html; charset=utf-8"" />
    <meta charset=""utf-8"" />
    <meta http-equiv=""X-UA-Compatible"" content=""IE=edge"">
    <meta content=""width=device-width, initial-scale=1"" name=""viewport"" />
    <meta content=""人事管理系统"" name=""description"" />
    <meta content=""ray zhang"" name=""author"" />
    <title>如意仓-人事管理系统</title>
    ");
                EndContext();
                BeginContext(406, 1408, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("environment", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0a075638405d42e78abd09d5412098bf", async() => {
                    BeginContext(441, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(452, 52, false);
#line 12 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/bundles/Global.min.css"));

#line default
#line hidden
                    EndContext();
                    BeginContext(504, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(515, 86, false);
#line 13 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/Content/themes/uniformjs/default/css/uniform.default.css"));

#line default
#line hidden
                    EndContext();
                    BeginContext(601, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(612, 86, false);
#line 14 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/Content/bootstrap-switch/bootstrap3/bootstrap-switch.css"));

#line default
#line hidden
                    EndContext();
                    BeginContext(698, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(709, 57, false);
#line 15 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/bundles/css/plugins.min.css"));

#line default
#line hidden
                    EndContext();
                    BeginContext(766, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(777, 70, false);
#line 16 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/Content/assets/global/css/components.css"));

#line default
#line hidden
                    EndContext();
                    BeginContext(847, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(858, 67, false);
#line 17 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/Content/assets/global/css/plugins.css"));

#line default
#line hidden
                    EndContext();
                    BeginContext(925, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(936, 68, false);
#line 18 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/bundles/css/theme/layout-light.min.css"));

#line default
#line hidden
                    EndContext();
                    BeginContext(1004, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(1015, 60, false);
#line 19 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/bundles/css/datatables.min.css"));

#line default
#line hidden
                    EndContext();
                    BeginContext(1075, 12, true);
                    WriteLiteral("\r\n\r\n        ");
                    EndContext();
                    BeginContext(1087, 62, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "2c76baf32d664bf6a813d9eef23fb4ac", async() => {
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                    __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(1149, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(1160, 40, false);
#line 22 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(RenderSection("styles", required: false));

#line default
#line hidden
                    EndContext();
                    BeginContext(1200, 12, true);
                    WriteLiteral("\r\n\r\n        ");
                    EndContext();
                    BeginContext(1213, 51, false);
#line 24 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/bundles/jquery.min.js"));

#line default
#line hidden
                    EndContext();
                    BeginContext(1264, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(1275, 51, false);
#line 25 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/bundles/Global.min.js"));

#line default
#line hidden
                    EndContext();
                    BeginContext(1326, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(1337, 54, false);
#line 26 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/bundles/jqueryval.min.js"));

#line default
#line hidden
                    EndContext();
                    BeginContext(1391, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(1402, 55, false);
#line 27 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/bundles/js/plugins.min.js"));

#line default
#line hidden
                    EndContext();
                    BeginContext(1457, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(1468, 58, false);
#line 28 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/bundles/js/GlobalPage.min.js"));

#line default
#line hidden
                    EndContext();
                    BeginContext(1526, 12, true);
                    WriteLiteral("\r\n\r\n        ");
                    EndContext();
                    BeginContext(1539, 58, false);
#line 30 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/bundles/js/datatables.min.js"));

#line default
#line hidden
                    EndContext();
                    BeginContext(1597, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(1607, 50, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ad4b8d96066d4190876cc3c0a9ed5181", async() => {
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1657, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(1668, 65, false);
#line 32 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/Plugins/Select2-4.0.1/i18n/zh-CN.js"));

#line default
#line hidden
                    EndContext();
                    BeginContext(1733, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(1743, 51, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "336ae59993f24371b47c3d6b6c52e103", async() => {
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1794, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_EnvironmentTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.EnvironmentTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_EnvironmentTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_EnvironmentTagHelper.Include = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1814, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(1820, 1515, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("environment", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "568d74b4b6a8421d871fe8c2abe70135", async() => {
                    BeginContext(1855, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(1866, 59, false);
#line 36 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/bundles/Global.min.css", false));

#line default
#line hidden
                    EndContext();
                    BeginContext(1925, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(1936, 93, false);
#line 37 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/Content/themes/uniformjs/default/css/uniform.default.css", false));

#line default
#line hidden
                    EndContext();
                    BeginContext(2029, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(2040, 93, false);
#line 38 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/Content/bootstrap-switch/bootstrap3/bootstrap-switch.css", false));

#line default
#line hidden
                    EndContext();
                    BeginContext(2133, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(2144, 64, false);
#line 39 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/bundles/css/plugins.min.css", false));

#line default
#line hidden
                    EndContext();
                    BeginContext(2208, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(2219, 77, false);
#line 40 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/Content/assets/global/css/components.css", false));

#line default
#line hidden
                    EndContext();
                    BeginContext(2296, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(2307, 74, false);
#line 41 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/Content/assets/global/css/plugins.css", false));

#line default
#line hidden
                    EndContext();
                    BeginContext(2381, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(2392, 75, false);
#line 42 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/bundles/css/theme/layout-light.min.css", false));

#line default
#line hidden
                    EndContext();
                    BeginContext(2467, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(2478, 67, false);
#line 43 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/bundles/css/datatables.min.css", false));

#line default
#line hidden
                    EndContext();
                    BeginContext(2545, 12, true);
                    WriteLiteral("\r\n\r\n        ");
                    EndContext();
                    BeginContext(2557, 62, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "1ef7471366bd4735b1d4c180553c212f", async() => {
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                    __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(2619, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(2630, 40, false);
#line 46 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(RenderSection("styles", required: false));

#line default
#line hidden
                    EndContext();
                    BeginContext(2670, 12, true);
                    WriteLiteral("\r\n\r\n        ");
                    EndContext();
                    BeginContext(2683, 58, false);
#line 48 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/bundles/jquery.min.js", false));

#line default
#line hidden
                    EndContext();
                    BeginContext(2741, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(2752, 58, false);
#line 49 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/bundles/Global.min.js", false));

#line default
#line hidden
                    EndContext();
                    BeginContext(2810, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(2821, 61, false);
#line 50 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/bundles/jqueryval.min.js", false));

#line default
#line hidden
                    EndContext();
                    BeginContext(2882, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(2893, 62, false);
#line 51 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/bundles/js/plugins.min.js", false));

#line default
#line hidden
                    EndContext();
                    BeginContext(2955, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(2966, 65, false);
#line 52 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/bundles/js/GlobalPage.min.js", false));

#line default
#line hidden
                    EndContext();
                    BeginContext(3031, 12, true);
                    WriteLiteral("\r\n\r\n        ");
                    EndContext();
                    BeginContext(3044, 65, false);
#line 54 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/bundles/js/datatables.min.js", false));

#line default
#line hidden
                    EndContext();
                    BeginContext(3109, 12, true);
                    WriteLiteral("\r\n\r\n        ");
                    EndContext();
                    BeginContext(3122, 72, false);
#line 56 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                    Write(Bundler.RenderScripts("/RES/Plugins/Select2-4.0.1/i18n/zh-CN.js", false));

#line default
#line hidden
                    EndContext();
                    BeginContext(3194, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(3204, 51, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "80caa62beac44ab0b3b85e5c49576323", async() => {
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(3255, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(3265, 50, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "959cf74b94834d95b4ab27e91a7ebac9", async() => {
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(3315, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_EnvironmentTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.EnvironmentTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_EnvironmentTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_EnvironmentTagHelper.Exclude = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(3335, 4, true);
                WriteLiteral("\r\n\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(3346, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
            BeginContext(3350, 2259, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d5299d796e1d421881418dc798d4895e", async() => {
                BeginContext(3449, 860, true);
                WriteLiteral(@"
    <div class=""page-wrapper"">
        <div class=""page-header navbar navbar-fixed-top"">
            <!-- BEGIN HEADER INNER -->
            <div class=""page-header-inner"">
                <!-- BEGIN LOGO -->
                <div class=""page-logo"" style=""width:45px"">

                    <div class=""menu-toggler sidebar-toggler font-blue-soft font-lg"">
                        <span></span>
                    </div>
                </div>
                <a href=""javascript:;"" class=""menu-toggler responsive-toggler"" data-toggle=""collapse"" data-target="".navbar-collapse"">
                    <span></span>
                </a>

                <div style=""height: 50px;float: left;margin-top: 5px;font-weight:700;color:#4C87B9""><h3 style=""margin-top: 7px;"">人事管理系统</h3></div>
                <div class=""top-menu"">

                    ");
                EndContext();
                BeginContext(4310, 30, false);
#line 82 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                Write(Html.Partial("_HeaderPartial"));

#line default
#line hidden
                EndContext();
                BeginContext(4340, 360, true);
                WriteLiteral(@"
                </div>
            </div>
            <!-- END HEADER INNER -->
        </div>
        <div class=""clearfix"">
        </div>
        <div class=""page-container"">
            <!-- BEGIN SIDEBAR -->
            <div class=""page-sidebar-wrapper"">
                <div class=""page-sidebar navbar-collapse collapse"">
                    ");
                EndContext();
                BeginContext(4701, 28, false);
#line 93 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                Write(Html.Partial("_MenuPartial"));

#line default
#line hidden
                EndContext();
                BeginContext(4729, 241, true);
                WriteLiteral("\r\n\r\n                </div>\r\n            </div>\r\n            <!-- END SIDEBAR -->\r\n            <div class=\"page-content-wrapper\">\r\n                <div class=\"page-content\" style=\"padding-top: 10px;padding-right: 10px;\">\r\n                    ");
                EndContext();
                BeginContext(4971, 12, false);
#line 100 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                Write(RenderBody());

#line default
#line hidden
                EndContext();
                BeginContext(4983, 332, true);
                WriteLiteral(@"
                </div>
            </div>
        </div>
        <div class=""page-footer "">
            <div class=""page-footer-inner"">
                2019 &copy;
            </div>
            <div class=""scroll-to-top"">
                <i class=""icon-arrow-up""></i>
            </div>
        </div>
    </div>
    ");
                EndContext();
                BeginContext(5316, 41, false);
#line 113 "D:\HRManage\HRMS\Views\Shared\_Layout.cshtml"
                Write(RenderSection("scripts", required: false));

#line default
#line hidden
                EndContext();
                BeginContext(5357, 245, true);
                WriteLiteral("\r\n    <script>\r\n        $(document).ready(function () {\r\n            App.setAssetsPath(\"http://10.27.1.28/RES/Content/assets/\");\r\n            App.init();\r\n            Layout.init();\r\n            CustomScript.init();\r\n        });\r\n    </script>\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_6);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(5609, 13, true);
            WriteLiteral("\r\n\r\n</html>\r\n");
            EndContext();
        }
Exemplo n.º 3
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 1 "D:\HRManage\HRMS\Views\Home\Index.cshtml"

            ViewData["Title"] = "主页看板";
            Layout            = ViewBag.Layout;

#line default
#line hidden
            DefineSection("styles", async() => {
                BeginContext(86, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(92, 47, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "d4801a4f19eb4303b67fb5f3d011439f", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                __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(139, 297, true);
                WriteLiteral(@"
    <style>

        /*.row {
            margin-top: 0px;
            padding-top: 0px;
            margin-bottom: 0px;
            padding-bottom: 0px;
        }

        .dashboard-stat2 {
            margin-bottom: 0px;
            padding-bottom: 0px
        }*/
    </style>
");
                EndContext();
            }
                          );
            BeginContext(439, 5267, true);
            WriteLiteral(@"
<div class=""page-content-body"">
    <div class=""row"">
        <div class=""col-lg-3 col-md-3 col-sm-6 col-xs-12"">
            <div class=""dashboard-stat2 "">
                <div class=""display"" style=""margin-bottom: 10px;"">
                    <div class=""number"">
                        <h3 class=""font-green-sharp"">
                            <span data-counter=""counterup"" data-value=""7800"">7800</span>
                            <small class=""font-green-sharp"">人</small>
                        </h3>
                        <small>总人数</small>
                    </div>
                    <div class=""icon"">
                        <i class=""icon-user""></i>
                    </div>
                </div>
                <div class=""progress-info"">
                    <div class=""progress"">
                        <span style=""width: 100%;"" class=""progress-bar progress-bar-success green-sharp"">
                            <span class=""sr-only"">100%</span>
                        </span>");
            WriteLiteral(@"
                    </div>
                    <div class=""status"">
                        <div class=""status-title""> all of people </div>
                        <div class=""status-number""> 100% </div>
                    </div>
                </div>
            </div>
        </div>
        <div class=""col-lg-3 col-md-3 col-sm-6 col-xs-12"">
            <div class=""dashboard-stat2 "">
                <div class=""display"" style=""margin-bottom: 10px;"">
                    <div class=""number"">
                        <h3 class=""font-red-haze"">
                            <span data-counter=""counterup"" data-value=""1349"">1349</span>
                            <small class=""font-green-sharp"">人</small>
                        </h3>
                        <small>闲置人数</small>
                    </div>
                    <div class=""icon"">
                        <i class=""icon-user""></i>
                    </div>
                </div>
                <div class=""progress-info"">
       ");
            WriteLiteral(@"             <div class=""progress"">
                        <span style=""width: 85%;"" class=""progress-bar progress-bar-success red-haze"">
                            <span class=""sr-only"">85%</span>
                        </span>
                    </div>
                    <div class=""status"">
                        <div class=""status-title"">leave unused </div>
                        <div class=""status-number""> 85% </div>
                    </div>
                </div>
            </div>
        </div>
        <div class=""col-lg-3 col-md-3 col-sm-6 col-xs-12"">
            <div class=""dashboard-stat2 "">
                <div class=""display"" style=""margin-bottom: 10px;"">
                    <div class=""number"">
                        <h3 class=""font-blue-sharp"">
                            <span data-counter=""counterup"" data-value=""567"">567</span>
                            <small class=""font-green-sharp"">人</small>
                        </h3>
                        <small>工作中...<");
            WriteLiteral(@"/small>
                    </div>
                    <div class=""icon"">
                        <i class=""icon-user""></i>
                    </div>
                </div>
                <div class=""progress-info"">
                    <div class=""progress"">
                        <span style=""width: 45%;"" class=""progress-bar progress-bar-success blue-sharp"">
                            <span class=""sr-only"">45% grow</span>
                        </span>
                    </div>
                    <div class=""status"">
                        <div class=""status-title""> working </div>
                        <div class=""status-number""> 45% </div>
                    </div>
                </div>
            </div>
        </div>
        <div class=""col-lg-3 col-md-3 col-sm-6 col-xs-12"">
            <div class=""dashboard-stat2 "">
                <div class=""display"" style=""margin-bottom: 10px;"">
                    <div class=""number"">
                        <h3 class=""font-purple-");
            WriteLiteral(@"soft"">
                            <span data-counter=""counterup"" data-value=""276"">276</span>
                        </h3>
                        <small>外派人数</small>
                    </div>
                    <div class=""icon"">
                        <i class=""icon-user""></i>
                    </div>
                </div>
                <div class=""progress-info"">
                    <div class=""progress"">
                        <span style=""width: 57%;"" class=""progress-bar progress-bar-success purple-soft"">
                            <span class=""sr-only"">56%</span>
                        </span>
                    </div>
                    <div class=""status"">
                        <div class=""status-title""> Assigning people </div>
                        <div class=""status-number""> 57% </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class=""page-content-body"" id=""sortable_portlets"">
    <div class=""r");
            WriteLiteral("ow\">\r\n        <div class=\"col-lg-6 col-xs-12 col-sm-12 sortable\">\r\n            <div class=\"portlet light\" style=\"padding:0px 0px;margin:0px 0px\">\r\n");
            EndContext();
            BeginContext(5818, 1439, true);
            WriteLiteral(@"                <div class=""portlet-body"">
                    <div id=""chart1"" class=""chart"" style=""width:100%;height:100%;padding-bottom: 5px;"">

                    </div>
                </div>
            </div>
        </div>
        <div class=""col-lg-6 col-xs-12 col-sm-12 sortable"">
            <div class=""portlet light "" style=""padding:0px 0px;margin:0px 0px"">
                <div class=""portlet-body"">
                    <div id=""chart2"" class=""chart"" style=""width:100%;height:100%;padding-bottom: 5px;"">

                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class=""row"">
        <div class=""col-lg-6 col-xs-12 col-sm-12 sortable"">
            <div class=""portlet light "" style=""padding:0px 0px;margin:0px 0px"">
                <div class=""portlet-body"">
                    <div id=""chart3"" class=""chart"" style=""width:100%;height:100%;padding-bottom: 5px;"">

                    </div>
                </div>
            </div>
    ");
            WriteLiteral(@"    </div>
        <div class=""col-lg-6 col-xs-12 col-sm-12 sortable"">
            <div class=""portlet light "" style=""padding:0px 0px;margin:0px 0px"">
                <div class=""portlet-body"">
                    <div id=""chart4"" class=""chart"" style=""width:100%;height:100%;padding-bottom: 5px;"">

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

");
            EndContext();
            DefineSection("scripts", async() => {
                BeginContext(7274, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(7281, 60, false);
#line 181 "D:\HRManage\HRMS\Views\Home\Index.cshtml"
                Write(Bundler.RenderScripts("/RES/bundles/echarts/echarts.min.js"));

#line default
#line hidden
                EndContext();
                BeginContext(7341, 9789, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        var step = 50;
        function portletResize() {
            var h = App.getViewPort().height - 1;  //高度
            console.log(h);
            var height = Math.round((h * step) / 100);
            $.each($('#sortable_portlets').find('.portlet.light'), function (index, item) {
                var portletbody = $(item).children('.portlet-body');
                var portlet_parent = $(item).parent('.sortable');
                var resultheight = height - 
                    parseInt(portlet_parent.css('padding-top')) -
                    parseInt(portlet_parent.css('padding-bottom')) -
                    parseInt(portlet_parent.css('margin-top')) -
                    parseInt(portlet_parent.css('margin-bottom')) -
                    parseInt(portlet_parent.css('border-top-width')) -
                    parseInt(portlet_parent.css('border-bottom-width'));

                portletbody.css(""height"", resultheight);
                var chart = p");
                WriteLiteral(@"ortletbody.children('.chart');
                chart.css(""width"", portletbody.outerWidth() -
                    parseInt(portletbody.css('padding-left')) -
                    parseInt(portletbody.css('padding-right')) -
                    parseInt(portletbody.css('margin-left')) -
                    parseInt(portletbody.css('margin-right')) -
                    parseInt(portletbody.css('border-left-width')) -
                    parseInt(portletbody.css('border-right-width')));
            });
            resizeCharts();
        }

        $(function () {
            portletResize();
            initCharts();
        });

        var chart1;
        var chart2;
        var chart3;
        var chart4;
        function initCharts() {
            chart1 = echarts.init(document.getElementById('chart1'), 'macarons');
            initChart1();
            chart2 = echarts.init(document.getElementById('chart2'), 'macarons');
            initChart2();
            chart3 = echarts.init(d");
                WriteLiteral(@"ocument.getElementById('chart3'), 'macarons');
            initChart3();
            chart4 = echarts.init(document.getElementById('chart4'), 'macarons');
            initChart4();
        }

        function resizeCharts() {
            if (chart1 != undefined)
                chart1.resize();
            if (chart2 != undefined)
                chart2.resize()
            if (chart3 != undefined)
                chart3.resize();
            if (chart4 != undefined)
                chart4.resize();
        }

        function initChart1() {
            option = {
                title: {
                    text: '各部门人员占比',
                    subtext: '全员',
                    x: 'center'
                },
                grid: {

                    right: 80,
                },
                tooltip: {
                    trigger: 'item',
                    formatter: ""{a} <br/>{b} : {c}人 ({d}%)""
                },
                legend: {
                    orient: ");
                WriteLiteral(@"'vertical',
                    left: 'left',
                    data: ['系统研发', '系统运维', '招商部', '品控部', '法务部']
                },
                series: [
                    {
                        name: '访问来源',
                        type: 'pie',
                        radius: '65%',
                        center: ['50%', '50%'],
                        //显示图标注释
                        label: {
                            // rotate:120,
                            position: 'inside',
                            fontSize: 9,
                            formatter: ""{d}%"",
                        },
                        data: [
                            { value: 1548, name: '系统研发' },
                            { value: 310, name: '系统运维' },
                            { value: 234, name: '招商部' },
                            { value: 135, name: '品控部' },
                            { value: 335, name: '法务部' }
                        ],
                        itemStyle: {
     ");
                WriteLiteral(@"                       emphasis: {
                                shadowBlur: 10,
                                shadowOffsetX: 0,
                                shadowColor: 'rgba(0, 0, 0, 0.5)'
                            }
                        }
                    }
                ]
            }
            chart1.setOption(option);
        }
        function initChart2() {
            option = {
                title: {
                    text: '岗位人员占比',
                    subtext: '全员',
                    x: 'center'
                },
                tooltip: {
                    trigger: 'item',
                    formatter: ""{a} <br/>{b} : {c} ({d}%)""
                },
                grid: {
                    x: 15,
                    y: 25,
                    x2: 15,
                    y2: 25,
                    borderWidth: 1
                },
                xAxis: {
                    type: 'category',
                    data: ['Mon', 'Tue', 'Wed'");
                WriteLiteral(@", 'Thu', 'Fri', 'Sat', 'Sun']
                },
                yAxis: {
                    type: 'value'
                },
                series: [
                    {

                        center: ['50%', '45%'],
                        data: [120, 200, 150, 80, 70, 110, 130],
                        type: 'bar',
                        label: {
                            normal: {
                                show: true,
                                //在柱子显示数据
                                textStyle: {
                                    fontSize: 26,
                                    fontWeight: 'bolder',
                                },
                            },

                        },

                    }
                ]
            }
            chart2.setOption(option);
        }
        function initChart3() {
            option = {
                title: {
                    text: '入职,离职人数变化',
                    subtext: '全员',
    ");
                WriteLiteral(@"                x: 'center'
                },
                tooltip: {
                    trigger: 'item',
                    formatter: ""{a} <br/>{b} : {c}人 ({d}%)""
                },
                xAxis: {
                    type: 'category',
                    data: ['一月', '二月', '三月', '四月', '五月', '六月', '七月']
                },
                yAxis: {
                    type: 'value'
                },
                series: [
                    {
                        data: [82, 93, 90, 93, 129, 133, 132],
                        type: 'line',
                        label: {
                            normal: {
                                show: true,
                                //在柱子显示数据
                                textStyle: {
                                    fontSize: 13,
                                    fontWeight: 'bolder',
                                },
                            },

                        },
                    },
");
                WriteLiteral(@"                    {
                        data: [72, 83, 80, 83, 119, 123, 122],
                        type: 'line',
                        label: {
                            normal: {
                                show: true,
                                //在柱子显示数据
                                textStyle: {
                                    fontSize: 13,
                                    fontWeight: 'bolder',
                                },
                            },

                        },
                    }
                ]
            }
            chart3.setOption(option);
        }
        function initChart4() {
            option = {
                //title: {
                //    text: '基础雷达图'
                //},
                //tooltip: {},
                //legend: {
                //    data: ['预算分配', '实际开销']
                //},

                radar: {
                    // shape: 'circle',
                    name: {
     ");
                WriteLiteral(@"                   textStyle: {
                            color: '#fff',
                            backgroundColor: '#999',
                            borderRadius: 3,
                            padding: [3, 5]
                        }
                    },
                    indicator: [
                        { name: '销售', max: 6500 },
                        { name: '管理', max: 16000 },
                        { name: '信息技术', max: 30000 },
                        { name: '客服', max: 38000 },
                        { name: '研发', max: 52000 },
                    ]
                },
                series: [{
                    name: '预算 vs 开销',
                    type: 'radar',
                    label: {
                        normal: {
                            show: true,
                            //在柱子显示数据
                            textStyle: {
                                fontSize: 13,
                                fontWeight: 'bolder',
                ");
                WriteLiteral(@"            },
                        },

                    },
                    data: [
                        {
                            value: [4300, 10000, 28000, 35000, 50000, 19000],
                            name: '预算分配'
                        },
                        {
                            value: [5000, 14000, 28000, 31000, 42000, 21000],
                            name: '实际开销'
                        }
                    ]
                }]
            }
            chart4.setOption(option);
        }
    </script>
");
                EndContext();
            }
                          );
        }