工作组详情bug修改,登录验证码填充,修改密码校验

This commit is contained in:
zhaoxiao
2021-10-11 16:58:28 +08:00
parent ef5a333400
commit dff69922bd
3 changed files with 15 additions and 10 deletions
+9 -6
View File
@@ -58,11 +58,14 @@
<label>收费通知:</label> <label>收费通知:</label>
<span><preview-file :file-id="basicInfo.chargeNoticeId"></preview-file></span> <span><preview-file :file-id="basicInfo.chargeNoticeId"></preview-file></span>
</a-col> </a-col>
<!-- 我的项目--项目资料--> </a-row>
<a-col :span="12" class="files" v-if="projectType === 1"> <a-row :gutter="24">
<label>项目资料:</label> <a-col :span="12">
<div> <div class="files">
<preview-file :file-id="basicInfo.files"></preview-file> <label>项目资料:</label>
<div>
<preview-file :file-id="basicInfo.files"></preview-file>
</div>
</div> </div>
</a-col> </a-col>
</a-row> </a-row>
@@ -319,7 +322,7 @@ export default {
<style scoped lang="less"> <style scoped lang="less">
.ant-row { .ant-row {
margin: 12px; margin: 0px;
} }
h3 { h3 {
+2
View File
@@ -48,6 +48,7 @@
v-decorator="['inputCode',validatorRules.inputCode]" v-decorator="['inputCode',validatorRules.inputCode]"
size="large" size="large"
type="text" type="text"
autocomplete="new-password"
@change="inputCodeChange" @change="inputCodeChange"
@paste.native.capture.prevent="handleOperate" @paste.native.capture.prevent="handleOperate"
placeholder="请输入验证码"> placeholder="请输入验证码">
@@ -88,6 +89,7 @@
size="large" size="large"
v-decorator="['captcha', { rules: validatorRules.captcha.rules,validateTrigger: 'blur'}]" v-decorator="['captcha', { rules: validatorRules.captcha.rules,validateTrigger: 'blur'}]"
type="text" type="text"
autocomplete="new-password"
placeholder="请输入验证码"> placeholder="请输入验证码">
<a-icon slot="prefix" type="safety" :style="{ color: '#B3B7C2',fontSize:'20px'}"/> <a-icon slot="prefix" type="safety" :style="{ color: '#B3B7C2',fontSize:'20px'}"/>
</a-input> </a-input>
+4 -4
View File
@@ -19,7 +19,7 @@
> >
<a-input <a-input
type="text" type="text"
v-decorator="['phone',{ rules: validatorRules.phone.rules}]" v-decorator="['phone', validatorRules.phone]"
placeholder="请输入手机号"> placeholder="请输入手机号">
</a-input> </a-input>
</a-form-item> </a-form-item>
@@ -34,7 +34,7 @@
:labelCol="{span: 5}" :labelCol="{span: 5}"
:wrapperCol="{span: 19}"> :wrapperCol="{span: 19}">
<a-input <a-input
v-decorator="['captcha', { rules: validatorRules.captcha.rules}]" v-decorator="['captcha', validatorRules.captcha]"
type="text" type="text"
autocomplete="new-password" autocomplete="new-password"
placeholder="验证码"> placeholder="验证码">
@@ -57,7 +57,7 @@
:wrapperCol="{span: 19}"> :wrapperCol="{span: 19}">
<a-input <a-input
placeholder="新密码" placeholder="新密码"
v-decorator="['password', { rules: validatorRules.password.rules}]" v-decorator="['password', validatorRules.password]"
autocomplete="new-password" autocomplete="new-password"
@paste.native.capture.prevent="handleOperate" @paste.native.capture.prevent="handleOperate"
type="password"> type="password">
@@ -74,7 +74,7 @@
:wrapperCol="{span: 19}"> :wrapperCol="{span: 19}">
<a-input <a-input
placeholder="确认密码" placeholder="确认密码"
v-decorator="['confirmPassword', { rules: validatorRules.confirmPassword.rules}]" v-decorator="['confirmPassword', validatorRules.confirmPassword]"
type="password" type="password"
@paste.native.capture.prevent="handleOperate" @paste.native.capture.prevent="handleOperate"
autocomplete="new-password"> autocomplete="new-password">