冲突文件提交本地

This commit is contained in:
duandongmei
2018-07-10 16:49:28 +08:00
parent 2203786946
commit 83fb581fb5
3 changed files with 25 additions and 22 deletions

View File

@@ -363,8 +363,8 @@ arbitrary=\u4EFB\u610F
basic_config=\u57FA\u672C\u914D\u7F6E basic_config=\u57FA\u672C\u914D\u7F6E
block_config=\u914D\u7F6E\u4FE1\u606F block_config=\u914D\u7F6E\u4FE1\u606F
expression_type=\u8868\u8FBE\u5F0F\u7C7B\u578B expression_type=\u8868\u8FBE\u5F0F\u7C7B\u578B
null=\u65E0\u8868\u8FBE\u5F0F null_expression=\u65E0\u8868\u8FBE\u5F0F
and=\u4E0E\u8868\u8FBE\u5F0F and_expression=\u4E0E\u8868\u8FBE\u5F0F
match_method=\u5339\u914D\u65B9\u5F0F match_method=\u5339\u914D\u65B9\u5F0F
substring_match=\u5B50\u4E32\u5339\u914D substring_match=\u5B50\u4E32\u5339\u914D
right_match=\u53F3\u5339\u914D right_match=\u53F3\u5339\u914D

View File

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

View File

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