| 1234567891011121314151617181920212223242526272829303132 |
- @using ContractService.Configuration
- @using ContractService.Helpers
- @using ContractService.Views.Shared.Query
- @model QuerySearchModel
- @{
- string originFiled = "id,name,userName",
- modalId = "query_lawyer",
- modalName = "律所信息",
- url = IwbConsts.ApiAppUrl + "/Query/QueryLawFirm";
- List<QueryItem> queryItems = new List<QueryItem>()
- {
- new QueryItem("name", "律所名称",true),
- new QueryItem("displayName", "系统显示名称",true),
- new QueryItem("masterLawyerName", "律所负责人"),
- };
- originFiled = string.IsNullOrEmpty(Model.OriginField) ? originFiled : Model.OriginField;
- modalId = string.IsNullOrEmpty(Model.ModalId) ? modalId : Model.ModalId;
- modalName = string.IsNullOrEmpty(Model.ModalName) ? modalName : Model.ModalName;
- QueryViewModel qmModel = new QueryViewModel(modalName, url, modalId, queryItems, originFiled, Model.TargetField, Model.AjaxSelectNameField, Model.SubmitEventName, Model.ItemDbClickEventName, Model.ItemClickEventName, Model.IsMultiple, Model.QueryTreeSearch, Model.SearchBindFun, Model.ModalWidth);
- }
- @Html.Partial("Query/_QueryModal", qmModel)
- @using (Html.BeginScripts())
- {
- @*<script>
- $(function() {
- if (window.query_modal_lawyer && window.query_modal_lawyer.nonUserName) {
- }
- })
- </script>*@
- }
|