@using Abp.Extensions @using ShwasherSys @using ShwasherSys.Models.Modal @model QueryParamModel @{ string originFiled = "id,customerName"; //targetFiled = string.IsNullOrEmpty(Model) ? originFiled : Model; string targetFiled = Model.TargetDom; string modalId = Model.ModalId.IsNullOrWhiteSpace() ? "query_customer_modal" : Model.ModalId; List queryItems = new List() { new QueryItem("id","客户编号",true), new QueryItem("customerName","客户名称",true), new QueryItem("fax","传真电话"), new QueryItem("linkMan","联系人"), new QueryItem("telephone","联系电话") }; QueryModalModel qmModel = new QueryModalModel("客户信息", "/api/services/app/Query/GetCustomer", queryItems, originFiled, targetFiled, modalId: modalId, submitEx:Model.SubmitEx); } @Html.Partial("Modals/Query/_QueryModal", qmModel)