@using VberAdmin.Web.Models.Table @using Microsoft.AspNetCore.Mvc.Rendering @using VberAdmin.Web.Models.Search @using VberZero @{ //ViewBag.Title = L("StateTitle"); ViewBag.Title = "我的工作流程审批"; string activeMenu = PermissionNames.VberMyWorkflowAuditMg; //The menu item will be active for this page. ViewBag.ActiveMenu = activeMenu; var table = new VmTable(VzConsts.ApiAppUrl + "WorkflowAudit/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("userName", "提交人"), new VmTableItem("creationTime", "提交时间","DateTimeFormatter").WithSort(), new("status", "审核状态","AuditStatusFormatter"), new("auditTime", "审核时间","DateTimeFormatter"), new("", "操作","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); } @await Html.PartialAsync("_Table", table)
申请详情:
申请人:
审批详情:
@section scripts { }