From d5b3e5a413bcfccba294793ee093722f31b2448a Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期三, 16 八月 2023 17:02:13 +0800 Subject: [PATCH] 添加推单日志 --- management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriver_edit.html | 87 ++++++++++++++++++++++++++++++++++--------- 1 files changed, 69 insertions(+), 18 deletions(-) diff --git a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriver_edit.html b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriver_edit.html index 733f5cc..c13c46b 100644 --- a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriver_edit.html +++ b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tDriver/tDriver_edit.html @@ -22,12 +22,12 @@ <div class="initialLevel col-sm-3 control-label form-group" > <span style="color:red">*</span> <label class="control-label" >姓名:</label> - <input id="name" name="name" value="${item.name}" type="text" style="height: 30px" required> + <input id="name" name="name" value="${item.name}" type="text" maxlength="20" style="height: 30px" required> </div> <div class="initialLevel col-sm-3 control-label form-group" > <span style="color:red">*</span> <label class="control-label" >手机号:</label> - <input id="phone" name="phone" value="${item.phone}" type="number" style="height: 30px" required> + <input id="phone" name="phone" value="${item.phone}" type="number" maxlength="11" style="height: 30px" required> </div> </div> @@ -35,23 +35,23 @@ <div class="initialLevel col-sm-3 control-label form-group" > <span style="color:red">*</span> <label class="control-label" >紧急联系人姓名:</label> - <input id="emergencyContact" name="emergencyContact" value="${item.emergencyContact}" type="text" style="height: 30px" required> + <input id="emergencyContact" name="emergencyContact" value="${item.emergencyContact}" type="text" maxlength="20" style="height: 30px" required disabled> </div> <div class="initialLevel col-sm-3 control-label form-group" > <span style="color:red">*</span> <label class="control-label" >紧急联系人电话:</label> - <input id="emergencyPhone" name="emergencyPhone" value="${item.emergencyPhone}" type="number" style="height: 30px" required> + <input id="emergencyPhone" name="emergencyPhone" value="${item.emergencyPhone}" type="number" maxlength="11" style="height: 30px" required disabled> </div> </div> <div class="initialLevel col-sm-12 control-label form-group" > <div class="initialLevel col-sm-3 control-label form-group" > <label class="control-label" >邀约人姓名:</label> - <input id="inviterName" value="${item.inviterName}" type="text" style="height: 30px"> + <input id="inviterName" value="${item.inviterName}" type="text" maxlength="20" style="height: 30px" disabled> </div> <div class="initialLevel col-sm-3 control-label form-group" > <label class="control-label" >邀约人电话:</label> - <input id="inviterPhone" value="${item.inviterPhone}" type="number" style="height: 30px"> + <input id="inviterPhone" value="${item.inviterPhone}" type="number" maxlength="11" style="height: 30px" disabled> </div> </div> @@ -77,28 +77,71 @@ <div class="initialLevel col-sm-3 control-label form-group" > <span style="color:red">*</span> <label class="control-label" >身份证号码:</label> - <input id="idcard" name="idcard" value="${item.idcard}" type="text" style="height: 30px" required> + <input id="idcard" name="idcard" value="${item.idcard}" type="text" maxlength="20" style="height: 30px" required disabled> + </div> + </div> + + <div class="initialLevel col-sm-12 control-label form-group" > +<!-- <div class="initialLevel col-sm-3 control-label form-group" >--> +<!-- <span style="color:red">*</span>--> +<!-- <label class="control-label" >身份证正面照:</label>--> +<!-- <#uploadImg id="idcardFront" fileImg="${item.idcardFront}"/>--> +<!-- </div>--> + <div class="initialLevel col-sm-3 control-label form-group"> + <span style="color:red">*</span> + <label class="control-label">身份证正面照:</label> + <div class="form-group"> + <div class="col-sm-4"> + <div id="idcardFrontPreId"> + <div><img width="100px" height="100px" src="${item.idcardFront}"> + </div> + </div> + </div> + </div> + </div> +<!-- <div class="initialLevel col-sm-3 control-label form-group" >--> +<!-- <span style="color:red">*</span>--> +<!-- <label class="control-label" >身份证背面照:</label>--> +<!-- <#uploadImg id="idcardBack" fileImg="${item.idcardBack}"/>--> +<!-- </div>--> + <div class="initialLevel col-sm-3 control-label form-group"> + <span style="color:red">*</span> + <label class="control-label">身份证背面照:</label> + <div class="form-group"> + <div class="col-sm-4"> + <div id="idcardBackPreId"> + <div><img width="100px" height="100px" src="${item.idcardBack}"> + </div> + </div> + </div> + </div> </div> </div> <div class="initialLevel col-sm-12 control-label form-group" > <div class="initialLevel col-sm-3 control-label form-group" > - <span style="color:red">*</span> - <label class="control-label" >身份证正面照:</label> - <#uploadImg id="idcardFront" fileImg="${item.idcardFront}"/> - </div> - <div class="initialLevel col-sm-3 control-label form-group" > - <span style="color:red">*</span> - <label class="control-label" >身份证背面照:</label> - <#uploadImg id="idcardBack" fileImg="${item.idcardBack}"/> + <label class="control-label" >驾驶证初次领证时间:</label> + <input id="firstCertificateTime" name="firstCertificateTime" value="${item.firstCertificateTimeStr}" type="text" style="height: 30px" disabled> </div> </div> <div class="initialLevel col-sm-12 control-label form-group" > - <div class="initialLevel col-sm-3 control-label form-group" > +<!-- <div class="initialLevel col-sm-3 control-label form-group" >--> +<!-- <span style="color:red">*</span>--> +<!-- <label class="control-label" >驾驶证:</label>--> +<!-- <#uploadImg id="driverLicense" fileImg="${item.driverLicense}"/>--> +<!-- </div>--> + <div class="initialLevel col-sm-3 control-label form-group"> <span style="color:red">*</span> - <label class="control-label" >驾驶证:</label> - <#uploadImg id="driverLicense" fileImg="${item.driverLicense}"/> + <label class="control-label">驾驶证:</label> + <div class="form-group"> + <div class="col-sm-4"> + <div id="driverLicensePreId"> + <div><img width="100px" height="100px" src="${item.driverLicense}"> + </div> + </div> + </div> + </div> </div> </div> </div> @@ -168,6 +211,14 @@ <script src="${ctxPath}/static/modular/system/tDriver/tDriver_info.js"></script> <script src="${ctxPath}/static/modular/system/tDriver/tDriver.js"></script> <script type="text/javascript"> + + laydate.render({ + elem: '#firstCertificateTime', + type: 'date', + range: false, + max: Date.now() + }); + $(function () { if('' == $("#inviterName").val()){ $("#inviterName").val('') -- Gitblit v1.7.1