|
@@ -38,11 +38,11 @@
|
|
|
$("#nativePlaceId").val(data.newKey);
|
|
|
$("#nativePlaceName").val(data.newValue);
|
|
|
$("#nativePlaceName").css("color","red");
|
|
|
- }else if(name=="picture"){
|
|
|
+ }/*else if(name=="picture"){
|
|
|
$("#this_upload_image_1").prop("src",data.newValue);
|
|
|
$("#picture").val(data.newValue);
|
|
|
// this_upload_show_image("1");
|
|
|
- }else{
|
|
|
+ }*/else{
|
|
|
if(name=='exSoldier'){
|
|
|
$("#exSoldierId").val(data.newValue);
|
|
|
$("#exSoldierId").css("color","red");
|
|
@@ -294,8 +294,8 @@
|
|
|
function this_upload_show_image(index){
|
|
|
var obj =$("#this_upload_file_"+index)[0].files[0];
|
|
|
var fileType = obj.type;
|
|
|
- if(obj.size>100*1024){
|
|
|
- layer.msg("请上传100KB内图片格式文件!",{icon:2});
|
|
|
+ if(obj.size>1000*1024){
|
|
|
+ layer.msg("请上传1000KB内图片格式文件!",{icon:2});
|
|
|
return false ;
|
|
|
}
|
|
|
var url ;
|
|
@@ -362,53 +362,57 @@
|
|
|
<form:hidden path="home"/>
|
|
|
<div class="form-group layui-row first">
|
|
|
<div class="form-group-label"><h2>基本信息</h2></div>
|
|
|
- <div class="layui-item layui-col-sm6 lw7">
|
|
|
+ <div class="layui-item layui-col-sm6 lw7" style="padding-right: 0;">
|
|
|
+ <div class="layui-item layui-col-sm12">
|
|
|
<label class="layui-form-label"><span class="require-item">*</span>工 号:</label>
|
|
|
<div class="layui-input-block">
|
|
|
<form:input path="no" htmlEscape="false" readonly="true" class="form-control layui-input"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="layui-item layui-col-sm6 lw7">
|
|
|
- <label class="layui-form-label"><span class="require-item">*</span>姓 名:</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <form:input path="name" htmlEscape="false" readonly="true" class="form-control layui-input "/>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="layui-item layui-col-sm6 lw7">
|
|
|
- <label class="layui-form-label"><span class="require-item">*</span>身份证号码:</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <form:input path="idCard" htmlEscape="false" onchange="caculateAge(this.value);" readonly="true" class="form-control idCard layui-input "/>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="layui-item layui-col-sm6 lw7">
|
|
|
+ <div class="layui-item layui-col-sm12">
|
|
|
<label class="layui-form-label"><span class="require-item">*</span>性 别:</label>
|
|
|
<div class="layui-input-block">
|
|
|
- <input value="${fns:getDictLabel(workStaffBasicInfo.gender,'sex','')}" type="text" readonly="true" class="form-control layui-input" />
|
|
|
+ <input value="${fns:getDictLabel(workStaffBasicInfo.gender,'sex','')}" type="text" readonly="true" class="form-control basicInfo layui-input" />
|
|
|
<input name="gender" value="${workStaffBasicInfo.gender}" type="hidden" readonly="true" class="form-control layui-input" />
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="layui-item layui-col-sm6 lw7">
|
|
|
- <label class="layui-form-label"><span class="require-item">*</span>年 龄:</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <form:input path="age" htmlEscape="false" readonly="true" class="form-control layui-input "/>
|
|
|
+ <div class="layui-item layui-col-sm12">
|
|
|
+ <label class="layui-form-label"><span class="require-item">*</span>身份证号码:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="idCard" htmlEscape="false" onchange="caculateAge(this.value);" readonly="true" class="form-control idCard basicInfo layui-input required"/>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div >
|
|
|
- <div class="layui-item layui-col-sm6 lw7">
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
+ <div style="margin-right: 120px;">
|
|
|
+ <div class="layui-item layui-col-sm12">
|
|
|
+ <label class="layui-form-label"><span class="require-item">*</span>姓 名:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="name" htmlEscape="false" readonly="true" class="form-control layui-input basicInfo required"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm12">
|
|
|
<label class="layui-form-label"><span class="require-item">*</span>民 族:</label>
|
|
|
<div class="layui-input-block">
|
|
|
<input value="${fns:getDictLabel(workStaffBasicInfo.nation,'nation_type','')}" type="text" readonly="true" class="form-control layui-input" />
|
|
|
<input name="nation" value="${workStaffBasicInfo.nation}" type="hidden" readonly="true" class="form-control layui-input" />
|
|
|
</div>
|
|
|
</div>
|
|
|
- <%--<div class="profile_box_wrapper">
|
|
|
+ <div class="layui-item layui-col-sm12">
|
|
|
+ <label class="layui-form-label"><span class="require-item">*</span>年 龄:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="age" htmlEscape="false" readonly="true" class="form-control basicInfo layui-input required"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="profile_box_wrapper">
|
|
|
<div class="profile_box">
|
|
|
<div id="this_upload_image_div_1">
|
|
|
<div id="this_upload_div_1" style="position:relative;">
|
|
|
<c:choose>
|
|
|
- <c:when test="${not empty workStaffBasicInfo.picture}">
|
|
|
+ <c:when test="${not empty workStaffBasicInfo.pictureStr}">
|
|
|
<span id="this_upload_close_1" class="pic_close glyphicon glyphicon-remove" onclick="this_close_img(1)"></span>
|
|
|
- <img alt="_blank" id="this_upload_image_1" class="upload_ico" style="cursor:pointer;" src="${workStaffBasicInfo.picture}"/>
|
|
|
+ <img alt="_blank" id="this_upload_image_1" class="upload_ico" style="cursor:pointer;" src="${workStaffBasicInfo.pictureStr}"/>
|
|
|
</c:when>
|
|
|
<c:otherwise>
|
|
|
<img alt="_blank" id="this_upload_image_1" name="pictureFile" class="upload_ico" style="cursor:pointer;" src="${pageContext.request.contextPath}/static/common/img/pic_add.png"/>
|
|
@@ -419,12 +423,12 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>--%>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="layui-item layui-col-sm6 lw7">
|
|
|
<label class="layui-form-label"><span class="require-item">*</span>出生日期:</label>
|
|
|
<div class="layui-input-block">
|
|
|
- <input name="birthday" value="<fmt:formatDate value="${workStaffBasicInfo.birthday}" pattern="yyyy-MM-dd"/>" type="text" readonly="true" class="form-control layui-input" />
|
|
|
+ <input name="birthday" value="<fmt:formatDate value="${workStaffBasicInfo.birthday}" pattern="yyyy-MM-dd"/>" type="text" readonly="true" class="form-control basicInfo layui-input" />
|
|
|
</div>
|
|
|
</div>
|
|
|
<%--<div class="layui-item layui-col-sm6 lw7">
|
|
@@ -437,19 +441,19 @@
|
|
|
<div class="layui-item layui-col-sm6 lw7">
|
|
|
<label class="layui-form-label">电子邮箱:</label>
|
|
|
<div class="layui-input-block">
|
|
|
- <form:input path="email" htmlEscape="false" readonly="true" class="form-control layui-input email"/>
|
|
|
+ <form:input path="email" htmlEscape="false" readonly="true" class="form-control basicInfo layui-input email"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-item layui-col-sm6 lw7">
|
|
|
<label class="layui-form-label"><span class="require-item">*</span>移动电话:</label>
|
|
|
<div class="layui-input-block">
|
|
|
- <form:input path="mobile" htmlEscape="false" readonly="true" class="form-control layui-input isPhone"/>
|
|
|
+ <form:input path="mobile" htmlEscape="false" readonly="true" class="form-control layui-input basicInfo isPhone"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <%--<div class="layui-item layui-col-sm6 lw7">
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
<label class="layui-form-label">座机:</label>
|
|
|
<div class="layui-input-block">
|
|
|
- <form:input path="phone" id="phone" placeholder="" readonly="true" htmlEscape="false" class="form-control isTel layui-input" maxlength="50"/>
|
|
|
+ <form:input path="phone" id="phone" placeholder="" readonly="true" htmlEscape="false" class="form-control isTel basicInfo layui-input" maxlength="50"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-item layui-col-sm6 lw7">
|
|
@@ -461,7 +465,7 @@
|
|
|
<div class="layui-item layui-col-sm6 lw7">
|
|
|
<label class="layui-form-label">银行卡号:</label>
|
|
|
<div class="layui-input-block">
|
|
|
- <form:input path="bankCard" htmlEscape="false" readonly="true" class="form-control layui-input digits"/>
|
|
|
+ <form:input path="bankCard" htmlEscape="false" readonly="true" class="form-control layui-input basicInfo digits"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-item layui-col-sm6 lw7">
|
|
@@ -515,7 +519,7 @@
|
|
|
<div class="layui-input-block">
|
|
|
<input name="roleName" value="${workStaffBasicInfo.roleName}" type="text" readonly="true" class="form-control layui-input" />
|
|
|
</div>
|
|
|
- </div>--%>
|
|
|
+ </div>
|
|
|
<%--<div class="layui-item layui-col-sm6 lw7">
|
|
|
<label class="layui-form-label">职 位:</label>
|
|
|
<div class="layui-input-block">
|
|
@@ -547,13 +551,13 @@
|
|
|
<div class="layui-input-block">
|
|
|
<input name="entryDate" value="<fmt:formatDate value="${workStaffBasicInfo.entryDate}" pattern="yyyy-MM-dd"/>" type="text" readonly="true" class="form-control layui-input" />
|
|
|
</div>
|
|
|
- </div>--%>
|
|
|
- <%--<div class="layui-item layui-col-sm6 lw7">
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
<label class="layui-form-label double-line"><span class="require-item">*</span>参加工作日期:</label>
|
|
|
<div class="layui-input-block">
|
|
|
<input name="workDate" value="<fmt:formatDate value="${workStaffBasicInfo.workDate}" pattern="yyyy-MM"/>" type="text" readonly="true" class="form-control layui-input" />
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>--%>
|
|
|
<div class="layui-item layui-col-sm6 lw7">
|
|
|
<label class="layui-form-label">开户银行:</label>
|
|
|
<div class="layui-input-block">
|
|
@@ -562,14 +566,14 @@
|
|
|
</div>
|
|
|
|
|
|
|
|
|
- <div class="layui-item layui-col-sm6 lw7">
|
|
|
+ <%--<div class="layui-item layui-col-sm6 lw7">
|
|
|
<label class="layui-form-label double-line"><span class="require-item">*</span>从事本行业日期:</label>
|
|
|
<div class="layui-input-block">
|
|
|
<input id="industryDate" name="industryDate" type="text" maxlength="20" readonly class="laydate-icondate form-control layui-input layer-date laydate-icon required basicInfo"
|
|
|
value="<fmt:formatDate value="${workStaffBasicInfo.industryDate}" pattern="yyyy-MM"/>"/>
|
|
|
</div>
|
|
|
- </div>--%>
|
|
|
- <%--<div class="layui-item layui-col-sm6 lw7">
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
<label class="layui-form-label double-line">试用期结束日期:</label>
|
|
|
<div class="layui-input-block">
|
|
|
<input id="tryEndTime" name="tryEndTime" type="text" maxlength="20" readonly class="form-control layui-input"
|
|
@@ -591,7 +595,7 @@
|
|
|
</div>
|
|
|
</div>--%>
|
|
|
</div>
|
|
|
- <%--<div class="form-group layui-row">
|
|
|
+ <div class="form-group layui-row">
|
|
|
<div class="form-group-label"><h2>教育经历</h2></div>
|
|
|
<div class="layui-item layui-col-xs12 form-table-container">
|
|
|
<table id="educationTable" class="table table-bordered table-condensed can-edit">
|
|
@@ -645,11 +649,11 @@
|
|
|
value="<fmt:formatDate value="${education.endDate}" pattern="yyyy-MM-dd"/>" readOnly="true" />
|
|
|
</td>
|
|
|
<td class="text-left op-td">
|
|
|
- <span id="educationList${varStatus.index}_eduPhotoFileName1"><c:if test="${not empty education.eduPhoto}"><img src="${education.eduPhoto}" width="24" height="24" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${education.eduPhoto}','90%','90%')" alt=""></c:if></span>
|
|
|
+ <span id="educationList${varStatus.index}_eduPhotoFileName1"><c:if test="${not empty education.eduPhotoStr}"><img src="${education.eduPhotoStr}" width="24" height="24" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${education.eduPhotoStr}','90%','90%')" alt=""></c:if></span>
|
|
|
<input id="educationList${varStatus.index}_eduPhotoFile" name="educationList[${varStatus.index}].eduPhotoFile" style="display:none" type="file" onchange="changeFileName(this,1)"/>
|
|
|
</td>
|
|
|
<td class="text-left op-td">
|
|
|
- <span id="educationList${varStatus.index}_degreePhotoFileName1"><c:if test="${not empty education.degreePhoto}"><img src="${education.degreePhoto}" width="24" height="24" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${education.degreePhoto}','90%','90%')" alt=""></c:if></span>
|
|
|
+ <span id="educationList${varStatus.index}_degreePhotoFileName1"><c:if test="${not empty education.degreePhotoStr}"><img src="${education.degreePhotoStr}" width="24" height="24" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${education.degreePhotoStr}','90%','90%')" alt=""></c:if></span>
|
|
|
<input id="educationList${varStatus.index}_degreePhotoFile" name="educationList[${varStatus.index}].degreePhotoFile" style="display:none" type="file" onchange="changeFileName(this,1)"/>
|
|
|
</td>
|
|
|
</tr>
|
|
@@ -657,8 +661,8 @@
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
- </div>--%>
|
|
|
- <%--<div class="form-group layui-row">
|
|
|
+ </div>
|
|
|
+ <div class="form-group layui-row">
|
|
|
<div class="form-group-label"><h2>劳动关系</h2></div>
|
|
|
<div class="layui-item layui-col-xs12 form-table-container">
|
|
|
<table id="labourTable" class="table table-bordered table-condensed details">
|
|
@@ -684,7 +688,7 @@
|
|
|
<td><fmt:formatDate value="${buyDetails.contractEndTime}" pattern="yyyy-MM-dd"/></td>
|
|
|
<td><fmt:formatDate value="${buyDetails.tryEndTime}" pattern="yyyy-MM-dd"/></td>
|
|
|
<td><fmt:formatDate value="${buyDetails.transactTime}" pattern="yyyy-MM-dd"/></td>
|
|
|
- <%–试用期结束时间<td><fmt:formatDate value="${buyDetails.tryEndTime}" pattern="yyyy-MM-dd"/></td>–%>
|
|
|
+ <%--试用期结束时间<td><fmt:formatDate value="${buyDetails.tryEndTime}" pattern="yyyy-MM-dd"/></td>--%>
|
|
|
|
|
|
<c:forEach items="${buyDetails.workAttachments}" var = "workClientAttachment" varStatus="status">
|
|
|
<c:choose>
|
|
@@ -712,8 +716,8 @@
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
- </div>--%>
|
|
|
- <%--<div class="form-group layui-row">
|
|
|
+ </div>
|
|
|
+ <div class="form-group layui-row">
|
|
|
<div class="form-group-label"><h2>外语语种</h2></div>
|
|
|
<div class="layui-item layui-col-xs12 form-table-container">
|
|
|
<table id="languageTable" class="table table-bordered table-condensed can-edit">
|
|
@@ -752,7 +756,7 @@
|
|
|
value="<fmt:formatDate value="${language.certifDate}" pattern="yyyy-MM-dd"/>" readOnly="true" />
|
|
|
</td>
|
|
|
<td class="text-left op-td">
|
|
|
- <span id="languageList${varStatus.index}_fileName1"><c:if test="${not empty language.filePath}"><img src="${language.filePath}" width="24" height="24" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${language.filePath}','90%','90%')" alt="${language.fileName}"></c:if></span>
|
|
|
+ <span id="languageList${varStatus.index}_fileName1"><c:if test="${not empty language.filePathStr}"><img src="${language.filePathStr}" width="24" height="24" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${language.filePathStr}','90%','90%')" alt="${language.fileName}"></c:if></span>
|
|
|
<input id="languageList${varStatus.index}_file" name="languageList[${varStatus.index}].file" style="display:none" type="file" onchange="changeFileName(this,1)"/>
|
|
|
</td>
|
|
|
</tr>
|
|
@@ -760,8 +764,8 @@
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
- </div>--%>
|
|
|
- <%--<div class="form-group layui-row">
|
|
|
+ </div>
|
|
|
+ <div class="form-group layui-row">
|
|
|
<div class="form-group-label"><h2>工作经历</h2></div>
|
|
|
<div class="layui-item layui-col-xs12 form-table-container">
|
|
|
<table id="experienceTable" class="table table-bordered table-condensed can-edit">
|
|
@@ -812,7 +816,7 @@
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
- </div>--%>
|
|
|
+ </div>
|
|
|
<div class="form-group layui-row">
|
|
|
<div class="form-group-label"><h2>执业资格证书</h2></div>
|
|
|
<div class="layui-item layui-col-xs12 form-table-container">
|
|
@@ -885,7 +889,7 @@
|
|
|
</table>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <%--<div class="form-group layui-row">
|
|
|
+ <div class="form-group layui-row">
|
|
|
<div class="form-group-label"><h2>职称</h2></div>
|
|
|
<div class="layui-item layui-col-xs12 form-table-container">
|
|
|
<table id="titleTable" class="table table-bordered table-condensed can-edit">
|
|
@@ -926,7 +930,7 @@
|
|
|
<input id="titleList${varStatus.index}_approvalAuthority" name="titleList[${varStatus.index}].approvalAuthority" readonly="true" class="form-control required" value="${title.approvalAuthority}"/>
|
|
|
</td>
|
|
|
<td class="text-left op-td">
|
|
|
- <span id="titleList${varStatus.index}_fileName1"><c:if test="${not empty title.filePath}"><img src="${title.filePath}" width="24" height="24" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${title.filePath}','90%','90%')" alt=""></c:if></span>
|
|
|
+ <span id="titleList${varStatus.index}_fileName1"><c:if test="${not empty title.filePathStr}"><img src="${title.filePathStr}" width="24" height="24" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${title.filePathStr}','90%','90%')" alt=""></c:if></span>
|
|
|
<input id="titleList${varStatus.index}_file" name="titleList[${varStatus.index}].file" style="display:none" type="file" onchange="changeFileName(this,1)"/>
|
|
|
</td>
|
|
|
</tr>
|
|
@@ -1032,7 +1036,7 @@
|
|
|
<input id="trainingList${varStatus.index}_certificate" name="trainingList[${varStatus.index}].certificate" readonly="true" class="form-control required" value="${training.certificate}"/>
|
|
|
</td>
|
|
|
<td class="text-left op-td">
|
|
|
- <span id="trainingList${varStatus.index}_fileName1"><c:if test="${not empty training.filePath}"><img src="${training.filePath}" width="24" height="24" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${training.filePath}','90%','90%')" alt=""></c:if></span>
|
|
|
+ <span id="trainingList${varStatus.index}_fileName1"><c:if test="${not empty training.filePathStr}"><img src="${training.filePathStr}" width="24" height="24" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${training.filePathStr}','90%','90%')" alt=""></c:if></span>
|
|
|
<input id="trainingList${varStatus.index}_file" name="trainingList[${varStatus.index}].file" style="display:none" type="file" onchange="changeFileName(this,1)"/>
|
|
|
</td>
|
|
|
<td>
|
|
@@ -1205,7 +1209,7 @@
|
|
|
<input id="recordList${varStatus.index}_num" name="recordList[${varStatus.index}].num" readonly="true" class="form-control" value="${record.num}"/>
|
|
|
</td>
|
|
|
<td class="text-left op-td">
|
|
|
- <span id="recordList${varStatus.index}_fileName1"><c:if test="${not empty record.filePath}"><img src="${record.filePath}" width="24" height="24" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${record.filePath}','90%','90%')" alt=""></c:if></span>
|
|
|
+ <span id="recordList${varStatus.index}_fileName1"><c:if test="${not empty record.filePathStr}"><img src="${record.filePathStr}" width="24" height="24" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${record.filePathStr}','90%','90%')" alt=""></c:if></span>
|
|
|
<input id="recordList${varStatus.index}_file" name="recordList[${varStatus.index}].file" style="display:none" type="file" onchange="changeFileName(this,1)"/>
|
|
|
</td>
|
|
|
<td>
|
|
@@ -1216,7 +1220,7 @@
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
- </div>--%>
|
|
|
+ </div>
|
|
|
</form:form>
|
|
|
</div>
|
|
|
</div>
|