|
|
@@ -8,7 +8,6 @@
|
|
|
</div>
|
|
|
<ul class="dropdown-menu">
|
|
|
<li><a href="javascript:" onclick="loadTree('office');"> <i class="fa fa-angle-right"></i> ${text('按组织查询')}</a></li>
|
|
|
- <li><a href="javascript:" onclick="loadTree('post');"> <i class="fa fa-angle-right"></i> ${text('按岗位查询')}</a></li>
|
|
|
<li><a href="javascript:" onclick="loadTree('role');"> <i class="fa fa-angle-right"></i> ${text('按角色查询')}</a></li>
|
|
|
<li><a href="javascript:" onclick="loadTree('userType');"> <i class="fa fa-angle-right"></i> ${text('按用户类型')}</a></li>
|
|
|
</ul>
|
|
|
@@ -32,7 +31,6 @@
|
|
|
data-page-no="${parameter.pageNo}" data-page-size="${parameter.pageSize}" data-order-by="${parameter.orderBy}">
|
|
|
<#form:hidden name="status" value="${isNotBlank(empUser.status) ? empUser.status : '0'}" class="isReset"/>
|
|
|
<#form:hidden name="isAll" value="${parameter.isAll}" class=""/>
|
|
|
- <#form:hidden id="postCode" name="employee.postCode" class="isReset"/>
|
|
|
<#form:hidden id="roleCode" name="roleCode" class="isReset"/>
|
|
|
<#form:hidden id="userType" name="userType" class="isReset"/>
|
|
|
<div class="form-group">
|
|
|
@@ -61,16 +59,8 @@
|
|
|
url="${ctx}/sys/office/treeData?isAll=${parameter.isAll}" btnClass="btn-sm" allowClear="true" canSelectParent="true"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="form-group">
|
|
|
- <label class="control-label">${text('公司')}:</label>
|
|
|
- <div class="control-inline width-90">
|
|
|
- <#form:treeselect id="company" title="${text('公司选择')}"
|
|
|
- path="employee.company.companyCode" labelPath="employee.company.companyName"
|
|
|
- url="${ctx}/sys/company/treeData" btnClass="btn-sm" allowClear="true" canSelectParent="true"/>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <label class="control-label">${text('手机')}:</label>
|
|
|
+ <div class="form-group">
|
|
|
+ <label class="control-label">${text('手机')}:</label>
|
|
|
<div class="control-inline">
|
|
|
<#form:input path="mobile" maxlength="100" class="form-control width-90"/>
|
|
|
</div>
|
|
|
@@ -117,8 +107,6 @@
|
|
|
if (!queryType || queryType == 'office'){
|
|
|
$('#officeCode').val(treeNode.id);
|
|
|
$('#officeName').val(treeNode.name);
|
|
|
- } else if (queryType == 'post'){
|
|
|
- $('#postCode').val(treeNode.id);
|
|
|
} else if (queryType == 'role'){
|
|
|
$('#roleCode').val(treeNode.id);
|
|
|
}
|
|
|
@@ -140,9 +128,6 @@
|
|
|
if (!queryType || queryType == 'office'){
|
|
|
$('#queryTypeName').text('${text("按组织查询")}');
|
|
|
url = "${ctx}/sys/office/treeData?isAll=${parameter.isAll}&___t=" + new Date().getTime();
|
|
|
- } else if (queryType == 'post'){
|
|
|
- $('#queryTypeName').text('${text("按岗位查询")}');
|
|
|
- url = "${ctx}/sys/post/treeData?___t=" + new Date().getTime();
|
|
|
} else if (queryType == 'role'){
|
|
|
$('#queryTypeName').text('${text("按角色查询")}');
|
|
|
url = "${ctx}/sys/role/treeData?isAll=${parameter.isAll}&userType=__all&___t=" + new Date().getTime();
|
|
|
@@ -183,7 +168,6 @@
|
|
|
{header:'${text("用户昵称")}', name:'userName', index:'a.user_name', width:200, align:"center"},
|
|
|
{header:'${text("员工姓名")}', name:'refName', index:'a.ref_name', width:200, align:"center"},
|
|
|
{header:'${text("归属机构")}', name:'employee.office.officeName', index:'o.office_name', width:200, align:"center"},
|
|
|
- {header:'${text("归属公司")}', name:'employee.company.companyName', index:'c.company_name', width:200, align:"center"},
|
|
|
{header:'${text("手机号码")}', name:'mobile', index:'a.mobile', width:200, align:"center"},
|
|
|
{header:'${text("更新时间")}', name:'updateDate', index:'a.update_date', width:200, align:"center"},
|
|
|
{header:'${text("状态")}', name:'status', index:'a.status', width:140, align:"center", formatter: function(val, obj, row, act){
|