Commit 271c28b0 authored by zhangderong's avatar zhangderong

修复重置密码时密码输入错误是提示问题

parent abb046c3
......@@ -169,13 +169,13 @@
width='300px'>
<h3 style="text-align:center">更改约面信息</h3>
<Form :label-width="80" ref="formInline" :rules="ruleInline" :model="formInline">
<FormItem label="邀约人" style="margin-top:20px" prop="ower">
<FormItem label="邀约人" style="margin-top:20px" prop="UpdateOWER">
<Input v-model="formInline.UpdateOWER" :maxlength="5"/>
</FormItem>
<FormItem label="面试时间" style="margin-top:20px" prop="time">
<FormItem label="面试时间" style="margin-top:20px" prop="UpdateTIME">
<DatePicker type="datetime" style="width:185px" v-model="formInline.UpdateTIME" @on-change="selectTime" placeholder="请选择时间" :options="options3" :editable='false' format="yyyy-MM-dd HH:mm"></DatePicker>
</FormItem>
<FormItem label="面试官" style="margin-top:20px" prop="view">
<FormItem label="面试官" style="margin-top:20px" prop="UpdateVIEW">
<Input v-model="formInline.UpdateVIEW" :maxlength="5"/>
</FormItem>
</Form>
......
......@@ -78,6 +78,14 @@ export default {
}, 3000)
return
}
if(this.formInline.passwordTwo.length<4||this.formInline.password.length<4){
this.twocontentmessage='请输入4-20位密码'
this.twocontent=true
setInterval(() => {
this.twocontent=false
}, 3000)
return
}
if(this.formInline.password.length>20){
this.twocontentmessage='请输入4-20位密码'
setInterval(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment