Beispiel #1
0
        static void Test7()
        {
            var dal = UserX.Meta.Session.Dal;

            dal.Db.DataCache = 3;

            var list = UserX.FindAll();
            var u    = UserX.FindByID(1);
            var n    = UserX.FindCount();

            var sql = "select * from user";
            var ds  = dal.Select(sql);

            ds = dal.Select(sql, CommandType.Text);
            ds = dal.Select(sql, CommandType.Text, new Dictionary <String, Object>());
            var dt = dal.Query(sql, new Dictionary <String, Object>());

            n = dal.SelectCount(sql, CommandType.Text);

            var sb = SelectBuilder.Create("select roleid,count(*) from user group by roleid order by count(*) desc");

            ds = dal.Select(sb, 3, 5);
            dt = dal.Query(sb, 4, 6);
            n  = dal.SelectCount(sb);

            for (var i = 0; i < 10; i++)
            {
                Console.WriteLine(i);

                list = UserX.FindAll();
                u    = UserX.FindByKey(1);
                n    = UserX.FindCount();

                ds = dal.Select(sql);
                ds = dal.Select(sql, CommandType.Text);
                ds = dal.Select(sql, CommandType.Text, new Dictionary <String, Object>());
                dt = dal.Query(sql, new Dictionary <String, Object>());
                n  = dal.SelectCount(sql, CommandType.Text);

                ds = dal.Select(sb, 3, 5);
                dt = dal.Query(sb, 4, 6);
                n  = dal.SelectCount(sb);

                Thread.Sleep(1000);
            }
        }
