@using VberAdmin.Web.Models.Table @using Microsoft.AspNetCore.Mvc.Rendering @using VberAdmin.Web.Models.Modals @using VberAdmin.Web.Models.Search @using VberZero @{ //ViewBag.Title = L("StateTitle"); ViewBag.Title = "工作流程信息维护"; string activeMenu = PermissionNames.VberSystemMgWorkflowMg; //The menu item will be active for this page. ViewBag.ActiveMenu = activeMenu; var table = new VmTable(VzConsts.ApiAppUrl + "Workflow/GetAll", activeMenu, new VmSearch(new List() { //new SearchItem("dd", L("stateName")).SetSearchIcon("q_u","ddd"), //new SearchItem("ff", L("stateName")).SetSelectItem("").SetSearchIcon("q_u","fff"), //new SearchItem("name1", L("stateName"),FieldType.D), new VmSearchItem("id", "流程编号"), new VmSearchItem("title", "流程名称") })).AddItems(new List() { new("id", "流程编号"), new("title", "流程名称"), new VmTableItem("", "操作").WithFormatter("ActionsFormatter"), }); //var modalBody = new VmModalBody() // .AddInputs(new List() // { // new VmInputHidden("id"), // }) // .AddInput(new VmInput("displayValue", L("displayValue"))) // .AddGroup(new List() // { // new VmInput("name", L("stateName")).WithDisabled(), // new VmInput("codeKey", L("codeKey")).WithDisabled(), // new VmInput("codeValue", L("codeValue")).WithDisabled(), // }, 3); //var modal = new VmModal().WithHeaderAndFooter(L("state"), "").WithBody(modalBody); var modal = new VmModal().WithHeaderAndFooter("流程测试").WithBody("
"); } @await Html.PartialAsync("_Table", table) @await Html.PartialAsync("_Modal", modal) @section scripts { @**@ }