下拉框新增搜索功能。
This commit is contained in:
parent
f6bcb45d9b
commit
f82a8df3af
@ -46,7 +46,7 @@
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">房屋状态</label>
|
||||
<div class="layui-input-block">
|
||||
<select name="houseStatus" id="houseStatus" lay-filter="houseStatus">
|
||||
<select name="houseStatus" id="houseStatus" lay-filter="houseStatus" lay-search>
|
||||
<option value="">请选择房屋状态</option>
|
||||
<option value="自住">自住</option>
|
||||
<option value="出租">出租</option>
|
||||
|
@ -35,7 +35,7 @@
|
||||
<label class="layui-form-label">性别<span style="color: red;vertical-align: middle;">*</span></label>
|
||||
<div class="layui-input-block layui-form" id="sexSelectTemplateBox" lay-filter="sexSelectTemplateBox"></div>
|
||||
<script id="sexSelectTemplate" type="text/html">
|
||||
<select id="sex" name="sex" lay-filter="sex" lay-verify="required">
|
||||
<select id="sex" name="sex" lay-filter="sex" lay-verify="required" lay-search>
|
||||
<option value="">请选择性别</option>
|
||||
{{# for(var i = 0, item; item = d[i++];) { }}
|
||||
<option value="{{item.dataId}},{{item.dataSummary}}">{{item.dataName}}</option>
|
||||
@ -51,7 +51,7 @@
|
||||
<label class="layui-form-label">民族<span style="color: red;vertical-align: middle;">*</span></label>
|
||||
<div class="layui-input-block layui-form" id="nationSelectTemplateBox" lay-filter="nationSelectTemplateBox"></div>
|
||||
<script id="nationSelectTemplate" type="text/html">
|
||||
<select id="nation" name="nation" lay-filter="nation" lay-verify="required">
|
||||
<select id="nation" name="nation" lay-filter="nation" lay-verify="required" lay-search>
|
||||
<option value="">请选择民族</option>
|
||||
{{# for(var i = 0, item; item = d[i++];) { }}
|
||||
<option value="{{item.dataId}},{{item.dataSummary}}">{{item.dataName}}</option>
|
||||
@ -65,7 +65,7 @@
|
||||
<label class="layui-form-label">政治面貌<span style="color: red;vertical-align: middle;">*</span></label>
|
||||
<div class="layui-input-block layui-form" id="outlookSelectTemplateBox" lay-filter="outlookSelectTemplateBox"></div>
|
||||
<script id="outlookSelectTemplate" type="text/html">
|
||||
<select id="outlook" name="outlook" lay-filter="outlook" lay-verify="required">
|
||||
<select id="outlook" name="outlook" lay-filter="outlook" lay-verify="required" lay-search>
|
||||
<option value="">请选择政治面貌</option>
|
||||
{{# for(var i = 0, item; item = d[i++];) { }}
|
||||
<option value="{{item.dataId}},{{item.dataSummary}}">{{item.dataName}}</option>
|
||||
@ -87,7 +87,7 @@
|
||||
<label class="layui-form-label">学历<span style="color: red;vertical-align: middle;">*</span></label>
|
||||
<div class="layui-input-block layui-form" id="educationSelectTemplateBox" lay-filter="educationSelectTemplateBox"></div>
|
||||
<script id="educationSelectTemplate" type="text/html">
|
||||
<select id="education" name="education" lay-filter="education" lay-verify="required">
|
||||
<select id="education" name="education" lay-filter="education" lay-verify="required" lay-search>
|
||||
<option value="">请选择学历</option>
|
||||
{{# for(var i = 0, item; item = d[i++];) { }}
|
||||
<option value="{{item.dataId}},{{item.dataSummary}}">{{item.dataName}}</option>
|
||||
|
@ -35,7 +35,7 @@
|
||||
<label class="layui-form-label">性别<span style="color: red;vertical-align: middle;">*</span></label>
|
||||
<div class="layui-input-block layui-form" id="sexSelectTemplateBox" lay-filter="sexSelectTemplateBox"></div>
|
||||
<script id="sexSelectTemplate" type="text/html">
|
||||
<select id="sex" name="sex" lay-filter="sex" lay-verify="required">
|
||||
<select id="sex" name="sex" lay-filter="sex" lay-verify="required" lay-search>
|
||||
<option value="">请选择性别</option>
|
||||
{{# for(var i = 0, item; item = d[i++];) { }}
|
||||
<option value="{{item.dataId}},{{item.dataSummary}}">{{item.dataName}}</option>
|
||||
@ -51,7 +51,7 @@
|
||||
<label class="layui-form-label">民族<span style="color: red;vertical-align: middle;">*</span></label>
|
||||
<div class="layui-input-block layui-form" id="nationSelectTemplateBox" lay-filter="nationSelectTemplateBox"></div>
|
||||
<script id="nationSelectTemplate" type="text/html">
|
||||
<select id="nation" name="nation" lay-filter="nation" lay-verify="required">
|
||||
<select id="nation" name="nation" lay-filter="nation" lay-verify="required" lay-search>
|
||||
<option value="">请选择民族</option>
|
||||
{{# for(var i = 0, item; item = d[i++];) { }}
|
||||
<option value="{{item.dataId}},{{item.dataSummary}}">{{item.dataName}}</option>
|
||||
@ -65,7 +65,7 @@
|
||||
<label class="layui-form-label">政治面貌<span style="color: red;vertical-align: middle;">*</span></label>
|
||||
<div class="layui-input-block layui-form" id="outlookSelectTemplateBox" lay-filter="outlookSelectTemplateBox"></div>
|
||||
<script id="outlookSelectTemplate" type="text/html">
|
||||
<select id="outlook" name="outlook" lay-filter="outlook" lay-verify="required">
|
||||
<select id="outlook" name="outlook" lay-filter="outlook" lay-verify="required" lay-search>
|
||||
<option value="">请选择政治面貌</option>
|
||||
{{# for(var i = 0, item; item = d[i++];) { }}
|
||||
<option value="{{item.dataId}},{{item.dataSummary}}">{{item.dataName}}</option>
|
||||
@ -87,7 +87,7 @@
|
||||
<label class="layui-form-label">学历<span style="color: red;vertical-align: middle;">*</span></label>
|
||||
<div class="layui-input-block layui-form" id="educationSelectTemplateBox" lay-filter="educationSelectTemplateBox"></div>
|
||||
<script id="educationSelectTemplate" type="text/html">
|
||||
<select id="education" name="education" lay-filter="education" lay-verify="required">
|
||||
<select id="education" name="education" lay-filter="education" lay-verify="required" lay-search>
|
||||
<option value="">请选择学历</option>
|
||||
{{# for(var i = 0, item; item = d[i++];) { }}
|
||||
<option value="{{item.dataId}},{{item.dataSummary}}">{{item.dataName}}</option>
|
||||
|
@ -43,7 +43,7 @@
|
||||
<label class="layui-form-label">所属网格<span style="color: red;vertical-align: middle;">*</span></label>
|
||||
<div class="layui-input-block layui-form" id="gridSelectTemplateBox" lay-filter="gridSelectTemplateBox"></div>
|
||||
<script id="gridSelectTemplate" type="text/html">
|
||||
<select id="grid" name="grid" lay-filter="grid" lay-verify="required">
|
||||
<select id="grid" name="grid" lay-filter="grid" lay-verify="required" lay-search>
|
||||
<option value="">请选择网格</option>
|
||||
{{# for(var i = 0, item; item = d[i++];) { }}
|
||||
<option value="{{item.gridId}}">{{item.gridName}}</option>
|
||||
|
@ -43,7 +43,7 @@
|
||||
<label class="layui-form-label">所属网格<span style="color: red;vertical-align: middle;">*</span></label>
|
||||
<div class="layui-input-block layui-form" id="gridSelectTemplateBox" lay-filter="gridSelectTemplateBox"></div>
|
||||
<script id="gridSelectTemplate" type="text/html">
|
||||
<select id="grid" name="grid" lay-filter="grid" lay-verify="required">
|
||||
<select id="grid" name="grid" lay-filter="grid" lay-verify="required" lay-search>
|
||||
<option value="">请选择网格</option>
|
||||
{{# for(var i = 0, item; item = d[i++];) { }}
|
||||
<option value="{{item.gridId}}">{{item.gridName}}</option>
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">与户主关系</label>
|
||||
<div class="layui-input-block">
|
||||
<select name="relationship" id="relationship" lay-filter="relationship">
|
||||
<select name="relationship" id="relationship" lay-filter="relationship" lay-search>
|
||||
<option value="">请选择与户主关系</option>
|
||||
<option value="配偶">配偶</option>
|
||||
<option value="子女">子女</option>
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">与户主关系</label>
|
||||
<div class="layui-input-block">
|
||||
<select name="relationship" id="relationship" lay-filter="relationship">
|
||||
<select name="relationship" id="relationship" lay-filter="relationship" lay-search>
|
||||
<option value="">请选择与户主关系</option>
|
||||
<option value="配偶">配偶</option>
|
||||
<option value="子女">子女</option>
|
||||
|
@ -33,7 +33,7 @@
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">小区类型<span style="color: red;vertical-align: middle;">*</span></label>
|
||||
<div class="layui-input-block">
|
||||
<select name="residentialType" id="residentialType" lay-filter="residentialType" lay-verify="required">
|
||||
<select name="residentialType" id="residentialType" lay-search lay-filter="residentialType" lay-verify="required">
|
||||
<option value="">请选择小区类型</option>
|
||||
<option value="住宅">住宅</option>
|
||||
<option value="公寓">公寓</option>
|
||||
@ -46,7 +46,7 @@
|
||||
<label class="layui-form-label">社区<span style="color: red;vertical-align: middle;">*</span></label>
|
||||
<div class="layui-input-block layui-form" id="communitySelectTemplateBox" lay-filter="communitySelectTemplateBox"></div>
|
||||
<script id="communitySelectTemplate" type="text/html">
|
||||
<select id="community" name="community" lay-filter="community" lay-verify="required">
|
||||
<select id="community" name="community" lay-filter="community" lay-verify="required" lay-search>
|
||||
<option value="">请选择社区</option>
|
||||
{{# for(var i = 0, item; item = d[i++];) { }}
|
||||
<option value="{{item.communityId}}">{{item.communityName}}</option>
|
||||
@ -88,7 +88,7 @@
|
||||
<label class="layui-form-label">所属网格<span style="color: red;vertical-align: middle;">*</span></label>
|
||||
<div class="layui-input-block layui-form" id="gridSelectTemplateBox" lay-filter="gridSelectTemplateBox"></div>
|
||||
<script id="gridSelectTemplate" type="text/html">
|
||||
<select id="grid" name="grid" lay-filter="grid" lay-verify="required">
|
||||
<select id="grid" name="grid" lay-filter="grid" lay-verify="required" lay-search>
|
||||
<option value="">请选择网格</option>
|
||||
{{# for(var i = 0, item; item = d[i++];) { }}
|
||||
<option value="{{item.gridId}}">{{item.gridName}}</option>
|
||||
|
@ -33,7 +33,7 @@
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">小区类型<span style="color: red;vertical-align: middle;">*</span></label>
|
||||
<div class="layui-input-block">
|
||||
<select name="residentialType" id="residentialType" lay-filter="residentialType" lay-verify="required">
|
||||
<select name="residentialType" id="residentialType" lay-search lay-filter="residentialType" lay-verify="required">
|
||||
<option value="">请选择小区类型</option>
|
||||
<option value="住宅">住宅</option>
|
||||
<option value="公寓">公寓</option>
|
||||
@ -46,7 +46,7 @@
|
||||
<label class="layui-form-label">社区<span style="color: red;vertical-align: middle;">*</span></label>
|
||||
<div class="layui-input-block layui-form" id="communitySelectTemplateBox" lay-filter="communitySelectTemplateBox"></div>
|
||||
<script id="communitySelectTemplate" type="text/html">
|
||||
<select id="community" name="community" lay-filter="community" lay-verify="required">
|
||||
<select id="community" name="community" lay-filter="community" lay-verify="required" lay-search>
|
||||
<option value="">请选择社区</option>
|
||||
{{# for(var i = 0, item; item = d[i++];) { }}
|
||||
<option value="{{item.communityId}}">{{item.communityName}}</option>
|
||||
@ -88,7 +88,7 @@
|
||||
<label class="layui-form-label">所属网格<span style="color: red;vertical-align: middle;">*</span></label>
|
||||
<div class="layui-input-block layui-form" id="gridSelectTemplateBox" lay-filter="gridSelectTemplateBox"></div>
|
||||
<script id="gridSelectTemplate" type="text/html">
|
||||
<select id="grid" name="grid" lay-filter="grid" lay-verify="required">
|
||||
<select id="grid" name="grid" lay-filter="grid" lay-verify="required" lay-search>
|
||||
<option value="">请选择网格</option>
|
||||
{{# for(var i = 0, item; item = d[i++];) { }}
|
||||
<option value="{{item.gridId}}">{{item.gridName}}</option>
|
||||
|
Loading…
Reference in New Issue
Block a user