@using Learun.Application.Base.SystemModule @using Learun.Application.WorkFlow @{ ViewBag.Title = "统一信息门户"; Layout = "~/Views/SSOSystem/_LayoutSSOTwo.cshtml"; }
网上办事大厅
全部 @ViewBag.AllCount
@{ List flowtypelist = ViewBag.FlowType; List flowlist = ViewBag.FlowList; }
@foreach (var dataItemDetailEntity in flowtypelist) { }
@{ if (!string.IsNullOrEmpty(Request.QueryString["type"])) { flowtypelist = flowtypelist.Where(m => m.F_ItemValue == Request.QueryString["type"]).ToList(); } } @foreach (var list in flowtypelist) {
@{ var flowitem = flowlist.Where(m => m.F_Category == list.F_ItemValue).ToList(); if (!string.IsNullOrEmpty(Request.QueryString["keyword"])) { if (Request.QueryString["qt"] == "1") { flowitem = flowitem.Where(m => m.F_Name.Contains(Request.QueryString["keyword"])).ToList(); } else { flowitem = flowitem.Where(m => m.F_Code.Contains(Request.QueryString["keyword"])).ToList(); } } } @for (int j = 0; j < flowitem.Count; j++) { int m = 5; if (j < 5) { m = m - j; } else { m = 0; } @flowitem[j].F_Name 编号:@flowitem[j].F_Code @for (int k = 0; k < m; k++) { } @for (int n = 0; n < 5 - m; n++) { } }
}