演示组件中新增用户列表选择应用例子

This commit is contained in:
thinkgem
2018-10-11 21:31:45 +08:00
parent ebf7b52656
commit 7dc85de589
2 changed files with 25 additions and 1 deletions

View File

@@ -99,7 +99,7 @@ selectNum = 0, dataGrid = $('#dataGrid').dataGrid({
}} }}
], ],
autoGridHeight: function(){ autoGridHeight: function(){
var height = $(window).height() - $('#searchForm').height() - $('#dataGridPage').height() - 73; var height = $(window).height() - $('#searchForm').height() - $('#dataGridPage').height() - 75;
$('.tags-input').height($('.ui-jqgrid').height() - 10); $('.tags-input').height($('.ui-jqgrid').height() - 10);
return height; return height;
}, },

View File

@@ -123,6 +123,30 @@
</div> </div>
</div> </div>
</div> </div>
<div class="row">
<div class="col-xs-6">
<div class="form-group">
<label class="control-label col-sm-4" title="">
<span class="required hide">*</span> 用户列表选择:<i class="fa icon-question hide"></i></label>
<div class="col-sm-8">
<#form:listselect id="testUser3" title="用户选择"
url="${ctx}/sys/empUser/empUserSelect" allowClear="false"
checkbox="false" itemCode="userCode" itemName="userName"/>
</div>
</div>
</div>
<div class="col-xs-6">
<div class="form-group">
<label class="control-label col-sm-4" title="">
<span class="required hide">*</span> 用户列表多选:<i class="fa icon-question hide"></i></label>
<div class="col-sm-8">
<#form:listselect id="testUser4" title="用户选择"
url="${ctx}/sys/empUser/empUserSelect" allowClear="false"
checkbox="true" itemCode="userCode" itemName="userName"/>
</div>
</div>
</div>
</div>
<div class="row"> <div class="row">
<div class="col-xs-6"> <div class="col-xs-6">
<div class="form-group"> <div class="form-group">