@using WePlatform @using WePlatform.Configuration @using WePlatform.Authorization @using WePlatform.Views.Shared.Modals @using WePlatform.Views.Shared.SearchForm @using WePlatform.Views.Shared.Table @{ ViewBag.Title = "推演引擎事务组件"; string activeMenu = PermissionNames.PagesEngineModelMgEngineComponentMg; //The menu item will be active for this page. ViewBag.ActiveMenu = activeMenu; var searchForm = new SearchFormViewModel(new List() { new SearchItem("name","组件名称"), },"search-form",false); var table = new TableViewModel(IwbConsts.ApiAppUrl + "EngineComponent/GetAll", activeMenu, searchForm) .SetFields(new List() { new FieldItem("name", "组件名称"), new FieldItem("parameters", "参数映射"), new FieldItem("description", "事务描述"), new FieldItem("registerKey", "注册Key"), }); } @section css{ } @Html.Partial("Table/_Table", table) @section modal{ @{ var modal = new ModalViewModel("推演引擎事务组件", new ModalBodyViewModel(new List() { new InputHide("id"), new Input("name", "组件名称").SetNotRequired(), new Input("parameters", "参数映射").SetNotRequired(), new InputTextarea("description", "事务描述").SetNotRequired(), new InputTextarea("componentScript", "事务逻辑").SetNotRequired(), new Input("componentClass", "类全名").SetNotRequired(), new Input("componentLib", "程序集").SetNotRequired(), new Input("registerKey", "注册Key").SetNotRequired(), })); } @Html.Partial("Modals/_Modal", modal) } @section scripts { }
@*@Html.DropDownList("hid-type", type)*@