Merge branch 'develop' of http://10.0.6.99/gwall/gwall.git into develop

This commit is contained in:
wangxin
2018-07-10 16:51:33 +08:00
4 changed files with 817 additions and 713 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -106,13 +106,13 @@
</div>
<span class="help-inline"><font color="red">*</font> </span>
</div>
<div class="form-group">
<input type="hidden" name="roleType" value="user"/>
<%-- <div class="form-group">
<label class="col-md-3 control-label"><spring:message code="role_type"/>:</label>
<div class="col-md-4"><%--
<div class="col-md-4">
<form:input path="roleType" htmlEscape="false" maxlength="50" class="required"/>
<span class="help-inline" title="activiti有3种预定义的组类型security-role、assignment、user 如果使用Activiti Explorer需要security-role才能看到manage页签需要assignment才能claim任务">
工作流组用户组类型security-role管理员、assignment可进行任务分配、user普通用户</span> --%>
工作流组用户组类型security-role管理员、assignment可进行任务分配、user普通用户</span>
<form:select path="roleType" class="form-control">
<form:option value="assignment"><spring:message code="task_allot"/></form:option>
<form:option value="security-role"><spring:message code="manager"/></form:option>
@@ -122,7 +122,7 @@
<spring:message code="role_type_info"/></span>
</div>
</div>
--%>
<div class="form-group">
<label class="col-md-3 control-label"><spring:message code="data_range"/>:</label>
@@ -130,7 +130,7 @@
<form:select path="dataScope" class="form-control">
<form:options items="${fns:getDictList('SYS_DATA_SCOPE')}" itemLabel="itemValue" itemValue="itemCode" htmlEscape="false"/>
</form:select>
<span class="help-inline"><spring:message code="data_range_info"/></span>
<%-- <span class="help-inline"><spring:message code="data_range_info"/></span> --%>
</div>
</div>
<div class="form-group">

View File

@@ -12,12 +12,12 @@
$("#inputForm").validate({
rules: {
loginId: {remote: "${ctx}/sys/user/checkLoginName?oldLoginId=" + encodeURIComponent('${user.loginId}')},
'office.name': {officeIsValid: true },
// 'office.name': {officeIsValid: true },
'entity.name': {required: true }
},
messages: {
loginId: {remote: "<spring:message code='name_existed'/>"},
'office.name': {officeIsValid: "<spring:message code='company_range'/>"},
// 'office.name': {officeIsValid: "<spring:message code='company_range'/>"},
confirmNewPassword: {equalTo: "<spring:message code='equal_password'/>"}
},
submitHandler: function(form){
@@ -121,7 +121,10 @@
</div>
<span class="help-inline"><font color="red">*</font> </span>
</div>
<div class="form-group">
<input type="hidden" name="company.id" value="0"/>
<input type="hidden" name="entity.id" value="0"/>
<input type="hidden" name="office.id" value="0"/>
<%-- <div class="form-group">
<label class="col-md-3 control-label"><spring:message code="owner_company"/>:</label>
<div class="col-md-4">
<sys:treeselect id="company" name="company.id" value="${user.company.id}" labelName="company.name" labelValue="${user.company.name}"
@@ -143,7 +146,7 @@
<sys:treeselect id="office" name="office.id" value="${user.office.id}" labelName="office.name" labelValue="${user.office.name}"
title="group" url="/sys/office/treeData?type=3" cssClass="required form-control" notAllowSelectRoot="true"/>
</div>
</div>
</div> --%>
<div class="form-group">
<label class="col-md-3 control-label"><spring:message code="name"/>:</label>
@@ -169,8 +172,8 @@
</div>
<span class="help-inline"><font color="red">*</font> </span>
</div>
<div class="form-group">
<input type="hidden" name="identity" value="0"/>
<%-- <div class="form-group">
<label class="col-md-3 control-label"><spring:message code="identify_mark"></spring:message>:</label>
<div class="col-md-4 ">
<form:select path="identity" class="selectpicker select2 form-control">
@@ -180,15 +183,15 @@
<span class="help-inline"><font><spring:message code="manager_info"/></font></span>
</div>
</div>
<div class="form-group">
</div> --%>
<input type="hidden" name="email" value="0"/>
<%-- <div class="form-group">
<label class="col-md-3 control-label"><spring:message code="mail"/>:</label>
<div class="col-md-4">
<form:input path="email" htmlEscape="false" maxlength="100" class="required email form-control"/>
</div>
<span class="help-inline"><font color="red">*</font> </span>
</div>
</div> --%>
<div class="form-group">

View File

@@ -95,7 +95,7 @@
<div class="col-md-12 filter-action-select-panle"
style="background-color: transparent">
<div class="row">
<div class="col-md-2">
<%-- <div class="col-md-2">
<div class="form-group">
<label><spring:message code="owner_company"/></label>
@@ -118,7 +118,7 @@
notAllowSelectParent="true"/>
</div>
</div>
</div> --%>
<div class="col-md-2">
@@ -167,12 +167,12 @@
class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th><spring:message code="company" /></th>
<th><spring:message code="group" /></th>
<%-- <th><spring:message code="company" /></th>
<th><spring:message code="group" /></th> --%>
<th class="sort-column login_id"><spring:message code="login_name" /></th>
<th class="sort-column name"><spring:message code="name" /></th>
<th><spring:message code="identify_mark" /></th>
<th><spring:message code="mail" /></th>
<%-- <th><spring:message code="identify_mark" /></th> --%>
<%-- <th><spring:message code="mail" /></th> --%>
<th><spring:message code="create_time" /></th>
<%--<th>角色</th> --%>
<shiro:hasPermission name="sys:user:edit">
@@ -183,12 +183,12 @@
<tbody>
<c:forEach items="${page.list}" var="user">
<tr>
<td>${user.company.name}</td>
<td>${fns:getOfficeDesc(user.office.id)}</td>
<%-- <td>${user.company.name}</td>
<td>${fns:getOfficeDesc(user.office.id)}</td> --%>
<td><a href="${ctx}/sys/user/form?id=${user.id}">${user.loginId}</a></td>
<td>${user.name}</td>
<td>${user.identity eq 1 ?'管理人员':'普通人员'}</td>
<td>${user.email}</td>
<%-- <td>${user.identity eq 1 ?'管理人员':'普通人员'}</td> --%>
<%-- <td>${user.email}</td> --%>
<td><fmt:formatDate value="${user.createTime}"
pattern="yyyy-MM-dd HH:mm:ss" /></td>
<shiro:hasPermission name="sys:user:edit"></shiro:hasPermission>