@using WePlatform.Configuration @using WePlatform.Authorization @using WePlatform.Views.Shared.Modals @using WePlatform.Views.Shared.Query @using WePlatform.Views.Shared.SearchForm @using WePlatform.Views.Shared.Table @{ ViewBag.Title = "演练情景流策划"; string activeMenu = PermissionNames.PagesWePlayerMgFlowMg; //The menu item will be active for this page. ViewBag.ActiveMenu = activeMenu; string category = ViewBag.Category, sceneType = ViewBag.SceneType, guideType = ViewBag.GuideType, flowState = "请选择情景流状态...新建已固化"; var searchForm = new SearchFormViewModel(new List() { new SearchItem("flowName","流名称"), //new SearchItem("sceneCategory","场景类别").SetSelectItem(category,isTree:true), new SearchItem("sceneFlowState","流状态",FieldType.I).SetSelectItem(flowState), }); var table = new TableViewModel(IwbConsts.ApiAppUrl + "SceneFlow/GetAll", activeMenu, searchForm) .SetFields(new List() { new FieldItem("id", "编码"), new FieldItem("flowName", "情景流名称"), new FieldItem("sceneCategoryName", "类别名称",isSort:false), //new FieldItem("sceneFlowState", "情景流状态","FlowStateFormatter"), }); } @section css{ } 场景类别 @Html.Partial("Table/_Table", table) @section modal{ @Html.Partial("Modals/_ModalHeader", new ModalHeaderViewModel("情景流")) 情景流名称 场景类别 @(Html.Raw(category)) @Html.Partial("Modals/_ModalFooter", "0") @Html.Partial("_FlowNode","flow") @Html.Partial("Query/_SceneInfo", new QueryWithSelect("sceneNos,sceneNames,variables", new Dictionary { ["sceneCategory"] = category, ["sceneType"] = sceneType, })) @Html.Partial("Query/_GuideInfo", new QueryWithSelect("guideNos,guideNames", new Dictionary() { ["guideType"] = guideType })) @{ var solidifyModal = new ModalViewModel("固化情景流", "", new ModalBodyViewModel(new List { new InputHide("id"), new Input("newName","固化名称"), }, "form-solidify"), "modal-solidify"); } @Html.Partial("Modals/_Modal",solidifyModal) } @section scripts { } @(Html.Raw(flowState)) @(Html.Raw(guideType)) @*@Html.DropDownList("hid-type", type)*@ @* *@