| | |
| | | <u-button type="primary" |
| | | text="确定" |
| | | :loading="processLoading" |
| | | @click.stop="process"></u-button> |
| | | @click="process"></u-button> |
| | | </view> |
| | | </u-form-item> |
| | | <u-form-item prop="checkboxValue"> |
| | |
| | | const regex2 = /^[A-Za-z]+$/ |
| | | // 校验符号 |
| | | const regex3 = |
| | | /^[`~!@#$%^&*()_\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘',。、]+$/ |
| | | /^[`~!@#$%^&*()_\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘',。、]+$/; |
| | | if(regex1.test(value)) { |
| | | this.level.push('low') |
| | | return callback('密码强度过低') |
| | |
| | | if (this.roleType === 3) { |
| | | this.userInfo = JSON.parse(params.userInfo) |
| | | } else { |
| | | this.getUserInfo(params.phone, params.idCard) |
| | | if(params.phone && params.idCard){ |
| | | this.getUserInfo(params.phone, params.idCard) |
| | | } |
| | | } |
| | | if(params.userInfo) { |
| | | console.log(JSON.parse(params.userInfo),'userInfo====') |
| | |
| | | }else { |
| | | this.isShowPassword = true |
| | | } |
| | | //是不是bug |
| | | if(uni.getStorageSync('userInfo')){ |
| | | this.modelForm.username = uni.getStorageSync('userInfo').username |
| | | this.modelForm.userId = uni.getStorageSync('userInfo').userId.toString() |
| | | } |
| | | }, |
| | | onReady() { |
| | | this.$refs.uForm.setRules(this.rules) |