Beispiel #2
0
        /// <summary>网点搜索</summary>
        /// <param name="parentid"></param>
        /// <param name="key"></param>
        /// <returns></returns>
        public ActionResult DepartmentSearch(Int32 parentid = -1, String key = null)
        {
            var exp = new WhereExpression();

            if (parentid >= 0)
            {
                exp &= Department._.ParentID == parentid;
            }
            exp &= Department._.Enable == true & Department._.Visible == true;
            if (!key.IsNullOrEmpty())
            {
                exp &= Department._.Code.StartsWith(key) | Department._.Name.StartsWith(key) | Department._.FullName.StartsWith(key);
            }

            var page = new PageParameter {
                PageSize = 20
            };

            // 默认排序
            if (page.Sort.IsNullOrEmpty())
            {
                page.Sort = Department._.Name;
            }

            var list = Department.FindAll(exp, page);

            return(Json(0, null, list.Select(e => new
            {
                e.ID,
                e.Code,
                e.Name,
                e.FullName,
                //e.ManagerID,
                Manager = UserX.FindByID(e.ManagerID)?.ToString(),
            }).ToArray()));
        }
        public override void Execute()
        {
            #line 10 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"

            var fact         = ViewBag.Factory as IEntityOperate;
            var page         = ViewBag.Page as Pager;
            var fields       = ViewBag.Fields as IList <FieldItem>;
            var enableSelect = this.EnableSelect();
            var provider     = ManageProvider.Provider;


            #line default
            #line hidden
            WriteLiteral("\r\n<table");

            WriteLiteral(" class=\"table table-bordered table-hover table-striped table-condensed\"");

            WriteLiteral(">\r\n    <thead>\r\n        <tr>\r\n");


            #line 20 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"


            #line default
            #line hidden

            #line 20 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
            if (enableSelect)
            {
            #line default
            #line hidden
                WriteLiteral("                <th");

                WriteLiteral(" class=\"text-center\"");

                WriteLiteral(" style=\"width:10px;\"");

                WriteLiteral("><input");

                WriteLiteral(" type=\"checkbox\"");

                WriteLiteral(" id=\"chkAll\"");

                WriteLiteral(" title=\"全选\"");

                WriteLiteral(" /></th>\r\n");


            #line 23 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("            <th");

            WriteLiteral(" class=\"text-center hidden-md hidden-sm hidden-xs\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 827), Tuple.Create("\"", 866)

            #line 24 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 834), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("ID"))

            #line default
            #line hidden
                                                                                                            , 834), false)
                           );

            WriteLiteral(">编号</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 919), Tuple.Create("\"", 961)

            #line 25 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 926), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("AppID"))

            #line default
            #line hidden
                                                                                                            , 926), false)
                           );

            WriteLiteral(">应用</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1014), Tuple.Create("\"", 1057)

            #line 26 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1021), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("Action"))

            #line default
            #line hidden
                                                                                                             , 1021), false)
                           );

            WriteLiteral(">操作</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1110), Tuple.Create("\"", 1155)

            #line 27 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1117), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl(" Success"))

            #line default
            #line hidden
                                                                                                             , 1117), false)
                           );

            WriteLiteral(">成功</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral(">内容</th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1253), Tuple.Create("\"", 1302)

            #line 29 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1260), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("CreateUserID"))

            #line default
            #line hidden
                                                                                                             , 1260), false)
                           );

            WriteLiteral(">创建者</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1356), Tuple.Create("\"", 1401)

            #line 30 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1363), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("CreateIP"))

            #line default
            #line hidden
                                                                                                             , 1363), false)
                           );

            WriteLiteral(">IP地址</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral(" style=\"min-width:134px;\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1481), Tuple.Create("\"", 1528)

            #line 31 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1488), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("CreateTime"))

            #line default
            #line hidden
                                                                                                             , 1488), false)
                           );

            WriteLiteral(">时间</a></th>\r\n");


            #line 32 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"


            #line default
            #line hidden

            #line 32 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
            if (this.Has(PermissionFlags.Detail, PermissionFlags.Update, PermissionFlags.Delete))
            {
            #line default
            #line hidden
                WriteLiteral("                <th");

                WriteLiteral(" class=\"text-center\"");

                WriteLiteral(" style=\"min-width:100px;\"");

                WriteLiteral(">操作</th>\r\n");


            #line 35 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("        </tr>\r\n    </thead>\r\n    <tbody>\r\n");


            #line 39 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"


            #line default
            #line hidden

            #line 39 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
            foreach (var entity in Model)
            {
            #line default
            #line hidden
                WriteLiteral("            <tr>\r\n");


            #line 42 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"


            #line default
            #line hidden

            #line 42 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                if (enableSelect)
                {
            #line default
            #line hidden
                    WriteLiteral("                    <td");

                    WriteLiteral(" class=\"text-center\"");

                    WriteLiteral("><input");

                    WriteLiteral(" type=\"checkbox\"");

                    WriteLiteral(" name=\"keys\"");

                    WriteAttribute("value", Tuple.Create(" value=\"", 1991), Tuple.Create("\"", 2009)

            #line 44 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                                   , Tuple.Create(Tuple.Create("", 1999), Tuple.Create <System.Object, System.Int32>(entity.ID

            #line default
            #line hidden
                                                                                                                     , 1999), false)
                                   );

                    WriteLiteral(" /></td>\r\n");


            #line 45 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                }


            #line default
            #line hidden
                WriteLiteral("                <td");

                WriteLiteral(" class=\"text-center hidden-md hidden-sm hidden-xs\"");

                WriteLiteral(">");


            #line 46 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                Write(entity.ID);


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td><a");

                WriteAttribute("href", Tuple.Create(" href=\"", 2148), Tuple.Create("\"", 2175)
                               , Tuple.Create(Tuple.Create("", 2155), Tuple.Create("App?ID=", 2155), true)

            #line 47 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                               , Tuple.Create(Tuple.Create("", 2162), Tuple.Create <System.Object, System.Int32>(entity.AppID

            #line default
            #line hidden
                                                                                                                 , 2162), false)
                               );

                WriteLiteral(">");


            #line 47 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                Write(entity.AppName);


            #line default
            #line hidden
                WriteLiteral("</a></td>\r\n                <td>");


            #line 48 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                Write(entity.Action);


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td");

                WriteLiteral(" class=\"text-center\"");

                WriteLiteral(">\r\n                    <i");

                WriteAttribute("class", Tuple.Create(" class=\"", 2308), Tuple.Create("\"", 2371)
                               , Tuple.Create(Tuple.Create("", 2316), Tuple.Create("glyphicon", 2316), true)
                               , Tuple.Create(Tuple.Create(" ", 2325), Tuple.Create("glyphicon-", 2326), true)

            #line 50 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                               , Tuple.Create(Tuple.Create("", 2336), Tuple.Create <System.Object, System.Int32>(entity.Success ? "ok" : "remove"

            #line default
            #line hidden
                                                                                                                 , 2336), false)
                               );

                WriteAttribute("style", Tuple.Create(" style=\"", 2372), Tuple.Create("\"", 2423)
                               , Tuple.Create(Tuple.Create("", 2380), Tuple.Create("color:", 2380), true)

            #line 50 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                               , Tuple.Create(Tuple.Create(" ", 2386), Tuple.Create <System.Object, System.Int32>(entity.Success ? "green" : "red"

            #line default
            #line hidden
                                                                                                                  , 2387), false)
                               , Tuple.Create(Tuple.Create("", 2422), Tuple.Create(";", 2422), true)
                               );

                WriteLiteral("></i>\r\n                </td>\r\n                <td");

                WriteLiteral(" style=\"max-width:600px;overflow:hidden;white-space: nowrap;text-overflow: ellips" +
                             "is;\"");

                WriteAttribute("title", Tuple.Create(" title=\"", 2558), Tuple.Create("\"", 2580)

            #line 52 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                               , Tuple.Create(Tuple.Create("", 2566), Tuple.Create <System.Object, System.Int32>(entity.Remark

            #line default
            #line hidden
                                                                                                                 , 2566), false)
                               );

                WriteLiteral(">");


            #line 52 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                Write(entity.Remark);


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td");

                WriteLiteral(" class=\"text-right\"");

                WriteLiteral(">");


            #line 53 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                Write(UserX.FindByID(entity.CreateUserID));


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td");

                WriteAttribute("title", Tuple.Create(" title=\"", 2704), Tuple.Create("\"", 2742)

            #line 54 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                               , Tuple.Create(Tuple.Create("", 2712), Tuple.Create <System.Object, System.Int32>(entity.CreateIP.IPToAddress()

            #line default
            #line hidden
                                                                                                                 , 2712), false)
                               );

                WriteLiteral(">");


            #line 54 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                Write(entity.CreateIP);


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td>");


            #line 55 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                Write(entity.CreateTime.ToFullString(""));


            #line default
            #line hidden
                WriteLiteral("</td>\r\n");


            #line 56 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"


            #line default
            #line hidden

            #line 56 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                if (this.Has(PermissionFlags.Detail, PermissionFlags.Update, PermissionFlags.Delete))
                {
            #line default
            #line hidden
                    WriteLiteral("                    <td");

                    WriteLiteral(" class=\"text-center\"");

                    WriteLiteral(">\r\n");

                    WriteLiteral("                        ");


            #line 59 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                    Write(Html.Partial("_List_Data_Action", (Object)entity));


            #line default
            #line hidden
                    WriteLiteral("\r\n                    </td>\r\n");


            #line 61 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                }


            #line default
            #line hidden
                WriteLiteral("            </tr>\r\n");


            #line 63 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("    </tbody>\r\n</table>");
        }
        public override void Execute()
        {
            #line 10 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"

            var fact     = ViewBag.Factory as IEntityOperate;
            var page     = ViewBag.Page as Pager;
            var fields   = ViewBag.Fields as IList <FieldItem>;
            var set      = ViewBag.PageSetting as PageSetting;
            var provider = ManageProvider.Provider;


            #line default
            #line hidden
            WriteLiteral("\r\n<table");

            WriteLiteral(" class=\"table table-bordered table-hover table-striped table-condensed\"");

            WriteLiteral(">\r\n    <thead>\r\n        <tr>\r\n");


            #line 20 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"


            #line default
            #line hidden

            #line 20 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
            if (set.EnableSelect)
            {
            #line default
            #line hidden
                WriteLiteral("                <th");

                WriteLiteral(" class=\"text-center\"");

                WriteLiteral(" style=\"width:10px;\"");

                WriteLiteral("><input");

                WriteLiteral(" type=\"checkbox\"");

                WriteLiteral(" id=\"chkAll\"");

                WriteLiteral(" title=\"全选\"");

                WriteLiteral(" /></th>\r\n");


            #line 23 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 804), Tuple.Create("\"", 843)

            #line 24 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 811), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("ID"))

            #line default
            #line hidden
                                                                                                            , 811), false)
                           );

            WriteLiteral(">编号</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral(" title=\"名称。AppID\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 913), Tuple.Create("\"", 954)

            #line 25 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 920), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("Name"))

            #line default
            #line hidden
                                                                                                            , 920), false)
                           );

            WriteLiteral(">名称</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1007), Tuple.Create("\"", 1055)

            #line 26 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1014), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("DisplayName"))

            #line default
            #line hidden
                                                                                                             , 1014), false)
                           );

            WriteLiteral(">显示名</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral(" title=\"密钥。AppSecret\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1130), Tuple.Create("\"", 1173)

            #line 27 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1137), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("Secret"))

            #line default
            #line hidden
                                                                                                             , 1137), false)
                           );

            WriteLiteral(">密钥</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1226), Tuple.Create("\"", 1267)

            #line 28 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1233), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("Urls"))

            #line default
            #line hidden
                                                                                                             , 1233), false)
                           );

            WriteLiteral(">回调地址</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1322), Tuple.Create("\"", 1365)

            #line 29 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1329), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("Enable"))

            #line default
            #line hidden
                                                                                                             , 1329), false)
                           );

            WriteLiteral(">启用</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1418), Tuple.Create("\"", 1460)

            #line 30 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1425), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("Auths"))

            #line default
            #line hidden
                                                                                                             , 1425), false)
                           );

            WriteLiteral(">次数</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral(" style=\"min-width:134px;\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1538), Tuple.Create("\"", 1583)

            #line 31 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1545), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("LastAuth"))

            #line default
            #line hidden
                                                                                                             , 1545), false)
                           );

            WriteLiteral(">最后请求</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1638), Tuple.Create("\"", 1687)

            #line 32 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1645), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("UpdateUserID"))

            #line default
            #line hidden
                                                                                                             , 1645), false)
                           );

            WriteLiteral(">更新者</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral(" style=\"min-width:134px;\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1766), Tuple.Create("\"", 1813)

            #line 33 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1773), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("UpdateTime"))

            #line default
            #line hidden
                                                                                                             , 1773), false)
                           );

            WriteLiteral(">更新时间</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1868), Tuple.Create("\"", 1913)

            #line 34 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1875), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("UpdateIP"))

            #line default
            #line hidden
                                                                                                             , 1875), false)
                           );

            WriteLiteral(">更新地址</a></th>\r\n");


            #line 35 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"


            #line default
            #line hidden

            #line 35 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
            if (this.Has(PermissionFlags.Detail, PermissionFlags.Update, PermissionFlags.Delete))
            {
            #line default
            #line hidden
                WriteLiteral("                <th");

                WriteLiteral(" class=\"text-center\"");

                WriteLiteral(">操作</th>\r\n");


            #line 38 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("        </tr>\r\n    </thead>\r\n    <tbody>\r\n");


            #line 42 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"


            #line default
            #line hidden

            #line 42 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
            foreach (var entity in Model)
            {
            #line default
            #line hidden
                WriteLiteral("            <tr>\r\n");


            #line 45 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"


            #line default
            #line hidden

            #line 45 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                if (set.EnableSelect)
                {
            #line default
            #line hidden
                    WriteLiteral("                    <td");

                    WriteLiteral(" class=\"text-center\"");

                    WriteLiteral("><input");

                    WriteLiteral(" type=\"checkbox\"");

                    WriteLiteral(" name=\"keys\"");

                    WriteAttribute("value", Tuple.Create(" value=\"", 2357), Tuple.Create("\"", 2375)

            #line 47 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                                   , Tuple.Create(Tuple.Create("", 2365), Tuple.Create <System.Object, System.Int32>(entity.ID

            #line default
            #line hidden
                                                                                                                     , 2365), false)
                                   );

                    WriteLiteral(" /></td>\r\n");


            #line 48 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                }


            #line default
            #line hidden
                WriteLiteral("                <td");

                WriteLiteral(" class=\"text-center\"");

                WriteLiteral(">");


            #line 49 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                Write(entity.ID);


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td>");


            #line 50 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                Write(entity.Name);


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td>");


            #line 51 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                Write(entity.DisplayName);


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td>");


            #line 52 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                Write(entity.Secret);


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td>");


            #line 53 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                Write(entity.Urls);


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td");

                WriteLiteral(" class=\"text-center\"");

                WriteLiteral(">\r\n                    <i");

                WriteAttribute("class", Tuple.Create(" class=\"", 2691), Tuple.Create("\"", 2753)
                               , Tuple.Create(Tuple.Create("", 2699), Tuple.Create("glyphicon", 2699), true)
                               , Tuple.Create(Tuple.Create(" ", 2708), Tuple.Create("glyphicon-", 2709), true)

            #line 55 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                               , Tuple.Create(Tuple.Create("", 2719), Tuple.Create <System.Object, System.Int32>(entity.Enable ? "ok" : "remove"

            #line default
            #line hidden
                                                                                                                 , 2719), false)
                               );

                WriteAttribute("style", Tuple.Create(" style=\"", 2754), Tuple.Create("\"", 2804)
                               , Tuple.Create(Tuple.Create("", 2762), Tuple.Create("color:", 2762), true)

            #line 55 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                               , Tuple.Create(Tuple.Create(" ", 2768), Tuple.Create <System.Object, System.Int32>(entity.Enable ? "green" : "red"

            #line default
            #line hidden
                                                                                                                  , 2769), false)
                               , Tuple.Create(Tuple.Create("", 2803), Tuple.Create(";", 2803), true)
                               );

                WriteLiteral("></i>\r\n                </td>\r\n                <td");

                WriteLiteral(" class=\"text-right\"");

                WriteLiteral(">");


            #line 57 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                Write(entity.Auths.ToString("n0"));


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td>");


            #line 58 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                Write(entity.LastAuth.ToFullString(""));


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td");

                WriteLiteral(" class=\"text-right\"");

                WriteLiteral(">");


            #line 59 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                Write(UserX.FindByID(entity.UpdateUserID));


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td>");


            #line 60 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                Write(entity.UpdateTime.ToFullString(""));


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td");

                WriteAttribute("title", Tuple.Create(" title=\"", 3132), Tuple.Create("\"", 3170)

            #line 61 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                               , Tuple.Create(Tuple.Create("", 3140), Tuple.Create <System.Object, System.Int32>(entity.UpdateIP.IPToAddress()

            #line default
            #line hidden
                                                                                                                 , 3140), false)
                               );

                WriteLiteral(">");


            #line 61 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                Write(entity.UpdateIP);


            #line default
            #line hidden
                WriteLiteral("</td>\r\n");


            #line 62 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"


            #line default
            #line hidden

            #line 62 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                if (this.Has(PermissionFlags.Detail, PermissionFlags.Update, PermissionFlags.Delete))
                {
            #line default
            #line hidden
                    WriteLiteral("                    <td");

                    WriteLiteral(" class=\"text-center\"");

                    WriteLiteral(">\r\n");

                    WriteLiteral("                        ");


            #line 65 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                    Write(Html.Partial("_List_Data_Action", (Object)entity));


            #line default
            #line hidden
                    WriteLiteral("\r\n                    </td>\r\n");


            #line 67 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                }


            #line default
            #line hidden
                WriteLiteral("            </tr>\r\n");


            #line 69 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("    </tbody>\r\n</table>");
        }
        public override void Execute()
        {
            #line 10 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"

            var fact         = ViewBag.Factory as IEntityOperate;
            var page         = ViewBag.Page as Pager;
            var fields       = ViewBag.Fields as IList <FieldItem>;
            var enableSelect = this.EnableSelect();
            var provider     = ManageProvider.Provider;


            #line default
            #line hidden
            WriteLiteral("\r\n<table");

            WriteLiteral(" class=\"table table-bordered table-hover table-striped table-condensed\"");

            WriteLiteral(">\r\n    <thead>\r\n        <tr>\r\n");


            #line 20 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"


            #line default
            #line hidden

            #line 20 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
            if (enableSelect)
            {
            #line default
            #line hidden
                WriteLiteral("                <th");

                WriteLiteral(" class=\"text-center\"");

                WriteLiteral(" style=\"width:10px;\"");

                WriteLiteral("><input");

                WriteLiteral(" type=\"checkbox\"");

                WriteLiteral(" id=\"chkAll\"");

                WriteLiteral(" title=\"全选\"");

                WriteLiteral(" /></th>\r\n");


            #line 23 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("            <th");

            WriteLiteral(" class=\"text-center hidden-md hidden-sm hidden-xs\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 824), Tuple.Create("\"", 863)

            #line 24 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 831), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("ID"))

            #line default
            #line hidden
                                                                                                            , 831), false)
                           );

            WriteLiteral(">编号</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral(" title=\"名称。AppID\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 933), Tuple.Create("\"", 974)

            #line 25 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 940), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("Name"))

            #line default
            #line hidden
                                                                                                            , 940), false)
                           );

            WriteLiteral(">名称</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1027), Tuple.Create("\"", 1075)

            #line 26 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1034), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("DisplayName"))

            #line default
            #line hidden
                                                                                                             , 1034), false)
                           );

            WriteLiteral(">显示名</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral(" title=\"密钥。AppSecret\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1150), Tuple.Create("\"", 1193)

            #line 27 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1157), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("Secret"))

            #line default
            #line hidden
                                                                                                             , 1157), false)
                           );

            WriteLiteral(">密钥</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1246), Tuple.Create("\"", 1287)

            #line 28 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1253), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("Urls"))

            #line default
            #line hidden
                                                                                                             , 1253), false)
                           );

            WriteLiteral(">回调地址</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1342), Tuple.Create("\"", 1385)

            #line 29 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1349), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("Enable"))

            #line default
            #line hidden
                                                                                                             , 1349), false)
                           );

            WriteLiteral(">启用</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1438), Tuple.Create("\"", 1480)

            #line 30 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1445), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("Auths"))

            #line default
            #line hidden
                                                                                                             , 1445), false)
                           );

            WriteLiteral(">次数</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral(" style=\"min-width:134px;\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1558), Tuple.Create("\"", 1603)

            #line 31 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1565), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("LastAuth"))

            #line default
            #line hidden
                                                                                                             , 1565), false)
                           );

            WriteLiteral(">最后请求</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1658), Tuple.Create("\"", 1707)

            #line 32 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1665), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("UpdateUserID"))

            #line default
            #line hidden
                                                                                                             , 1665), false)
                           );

            WriteLiteral(">更新者</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral(" style=\"min-width:134px;\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1786), Tuple.Create("\"", 1833)

            #line 33 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1793), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("UpdateTime"))

            #line default
            #line hidden
                                                                                                             , 1793), false)
                           );

            WriteLiteral(">更新时间</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1888), Tuple.Create("\"", 1933)

            #line 34 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1895), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("UpdateIP"))

            #line default
            #line hidden
                                                                                                             , 1895), false)
                           );

            WriteLiteral(">更新地址</a></th>\r\n");


            #line 35 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"


            #line default
            #line hidden

            #line 35 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
            if (this.Has(PermissionFlags.Detail, PermissionFlags.Update, PermissionFlags.Delete))
            {
            #line default
            #line hidden
                WriteLiteral("                <th");

                WriteLiteral(" class=\"text-center\"");

                WriteLiteral(" style=\"min-width:100px;\"");

                WriteLiteral(">操作</th>\r\n");


            #line 38 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("        </tr>\r\n    </thead>\r\n    <tbody>\r\n");


            #line 42 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"


            #line default
            #line hidden

            #line 42 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
            foreach (var entity in Model)
            {
            #line default
            #line hidden
                WriteLiteral("            <tr>\r\n");


            #line 45 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"


            #line default
            #line hidden

            #line 45 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                if (enableSelect)
                {
            #line default
            #line hidden
                    WriteLiteral("                    <td");

                    WriteLiteral(" class=\"text-center\"");

                    WriteLiteral("><input");

                    WriteLiteral(" type=\"checkbox\"");

                    WriteLiteral(" name=\"keys\"");

                    WriteAttribute("value", Tuple.Create(" value=\"", 2398), Tuple.Create("\"", 2416)

            #line 47 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                                   , Tuple.Create(Tuple.Create("", 2406), Tuple.Create <System.Object, System.Int32>(entity.ID

            #line default
            #line hidden
                                                                                                                     , 2406), false)
                                   );

                    WriteLiteral(" /></td>\r\n");


            #line 48 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                }


            #line default
            #line hidden
                WriteLiteral("                <td");

                WriteLiteral(" class=\"text-center hidden-md hidden-sm hidden-xs\"");

                WriteLiteral(">");


            #line 49 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                Write(entity.ID);


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td>");


            #line 50 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                Write(entity.Name);


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td>");


            #line 51 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                Write(entity.DisplayName);


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td>");


            #line 52 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                Write(entity.Secret);


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td>");


            #line 53 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                Write(entity.Urls);


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td");

                WriteLiteral(" class=\"text-center\"");

                WriteLiteral(">\r\n                    <i");

                WriteAttribute("class", Tuple.Create(" class=\"", 2762), Tuple.Create("\"", 2824)
                               , Tuple.Create(Tuple.Create("", 2770), Tuple.Create("glyphicon", 2770), true)
                               , Tuple.Create(Tuple.Create(" ", 2779), Tuple.Create("glyphicon-", 2780), true)

            #line 55 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                               , Tuple.Create(Tuple.Create("", 2790), Tuple.Create <System.Object, System.Int32>(entity.Enable ? "ok" : "remove"

            #line default
            #line hidden
                                                                                                                 , 2790), false)
                               );

                WriteAttribute("style", Tuple.Create(" style=\"", 2825), Tuple.Create("\"", 2875)
                               , Tuple.Create(Tuple.Create("", 2833), Tuple.Create("color:", 2833), true)

            #line 55 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                               , Tuple.Create(Tuple.Create(" ", 2839), Tuple.Create <System.Object, System.Int32>(entity.Enable ? "green" : "red"

            #line default
            #line hidden
                                                                                                                  , 2840), false)
                               , Tuple.Create(Tuple.Create("", 2874), Tuple.Create(";", 2874), true)
                               );

                WriteLiteral("></i>\r\n                </td>\r\n                <td");

                WriteLiteral(" class=\"text-right\"");

                WriteLiteral(">");


            #line 57 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                Write(entity.Auths.ToString("n0"));


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td>");


            #line 58 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                Write(entity.LastAuth.ToFullString(""));


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td");

                WriteLiteral(" class=\"text-right\"");

                WriteLiteral(">");


            #line 59 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                Write(UserX.FindByID(entity.UpdateUserID));


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td>");


            #line 60 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                Write(entity.UpdateTime.ToFullString(""));


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td");

                WriteAttribute("title", Tuple.Create(" title=\"", 3203), Tuple.Create("\"", 3241)

            #line 61 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                               , Tuple.Create(Tuple.Create("", 3211), Tuple.Create <System.Object, System.Int32>(entity.UpdateIP.IPToAddress()

            #line default
            #line hidden
                                                                                                                 , 3211), false)
                               );

                WriteLiteral(">");


            #line 61 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                Write(entity.UpdateIP);


            #line default
            #line hidden
                WriteLiteral("</td>\r\n");


            #line 62 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"


            #line default
            #line hidden

            #line 62 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                if (this.Has(PermissionFlags.Detail, PermissionFlags.Update, PermissionFlags.Delete))
                {
            #line default
            #line hidden
                    WriteLiteral("                    <td");

                    WriteLiteral(" class=\"text-center\"");

                    WriteLiteral(">\r\n");

                    WriteLiteral("                        ");


            #line 65 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                    Write(Html.Partial("_List_Data_Action", (Object)entity));


            #line default
            #line hidden
                    WriteLiteral("\r\n                    </td>\r\n");


            #line 67 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
                }


            #line default
            #line hidden
                WriteLiteral("            </tr>\r\n");


            #line 69 "..\..\Areas\Admin\Views\App\_List_Data.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("    </tbody>\r\n</table>");
        }
        public override void Execute()
        {
            #line 5 "..\..\Views\Shared\_SelectUser.cshtml"

            var id   = (Object)Model + "";
            var page = ViewBag.Page as Pager;

            if (id.IsNullOrEmpty())
            {
                id = "userId";
            }
            var userId    = page[id];
            var showValue = UserX.FindByID(userId.ToInt()) + "";


            #line default
            #line hidden
            WriteLiteral("\r\n\r\n<div");

            WriteLiteral(" class=\"form-group\"");

            WriteLiteral(" style=\"position:relative\"");

            WriteLiteral(">\r\n    <div");

            WriteLiteral(" class=\"col-lg-12\"");

            WriteLiteral(">\r\n        <div");

            WriteLiteral(" class=\"input-group\"");

            WriteLiteral(">\r\n            <input");

            WriteLiteral(" type=\"hidden\"");

            WriteAttribute("name", Tuple.Create(" name=\"", 440), Tuple.Create("\"", 450)

            #line 17 "..\..\Views\Shared\_SelectUser.cshtml"
                           , Tuple.Create(Tuple.Create("", 447), Tuple.Create <System.Object, System.Int32>(id

            #line default
            #line hidden
                                                                                                            , 447), false)
                           );

            WriteAttribute("id", Tuple.Create(" id=\"", 451), Tuple.Create("\"", 459)

            #line 17 "..\..\Views\Shared\_SelectUser.cshtml"
                           , Tuple.Create(Tuple.Create("", 456), Tuple.Create <System.Object, System.Int32>(id

            #line default
            #line hidden
                                                                                                            , 456), false)
                           );

            WriteAttribute("value", Tuple.Create(" value=\"", 460), Tuple.Create("\"", 475)

            #line 17 "..\..\Views\Shared\_SelectUser.cshtml"
                           , Tuple.Create(Tuple.Create("", 468), Tuple.Create <System.Object, System.Int32>(userId

            #line default
            #line hidden
                                                                                                            , 468), false)
                           );

            WriteLiteral(" />\r\n            <input");

            WriteLiteral(" type=\"text\"");

            WriteLiteral(" class=\"form-control\"");

            WriteAttribute("id", Tuple.Create(" id=\"", 532), Tuple.Create("\"", 549)

            #line 18 "..\..\Views\Shared\_SelectUser.cshtml"
                           , Tuple.Create(Tuple.Create("", 537), Tuple.Create <System.Object, System.Int32>(id

            #line default
            #line hidden
                                                                                                            , 537), false)
                           , Tuple.Create(Tuple.Create("", 542), Tuple.Create("_select", 542), true)
                           );

            WriteLiteral(" placeholder=\"搜索用户\"");

            WriteAttribute("value", Tuple.Create(" value=\"", 569), Tuple.Create("\"", 587)

            #line 18 "..\..\Views\Shared\_SelectUser.cshtml"
                           , Tuple.Create(Tuple.Create("", 577), Tuple.Create <System.Object, System.Int32>(showValue

            #line default
            #line hidden
                                                                                                            , 577), false)
                           );

            WriteLiteral(">\r\n            <div");

            WriteLiteral(" class=\"input-group-btn\"");

            WriteLiteral(">\r\n                <ul");

            WriteLiteral(" class=\"dropdown-menu dropdown-menu-right\"");

            WriteLiteral(" role=\"menu\"");

            WriteLiteral("></ul>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n<script");

            WriteAttribute("src", Tuple.Create(" src=\"", 780), Tuple.Create("\"", 816)
                           , Tuple.Create(Tuple.Create("", 786), Tuple.Create <System.Object, System.Int32>(Href("~/Content/bootstrap-suggest.js")
                                                                                                            , 786), false)
                           );

            WriteLiteral("></script>\r\n<script");

            WriteLiteral(" type=\"text/javascript\"");

            WriteLiteral(">\r\n    $(function () {\r\n        $(\"#");


            #line 29 "..\..\Views\Shared\_SelectUser.cshtml"
            Write(id);


            #line default
            #line hidden
            WriteLiteral(@"_select"").bsSuggest({
            url: ""/cube/UserSearch?key="",
            getDataMethod:""url"",
            effectiveFieldsAlias: { ID:""编号"",Code:""代码"",Name: ""名称"",DisplayName:'昵称',DepartmentName:'部门'},
            ignorecase: true,
            showHeader: true,
            delayUntilKeyup: true, //获取数据的方式为 firstByUrl 时,延迟到有输入/获取到焦点时才请求数据
            hideOnSelect: true,
            idField: ""ID"",
            showBtn: false,
            keyField: ""Name"",
            clearable: true,
            searchingTip: '搜索中...',
            allowNoKeyword: true,
            delay: 500,
            emptyTip: '无数据',
            containerValueId: '");


            #line 45 "..\..\Views\Shared\_SelectUser.cshtml"
            Write(id);


            #line default
            #line hidden
            WriteLiteral("\',\r\n            fnProcessData: function (result) {\r\n                dt = {};\r\n   " +
                         "             dt.value = result.data;\r\n                return dt;\r\n            }\r" +
                         "\n        }).on(\'onSetSelectValue\', function (e, keyword, data) {\r\n            $(" +
                         "\'#");


            #line 52 "..\..\Views\Shared\_SelectUser.cshtml"
            Write(id);


            #line default
            #line hidden
            WriteLiteral("\').val(keyword.id);\r\n        }).on(\'onUnsetSelectValue\', function () {\r\n         " +
                         "   $(\'#");


            #line 54 "..\..\Views\Shared\_SelectUser.cshtml"
            Write(id);


            #line default
            #line hidden
            WriteLiteral("\').val(\'\');\r\n        });\r\n    });\r\n</script>");
        }
        public override void Execute()
        {
            #line 11 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"

            var fact         = ViewBag.Factory as IEntityOperate;
            var page         = ViewBag.Page as Pager;
            var fields       = ViewBag.Fields as IList <FieldItem>;
            var enableSelect = this.EnableSelect();
            var provider     = ManageProvider.Provider;


            #line default
            #line hidden
            WriteLiteral("\r\n<table");

            WriteLiteral(" class=\"table table-bordered table-hover table-striped table-condensed\"");

            WriteLiteral(">\r\n    <thead>\r\n        <tr>\r\n");


            #line 21 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"


            #line default
            #line hidden

            #line 21 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
            if (enableSelect)
            {
            #line default
            #line hidden
                WriteLiteral("                <th");

                WriteLiteral(" class=\"text-center\"");

                WriteLiteral(" style=\"width:10px;\"");

                WriteLiteral("><input");

                WriteLiteral(" type=\"checkbox\"");

                WriteLiteral(" id=\"chkAll\"");

                WriteLiteral(" title=\"全选\"");

                WriteLiteral(" /></th>\r\n");


            #line 24 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("            <th");

            WriteLiteral(" class=\"text-center hidden-md hidden-sm hidden-xs\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 849), Tuple.Create("\"", 888)

            #line 25 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 856), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("ID"))

            #line default
            #line hidden
                                                                                                            , 856), false)
                           );

            WriteLiteral(">编号</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 941), Tuple.Create("\"", 983)

            #line 26 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 948), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("AppID"))

            #line default
            #line hidden
                                                                                                            , 948), false)
                           );

            WriteLiteral(">应用</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1036), Tuple.Create("\"", 1079)

            #line 27 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1043), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("Action"))

            #line default
            #line hidden
                                                                                                             , 1043), false)
                           );

            WriteLiteral(">操作</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1132), Tuple.Create("\"", 1177)

            #line 28 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1139), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl(" Success"))

            #line default
            #line hidden
                                                                                                             , 1139), false)
                           );

            WriteLiteral(">成功</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral(">内容</th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1275), Tuple.Create("\"", 1324)

            #line 30 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1282), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("CreateUserID"))

            #line default
            #line hidden
                                                                                                             , 1282), false)
                           );

            WriteLiteral(">创建者</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1378), Tuple.Create("\"", 1423)

            #line 31 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1385), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("CreateIP"))

            #line default
            #line hidden
                                                                                                             , 1385), false)
                           );

            WriteLiteral(">IP地址</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral(" style=\"min-width:134px;\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1503), Tuple.Create("\"", 1550)

            #line 32 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1510), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("CreateTime"))

            #line default
            #line hidden
                                                                                                             , 1510), false)
                           );

            WriteLiteral(">时间</a></th>\r\n");


            #line 33 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"


            #line default
            #line hidden

            #line 33 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
            if (this.Has(PermissionFlags.Detail, PermissionFlags.Update, PermissionFlags.Delete))
            {
            #line default
            #line hidden
                WriteLiteral("                <th");

                WriteLiteral(" class=\"text-center\"");

                WriteLiteral(" style=\"min-width:100px;\"");

                WriteLiteral(">操作</th>\r\n");


            #line 36 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("        </tr>\r\n    </thead>\r\n    <tbody>\r\n");


            #line 40 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"


            #line default
            #line hidden

            #line 40 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
            foreach (var entity in Model)
            {
            #line default
            #line hidden
                WriteLiteral("            <tr>\r\n");


            #line 43 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"


            #line default
            #line hidden

            #line 43 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                if (enableSelect)
                {
            #line default
            #line hidden
                    WriteLiteral("                    <td");

                    WriteLiteral(" class=\"text-center\"");

                    WriteLiteral("><input");

                    WriteLiteral(" type=\"checkbox\"");

                    WriteLiteral(" name=\"keys\"");

                    WriteAttribute("value", Tuple.Create(" value=\"", 2013), Tuple.Create("\"", 2031)

            #line 45 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                                   , Tuple.Create(Tuple.Create("", 2021), Tuple.Create <System.Object, System.Int32>(entity.ID

            #line default
            #line hidden
                                                                                                                     , 2021), false)
                                   );

                    WriteLiteral(" /></td>\r\n");


            #line 46 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                }


            #line default
            #line hidden
                WriteLiteral("                <td");

                WriteLiteral(" class=\"text-center hidden-md hidden-sm hidden-xs\"");

                WriteLiteral(">");


            #line 47 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                Write(entity.ID);


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td><a");

                WriteAttribute("href", Tuple.Create(" href=\"", 2170), Tuple.Create("\"", 2197)
                               , Tuple.Create(Tuple.Create("", 2177), Tuple.Create("App?ID=", 2177), true)

            #line 48 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                               , Tuple.Create(Tuple.Create("", 2184), Tuple.Create <System.Object, System.Int32>(entity.AppID

            #line default
            #line hidden
                                                                                                                 , 2184), false)
                               );

                WriteLiteral(">");


            #line 48 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                Write(entity.AppName);


            #line default
            #line hidden
                WriteLiteral("</a></td>\r\n                <td>");


            #line 49 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                Write(entity.Action);


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td");

                WriteLiteral(" class=\"text-center\"");

                WriteLiteral(">\r\n                    <i");

                WriteAttribute("class", Tuple.Create(" class=\"", 2330), Tuple.Create("\"", 2393)
                               , Tuple.Create(Tuple.Create("", 2338), Tuple.Create("glyphicon", 2338), true)
                               , Tuple.Create(Tuple.Create(" ", 2347), Tuple.Create("glyphicon-", 2348), true)

            #line 51 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                               , Tuple.Create(Tuple.Create("", 2358), Tuple.Create <System.Object, System.Int32>(entity.Success ? "ok" : "remove"

            #line default
            #line hidden
                                                                                                                 , 2358), false)
                               );

                WriteAttribute("style", Tuple.Create(" style=\"", 2394), Tuple.Create("\"", 2445)
                               , Tuple.Create(Tuple.Create("", 2402), Tuple.Create("color:", 2402), true)

            #line 51 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                               , Tuple.Create(Tuple.Create(" ", 2408), Tuple.Create <System.Object, System.Int32>(entity.Success ? "green" : "red"

            #line default
            #line hidden
                                                                                                                  , 2409), false)
                               , Tuple.Create(Tuple.Create("", 2444), Tuple.Create(";", 2444), true)
                               );

                WriteLiteral("></i>\r\n                </td>\r\n                <td");

                WriteLiteral(" style=\"max-width:600px;overflow:hidden;white-space: nowrap;text-overflow: ellips" +
                             "is;\"");

                WriteAttribute("title", Tuple.Create(" title=\"", 2580), Tuple.Create("\"", 2602)

            #line 53 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                               , Tuple.Create(Tuple.Create("", 2588), Tuple.Create <System.Object, System.Int32>(entity.Remark

            #line default
            #line hidden
                                                                                                                 , 2588), false)
                               );

                WriteLiteral(">");


            #line 53 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                Write(entity.Remark);


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td");

                WriteLiteral(" class=\"text-right\"");

                WriteLiteral(">");


            #line 54 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                Write(UserX.FindByID(entity.CreateUserID));


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td");

                WriteAttribute("title", Tuple.Create(" title=\"", 2726), Tuple.Create("\"", 2764)

            #line 55 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                               , Tuple.Create(Tuple.Create("", 2734), Tuple.Create <System.Object, System.Int32>(entity.CreateIP.IPToAddress()

            #line default
            #line hidden
                                                                                                                 , 2734), false)
                               );

                WriteLiteral(">");


            #line 55 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                Write(entity.CreateIP);


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td>");


            #line 56 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                Write(entity.CreateTime.ToFullString(""));


            #line default
            #line hidden
                WriteLiteral("</td>\r\n");


            #line 57 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"


            #line default
            #line hidden

            #line 57 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                if (this.Has(PermissionFlags.Detail, PermissionFlags.Update, PermissionFlags.Delete))
                {
            #line default
            #line hidden
                    WriteLiteral("                    <td");

                    WriteLiteral(" class=\"text-center\"");

                    WriteLiteral(">\r\n");

                    WriteLiteral("                        ");


            #line 60 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                    Write(Html.Partial("_List_Data_Action", (Object)entity));


            #line default
            #line hidden
                    WriteLiteral("\r\n                    </td>\r\n");


            #line 62 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                }


            #line default
            #line hidden
                WriteLiteral("            </tr>\r\n");


            #line 64 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("    </tbody>\r\n</table>");
        }
        public override void Execute()
        {
            #line 10 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"

            var fact     = ViewBag.Factory as IEntityFactory;
            var page     = ViewBag.Page as Pager;
            var fields   = ViewBag.Fields as IList <FieldItem>;
            var set      = ViewBag.PageSetting as PageSetting;
            var provider = ManageProvider.Provider;


            #line default
            #line hidden
            WriteLiteral("\r\n<table");

            WriteLiteral(" class=\"table table-bordered table-hover table-striped table-condensed\"");

            WriteLiteral(">\r\n    <thead>\r\n        <tr>\r\n");


            #line 20 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"


            #line default
            #line hidden

            #line 20 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
            if (set.EnableSelect)
            {
            #line default
            #line hidden
                WriteLiteral("                <th");

                WriteLiteral(" class=\"text-center\"");

                WriteLiteral(" style=\"width:10px;\"");

                WriteLiteral("><input");

                WriteLiteral(" type=\"checkbox\"");

                WriteLiteral(" id=\"chkAll\"");

                WriteLiteral(" title=\"全选\"");

                WriteLiteral(" /></th>\r\n");


            #line 23 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 807), Tuple.Create("\"", 846)

            #line 24 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 814), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("ID"))

            #line default
            #line hidden
                                                                                                            , 814), false)
                           );

            WriteLiteral(">编号</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 899), Tuple.Create("\"", 941)

            #line 25 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 906), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("AppID"))

            #line default
            #line hidden
                                                                                                            , 906), false)
                           );

            WriteLiteral(">应用</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 994), Tuple.Create("\"", 1037)

            #line 26 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1001), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("Action"))

            #line default
            #line hidden
                                                                                                             , 1001), false)
                           );

            WriteLiteral(">操作</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1090), Tuple.Create("\"", 1135)

            #line 27 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1097), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl(" Success"))

            #line default
            #line hidden
                                                                                                             , 1097), false)
                           );

            WriteLiteral(">成功</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral(">内容</th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1233), Tuple.Create("\"", 1282)

            #line 29 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1240), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("CreateUserID"))

            #line default
            #line hidden
                                                                                                             , 1240), false)
                           );

            WriteLiteral(">创建者</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1336), Tuple.Create("\"", 1381)

            #line 30 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1343), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("CreateIP"))

            #line default
            #line hidden
                                                                                                             , 1343), false)
                           );

            WriteLiteral(">IP地址</a></th>\r\n            <th");

            WriteLiteral(" class=\"text-center\"");

            WriteLiteral(" style=\"min-width:134px;\"");

            WriteLiteral("><a");

            WriteAttribute("href", Tuple.Create(" href=\"", 1461), Tuple.Create("\"", 1508)

            #line 31 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                           , Tuple.Create(Tuple.Create("", 1468), Tuple.Create <System.Object, System.Int32>(Html.Raw(page.GetSortUrl("CreateTime"))

            #line default
            #line hidden
                                                                                                             , 1468), false)
                           );

            WriteLiteral(">时间</a></th>\r\n");


            #line 32 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"


            #line default
            #line hidden

            #line 32 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
            if (this.Has(PermissionFlags.Detail, PermissionFlags.Update, PermissionFlags.Delete))
            {
            #line default
            #line hidden
                WriteLiteral("                <th");

                WriteLiteral(" class=\"text-center\"");

                WriteLiteral(">操作</th>\r\n");


            #line 35 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("        </tr>\r\n    </thead>\r\n    <tbody>\r\n");


            #line 39 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"


            #line default
            #line hidden

            #line 39 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
            foreach (var entity in Model)
            {
            #line default
            #line hidden
                WriteLiteral("            <tr>\r\n");


            #line 42 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"


            #line default
            #line hidden

            #line 42 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                if (set.EnableSelect)
                {
            #line default
            #line hidden
                    WriteLiteral("                    <td");

                    WriteLiteral(" class=\"text-center\"");

                    WriteLiteral("><input");

                    WriteLiteral(" type=\"checkbox\"");

                    WriteLiteral(" name=\"keys\"");

                    WriteAttribute("value", Tuple.Create(" value=\"", 1950), Tuple.Create("\"", 1968)

            #line 44 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                                   , Tuple.Create(Tuple.Create("", 1958), Tuple.Create <System.Object, System.Int32>(entity.ID

            #line default
            #line hidden
                                                                                                                     , 1958), false)
                                   );

                    WriteLiteral(" /></td>\r\n");


            #line 45 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                }


            #line default
            #line hidden
                WriteLiteral("                <td");

                WriteLiteral(" class=\"text-center\"");

                WriteLiteral(">");


            #line 46 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                Write(entity.ID);


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td><a");

                WriteAttribute("href", Tuple.Create(" href=\"", 2077), Tuple.Create("\"", 2104)
                               , Tuple.Create(Tuple.Create("", 2084), Tuple.Create("App?ID=", 2084), true)

            #line 47 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                               , Tuple.Create(Tuple.Create("", 2091), Tuple.Create <System.Object, System.Int32>(entity.AppID

            #line default
            #line hidden
                                                                                                                 , 2091), false)
                               );

                WriteLiteral(">");


            #line 47 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                Write(entity.AppName);


            #line default
            #line hidden
                WriteLiteral("</a></td>\r\n                <td>");


            #line 48 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                Write(entity.Action);


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td");

                WriteLiteral(" class=\"text-center\"");

                WriteLiteral(">\r\n                    <i");

                WriteAttribute("class", Tuple.Create(" class=\"", 2237), Tuple.Create("\"", 2300)
                               , Tuple.Create(Tuple.Create("", 2245), Tuple.Create("glyphicon", 2245), true)
                               , Tuple.Create(Tuple.Create(" ", 2254), Tuple.Create("glyphicon-", 2255), true)

            #line 50 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                               , Tuple.Create(Tuple.Create("", 2265), Tuple.Create <System.Object, System.Int32>(entity.Success ? "ok" : "remove"

            #line default
            #line hidden
                                                                                                                 , 2265), false)
                               );

                WriteAttribute("style", Tuple.Create(" style=\"", 2301), Tuple.Create("\"", 2352)
                               , Tuple.Create(Tuple.Create("", 2309), Tuple.Create("color:", 2309), true)

            #line 50 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                               , Tuple.Create(Tuple.Create(" ", 2315), Tuple.Create <System.Object, System.Int32>(entity.Success ? "green" : "red"

            #line default
            #line hidden
                                                                                                                  , 2316), false)
                               , Tuple.Create(Tuple.Create("", 2351), Tuple.Create(";", 2351), true)
                               );

                WriteLiteral("></i>\r\n                </td>\r\n                <td");

                WriteLiteral(" style=\"max-width:600px;overflow:hidden;white-space: nowrap;text-overflow: ellips" +
                             "is;\"");

                WriteAttribute("title", Tuple.Create(" title=\"", 2487), Tuple.Create("\"", 2509)

            #line 52 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                               , Tuple.Create(Tuple.Create("", 2495), Tuple.Create <System.Object, System.Int32>(entity.Remark

            #line default
            #line hidden
                                                                                                                 , 2495), false)
                               );

                WriteLiteral(">");


            #line 52 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                Write(entity.Remark);


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td");

                WriteLiteral(" class=\"text-right\"");

                WriteLiteral(">");


            #line 53 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                Write(UserX.FindByID(entity.CreateUserID));


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td");

                WriteAttribute("title", Tuple.Create(" title=\"", 2633), Tuple.Create("\"", 2671)

            #line 54 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                               , Tuple.Create(Tuple.Create("", 2641), Tuple.Create <System.Object, System.Int32>(entity.CreateIP.IPToAddress()

            #line default
            #line hidden
                                                                                                                 , 2641), false)
                               );

                WriteLiteral(">");


            #line 54 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                Write(entity.CreateIP);


            #line default
            #line hidden
                WriteLiteral("</td>\r\n                <td>");


            #line 55 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                Write(entity.CreateTime.ToFullString(""));


            #line default
            #line hidden
                WriteLiteral("</td>\r\n");


            #line 56 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"


            #line default
            #line hidden

            #line 56 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                if (this.Has(PermissionFlags.Detail, PermissionFlags.Update, PermissionFlags.Delete))
                {
            #line default
            #line hidden
                    WriteLiteral("                    <td");

                    WriteLiteral(" class=\"text-center\"");

                    WriteLiteral(">\r\n");

                    WriteLiteral("                        ");


            #line 59 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                    Write(Html.Partial("_List_Data_Action", (Object)entity));


            #line default
            #line hidden
                    WriteLiteral("\r\n                    </td>\r\n");


            #line 61 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
                }


            #line default
            #line hidden
                WriteLiteral("            </tr>\r\n");


            #line 63 "..\..\Areas\Admin\Views\AppLog\_List_Data.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("    </tbody>\r\n</table>");
        }